From 8ebdf7aca136d7253da235e517f64f94ba7e09aa Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 27 Nov 2023 21:06:38 +0000 Subject: [PATCH 1/2] feat: add container_name, container_type fields to Continuous Validation Logs PiperOrigin-RevId: 585695887 Source-Link: https://github.com/googleapis/googleapis/commit/4eccaaf48c0ccadc6f98707d3dbe9614d47bb103 Source-Link: https://github.com/googleapis/googleapis-gen/commit/664879501d516e9c67d04851429a3f19f20b09a5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjY0ODc5NTAxZDUxNmU5YzY3ZDA0ODUxNDI5YTNmMTlmMjBiMDlhNSJ9 --- .../apiv1/access_approval_client.go | 30 +- .../accessapprovalpb/accessapproval.pb.go | 5 +- accessapproval/apiv1/doc.go | 87 +- .../access_context_manager.pb.go | 7 +- .../accesscontextmanagerpb/access_level.pb.go | 5 +- .../access_policy.pb.go | 5 +- .../gcp_user_access_binding.pb.go | 5 +- .../service_perimeter.pb.go | 5 +- accesscontextmanager/apiv1/doc.go | 97 +- .../advisorynotificationspb/service.pb.go | 5 +- advisorynotifications/apiv1/doc.go | 89 +- ai/generativelanguage/apiv1beta2/doc.go | 89 +- .../generativelanguagepb/citation.pb.go | 5 +- .../discuss_service.pb.go | 5 +- .../generativelanguagepb/model.pb.go | 5 +- .../generativelanguagepb/model_service.pb.go | 5 +- .../generativelanguagepb/safety.pb.go | 5 +- .../generativelanguagepb/text_service.pb.go | 5 +- .../apiv1/aiplatformpb/accelerator_type.pb.go | 5 +- .../apiv1/aiplatformpb/annotation.pb.go | 5 +- .../apiv1/aiplatformpb/annotation_spec.pb.go | 5 +- aiplatform/apiv1/aiplatformpb/artifact.pb.go | 5 +- .../aiplatformpb/batch_prediction_job.pb.go | 5 +- .../apiv1/aiplatformpb/completion_stats.pb.go | 5 +- aiplatform/apiv1/aiplatformpb/context.pb.go | 5 +- .../apiv1/aiplatformpb/custom_job.pb.go | 5 +- aiplatform/apiv1/aiplatformpb/data_item.pb.go | 5 +- .../aiplatformpb/data_labeling_job.pb.go | 10 +- aiplatform/apiv1/aiplatformpb/dataset.pb.go | 5 +- .../apiv1/aiplatformpb/dataset_service.pb.go | 7 +- .../apiv1/aiplatformpb/dataset_version.pb.go | 5 +- .../aiplatformpb/deployed_index_ref.pb.go | 5 +- .../aiplatformpb/deployed_model_ref.pb.go | 5 +- .../apiv1/aiplatformpb/encryption_spec.pb.go | 5 +- aiplatform/apiv1/aiplatformpb/endpoint.pb.go | 5 +- .../apiv1/aiplatformpb/endpoint_service.pb.go | 7 +- .../apiv1/aiplatformpb/entity_type.pb.go | 5 +- aiplatform/apiv1/aiplatformpb/env_var.pb.go | 5 +- .../aiplatformpb/evaluated_annotation.pb.go | 5 +- aiplatform/apiv1/aiplatformpb/event.pb.go | 5 +- aiplatform/apiv1/aiplatformpb/execution.pb.go | 5 +- .../apiv1/aiplatformpb/explanation.pb.go | 5 +- .../aiplatformpb/explanation_metadata.pb.go | 5 +- aiplatform/apiv1/aiplatformpb/feature.pb.go | 5 +- .../apiv1/aiplatformpb/feature_group.pb.go | 5 +- .../feature_monitoring_stats.pb.go | 5 +- .../aiplatformpb/feature_online_store.pb.go | 5 +- .../feature_online_store_admin_service.pb.go | 7 +- .../feature_online_store_service.pb.go | 5 +- .../feature_registry_service.pb.go | 7 +- .../apiv1/aiplatformpb/feature_selector.pb.go | 5 +- .../apiv1/aiplatformpb/feature_view.pb.go | 5 +- .../aiplatformpb/feature_view_sync.pb.go | 5 +- .../apiv1/aiplatformpb/featurestore.pb.go | 5 +- .../featurestore_monitoring.pb.go | 5 +- .../featurestore_online_service.pb.go | 5 +- .../aiplatformpb/featurestore_service.pb.go | 7 +- .../hyperparameter_tuning_job.pb.go | 5 +- aiplatform/apiv1/aiplatformpb/index.pb.go | 5 +- .../apiv1/aiplatformpb/index_endpoint.pb.go | 5 +- .../aiplatformpb/index_endpoint_service.pb.go | 7 +- .../apiv1/aiplatformpb/index_service.pb.go | 7 +- aiplatform/apiv1/aiplatformpb/io.pb.go | 5 +- .../apiv1/aiplatformpb/job_service.pb.go | 7 +- aiplatform/apiv1/aiplatformpb/job_state.pb.go | 5 +- .../apiv1/aiplatformpb/lineage_subgraph.pb.go | 5 +- .../aiplatformpb/llm_utility_service.pb.go | 5 +- .../aiplatformpb/machine_resources.pb.go | 5 +- .../manual_batch_tuning_parameters.pb.go | 5 +- .../apiv1/aiplatformpb/match_service.pb.go | 5 +- .../apiv1/aiplatformpb/metadata_schema.pb.go | 5 +- .../apiv1/aiplatformpb/metadata_service.pb.go | 7 +- .../apiv1/aiplatformpb/metadata_store.pb.go | 5 +- .../aiplatformpb/migratable_resource.pb.go | 5 +- .../aiplatformpb/migration_service.pb.go | 7 +- aiplatform/apiv1/aiplatformpb/model.pb.go | 5 +- .../model_deployment_monitoring_job.pb.go | 5 +- .../apiv1/aiplatformpb/model_evaluation.pb.go | 5 +- .../aiplatformpb/model_evaluation_slice.pb.go | 35 +- .../aiplatformpb/model_garden_service.pb.go | 5 +- .../apiv1/aiplatformpb/model_monitoring.pb.go | 5 +- .../apiv1/aiplatformpb/model_service.pb.go | 7 +- aiplatform/apiv1/aiplatformpb/nas_job.pb.go | 5 +- aiplatform/apiv1/aiplatformpb/operation.pb.go | 5 +- .../pipeline_failure_policy.pb.go | 5 +- .../apiv1/aiplatformpb/pipeline_job.pb.go | 5 +- .../apiv1/aiplatformpb/pipeline_service.pb.go | 7 +- .../apiv1/aiplatformpb/pipeline_state.pb.go | 5 +- .../aiplatformpb/prediction_service.pb.go | 5 +- .../apiv1/aiplatformpb/publisher_model.pb.go | 5 +- .../apiv1/aiplatformpb/saved_query.pb.go | 5 +- aiplatform/apiv1/aiplatformpb/schedule.pb.go | 5 +- .../apiv1/aiplatformpb/schedule_service.pb.go | 7 +- .../aiplatformpb/service_networking.pb.go | 5 +- .../apiv1/aiplatformpb/specialist_pool.pb.go | 5 +- .../specialist_pool_service.pb.go | 7 +- aiplatform/apiv1/aiplatformpb/study.pb.go | 26 +- .../apiv1/aiplatformpb/tensorboard.pb.go | 5 +- .../apiv1/aiplatformpb/tensorboard_data.pb.go | 5 +- .../aiplatformpb/tensorboard_experiment.pb.go | 5 +- .../apiv1/aiplatformpb/tensorboard_run.pb.go | 5 +- .../aiplatformpb/tensorboard_service.pb.go | 7 +- .../tensorboard_time_series.pb.go | 5 +- .../aiplatformpb/training_pipeline.pb.go | 6 +- aiplatform/apiv1/aiplatformpb/types.pb.go | 5 +- .../unmanaged_container_model.pb.go | 5 +- .../aiplatformpb/user_action_reference.pb.go | 5 +- aiplatform/apiv1/aiplatformpb/value.pb.go | 5 +- .../apiv1/aiplatformpb/vizier_service.pb.go | 7 +- aiplatform/apiv1/doc.go | 97 +- aiplatform/apiv1/featurestore_client.go | 14 +- aiplatform/apiv1/prediction_client.go | 12 +- .../aiplatformpb/accelerator_type.pb.go | 5 +- .../apiv1beta1/aiplatformpb/annotation.pb.go | 5 +- .../aiplatformpb/annotation_spec.pb.go | 5 +- .../apiv1beta1/aiplatformpb/artifact.pb.go | 5 +- .../aiplatformpb/batch_prediction_job.pb.go | 5 +- .../aiplatformpb/completion_stats.pb.go | 5 +- .../apiv1beta1/aiplatformpb/context.pb.go | 5 +- .../apiv1beta1/aiplatformpb/custom_job.pb.go | 5 +- .../apiv1beta1/aiplatformpb/data_item.pb.go | 5 +- .../aiplatformpb/data_labeling_job.pb.go | 10 +- .../apiv1beta1/aiplatformpb/dataset.pb.go | 5 +- .../aiplatformpb/dataset_service.pb.go | 7 +- .../aiplatformpb/dataset_version.pb.go | 5 +- .../aiplatformpb/deployed_index_ref.pb.go | 5 +- .../aiplatformpb/deployed_model_ref.pb.go | 5 +- .../deployment_resource_pool.pb.go | 5 +- .../deployment_resource_pool_service.pb.go | 7 +- .../aiplatformpb/encryption_spec.pb.go | 5 +- .../apiv1beta1/aiplatformpb/endpoint.pb.go | 5 +- .../aiplatformpb/endpoint_service.pb.go | 7 +- .../apiv1beta1/aiplatformpb/entity_type.pb.go | 5 +- .../apiv1beta1/aiplatformpb/env_var.pb.go | 5 +- .../aiplatformpb/evaluated_annotation.pb.go | 5 +- .../apiv1beta1/aiplatformpb/event.pb.go | 5 +- .../apiv1beta1/aiplatformpb/execution.pb.go | 5 +- .../apiv1beta1/aiplatformpb/explanation.pb.go | 5 +- .../aiplatformpb/explanation_metadata.pb.go | 5 +- .../apiv1beta1/aiplatformpb/feature.pb.go | 5 +- .../aiplatformpb/feature_group.pb.go | 5 +- .../feature_monitoring_stats.pb.go | 5 +- .../aiplatformpb/feature_online_store.pb.go | 5 +- .../feature_online_store_admin_service.pb.go | 7 +- .../feature_online_store_service.pb.go | 5 +- .../feature_registry_service.pb.go | 7 +- .../aiplatformpb/feature_selector.pb.go | 5 +- .../aiplatformpb/feature_view.pb.go | 5 +- .../aiplatformpb/feature_view_sync.pb.go | 5 +- .../aiplatformpb/featurestore.pb.go | 5 +- .../featurestore_monitoring.pb.go | 5 +- .../featurestore_online_service.pb.go | 5 +- .../aiplatformpb/featurestore_service.pb.go | 7 +- .../hyperparameter_tuning_job.pb.go | 5 +- .../apiv1beta1/aiplatformpb/index.pb.go | 5 +- .../aiplatformpb/index_endpoint.pb.go | 5 +- .../aiplatformpb/index_endpoint_service.pb.go | 7 +- .../aiplatformpb/index_service.pb.go | 7 +- aiplatform/apiv1beta1/aiplatformpb/io.pb.go | 5 +- .../apiv1beta1/aiplatformpb/job_service.pb.go | 7 +- .../apiv1beta1/aiplatformpb/job_state.pb.go | 5 +- .../aiplatformpb/lineage_subgraph.pb.go | 5 +- .../aiplatformpb/llm_utility_service.pb.go | 5 +- .../aiplatformpb/machine_resources.pb.go | 5 +- .../manual_batch_tuning_parameters.pb.go | 5 +- .../aiplatformpb/match_service.pb.go | 5 +- .../aiplatformpb/metadata_schema.pb.go | 5 +- .../aiplatformpb/metadata_service.pb.go | 7 +- .../aiplatformpb/metadata_store.pb.go | 5 +- .../aiplatformpb/migratable_resource.pb.go | 5 +- .../aiplatformpb/migration_service.pb.go | 7 +- .../apiv1beta1/aiplatformpb/model.pb.go | 5 +- .../model_deployment_monitoring_job.pb.go | 5 +- .../aiplatformpb/model_evaluation.pb.go | 5 +- .../aiplatformpb/model_evaluation_slice.pb.go | 35 +- .../aiplatformpb/model_garden_service.pb.go | 5 +- .../aiplatformpb/model_monitoring.pb.go | 5 +- .../aiplatformpb/model_service.pb.go | 7 +- .../apiv1beta1/aiplatformpb/nas_job.pb.go | 5 +- .../apiv1beta1/aiplatformpb/operation.pb.go | 5 +- .../aiplatformpb/persistent_resource.pb.go | 5 +- .../persistent_resource_service.pb.go | 7 +- .../pipeline_failure_policy.pb.go | 5 +- .../aiplatformpb/pipeline_job.pb.go | 5 +- .../aiplatformpb/pipeline_service.pb.go | 7 +- .../aiplatformpb/pipeline_state.pb.go | 5 +- .../aiplatformpb/prediction_service.pb.go | 5 +- .../aiplatformpb/publisher_model.pb.go | 5 +- .../apiv1beta1/aiplatformpb/saved_query.pb.go | 5 +- .../apiv1beta1/aiplatformpb/schedule.pb.go | 5 +- .../aiplatformpb/schedule_service.pb.go | 7 +- .../aiplatformpb/service_networking.pb.go | 5 +- .../aiplatformpb/specialist_pool.pb.go | 5 +- .../specialist_pool_service.pb.go | 7 +- .../apiv1beta1/aiplatformpb/study.pb.go | 26 +- .../apiv1beta1/aiplatformpb/tensorboard.pb.go | 5 +- .../aiplatformpb/tensorboard_data.pb.go | 5 +- .../aiplatformpb/tensorboard_experiment.pb.go | 5 +- .../aiplatformpb/tensorboard_run.pb.go | 5 +- .../aiplatformpb/tensorboard_service.pb.go | 7 +- .../tensorboard_time_series.pb.go | 5 +- .../aiplatformpb/training_pipeline.pb.go | 6 +- .../apiv1beta1/aiplatformpb/types.pb.go | 5 +- .../unmanaged_container_model.pb.go | 5 +- .../aiplatformpb/user_action_reference.pb.go | 5 +- .../apiv1beta1/aiplatformpb/value.pb.go | 5 +- .../aiplatformpb/vizier_service.pb.go | 7 +- aiplatform/apiv1beta1/doc.go | 99 +- aiplatform/apiv1beta1/featurestore_client.go | 28 +- aiplatform/apiv1beta1/prediction_client.go | 24 +- alloydb/apiv1/alloydbpb/resources.pb.go | 9 +- alloydb/apiv1/alloydbpb/service.pb.go | 15 +- alloydb/apiv1/doc.go | 97 +- alloydb/apiv1alpha/alloydbpb/resources.pb.go | 9 +- alloydb/apiv1alpha/alloydbpb/service.pb.go | 15 +- alloydb/apiv1alpha/doc.go | 99 +- alloydb/apiv1beta/alloydbpb/resources.pb.go | 9 +- alloydb/apiv1beta/alloydbpb/service.pb.go | 15 +- alloydb/apiv1beta/doc.go | 99 +- .../apiv1/connectorspb/resources.pb.go | 5 +- .../apiv1alpha/connectorspb/resources.pb.go | 5 +- .../apiv1beta/connectorspb/resources.pb.go | 5 +- .../apiv1alpha/adminpb/access_report.pb.go | 5 +- .../apiv1alpha/adminpb/analytics_admin.pb.go | 5 +- .../admin/apiv1alpha/adminpb/audience.pb.go | 5 +- .../apiv1alpha/adminpb/channel_group.pb.go | 5 +- .../adminpb/event_create_and_edit.pb.go | 5 +- .../adminpb/expanded_data_set.pb.go | 5 +- .../admin/apiv1alpha/adminpb/resources.pb.go | 5 +- .../adminpb/subproperty_event_filter.pb.go | 5 +- .../apiv1alpha/analytics_admin_client.go | 12 +- analytics/admin/apiv1alpha/doc.go | 89 +- .../apiv1/apigatewaypb/apigateway.pb.go | 5 +- .../apigatewaypb/apigateway_service.pb.go | 5 +- apigateway/apiv1/doc.go | 97 +- .../apiv1/apigeeconnectpb/connection.pb.go | 5 +- .../apiv1/apigeeconnectpb/tether.pb.go | 7 +- apigeeconnect/apiv1/doc.go | 99 +- .../provisioning_service.pb.go | 7 +- .../apigeeregistrypb/registry_models.pb.go | 5 +- .../apigeeregistrypb/registry_service.pb.go | 5 +- apigeeregistry/apiv1/doc.go | 97 +- apikeys/apiv2/apikeyspb/apikeys.pb.go | 7 +- apikeys/apiv2/apikeyspb/resources.pb.go | 5 +- apikeys/apiv2/doc.go | 97 +- appengine/apiv1/appenginepb/app_yaml.pb.go | 5 +- appengine/apiv1/appenginepb/appengine.pb.go | 7 +- appengine/apiv1/appenginepb/application.pb.go | 5 +- appengine/apiv1/appenginepb/audit_data.pb.go | 5 +- appengine/apiv1/appenginepb/certificate.pb.go | 5 +- appengine/apiv1/appenginepb/deploy.pb.go | 5 +- .../apiv1/appenginepb/deployed_files.pb.go | 3 +- appengine/apiv1/appenginepb/domain.pb.go | 5 +- .../apiv1/appenginepb/domain_mapping.pb.go | 5 +- appengine/apiv1/appenginepb/firewall.pb.go | 5 +- appengine/apiv1/appenginepb/instance.pb.go | 5 +- appengine/apiv1/appenginepb/location.pb.go | 5 +- .../apiv1/appenginepb/network_settings.pb.go | 5 +- appengine/apiv1/appenginepb/operation.pb.go | 5 +- appengine/apiv1/appenginepb/service.pb.go | 5 +- appengine/apiv1/appenginepb/version.pb.go | 5 +- appengine/apiv1/applications_client.go | 20 +- appengine/apiv1/doc.go | 97 +- appengine/apiv1/versions_client.go | 60 +- area120/tables/apiv1alpha1/doc.go | 89 +- area120/tables/apiv1alpha1/tables_client.go | 42 +- .../tables/apiv1alpha1/tablespb/tables.pb.go | 5 +- .../apiv1/artifact_registry_client.go | 36 +- .../artifactregistrypb/apt_artifact.pb.go | 5 +- .../apiv1/artifactregistrypb/artifact.pb.go | 5 +- .../apiv1/artifactregistrypb/file.pb.go | 5 +- .../apiv1/artifactregistrypb/package.pb.go | 5 +- .../apiv1/artifactregistrypb/repository.pb.go | 5 +- .../apiv1/artifactregistrypb/service.pb.go | 7 +- .../apiv1/artifactregistrypb/settings.pb.go | 5 +- .../apiv1/artifactregistrypb/tag.pb.go | 5 +- .../apiv1/artifactregistrypb/version.pb.go | 5 +- .../artifactregistrypb/vpcsc_config.pb.go | 5 +- .../artifactregistrypb/yum_artifact.pb.go | 5 +- artifactregistry/apiv1/doc.go | 93 +- .../apiv1beta2/artifact_registry_client.go | 36 +- .../artifactregistrypb/apt_artifact.pb.go | 5 +- .../apiv1beta2/artifactregistrypb/file.pb.go | 5 +- .../artifactregistrypb/package.pb.go | 5 +- .../artifactregistrypb/repository.pb.go | 5 +- .../artifactregistrypb/service.pb.go | 7 +- .../artifactregistrypb/settings.pb.go | 5 +- .../apiv1beta2/artifactregistrypb/tag.pb.go | 5 +- .../artifactregistrypb/version.pb.go | 5 +- .../artifactregistrypb/yum_artifact.pb.go | 5 +- artifactregistry/apiv1beta2/doc.go | 99 +- asset/apiv1/asset_client.go | 40 +- asset/apiv1/assetpb/asset_service.pb.go | 7 +- asset/apiv1/assetpb/assets.pb.go | 5 +- asset/apiv1/doc.go | 87 +- .../apiv1p2beta1/assetpb/asset_service.pb.go | 5 +- asset/apiv1p2beta1/assetpb/assets.pb.go | 5 +- asset/apiv1p2beta1/auxiliary.go | 2 + asset/apiv1p2beta1/doc.go | 89 +- .../apiv1p5beta1/assetpb/asset_service.pb.go | 5 +- asset/apiv1p5beta1/assetpb/assets.pb.go | 5 +- asset/apiv1p5beta1/doc.go | 101 +- .../assuredworkloadspb/assuredworkloads.pb.go | 7 +- assuredworkloads/apiv1/doc.go | 87 +- .../assuredworkloadspb/assuredworkloads.pb.go | 5 +- .../assuredworkloads_service.pb.go | 5 +- assuredworkloads/apiv1beta1/doc.go | 89 +- automl/apiv1/auto_ml_client.go | 20 +- .../apiv1/automlpb/annotation_payload.pb.go | 5 +- automl/apiv1/automlpb/annotation_spec.pb.go | 5 +- automl/apiv1/automlpb/classification.pb.go | 5 +- automl/apiv1/automlpb/data_items.pb.go | 5 +- automl/apiv1/automlpb/dataset.pb.go | 5 +- automl/apiv1/automlpb/detection.pb.go | 5 +- automl/apiv1/automlpb/geometry.pb.go | 5 +- automl/apiv1/automlpb/image.pb.go | 5 +- automl/apiv1/automlpb/io.pb.go | 1325 +++++++------ automl/apiv1/automlpb/model.pb.go | 5 +- automl/apiv1/automlpb/model_evaluation.pb.go | 5 +- automl/apiv1/automlpb/operations.pb.go | 5 +- .../apiv1/automlpb/prediction_service.pb.go | 7 +- automl/apiv1/automlpb/service.pb.go | 7 +- automl/apiv1/automlpb/text.pb.go | 5 +- automl/apiv1/automlpb/text_extraction.pb.go | 5 +- automl/apiv1/automlpb/text_segment.pb.go | 5 +- automl/apiv1/automlpb/text_sentiment.pb.go | 5 +- automl/apiv1/automlpb/translation.pb.go | 5 +- automl/apiv1/doc.go | 97 +- automl/apiv1/prediction_client.go | 76 +- automl/apiv1beta1/auto_ml_client.go | 20 +- .../automlpb/annotation_payload.pb.go | 5 +- .../apiv1beta1/automlpb/annotation_spec.pb.go | 5 +- .../apiv1beta1/automlpb/classification.pb.go | 5 +- automl/apiv1beta1/automlpb/column_spec.pb.go | 7 +- automl/apiv1beta1/automlpb/data_items.pb.go | 5 +- automl/apiv1beta1/automlpb/data_stats.pb.go | 5 +- automl/apiv1beta1/automlpb/data_types.pb.go | 5 +- automl/apiv1beta1/automlpb/dataset.pb.go | 5 +- automl/apiv1beta1/automlpb/detection.pb.go | 5 +- automl/apiv1beta1/automlpb/geometry.pb.go | 5 +- automl/apiv1beta1/automlpb/image.pb.go | 5 +- automl/apiv1beta1/automlpb/io.pb.go | 1577 ++++++++------- automl/apiv1beta1/automlpb/model.pb.go | 5 +- .../automlpb/model_evaluation.pb.go | 5 +- automl/apiv1beta1/automlpb/operations.pb.go | 5 +- .../automlpb/prediction_service.pb.go | 7 +- automl/apiv1beta1/automlpb/ranges.pb.go | 5 +- automl/apiv1beta1/automlpb/regression.pb.go | 5 +- automl/apiv1beta1/automlpb/service.pb.go | 7 +- automl/apiv1beta1/automlpb/table_spec.pb.go | 7 +- automl/apiv1beta1/automlpb/tables.pb.go | 5 +- automl/apiv1beta1/automlpb/temporal.pb.go | 5 +- automl/apiv1beta1/automlpb/text.pb.go | 5 +- .../apiv1beta1/automlpb/text_extraction.pb.go | 5 +- automl/apiv1beta1/automlpb/text_segment.pb.go | 5 +- .../apiv1beta1/automlpb/text_sentiment.pb.go | 5 +- automl/apiv1beta1/automlpb/translation.pb.go | 5 +- automl/apiv1beta1/automlpb/video.pb.go | 5 +- automl/apiv1beta1/doc.go | 99 +- automl/apiv1beta1/prediction_client.go | 76 +- .../baremetalsolution.pb.go | 7 +- .../apiv2/baremetalsolutionpb/common.pb.go | 5 +- .../apiv2/baremetalsolutionpb/instance.pb.go | 5 +- .../apiv2/baremetalsolutionpb/lun.pb.go | 5 +- .../apiv2/baremetalsolutionpb/network.pb.go | 5 +- .../apiv2/baremetalsolutionpb/nfs_share.pb.go | 5 +- .../apiv2/baremetalsolutionpb/osimage.pb.go | 5 +- .../baremetalsolutionpb/provisioning.pb.go | 5 +- .../apiv2/baremetalsolutionpb/ssh_key.pb.go | 5 +- .../apiv2/baremetalsolutionpb/volume.pb.go | 5 +- .../baremetalsolutionpb/volume_snapshot.pb.go | 5 +- baremetalsolution/apiv2/doc.go | 97 +- batch/apiv1/batchpb/batch.pb.go | 7 +- batch/apiv1/batchpb/job.pb.go | 5 +- batch/apiv1/batchpb/task.pb.go | 5 +- batch/apiv1/batchpb/volume.pb.go | 5 +- batch/apiv1/doc.go | 87 +- .../apiv1/app_connections_client.go | 8 +- .../app_connections_service.pb.go | 7 +- beyondcorp/appconnections/apiv1/doc.go | 97 +- .../apiv1/app_connectors_client.go | 8 +- .../app_connector_instance_config.pb.go | 5 +- .../app_connectors_service.pb.go | 7 +- .../apiv1/appconnectorspb/resource_info.pb.go | 17 +- beyondcorp/appconnectors/apiv1/doc.go | 97 +- .../appgateways/apiv1/app_gateways_client.go | 8 +- .../appgatewayspb/app_gateways_service.pb.go | 7 +- beyondcorp/appgateways/apiv1/doc.go | 97 +- .../apiv1/client_connector_services_client.go | 8 +- .../client_connector_services_service.pb.go | 7 +- .../clientconnectorservices/apiv1/doc.go | 97 +- .../apiv1/client_gateways_client.go | 8 +- .../client_gateways_service.pb.go | 7 +- beyondcorp/clientgateways/apiv1/doc.go | 97 +- .../apiv1/analyticshubpb/analyticshub.pb.go | 7 +- bigquery/analyticshub/apiv1/doc.go | 87 +- .../biglake/apiv1/biglakepb/metastore.pb.go | 5 +- bigquery/biglake/apiv1/doc.go | 87 +- bigquery/biglake/apiv1/metastore_client.go | 30 +- .../apiv1alpha1/biglakepb/metastore.pb.go | 5 +- bigquery/biglake/apiv1alpha1/doc.go | 89 +- .../biglake/apiv1alpha1/metastore_client.go | 30 +- .../apiv1/connectionpb/connection.pb.go | 7 +- bigquery/connection/apiv1/doc.go | 87 +- bigquery/connection/apiv1beta1/auxiliary.go | 2 + .../apiv1beta1/connectionpb/connection.pb.go | 7 +- bigquery/connection/apiv1beta1/doc.go | 89 +- .../dataexchangepb/dataexchange.pb.go | 7 +- bigquery/dataexchange/apiv1beta1/doc.go | 89 +- .../apiv1/datapoliciespb/datapolicy.pb.go | 7 +- bigquery/datapolicies/apiv1/doc.go | 87 +- .../datapoliciespb/datapolicy.pb.go | 7 +- bigquery/datapolicies/apiv1beta1/doc.go | 89 +- .../apiv1/datatransferpb/datatransfer.pb.go | 5 +- .../apiv1/datatransferpb/transfer.pb.go | 5 +- bigquery/datatransfer/apiv1/doc.go | 87 +- bigquery/migration/apiv2/doc.go | 89 +- .../migrationpb/migration_entities.pb.go | 5 +- .../migrationpb/migration_error_details.pb.go | 5 +- .../apiv2/migrationpb/migration_metrics.pb.go | 5 +- .../apiv2/migrationpb/migration_service.pb.go | 5 +- .../migrationpb/translation_config.pb.go | 5 +- bigquery/migration/apiv2alpha/doc.go | 89 +- .../migrationpb/assessment_task.pb.go | 5 +- .../migrationpb/migration_entities.pb.go | 5 +- .../migrationpb/migration_error_details.pb.go | 5 +- .../migrationpb/migration_metrics.pb.go | 5 +- .../migrationpb/migration_service.pb.go | 5 +- .../migrationpb/translation_service.pb.go | 5 +- .../migrationpb/translation_task.pb.go | 5 +- bigquery/reservation/apiv1/doc.go | 87 +- .../reservation/apiv1/reservation_client.go | 68 +- .../apiv1/reservationpb/reservation.pb.go | 5 +- bigquery/storage/apiv1/auxiliary.go | 2 + .../storage/apiv1/big_query_write_client.go | 14 +- bigquery/storage/apiv1/doc.go | 87 +- .../storage/apiv1/storagepb/annotations.pb.go | 3 +- bigquery/storage/apiv1/storagepb/arrow.pb.go | 5 +- bigquery/storage/apiv1/storagepb/avro.pb.go | 5 +- .../storage/apiv1/storagepb/protobuf.pb.go | 5 +- .../storage/apiv1/storagepb/storage.pb.go | 5 +- bigquery/storage/apiv1/storagepb/stream.pb.go | 5 +- bigquery/storage/apiv1/storagepb/table.pb.go | 5 +- bigquery/storage/apiv1beta1/auxiliary.go | 2 + bigquery/storage/apiv1beta1/doc.go | 89 +- .../storage/apiv1beta1/storagepb/arrow.pb.go | 5 +- .../storage/apiv1beta1/storagepb/avro.pb.go | 5 +- .../apiv1beta1/storagepb/read_options.pb.go | 5 +- .../apiv1beta1/storagepb/storage.pb.go | 5 +- .../storagepb/table_reference.pb.go | 5 +- bigquery/storage/apiv1beta2/auxiliary.go | 2 + bigquery/storage/apiv1beta2/doc.go | 89 +- .../storage/apiv1beta2/storagepb/arrow.pb.go | 5 +- .../storage/apiv1beta2/storagepb/avro.pb.go | 5 +- .../apiv1beta2/storagepb/protobuf.pb.go | 5 +- .../apiv1beta2/storagepb/storage.pb.go | 5 +- .../storage/apiv1beta2/storagepb/stream.pb.go | 5 +- .../storage/apiv1beta2/storagepb/table.pb.go | 5 +- billing/apiv1/billingpb/cloud_billing.pb.go | 7 +- billing/apiv1/billingpb/cloud_catalog.pb.go | 10 +- billing/apiv1/doc.go | 87 +- .../apiv1/budgetspb/budget_model.pb.go | 5 +- .../apiv1/budgetspb/budget_service.pb.go | 5 +- billing/budgets/apiv1/doc.go | 87 +- .../apiv1beta1/budgetspb/budget_model.pb.go | 5 +- .../apiv1beta1/budgetspb/budget_service.pb.go | 5 +- billing/budgets/apiv1beta1/doc.go | 89 +- .../binaryauthorizationpb/resources.pb.go | 5 +- .../apiv1/binaryauthorizationpb/service.pb.go | 5 +- .../apiv1/binauthz_management_client.go | 12 +- binaryauthorization/apiv1/doc.go | 87 +- .../continuous_validation_logging.pb.go | 354 ++-- .../binaryauthorizationpb/resources.pb.go | 5 +- .../binaryauthorizationpb/service.pb.go | 5 +- ...uthz_management_service_v1_beta1_client.go | 12 +- binaryauthorization/apiv1beta1/doc.go | 89 +- .../apiv1/certificate_manager_client.go | 60 +- .../certificate_issuance_config.pb.go | 5 +- .../certificate_manager.pb.go | 7 +- certificatemanager/apiv1/doc.go | 97 +- .../apiv1/channelpb/billing_accounts.pb.go | 5 +- .../channelpb/channel_partner_links.pb.go | 5 +- channel/apiv1/channelpb/common.pb.go | 5 +- channel/apiv1/channelpb/customers.pb.go | 5 +- .../apiv1/channelpb/entitlement_changes.pb.go | 5 +- channel/apiv1/channelpb/entitlements.pb.go | 5 +- channel/apiv1/channelpb/offers.pb.go | 5 +- channel/apiv1/channelpb/operations.pb.go | 5 +- channel/apiv1/channelpb/products.pb.go | 5 +- channel/apiv1/channelpb/reports_service.pb.go | 7 +- channel/apiv1/channelpb/repricing.pb.go | 5 +- channel/apiv1/channelpb/service.pb.go | 7 +- .../apiv1/channelpb/subscriber_event.pb.go | 5 +- channel/apiv1/cloud_channel_client.go | 1704 ++++++++--------- channel/apiv1/cloud_channel_reports_client.go | 32 +- channel/apiv1/doc.go | 99 +- cloudbuild/apiv1/v2/cloud_build_client.go | 56 +- .../apiv1/v2/cloudbuildpb/cloudbuild.pb.go | 27 +- cloudbuild/apiv1/v2/doc.go | 97 +- .../apiv2/cloudbuildpb/cloudbuild.pb.go | 5 +- .../apiv2/cloudbuildpb/repositories.pb.go | 7 +- cloudbuild/apiv2/doc.go | 97 +- clouddms/apiv1/clouddmspb/clouddms.pb.go | 7 +- .../apiv1/clouddmspb/clouddms_resources.pb.go | 5 +- .../conversionworkspace_resources.pb.go | 5 +- clouddms/apiv1/doc.go | 97 +- cloudprofiler/apiv2/auxiliary.go | 2 + .../apiv2/cloudprofilerpb/profiler.pb.go | 6 +- cloudprofiler/apiv2/doc.go | 89 +- cloudprofiler/apiv2/profiler_client.go | 12 +- cloudtasks/apiv2/cloud_tasks_client.go | 12 +- .../apiv2/cloudtaskspb/cloudtasks.pb.go | 7 +- cloudtasks/apiv2/cloudtaskspb/queue.pb.go | 5 +- cloudtasks/apiv2/cloudtaskspb/target.pb.go | 55 +- cloudtasks/apiv2/cloudtaskspb/task.pb.go | 5 +- cloudtasks/apiv2/doc.go | 87 +- cloudtasks/apiv2beta2/cloud_tasks_client.go | 28 +- .../apiv2beta2/cloudtaskspb/cloudtasks.pb.go | 7 +- .../apiv2beta2/cloudtaskspb/old_target.pb.go | 3 +- .../apiv2beta2/cloudtaskspb/queue.pb.go | 5 +- .../apiv2beta2/cloudtaskspb/target.pb.go | 22 +- cloudtasks/apiv2beta2/cloudtaskspb/task.pb.go | 5 +- cloudtasks/apiv2beta2/doc.go | 85 +- cloudtasks/apiv2beta3/cloud_tasks_client.go | 12 +- .../apiv2beta3/cloudtaskspb/cloudtasks.pb.go | 7 +- .../apiv2beta3/cloudtaskspb/queue.pb.go | 5 +- .../apiv2beta3/cloudtaskspb/target.pb.go | 57 +- cloudtasks/apiv2beta3/cloudtaskspb/task.pb.go | 5 +- cloudtasks/apiv2beta3/doc.go | 89 +- commerce/consumer/procurement/apiv1/doc.go | 89 +- .../apiv1/procurementpb/order.pb.go | 5 +- .../procurementpb/procurement_service.pb.go | 7 +- compute/apiv1/accelerator_types_client.go | 4 +- compute/apiv1/computepb/compute.pb.go | 350 +++- compute/apiv1/doc.go | 99 +- .../confidentialcomputingpb/service.pb.go | 5 +- confidentialcomputing/apiv1/doc.go | 87 +- .../confidentialcomputingpb/service.pb.go | 5 +- confidentialcomputing/apiv1alpha1/doc.go | 89 +- config/apiv1/configpb/config.pb.go | 7 +- config/apiv1/doc.go | 99 +- .../contact_center_insights.pb.go | 7 +- .../contactcenterinsightspb/resources.pb.go | 5 +- contactcenterinsights/apiv1/doc.go | 97 +- .../apiv1/containerpb/cluster_service.pb.go | 5 +- container/apiv1/doc.go | 83 +- .../containeranalysis.pb.go | 7 +- containeranalysis/apiv1beta1/doc.go | 89 +- datacatalog/apiv1/data_catalog_client.go | 88 +- .../apiv1/datacatalogpb/bigquery.pb.go | 5 +- datacatalog/apiv1/datacatalogpb/common.pb.go | 5 +- .../apiv1/datacatalogpb/data_source.pb.go | 5 +- .../apiv1/datacatalogpb/datacatalog.pb.go | 7 +- .../apiv1/datacatalogpb/dataplex_spec.pb.go | 5 +- .../apiv1/datacatalogpb/dump_content.pb.go | 5 +- .../datacatalogpb/gcs_fileset_spec.pb.go | 5 +- .../apiv1/datacatalogpb/physical_schema.pb.go | 5 +- .../datacatalogpb/policytagmanager.pb.go | 26 +- .../policytagmanagerserialization.pb.go | 5 +- datacatalog/apiv1/datacatalogpb/schema.pb.go | 5 +- datacatalog/apiv1/datacatalogpb/search.pb.go | 5 +- .../apiv1/datacatalogpb/table_spec.pb.go | 5 +- datacatalog/apiv1/datacatalogpb/tags.pb.go | 9 +- .../apiv1/datacatalogpb/timestamps.pb.go | 5 +- datacatalog/apiv1/datacatalogpb/usage.pb.go | 17 +- datacatalog/apiv1/doc.go | 87 +- .../apiv1/policy_tag_manager_client.go | 16 +- ...policy_tag_manager_serialization_client.go | 20 +- datacatalog/apiv1beta1/data_catalog_client.go | 92 +- .../apiv1beta1/datacatalogpb/common.pb.go | 5 +- .../datacatalogpb/datacatalog.pb.go | 7 +- .../datacatalogpb/gcs_fileset_spec.pb.go | 5 +- .../datacatalogpb/policytagmanager.pb.go | 7 +- .../policytagmanagerserialization.pb.go | 5 +- .../apiv1beta1/datacatalogpb/schema.pb.go | 5 +- .../apiv1beta1/datacatalogpb/search.pb.go | 5 +- .../apiv1beta1/datacatalogpb/table_spec.pb.go | 5 +- .../apiv1beta1/datacatalogpb/tags.pb.go | 5 +- .../apiv1beta1/datacatalogpb/timestamps.pb.go | 5 +- .../apiv1beta1/datacatalogpb/usage.pb.go | 5 +- datacatalog/apiv1beta1/doc.go | 89 +- datacatalog/lineage/apiv1/doc.go | 99 +- .../lineage/apiv1/lineagepb/lineage.pb.go | 7 +- .../apiv1beta3/dataflowpb/environment.pb.go | 5 +- dataflow/apiv1beta3/dataflowpb/jobs.pb.go | 15 +- dataflow/apiv1beta3/dataflowpb/messages.pb.go | 5 +- dataflow/apiv1beta3/dataflowpb/metrics.pb.go | 5 +- .../apiv1beta3/dataflowpb/snapshots.pb.go | 5 +- .../apiv1beta3/dataflowpb/streaming.pb.go | 5 +- .../apiv1beta3/dataflowpb/templates.pb.go | 5 +- dataflow/apiv1beta3/doc.go | 89 +- .../apiv1alpha2/dataformpb/dataform.pb.go | 5 +- dataform/apiv1alpha2/doc.go | 85 +- dataform/apiv1beta1/dataformpb/dataform.pb.go | 5 +- dataform/apiv1beta1/doc.go | 85 +- .../apiv1/datafusionpb/datafusion.pb.go | 7 +- datafusion/apiv1/doc.go | 97 +- .../datalabelingpb/annotation.pb.go | 5 +- .../datalabelingpb/annotation_spec_set.pb.go | 5 +- .../data_labeling_service.pb.go | 7 +- .../datalabelingpb/data_payloads.pb.go | 5 +- .../apiv1beta1/datalabelingpb/dataset.pb.go | 5 +- .../datalabelingpb/evaluation.pb.go | 5 +- .../datalabelingpb/evaluation_job.pb.go | 5 +- .../human_annotation_config.pb.go | 5 +- .../datalabelingpb/instruction.pb.go | 5 +- .../datalabelingpb/operations.pb.go | 5 +- datalabeling/apiv1beta1/doc.go | 89 +- dataplex/apiv1/dataplexpb/analyze.pb.go | 5 +- dataplex/apiv1/dataplexpb/content.pb.go | 7 +- dataplex/apiv1/dataplexpb/data_profile.pb.go | 5 +- dataplex/apiv1/dataplexpb/data_quality.pb.go | 5 +- dataplex/apiv1/dataplexpb/data_taxonomy.pb.go | 12 +- dataplex/apiv1/dataplexpb/datascans.pb.go | 17 +- dataplex/apiv1/dataplexpb/logs.pb.go | 5 +- dataplex/apiv1/dataplexpb/metadata.pb.go | 5 +- dataplex/apiv1/dataplexpb/processing.pb.go | 5 +- dataplex/apiv1/dataplexpb/resources.pb.go | 5 +- dataplex/apiv1/dataplexpb/security.pb.go | 5 +- dataplex/apiv1/dataplexpb/service.pb.go | 7 +- dataplex/apiv1/dataplexpb/tasks.pb.go | 5 +- dataplex/apiv1/doc.go | 87 +- .../dataprocpb/autoscaling_policies.pb.go | 5 +- dataproc/apiv1/dataprocpb/batches.pb.go | 7 +- dataproc/apiv1/dataprocpb/clusters.pb.go | 7 +- dataproc/apiv1/dataprocpb/jobs.pb.go | 7 +- dataproc/apiv1/dataprocpb/node_groups.pb.go | 7 +- dataproc/apiv1/dataprocpb/operations.pb.go | 5 +- dataproc/apiv1/dataprocpb/shared.pb.go | 5 +- .../apiv1/dataprocpb/workflow_templates.pb.go | 7 +- dataproc/apiv1/doc.go | 87 +- dataqna/apiv1alpha/auxiliary.go | 2 + .../dataqnapb/annotated_string.pb.go | 20 +- .../dataqnapb/auto_suggestion_service.pb.go | 31 +- dataqna/apiv1alpha/dataqnapb/question.pb.go | 5 +- .../dataqnapb/question_service.pb.go | 5 +- .../apiv1alpha/dataqnapb/user_feedback.pb.go | 5 +- dataqna/apiv1alpha/doc.go | 89 +- .../admin/apiv1/adminpb/datastore_admin.pb.go | 22 +- datastore/admin/apiv1/adminpb/index.pb.go | 5 +- datastore/admin/apiv1/adminpb/migration.pb.go | 5 +- .../admin/apiv1/datastore_admin_client.go | 162 +- datastore/admin/apiv1/doc.go | 97 +- .../apiv1/datastreampb/datastream.pb.go | 7 +- .../datastreampb/datastream_resources.pb.go | 5 +- datastream/apiv1/doc.go | 97 +- .../apiv1alpha1/datastreampb/datastream.pb.go | 7 +- .../datastreampb/datastream_resources.pb.go | 5 +- datastream/apiv1alpha1/doc.go | 99 +- .../apiv1/deploypb/automation_payload.pb.go | 5 +- .../deploypb/automationrun_payload.pb.go | 5 +- deploy/apiv1/deploypb/cloud_deploy.pb.go | 7 +- ...eliverypipeline_notification_payload.pb.go | 5 +- .../jobrun_notification_payload.pb.go | 5 +- deploy/apiv1/deploypb/log_enums.pb.go | 5 +- .../release_notification_payload.pb.go | 5 +- .../deploypb/release_render_payload.pb.go | 5 +- .../rollout_notification_payload.pb.go | 5 +- .../deploypb/rollout_update_payload.pb.go | 5 +- .../target_notification_payload.pb.go | 5 +- deploy/apiv1/doc.go | 87 +- dialogflow/apiv2/agents_client.go | 64 +- .../apiv2/conversation_datasets_client.go | 48 +- .../apiv2/conversation_models_client.go | 72 +- .../apiv2/conversation_profiles_client.go | 32 +- dialogflow/apiv2/dialogflowpb/agent.pb.go | 8 +- .../apiv2/dialogflowpb/answer_record.pb.go | 21 +- .../apiv2/dialogflowpb/audio_config.pb.go | 5 +- dialogflow/apiv2/dialogflowpb/context.pb.go | 5 +- .../apiv2/dialogflowpb/conversation.pb.go | 5 +- .../dialogflowpb/conversation_dataset.pb.go | 7 +- .../dialogflowpb/conversation_event.pb.go | 5 +- .../dialogflowpb/conversation_model.pb.go | 7 +- .../dialogflowpb/conversation_profile.pb.go | 7 +- dialogflow/apiv2/dialogflowpb/document.pb.go | 7 +- .../apiv2/dialogflowpb/entity_type.pb.go | 7 +- .../apiv2/dialogflowpb/environment.pb.go | 5 +- .../apiv2/dialogflowpb/fulfillment.pb.go | 5 +- dialogflow/apiv2/dialogflowpb/gcs.pb.go | 5 +- .../human_agent_assistant_event.pb.go | 5 +- dialogflow/apiv2/dialogflowpb/intent.pb.go | 7 +- .../apiv2/dialogflowpb/knowledge_base.pb.go | 5 +- .../apiv2/dialogflowpb/participant.pb.go | 46 +- dialogflow/apiv2/dialogflowpb/session.pb.go | 50 +- .../dialogflowpb/session_entity_type.pb.go | 5 +- .../dialogflowpb/validation_result.pb.go | 5 +- dialogflow/apiv2/dialogflowpb/version.pb.go | 5 +- dialogflow/apiv2/dialogflowpb/webhook.pb.go | 5 +- dialogflow/apiv2/doc.go | 83 +- dialogflow/apiv2/documents_client.go | 80 +- dialogflow/apiv2/entity_types_client.go | 80 +- dialogflow/apiv2/intents_client.go | 32 +- dialogflow/apiv2beta1/agents_client.go | 64 +- .../conversation_profiles_client.go | 32 +- .../apiv2beta1/dialogflowpb/agent.pb.go | 8 +- .../dialogflowpb/answer_record.pb.go | 21 +- .../dialogflowpb/audio_config.pb.go | 27 +- .../apiv2beta1/dialogflowpb/context.pb.go | 5 +- .../dialogflowpb/conversation.pb.go | 5 +- .../dialogflowpb/conversation_event.pb.go | 5 +- .../dialogflowpb/conversation_profile.pb.go | 7 +- .../apiv2beta1/dialogflowpb/document.pb.go | 7 +- .../apiv2beta1/dialogflowpb/entity_type.pb.go | 7 +- .../apiv2beta1/dialogflowpb/environment.pb.go | 5 +- .../apiv2beta1/dialogflowpb/fulfillment.pb.go | 5 +- dialogflow/apiv2beta1/dialogflowpb/gcs.pb.go | 5 +- .../human_agent_assistant_event.pb.go | 5 +- .../apiv2beta1/dialogflowpb/intent.pb.go | 11 +- .../dialogflowpb/knowledge_base.pb.go | 5 +- .../apiv2beta1/dialogflowpb/participant.pb.go | 62 +- .../apiv2beta1/dialogflowpb/session.pb.go | 52 +- .../dialogflowpb/session_entity_type.pb.go | 5 +- .../dialogflowpb/validation_result.pb.go | 5 +- .../apiv2beta1/dialogflowpb/version.pb.go | 5 +- .../apiv2beta1/dialogflowpb/webhook.pb.go | 5 +- dialogflow/apiv2beta1/doc.go | 85 +- dialogflow/apiv2beta1/documents_client.go | 68 +- dialogflow/apiv2beta1/entity_types_client.go | 80 +- dialogflow/apiv2beta1/intents_client.go | 32 +- dialogflow/cx/apiv3/agents_client.go | 32 +- .../cx/apiv3/cxpb/advanced_settings.pb.go | 5 +- dialogflow/cx/apiv3/cxpb/agent.pb.go | 7 +- dialogflow/cx/apiv3/cxpb/audio_config.pb.go | 17 +- dialogflow/cx/apiv3/cxpb/changelog.pb.go | 5 +- .../cx/apiv3/cxpb/data_store_connection.pb.go | 5 +- dialogflow/cx/apiv3/cxpb/deployment.pb.go | 5 +- dialogflow/cx/apiv3/cxpb/entity_type.pb.go | 11 +- dialogflow/cx/apiv3/cxpb/environment.pb.go | 7 +- dialogflow/cx/apiv3/cxpb/experiment.pb.go | 5 +- dialogflow/cx/apiv3/cxpb/flow.pb.go | 7 +- dialogflow/cx/apiv3/cxpb/fulfillment.pb.go | 11 +- dialogflow/cx/apiv3/cxpb/gcs.pb.go | 5 +- .../cx/apiv3/cxpb/generative_settings.pb.go | 5 +- .../cx/apiv3/cxpb/import_strategy.pb.go | 5 +- dialogflow/cx/apiv3/cxpb/inline.pb.go | 5 +- dialogflow/cx/apiv3/cxpb/intent.pb.go | 7 +- dialogflow/cx/apiv3/cxpb/page.pb.go | 5 +- .../cx/apiv3/cxpb/response_message.pb.go | 39 +- .../cx/apiv3/cxpb/safety_settings.pb.go | 5 +- .../cx/apiv3/cxpb/security_settings.pb.go | 5 +- dialogflow/cx/apiv3/cxpb/session.pb.go | 36 +- .../cx/apiv3/cxpb/session_entity_type.pb.go | 5 +- dialogflow/cx/apiv3/cxpb/test_case.pb.go | 7 +- .../apiv3/cxpb/transition_route_group.pb.go | 5 +- .../cx/apiv3/cxpb/validation_message.pb.go | 5 +- dialogflow/cx/apiv3/cxpb/version.pb.go | 7 +- dialogflow/cx/apiv3/cxpb/webhook.pb.go | 5 +- dialogflow/cx/apiv3/doc.go | 87 +- dialogflow/cx/apiv3/environments_client.go | 56 +- dialogflow/cx/apiv3/flows_client.go | 48 +- dialogflow/cx/apiv3/intents_client.go | 32 +- dialogflow/cx/apiv3/test_cases_client.go | 64 +- dialogflow/cx/apiv3/versions_client.go | 28 +- dialogflow/cx/apiv3beta1/agents_client.go | 32 +- .../apiv3beta1/cxpb/advanced_settings.pb.go | 5 +- dialogflow/cx/apiv3beta1/cxpb/agent.pb.go | 7 +- .../cx/apiv3beta1/cxpb/audio_config.pb.go | 17 +- dialogflow/cx/apiv3beta1/cxpb/changelog.pb.go | 5 +- .../cxpb/data_store_connection.pb.go | 5 +- .../cx/apiv3beta1/cxpb/deployment.pb.go | 5 +- .../cx/apiv3beta1/cxpb/entity_type.pb.go | 11 +- .../cx/apiv3beta1/cxpb/environment.pb.go | 7 +- .../cx/apiv3beta1/cxpb/experiment.pb.go | 5 +- dialogflow/cx/apiv3beta1/cxpb/flow.pb.go | 7 +- .../cx/apiv3beta1/cxpb/fulfillment.pb.go | 11 +- dialogflow/cx/apiv3beta1/cxpb/gcs.pb.go | 5 +- .../apiv3beta1/cxpb/generative_settings.pb.go | 5 +- .../cx/apiv3beta1/cxpb/import_strategy.pb.go | 5 +- dialogflow/cx/apiv3beta1/cxpb/inline.pb.go | 5 +- dialogflow/cx/apiv3beta1/cxpb/intent.pb.go | 7 +- dialogflow/cx/apiv3beta1/cxpb/page.pb.go | 5 +- .../cx/apiv3beta1/cxpb/response_message.pb.go | 39 +- .../cx/apiv3beta1/cxpb/safety_settings.pb.go | 5 +- .../apiv3beta1/cxpb/security_settings.pb.go | 5 +- dialogflow/cx/apiv3beta1/cxpb/session.pb.go | 36 +- .../apiv3beta1/cxpb/session_entity_type.pb.go | 5 +- dialogflow/cx/apiv3beta1/cxpb/test_case.pb.go | 7 +- .../cxpb/transition_route_group.pb.go | 5 +- .../apiv3beta1/cxpb/validation_message.pb.go | 5 +- dialogflow/cx/apiv3beta1/cxpb/version.pb.go | 7 +- dialogflow/cx/apiv3beta1/cxpb/webhook.pb.go | 5 +- dialogflow/cx/apiv3beta1/doc.go | 89 +- .../cx/apiv3beta1/environments_client.go | 56 +- dialogflow/cx/apiv3beta1/flows_client.go | 48 +- dialogflow/cx/apiv3beta1/intents_client.go | 32 +- dialogflow/cx/apiv3beta1/test_cases_client.go | 64 +- dialogflow/cx/apiv3beta1/versions_client.go | 28 +- .../apiv1/discoveryenginepb/common.pb.go | 5 +- .../completion_service.pb.go | 5 +- .../discoveryenginepb/conversation.pb.go | 5 +- .../conversational_search_service.pb.go | 5 +- .../apiv1/discoveryenginepb/document.pb.go | 5 +- .../discoveryenginepb/document_service.pb.go | 7 +- .../discoveryenginepb/import_config.pb.go | 5 +- .../discoveryenginepb/purge_config.pb.go | 5 +- .../apiv1/discoveryenginepb/schema.pb.go | 5 +- .../discoveryenginepb/schema_service.pb.go | 7 +- .../discoveryenginepb/search_service.pb.go | 5 +- .../apiv1/discoveryenginepb/user_event.pb.go | 5 +- .../user_event_service.pb.go | 7 +- discoveryengine/apiv1/doc.go | 87 +- .../apiv1beta/discoveryenginepb/common.pb.go | 5 +- .../completion_service.pb.go | 5 +- .../discoveryenginepb/conversation.pb.go | 5 +- .../conversational_search_service.pb.go | 5 +- .../discoveryenginepb/document.pb.go | 5 +- .../discoveryenginepb/document_service.pb.go | 7 +- .../discoveryenginepb/import_config.pb.go | 5 +- .../discoveryenginepb/purge_config.pb.go | 5 +- .../recommendation_service.pb.go | 5 +- .../apiv1beta/discoveryenginepb/schema.pb.go | 5 +- .../discoveryenginepb/schema_service.pb.go | 7 +- .../discoveryenginepb/search_service.pb.go | 5 +- .../discoveryenginepb/user_event.pb.go | 5 +- .../user_event_service.pb.go | 7 +- discoveryengine/apiv1beta/doc.go | 89 +- dlp/apiv2/dlppb/dlp.pb.go | 21 +- dlp/apiv2/dlppb/storage.pb.go | 5 +- dlp/apiv2/doc.go | 87 +- documentai/apiv1/doc.go | 97 +- documentai/apiv1/documentaipb/barcode.pb.go | 5 +- documentai/apiv1/documentaipb/document.pb.go | 5 +- .../apiv1/documentaipb/document_io.pb.go | 5 +- .../document_processor_service.pb.go | 7 +- .../apiv1/documentaipb/document_schema.pb.go | 5 +- .../apiv1/documentaipb/evaluation.pb.go | 5 +- documentai/apiv1/documentaipb/geometry.pb.go | 5 +- .../documentaipb/operation_metadata.pb.go | 5 +- documentai/apiv1/documentaipb/processor.pb.go | 5 +- .../apiv1/documentaipb/processor_type.pb.go | 5 +- documentai/apiv1beta3/doc.go | 99 +- .../apiv1beta3/documentaipb/barcode.pb.go | 5 +- .../apiv1beta3/documentaipb/dataset.pb.go | 5 +- .../apiv1beta3/documentaipb/document.pb.go | 5 +- .../apiv1beta3/documentaipb/document_io.pb.go | 5 +- .../document_processor_service.pb.go | 7 +- .../documentaipb/document_schema.pb.go | 5 +- .../documentaipb/document_service.pb.go | 7 +- .../apiv1beta3/documentaipb/evaluation.pb.go | 5 +- .../apiv1beta3/documentaipb/geometry.pb.go | 5 +- .../documentaipb/operation_metadata.pb.go | 5 +- .../apiv1beta3/documentaipb/processor.pb.go | 5 +- .../documentaipb/processor_type.pb.go | 5 +- domains/apiv1beta1/doc.go | 99 +- domains/apiv1beta1/domains_client.go | 24 +- domains/apiv1beta1/domainspb/domains.pb.go | 7 +- edgecontainer/apiv1/doc.go | 97 +- .../apiv1/edgecontainerpb/resources.pb.go | 5 +- .../apiv1/edgecontainerpb/service.pb.go | 7 +- edgenetwork/apiv1/doc.go | 99 +- .../apiv1/edgenetworkpb/resources.pb.go | 5 +- edgenetwork/apiv1/edgenetworkpb/service.pb.go | 7 +- essentialcontacts/apiv1/doc.go | 99 +- .../apiv1/essentialcontactspb/enums.pb.go | 5 +- .../apiv1/essentialcontactspb/service.pb.go | 5 +- eventarc/apiv1/doc.go | 97 +- eventarc/apiv1/eventarcpb/channel.pb.go | 5 +- .../apiv1/eventarcpb/channel_connection.pb.go | 5 +- eventarc/apiv1/eventarcpb/discovery.pb.go | 5 +- eventarc/apiv1/eventarcpb/eventarc.pb.go | 7 +- .../eventarcpb/google_channel_config.pb.go | 5 +- eventarc/apiv1/eventarcpb/trigger.pb.go | 5 +- eventarc/publishing/apiv1/auxiliary.go | 2 + eventarc/publishing/apiv1/doc.go | 87 +- .../apiv1/publishingpb/publisher.pb.go | 5 +- .../apiv1/cloud_filestore_manager_client.go | 60 +- filestore/apiv1/doc.go | 97 +- .../filestorepb/cloud_filestore_service.pb.go | 7 +- firestore/apiv1/admin/adminpb/database.pb.go | 5 +- firestore/apiv1/admin/adminpb/field.pb.go | 5 +- .../apiv1/admin/adminpb/firestore_admin.pb.go | 7 +- firestore/apiv1/admin/adminpb/index.pb.go | 5 +- firestore/apiv1/admin/adminpb/location.pb.go | 5 +- firestore/apiv1/admin/adminpb/operation.pb.go | 5 +- firestore/apiv1/admin/doc.go | 97 +- firestore/apiv1/doc.go | 41 +- .../firestorepb/aggregation_result.pb.go | 5 +- .../apiv1/firestorepb/bloom_filter.pb.go | 7 +- firestore/apiv1/firestorepb/common.pb.go | 5 +- firestore/apiv1/firestorepb/document.pb.go | 5 +- firestore/apiv1/firestorepb/firestore.pb.go | 5 +- firestore/apiv1/firestorepb/query.pb.go | 5 +- firestore/apiv1/firestorepb/write.pb.go | 5 +- functions/apiv1/cloud_functions_client.go | 36 +- functions/apiv1/doc.go | 87 +- functions/apiv1/functionspb/functions.pb.go | 7 +- functions/apiv1/functionspb/operations.pb.go | 5 +- functions/apiv2/doc.go | 97 +- functions/apiv2/function_client.go | 28 +- functions/apiv2/functionspb/functions.pb.go | 7 +- functions/apiv2beta/doc.go | 99 +- functions/apiv2beta/function_client.go | 28 +- .../apiv2beta/functionspb/functions.pb.go | 7 +- gkebackup/apiv1/doc.go | 97 +- gkebackup/apiv1/gkebackuppb/backup.pb.go | 5 +- gkebackup/apiv1/gkebackuppb/backup_plan.pb.go | 5 +- gkebackup/apiv1/gkebackuppb/common.pb.go | 5 +- gkebackup/apiv1/gkebackuppb/gkebackup.pb.go | 7 +- gkebackup/apiv1/gkebackuppb/restore.pb.go | 5 +- .../apiv1/gkebackuppb/restore_plan.pb.go | 5 +- gkebackup/apiv1/gkebackuppb/volume.pb.go | 5 +- gkeconnect/gateway/apiv1beta1/auxiliary.go | 2 + gkeconnect/gateway/apiv1beta1/doc.go | 89 +- .../apiv1beta1/gatewaypb/gateway.pb.go | 3 +- gkehub/apiv1beta1/doc.go | 99 +- gkehub/apiv1beta1/gkehubpb/membership.pb.go | 7 +- gkemulticloud/apiv1/doc.go | 97 +- .../gkemulticloudpb/attached_resources.pb.go | 5 +- .../gkemulticloudpb/attached_service.pb.go | 7 +- .../apiv1/gkemulticloudpb/aws_resources.pb.go | 9 +- .../apiv1/gkemulticloudpb/aws_service.pb.go | 7 +- .../gkemulticloudpb/azure_resources.pb.go | 5 +- .../apiv1/gkemulticloudpb/azure_service.pb.go | 7 +- .../gkemulticloudpb/common_resources.pb.go | 5 +- gsuiteaddons/apiv1/doc.go | 87 +- .../apiv1/gsuiteaddonspb/gsuiteaddons.pb.go | 5 +- iam/apiv1/auxiliary.go | 2 + iam/apiv1/doc.go | 87 +- iam/apiv1/iam_policy_client.go | 12 +- iam/apiv1/iampb/iam_policy.pb.go | 5 +- iam/apiv1/iampb/options.pb.go | 5 +- iam/apiv1/iampb/policy.pb.go | 192 +- iam/apiv2/doc.go | 97 +- iam/apiv2/iampb/deny.pb.go | 5 +- iam/apiv2/iampb/policy.pb.go | 7 +- iam/credentials/apiv1/auxiliary.go | 2 + .../apiv1/credentialspb/common.pb.go | 5 +- .../apiv1/credentialspb/iamcredentials.pb.go | 3 +- iam/credentials/apiv1/doc.go | 87 +- iap/apiv1/doc.go | 87 +- iap/apiv1/iappb/service.pb.go | 7 +- ids/apiv1/doc.go | 97 +- ids/apiv1/idspb/ids.pb.go | 7 +- ...tadata.google.cloud.accessapproval.v1.json | 2 +- ...ogle.identity.accesscontextmanager.v1.json | 2 +- ...google.cloud.advisorynotifications.v1.json | 2 +- ....google.ai.generativelanguage.v1beta2.json | 2 +- ...t_metadata.google.cloud.aiplatform.v1.json | 2 +- ...adata.google.cloud.aiplatform.v1beta1.json | 2 +- ...ppet_metadata.google.cloud.alloydb.v1.json | 2 +- ...metadata.google.cloud.alloydb.v1alpha.json | 2 +- ..._metadata.google.cloud.alloydb.v1beta.json | 2 +- ...tadata.google.analytics.admin.v1alpha.json | 2 +- ...t_metadata.google.cloud.apigateway.v1.json | 2 +- ...etadata.google.cloud.apigeeconnect.v1.json | 2 +- ...tadata.google.cloud.apigeeregistry.v1.json | 2 +- ...nippet_metadata.google.api.apikeys.v2.json | 2 +- .../snippet_metadata.google.appengine.v1.json | 2 +- ...tadata.google.area120.tables.v1alpha1.json | 2 +- ...a.google.devtools.artifactregistry.v1.json | 2 +- ...gle.devtools.artifactregistry.v1beta2.json | 2 +- ...nippet_metadata.google.cloud.asset.v1.json | 2 +- ...metadata.google.cloud.asset.v1p2beta1.json | 2 +- ...metadata.google.cloud.asset.v1p5beta1.json | 2 +- ...data.google.cloud.assuredworkloads.v1.json | 2 +- ...google.cloud.assuredworkloads.v1beta1.json | 2 +- ...ippet_metadata.google.cloud.automl.v1.json | 2 +- ..._metadata.google.cloud.automl.v1beta1.json | 2 +- ...ata.google.cloud.baremetalsolution.v2.json | 2 +- ...nippet_metadata.google.cloud.batch.v1.json | 2 +- ...le.cloud.beyondcorp.appconnections.v1.json | 2 +- ...gle.cloud.beyondcorp.appconnectors.v1.json | 2 +- ...oogle.cloud.beyondcorp.appgateways.v1.json | 2 +- ...beyondcorp.clientconnectorservices.v1.json | 2 +- ...le.cloud.beyondcorp.clientgateways.v1.json | 2 +- ...google.cloud.bigquery.analyticshub.v1.json | 2 +- ...data.google.cloud.bigquery.biglake.v1.json | 2 +- ...oogle.cloud.bigquery.biglake.v1alpha1.json | 2 +- ...a.google.cloud.bigquery.connection.v1.json | 2 +- ...gle.cloud.bigquery.connection.v1beta1.json | 2 +- ...e.cloud.bigquery.dataexchange.v1beta1.json | 2 +- ...google.cloud.bigquery.datapolicies.v1.json | 2 +- ...e.cloud.bigquery.datapolicies.v1beta1.json | 2 +- ...google.cloud.bigquery.datatransfer.v1.json | 2 +- ...ta.google.cloud.bigquery.migration.v2.json | 2 +- ...ogle.cloud.bigquery.migration.v2alpha.json | 2 +- ....google.cloud.bigquery.reservation.v1.json | 2 +- ...data.google.cloud.bigquery.storage.v1.json | 2 +- ...google.cloud.bigquery.storage.v1beta1.json | 2 +- ...google.cloud.bigquery.storage.v1beta2.json | 2 +- ...ppet_metadata.google.cloud.billing.v1.json | 2 +- ...adata.google.cloud.billing.budgets.v1.json | 2 +- ....google.cloud.billing.budgets.v1beta1.json | 2 +- ...a.google.cloud.binaryauthorization.v1.json | 2 +- ...gle.cloud.binaryauthorization.v1beta1.json | 2 +- ...ta.google.cloud.certificatemanager.v1.json | 2 +- ...ppet_metadata.google.cloud.channel.v1.json | 2 +- ...etadata.google.devtools.cloudbuild.v1.json | 2 +- ...etadata.google.devtools.cloudbuild.v2.json | 2 +- ...pet_metadata.google.cloud.clouddms.v1.json | 2 +- ...data.google.devtools.cloudprofiler.v2.json | 2 +- ...nippet_metadata.google.cloud.tasks.v2.json | 2 +- ...t_metadata.google.cloud.tasks.v2beta2.json | 2 +- ...t_metadata.google.cloud.tasks.v2beta3.json | 2 +- ...loud.commerce.consumer.procurement.v1.json | 2 +- ...ppet_metadata.google.cloud.compute.v1.json | 2 +- ...google.cloud.confidentialcomputing.v1.json | 2 +- ....cloud.confidentialcomputing.v1alpha1.json | 2 +- ...ippet_metadata.google.cloud.config.v1.json | 2 +- ...google.cloud.contactcenterinsights.v1.json | 2 +- .../snippet_metadata.google.container.v1.json | 2 +- ...le.devtools.containeranalysis.v1beta1.json | 2 +- ..._metadata.google.cloud.datacatalog.v1.json | 2 +- ...data.google.cloud.datacatalog.v1beta1.json | 2 +- ...a.google.cloud.datacatalog.lineage.v1.json | 2 +- ...ppet_metadata.google.dataflow.v1beta3.json | 2 +- ...tadata.google.cloud.dataform.v1alpha2.json | 2 +- ...etadata.google.cloud.dataform.v1beta1.json | 2 +- ...t_metadata.google.cloud.datafusion.v1.json | 2 +- ...ata.google.cloud.datalabeling.v1beta1.json | 2 +- ...pet_metadata.google.cloud.dataplex.v1.json | 2 +- ...pet_metadata.google.cloud.dataproc.v1.json | 2 +- ...metadata.google.cloud.dataqna.v1alpha.json | 2 +- ...et_metadata.google.datastore.admin.v1.json | 2 +- ...t_metadata.google.cloud.datastream.v1.json | 2 +- ...data.google.cloud.datastream.v1alpha1.json | 2 +- ...ippet_metadata.google.cloud.deploy.v1.json | 2 +- ...t_metadata.google.cloud.dialogflow.v2.json | 2 +- ...adata.google.cloud.dialogflow.v2beta1.json | 2 +- ...etadata.google.cloud.dialogflow.cx.v3.json | 2 +- ...ta.google.cloud.dialogflow.cx.v3beta1.json | 2 +- ...adata.google.cloud.discoveryengine.v1.json | 2 +- ...a.google.cloud.discoveryengine.v1beta.json | 2 +- ...nippet_metadata.google.privacy.dlp.v2.json | 2 +- ...t_metadata.google.cloud.documentai.v1.json | 2 +- ...adata.google.cloud.documentai.v1beta3.json | 2 +- ...metadata.google.cloud.domains.v1beta1.json | 2 +- ...etadata.google.cloud.edgecontainer.v1.json | 2 +- ..._metadata.google.cloud.edgenetwork.v1.json | 2 +- ...ata.google.cloud.essentialcontacts.v1.json | 2 +- ...pet_metadata.google.cloud.eventarc.v1.json | 2 +- ...a.google.cloud.eventarc.publishing.v1.json | 2 +- ...et_metadata.google.cloud.filestore.v1.json | 2 +- ...et_metadata.google.firestore.admin.v1.json | 2 +- .../snippet_metadata.google.firestore.v1.json | 2 +- ...et_metadata.google.cloud.functions.v1.json | 2 +- ...et_metadata.google.cloud.functions.v2.json | 2 +- ...etadata.google.cloud.functions.v2beta.json | 2 +- ...et_metadata.google.cloud.gkebackup.v1.json | 2 +- ...ogle.cloud.gkeconnect.gateway.v1beta1.json | 2 +- ..._metadata.google.cloud.gkehub.v1beta1.json | 2 +- ...etadata.google.cloud.gkemulticloud.v1.json | 2 +- ...metadata.google.cloud.gsuiteaddons.v1.json | 2 +- .../apiv1/snippet_metadata.google.iam.v1.json | 2 +- .../apiv2/snippet_metadata.google.iam.v2.json | 2 +- ...et_metadata.google.iam.credentials.v1.json | 2 +- .../snippet_metadata.google.cloud.iap.v1.json | 2 +- .../snippet_metadata.google.cloud.ids.v1.json | 2 +- .../snippet_metadata.google.cloud.iot.v1.json | 2 +- .../snippet_metadata.google.cloud.kms.v1.json | 2 +- ...etadata.google.cloud.kms.inventory.v1.json | 2 +- ...pet_metadata.google.cloud.language.v1.json | 2 +- ...etadata.google.cloud.language.v1beta2.json | 2 +- ...pet_metadata.google.cloud.language.v2.json | 2 +- ...data.google.cloud.lifesciences.v2beta.json | 2 +- .../snippet_metadata.google.logging.v2.json | 2 +- .../snippet_metadata.google.longrunning.json | 2 +- ...ata.google.cloud.managedidentities.v1.json | 2 +- ...data.google.maps.addressvalidation.v1.json | 2 +- .../snippet_metadata.maps.fleetengine.v1.json | 2 +- ...metadata.maps.fleetengine.delivery.v1.json | 2 +- ...gle.maps.mapsplatformdatasets.v1alpha.json | 2 +- ...nippet_metadata.google.maps.places.v1.json | 2 +- ...ippet_metadata.google.maps.routing.v2.json | 2 +- ...google.cloud.mediatranslation.v1beta1.json | 2 +- ...pet_metadata.google.cloud.memcache.v1.json | 2 +- ...etadata.google.cloud.memcache.v1beta2.json | 2 +- ...et_metadata.google.cloud.metastore.v1.json | 2 +- ...tadata.google.cloud.metastore.v1alpha.json | 2 +- ...etadata.google.cloud.metastore.v1beta.json | 2 +- ...adata.google.cloud.migrationcenter.v1.json | 2 +- ...snippet_metadata.google.monitoring.v3.json | 2 +- ...tadata.google.monitoring.dashboard.v1.json | 2 +- ...ata.google.monitoring.metricsscope.v1.json | 2 +- ...ippet_metadata.google.cloud.netapp.v1.json | 2 +- ...a.google.cloud.networkconnectivity.v1.json | 2 +- ...le.cloud.networkconnectivity.v1alpha1.json | 2 +- ...ata.google.cloud.networkmanagement.v1.json | 2 +- ....google.cloud.networksecurity.v1beta1.json | 2 +- ...et_metadata.google.cloud.notebooks.v1.json | 2 +- ...tadata.google.cloud.notebooks.v1beta1.json | 2 +- ...et_metadata.google.cloud.notebooks.v2.json | 2 +- ...metadata.google.cloud.optimization.v1.json | 2 +- ...loud.orchestration.airflow.service.v1.json | 2 +- ...et_metadata.google.cloud.orgpolicy.v2.json | 2 +- ...oogle.cloud.osconfig.agentendpoint.v1.json | 2 +- ...e.cloud.osconfig.agentendpoint.v1beta.json | 2 +- ...pet_metadata.google.cloud.osconfig.v1.json | 2 +- ...etadata.google.cloud.osconfig.v1alpha.json | 2 +- ...metadata.google.cloud.osconfig.v1beta.json | 2 +- ...ppet_metadata.google.cloud.oslogin.v1.json | 2 +- ..._metadata.google.cloud.oslogin.v1beta.json | 2 +- ...ogle.cloud.phishingprotection.v1beta1.json | 2 +- ...adata.google.cloud.policysimulator.v1.json | 2 +- ....google.cloud.policytroubleshooter.v1.json | 2 +- ...gle.cloud.policytroubleshooter.iam.v3.json | 2 +- ...a.google.cloud.privatecatalog.v1beta1.json | 2 +- .../snippet_metadata.google.pubsub.v1.json | 2 +- ...t_metadata.google.cloud.pubsublite.v1.json | 2 +- ...gle.cloud.rapidmigrationassessment.v1.json | 2 +- ...le.cloud.recommendationengine.v1beta1.json | 2 +- ..._metadata.google.cloud.recommender.v1.json | 2 +- ...data.google.cloud.recommender.v1beta1.json | 2 +- ...nippet_metadata.google.cloud.redis.v1.json | 2 +- ...t_metadata.google.cloud.redis.v1beta1.json | 2 +- ...etadata.google.cloud.redis.cluster.v1.json | 2 +- ...adata.google.cloud.resourcemanager.v2.json | 2 +- ...adata.google.cloud.resourcemanager.v3.json | 2 +- ...data.google.cloud.resourcesettings.v1.json | 2 +- ...ippet_metadata.google.cloud.retail.v2.json | 2 +- ..._metadata.google.cloud.retail.v2alpha.json | 2 +- ...t_metadata.google.cloud.retail.v2beta.json | 2 +- .../snippet_metadata.google.cloud.run.v2.json | 2 +- ...et_metadata.google.cloud.scheduler.v1.json | 2 +- ...tadata.google.cloud.scheduler.v1beta1.json | 2 +- ...etadata.google.cloud.secretmanager.v1.json | 2 +- ...a.google.cloud.securesourcemanager.v1.json | 2 +- ...ta.google.cloud.security.privateca.v1.json | 2 +- ...oogle.cloud.security.publicca.v1beta1.json | 2 +- ...tadata.google.cloud.securitycenter.v1.json | 2 +- ...a.google.cloud.securitycenter.v1beta1.json | 2 +- ...google.cloud.securitycenter.v1p1beta1.json | 2 +- ...cloud.securitycenter.settings.v1beta1.json | 2 +- ...metadata.google.api.servicecontrol.v1.json | 2 +- ...data.google.cloud.servicedirectory.v1.json | 2 +- ...google.cloud.servicedirectory.v1beta1.json | 2 +- ...adata.google.api.servicemanagement.v1.json | 2 +- ...t_metadata.google.api.serviceusage.v1.json | 2 +- ...nippet_metadata.google.cloud.shell.v1.json | 2 +- ....shopping.merchant.inventories.v1beta.json | 2 +- ...data.google.spanner.admin.database.v1.json | 2 +- ...data.google.spanner.admin.instance.v1.json | 2 +- .../snippet_metadata.google.spanner.v1.json | 2 +- ...ippet_metadata.google.cloud.speech.v1.json | 2 +- ...etadata.google.cloud.speech.v1p1beta1.json | 2 +- ...ippet_metadata.google.cloud.speech.v2.json | 2 +- ...adata.google.cloud.storageinsights.v1.json | 2 +- ...et_metadata.google.storagetransfer.v1.json | 2 +- ...ppet_metadata.google.cloud.support.v2.json | 2 +- ...ippet_metadata.google.cloud.talent.v4.json | 2 +- ..._metadata.google.cloud.talent.v4beta1.json | 2 +- ...adata.google.cloud.telcoautomation.v1.json | 2 +- ...metadata.google.cloud.texttospeech.v1.json | 2 +- .../snippet_metadata.google.cloud.tpu.v1.json | 2 +- ...etadata.google.devtools.cloudtrace.v1.json | 2 +- ...etadata.google.devtools.cloudtrace.v2.json | 2 +- ..._metadata.google.cloud.translation.v3.json | 2 +- ...data.google.cloud.video.livestream.v1.json | 2 +- ...tadata.google.cloud.video.stitcher.v1.json | 2 +- ...data.google.cloud.video.transcoder.v1.json | 2 +- ...ata.google.cloud.videointelligence.v1.json | 2 +- ...oogle.cloud.videointelligence.v1beta2.json | 2 +- ...gle.cloud.videointelligence.v1p3beta1.json | 2 +- ...ippet_metadata.google.cloud.vision.v1.json | 2 +- ...etadata.google.cloud.vision.v1p1beta1.json | 2 +- ..._metadata.google.cloud.vmmigration.v1.json | 2 +- ...metadata.google.cloud.vmwareengine.v1.json | 2 +- ...et_metadata.google.cloud.vpcaccess.v1.json | 2 +- ...ppet_metadata.google.cloud.webrisk.v1.json | 2 +- ...metadata.google.cloud.webrisk.v1beta1.json | 2 +- ...ta.google.cloud.websecurityscanner.v1.json | 2 +- ...et_metadata.google.cloud.workflows.v1.json | 2 +- ...etadata.google.cloud.workflows.v1beta.json | 2 +- ....google.cloud.workflows.executions.v1.json | 2 +- ...gle.cloud.workflows.executions.v1beta.json | 2 +- ...metadata.google.cloud.workstations.v1.json | 2 +- ...data.google.cloud.workstations.v1beta.json | 2 +- iot/apiv1/doc.go | 87 +- iot/apiv1/iotpb/device_manager.pb.go | 7 +- iot/apiv1/iotpb/resources.pb.go | 5 +- kms/apiv1/doc.go | 87 +- kms/apiv1/ekm_client.go | 12 +- kms/apiv1/key_management_client.go | 30 +- kms/apiv1/kmspb/ekm_service.pb.go | 5 +- kms/apiv1/kmspb/resources.pb.go | 5 +- kms/apiv1/kmspb/service.pb.go | 5 +- kms/inventory/apiv1/doc.go | 99 +- .../inventorypb/key_dashboard_service.pb.go | 7 +- .../inventorypb/key_tracking_service.pb.go | 5 +- language/apiv1/auxiliary.go | 2 + language/apiv1/doc.go | 87 +- .../apiv1/languagepb/language_service.pb.go | 5 +- language/apiv1beta2/auxiliary.go | 2 + language/apiv1beta2/doc.go | 89 +- .../languagepb/language_service.pb.go | 5 +- language/apiv2/auxiliary.go | 2 + language/apiv2/doc.go | 87 +- .../apiv2/languagepb/language_service.pb.go | 5 +- lifesciences/apiv2beta/doc.go | 99 +- .../apiv2beta/lifesciencespb/workflows.pb.go | 7 +- .../workflows_service_v2_beta_client.go | 16 +- logging/apiv2/doc.go | 83 +- logging/apiv2/loggingpb/log_entry.pb.go | 5 +- logging/apiv2/loggingpb/logging.pb.go | 5 +- logging/apiv2/loggingpb/logging_config.pb.go | 7 +- logging/apiv2/loggingpb/logging_metrics.pb.go | 5 +- longrunning/autogen/doc.go | 83 +- .../autogen/longrunningpb/operations.pb.go | 19 +- managedidentities/apiv1/doc.go | 97 +- .../apiv1/managed_identities_client.go | 60 +- .../managed_identities_service.pb.go | 7 +- .../apiv1/managedidentitiespb/resource.pb.go | 5 +- .../apiv1/addressvalidationpb/address.pb.go | 5 +- .../address_validation_service.pb.go | 5 +- .../apiv1/addressvalidationpb/geocode.pb.go | 5 +- .../apiv1/addressvalidationpb/metadata.pb.go | 5 +- .../apiv1/addressvalidationpb/usps_data.pb.go | 5 +- maps/addressvalidation/apiv1/auxiliary.go | 2 + maps/addressvalidation/apiv1/doc.go | 87 +- maps/fleetengine/apiv1/doc.go | 87 +- .../apiv1/fleetenginepb/fleetengine.pb.go | 5 +- .../apiv1/fleetenginepb/header.pb.go | 5 +- .../apiv1/fleetenginepb/traffic.pb.go | 5 +- .../apiv1/fleetenginepb/trip_api.pb.go | 5 +- .../apiv1/fleetenginepb/trips.pb.go | 5 +- .../apiv1/fleetenginepb/vehicle_api.pb.go | 5 +- .../apiv1/fleetenginepb/vehicles.pb.go | 5 +- maps/fleetengine/apiv1/vehicle_client.go | 44 +- .../delivery/apiv1/deliverypb/common.pb.go | 5 +- .../apiv1/deliverypb/delivery_api.pb.go | 5 +- .../apiv1/deliverypb/delivery_vehicles.pb.go | 5 +- .../delivery/apiv1/deliverypb/header.pb.go | 5 +- .../apiv1/deliverypb/task_tracking_info.pb.go | 5 +- .../delivery/apiv1/deliverypb/tasks.pb.go | 5 +- maps/fleetengine/delivery/apiv1/doc.go | 87 +- maps/mapsplatformdatasets/apiv1alpha/doc.go | 89 +- .../mapsplatformdatasetspb/data_source.pb.go | 5 +- .../mapsplatformdatasetspb/dataset.pb.go | 5 +- .../maps_platform_datasets.pb.go | 5 +- ...maps_platform_datasets_alpha_service.pb.go | 3 +- maps/places/apiv1/auxiliary.go | 2 + maps/places/apiv1/doc.go | 87 +- maps/places/apiv1/placespb/attribution.pb.go | 5 +- maps/places/apiv1/placespb/ev_charging.pb.go | 5 +- maps/places/apiv1/placespb/fuel_options.pb.go | 5 +- maps/places/apiv1/placespb/geometry.pb.go | 5 +- maps/places/apiv1/placespb/photo.pb.go | 5 +- maps/places/apiv1/placespb/place.pb.go | 5 +- .../apiv1/placespb/places_service.pb.go | 10 +- maps/places/apiv1/placespb/review.pb.go | 5 +- maps/routing/apiv2/auxiliary.go | 2 + maps/routing/apiv2/doc.go | 41 +- maps/routing/apiv2/routes_client.go | 124 +- .../apiv2/routingpb/fallback_info.pb.go | 5 +- .../apiv2/routingpb/geocoding_results.pb.go | 5 +- .../apiv2/routingpb/localized_time.pb.go | 5 +- maps/routing/apiv2/routingpb/location.pb.go | 5 +- maps/routing/apiv2/routingpb/maneuver.pb.go | 5 +- .../routingpb/navigation_instruction.pb.go | 5 +- maps/routing/apiv2/routingpb/polyline.pb.go | 5 +- maps/routing/apiv2/routingpb/route.pb.go | 5 +- .../routing/apiv2/routingpb/route_label.pb.go | 5 +- .../apiv2/routingpb/route_modifiers.pb.go | 5 +- .../apiv2/routingpb/route_travel_mode.pb.go | 5 +- .../apiv2/routingpb/routes_service.pb.go | 5 +- .../apiv2/routingpb/routing_preference.pb.go | 5 +- .../routingpb/speed_reading_interval.pb.go | 5 +- maps/routing/apiv2/routingpb/toll_info.pb.go | 5 +- .../routing/apiv2/routingpb/toll_passes.pb.go | 5 +- .../apiv2/routingpb/traffic_model.pb.go | 5 +- maps/routing/apiv2/routingpb/transit.pb.go | 5 +- .../apiv2/routingpb/transit_preferences.pb.go | 5 +- maps/routing/apiv2/routingpb/units.pb.go | 5 +- .../routingpb/vehicle_emission_type.pb.go | 5 +- .../apiv2/routingpb/vehicle_info.pb.go | 5 +- maps/routing/apiv2/routingpb/waypoint.pb.go | 5 +- mediatranslation/apiv1beta1/auxiliary.go | 2 + mediatranslation/apiv1beta1/doc.go | 119 +- .../media_translation.pb.go | 5 +- memcache/apiv1/cloud_memcache_client.go | 42 +- memcache/apiv1/doc.go | 97 +- .../apiv1/memcachepb/cloud_memcache.pb.go | 7 +- memcache/apiv1beta2/cloud_memcache_client.go | 42 +- memcache/apiv1beta2/doc.go | 99 +- .../memcachepb/cloud_memcache.pb.go | 7 +- metastore/apiv1/dataproc_metastore_client.go | 36 +- .../dataproc_metastore_federation_client.go | 36 +- metastore/apiv1/doc.go | 97 +- metastore/apiv1/metastorepb/metastore.pb.go | 7 +- .../metastorepb/metastore_federation.pb.go | 7 +- .../apiv1alpha/dataproc_metastore_client.go | 36 +- .../dataproc_metastore_federation_client.go | 36 +- metastore/apiv1alpha/doc.go | 99 +- .../apiv1alpha/metastorepb/metastore.pb.go | 7 +- .../metastorepb/metastore_federation.pb.go | 7 +- .../apiv1beta/dataproc_metastore_client.go | 36 +- .../dataproc_metastore_federation_client.go | 36 +- metastore/apiv1beta/doc.go | 99 +- .../apiv1beta/metastorepb/metastore.pb.go | 7 +- .../metastorepb/metastore_federation.pb.go | 7 +- migrationcenter/apiv1/doc.go | 99 +- .../migrationcenterpb/migrationcenter.pb.go | 7 +- monitoring/apiv3/v2/doc.go | 87 +- monitoring/apiv3/v2/monitoringpb/alert.pb.go | 6 +- .../apiv3/v2/monitoringpb/alert_service.pb.go | 5 +- monitoring/apiv3/v2/monitoringpb/common.pb.go | 51 +- .../v2/monitoringpb/dropped_labels.pb.go | 5 +- monitoring/apiv3/v2/monitoringpb/group.pb.go | 5 +- .../apiv3/v2/monitoringpb/group_service.pb.go | 5 +- monitoring/apiv3/v2/monitoringpb/metric.pb.go | 25 +- .../v2/monitoringpb/metric_service.pb.go | 5 +- .../v2/monitoringpb/mutation_record.pb.go | 5 +- .../apiv3/v2/monitoringpb/notification.pb.go | 5 +- .../monitoringpb/notification_service.pb.go | 5 +- .../apiv3/v2/monitoringpb/query_service.pb.go | 3 +- .../apiv3/v2/monitoringpb/service.pb.go | 5 +- .../v2/monitoringpb/service_service.pb.go | 5 +- monitoring/apiv3/v2/monitoringpb/snooze.pb.go | 5 +- .../v2/monitoringpb/snooze_service.pb.go | 11 +- .../apiv3/v2/monitoringpb/span_context.pb.go | 7 +- monitoring/apiv3/v2/monitoringpb/uptime.pb.go | 5 +- .../v2/monitoringpb/uptime_service.pb.go | 5 +- .../apiv1/dashboardpb/alertchart.pb.go | 5 +- .../apiv1/dashboardpb/collapsible_group.pb.go | 5 +- .../dashboard/apiv1/dashboardpb/common.pb.go | 5 +- .../apiv1/dashboardpb/dashboard.pb.go | 5 +- .../apiv1/dashboardpb/dashboard_filter.pb.go | 5 +- .../dashboardpb/dashboards_service.pb.go | 5 +- .../apiv1/dashboardpb/drilldowns.pb.go | 3 +- .../dashboard/apiv1/dashboardpb/layouts.pb.go | 5 +- .../apiv1/dashboardpb/logs_panel.pb.go | 5 +- .../dashboard/apiv1/dashboardpb/metrics.pb.go | 5 +- .../apiv1/dashboardpb/scorecard.pb.go | 5 +- .../dashboard/apiv1/dashboardpb/service.pb.go | 3 +- .../dashboard/apiv1/dashboardpb/table.pb.go | 5 +- .../dashboardpb/table_display_options.pb.go | 5 +- .../dashboard/apiv1/dashboardpb/text.pb.go | 5 +- .../dashboard/apiv1/dashboardpb/widget.pb.go | 5 +- .../dashboard/apiv1/dashboardpb/xychart.pb.go | 5 +- monitoring/dashboard/apiv1/doc.go | 87 +- monitoring/metricsscope/apiv1/doc.go | 97 +- .../apiv1/metricsscopepb/metrics_scope.pb.go | 5 +- .../apiv1/metricsscopepb/metrics_scopes.pb.go | 7 +- netapp/apiv1/doc.go | 99 +- netapp/apiv1/netapppb/active_directory.pb.go | 5 +- .../apiv1/netapppb/cloud_netapp_service.pb.go | 7 +- netapp/apiv1/netapppb/common.pb.go | 5 +- netapp/apiv1/netapppb/kms.pb.go | 5 +- netapp/apiv1/netapppb/replication.pb.go | 5 +- netapp/apiv1/netapppb/snapshot.pb.go | 5 +- netapp/apiv1/netapppb/storage_pool.pb.go | 5 +- netapp/apiv1/netapppb/volume.pb.go | 5 +- networkconnectivity/apiv1/doc.go | 97 +- .../apiv1/networkconnectivitypb/common.pb.go | 5 +- .../apiv1/networkconnectivitypb/hub.pb.go | 8 +- .../policy_based_routing.pb.go | 7 +- networkconnectivity/apiv1alpha1/doc.go | 99 +- .../networkconnectivitypb/common.pb.go | 5 +- .../networkconnectivitypb/hub.pb.go | 7 +- networkmanagement/apiv1/doc.go | 97 +- .../connectivity_test.pb.go | 5 +- .../networkmanagementpb/reachability.pb.go | 7 +- .../apiv1/networkmanagementpb/trace.pb.go | 22 +- networksecurity/apiv1beta1/doc.go | 99 +- .../authorization_policy.pb.go | 5 +- .../networksecuritypb/client_tls_policy.pb.go | 5 +- .../apiv1beta1/networksecuritypb/common.pb.go | 5 +- .../networksecuritypb/network_security.pb.go | 5 +- .../networksecuritypb/server_tls_policy.pb.go | 5 +- .../apiv1beta1/networksecuritypb/tls.pb.go | 5 +- notebooks/apiv1/doc.go | 97 +- .../apiv1/notebookspb/diagnostic_config.pb.go | 5 +- notebooks/apiv1/notebookspb/environment.pb.go | 5 +- notebooks/apiv1/notebookspb/event.pb.go | 5 +- notebooks/apiv1/notebookspb/execution.pb.go | 5 +- notebooks/apiv1/notebookspb/instance.pb.go | 5 +- .../apiv1/notebookspb/instance_config.pb.go | 5 +- .../apiv1/notebookspb/managed_service.pb.go | 10 +- notebooks/apiv1/notebookspb/runtime.pb.go | 5 +- notebooks/apiv1/notebookspb/schedule.pb.go | 5 +- notebooks/apiv1/notebookspb/service.pb.go | 7 +- notebooks/apiv1beta1/doc.go | 99 +- .../apiv1beta1/notebookspb/environment.pb.go | 5 +- .../apiv1beta1/notebookspb/instance.pb.go | 5 +- .../apiv1beta1/notebookspb/service.pb.go | 7 +- notebooks/apiv2/doc.go | 87 +- .../apiv2/notebookspb/diagnostic_config.pb.go | 5 +- notebooks/apiv2/notebookspb/event.pb.go | 5 +- notebooks/apiv2/notebookspb/gce_setup.pb.go | 5 +- notebooks/apiv2/notebookspb/instance.pb.go | 5 +- notebooks/apiv2/notebookspb/service.pb.go | 7 +- optimization/apiv1/doc.go | 97 +- optimization/apiv1/fleet_routing_client.go | 78 +- .../apiv1/optimizationpb/async_model.pb.go | 5 +- .../apiv1/optimizationpb/fleet_routing.pb.go | 290 ++- orchestration/airflow/service/apiv1/doc.go | 97 +- .../apiv1/servicepb/environments.pb.go | 19 +- .../apiv1/servicepb/image_versions.pb.go | 5 +- .../service/apiv1/servicepb/operations.pb.go | 5 +- orgpolicy/apiv1/orgpolicypb/orgpolicy.pb.go | 12 +- orgpolicy/apiv2/doc.go | 87 +- orgpolicy/apiv2/orgpolicypb/constraint.pb.go | 5 +- orgpolicy/apiv2/orgpolicypb/orgpolicy.pb.go | 12 +- .../apiv1/agentendpointpb/agentendpoint.pb.go | 5 +- .../apiv1/agentendpointpb/config_common.pb.go | 5 +- .../apiv1/agentendpointpb/inventory.pb.go | 5 +- .../apiv1/agentendpointpb/os_policy.pb.go | 5 +- .../apiv1/agentendpointpb/patch_jobs.pb.go | 5 +- .../apiv1/agentendpointpb/tasks.pb.go | 5 +- osconfig/agentendpoint/apiv1/auxiliary.go | 2 + osconfig/agentendpoint/apiv1/doc.go | 41 +- .../agentendpointpb/agentendpoint.pb.go | 5 +- .../agentendpointpb/guest_policies.pb.go | 10 +- .../agentendpointpb/patch_jobs.pb.go | 5 +- .../apiv1beta/agentendpointpb/tasks.pb.go | 5 +- osconfig/agentendpoint/apiv1beta/auxiliary.go | 2 + osconfig/agentendpoint/apiv1beta/doc.go | 89 +- osconfig/apiv1/doc.go | 87 +- osconfig/apiv1/os_config_client.go | 6 +- osconfig/apiv1/os_config_zonal_client.go | 6 +- osconfig/apiv1/osconfigpb/inventory.pb.go | 5 +- osconfig/apiv1/osconfigpb/os_policy.pb.go | 5 +- .../os_policy_assignment_reports.pb.go | 5 +- .../osconfigpb/os_policy_assignments.pb.go | 21 +- .../apiv1/osconfigpb/osconfig_common.pb.go | 5 +- .../apiv1/osconfigpb/osconfig_service.pb.go | 3 +- .../osconfigpb/osconfig_zonal_service.pb.go | 5 +- .../apiv1/osconfigpb/patch_deployments.pb.go | 5 +- osconfig/apiv1/osconfigpb/patch_jobs.pb.go | 5 +- osconfig/apiv1/osconfigpb/vulnerability.pb.go | 5 +- osconfig/apiv1alpha/doc.go | 99 +- osconfig/apiv1alpha/os_config_zonal_client.go | 6 +- .../apiv1alpha/osconfigpb/config_common.pb.go | 5 +- .../instance_os_policies_compliance.pb.go | 5 +- .../apiv1alpha/osconfigpb/inventory.pb.go | 5 +- .../apiv1alpha/osconfigpb/os_policy.pb.go | 5 +- .../os_policy_assignment_reports.pb.go | 5 +- .../osconfigpb/os_policy_assignments.pb.go | 21 +- .../osconfigpb/osconfig_common.pb.go | 5 +- .../osconfigpb/osconfig_zonal_service.pb.go | 5 +- .../apiv1alpha/osconfigpb/vulnerability.pb.go | 5 +- osconfig/apiv1beta/doc.go | 89 +- osconfig/apiv1beta/os_config_client.go | 6 +- .../apiv1beta/osconfigpb/guest_policies.pb.go | 10 +- .../osconfigpb/osconfig_common.pb.go | 5 +- .../osconfigpb/osconfig_service.pb.go | 3 +- .../osconfigpb/patch_deployments.pb.go | 5 +- .../apiv1beta/osconfigpb/patch_jobs.pb.go | 5 +- oslogin/apiv1/auxiliary.go | 2 + oslogin/apiv1/doc.go | 87 +- oslogin/apiv1/os_login_client.go | 6 +- oslogin/apiv1/osloginpb/oslogin.pb.go | 7 +- oslogin/apiv1beta/auxiliary.go | 2 + oslogin/apiv1beta/doc.go | 89 +- oslogin/apiv1beta/os_login_client.go | 6 +- oslogin/apiv1beta/osloginpb/oslogin.pb.go | 7 +- oslogin/common/commonpb/common.pb.go | 5 +- phishingprotection/apiv1beta1/auxiliary.go | 2 + phishingprotection/apiv1beta1/doc.go | 89 +- .../phishingprotection.pb.go | 5 +- policysimulator/apiv1/doc.go | 97 +- .../policysimulatorpb/explanations.pb.go | 5 +- .../apiv1/policysimulatorpb/simulator.pb.go | 7 +- policytroubleshooter/apiv1/auxiliary.go | 2 + policytroubleshooter/apiv1/doc.go | 87 +- .../policytroubleshooterpb/checker.pb.go | 5 +- .../policytroubleshooterpb/explanations.pb.go | 5 +- policytroubleshooter/iam/apiv3/auxiliary.go | 2 + policytroubleshooter/iam/apiv3/doc.go | 87 +- .../iam/apiv3/iampb/troubleshooter.pb.go | 7 +- privatecatalog/apiv1beta1/doc.go | 101 +- .../privatecatalogpb/private_catalog.pb.go | 7 +- pubsub/apiv1/doc.go | 87 +- pubsub/apiv1/pubsubpb/pubsub.pb.go | 5 +- pubsub/apiv1/pubsubpb/schema.pb.go | 5 +- pubsublite/apiv1/doc.go | 87 +- pubsublite/apiv1/pubsublitepb/admin.pb.go | 7 +- pubsublite/apiv1/pubsublitepb/common.pb.go | 5 +- pubsublite/apiv1/pubsublitepb/cursor.pb.go | 5 +- pubsublite/apiv1/pubsublitepb/publisher.pb.go | 5 +- .../apiv1/pubsublitepb/subscriber.pb.go | 13 +- .../apiv1/pubsublitepb/topic_stats.pb.go | 5 +- rapidmigrationassessment/apiv1/doc.go | 97 +- .../api_entities.pb.go | 5 +- .../rapidmigrationassessment.pb.go | 7 +- recaptchaenterprise/apiv1/doc.go | 87 +- .../recaptchaenterprise.pb.go | 5 +- recaptchaenterprise/apiv1beta1/auxiliary.go | 2 + recaptchaenterprise/apiv1beta1/doc.go | 89 +- .../recaptchaenterprise.pb.go | 5 +- recommendationengine/apiv1beta1/doc.go | 89 +- .../recommendationenginepb/catalog.pb.go | 5 +- .../catalog_service.pb.go | 7 +- .../recommendationenginepb/common.pb.go | 5 +- .../recommendationenginepb/import.pb.go | 5 +- .../prediction_apikey_registry_service.pb.go | 5 +- .../prediction_service.pb.go | 5 +- .../recommendationengine_resources.pb.go | 3 +- .../recommendationenginepb/user_event.pb.go | 5 +- .../user_event_service.pb.go | 7 +- recommender/apiv1/doc.go | 87 +- recommender/apiv1/recommenderpb/insight.pb.go | 5 +- .../recommenderpb/insight_type_config.pb.go | 5 +- .../apiv1/recommenderpb/recommendation.pb.go | 16 +- .../recommenderpb/recommender_config.pb.go | 5 +- .../recommenderpb/recommender_service.pb.go | 5 +- recommender/apiv1beta1/doc.go | 89 +- .../apiv1beta1/recommenderpb/insight.pb.go | 5 +- .../recommenderpb/insight_type_config.pb.go | 5 +- .../recommenderpb/recommendation.pb.go | 16 +- .../recommenderpb/recommender_config.pb.go | 5 +- .../recommenderpb/recommender_service.pb.go | 5 +- redis/apiv1/cloud_redis_client.go | 52 +- redis/apiv1/doc.go | 97 +- redis/apiv1/redispb/cloud_redis.pb.go | 7 +- redis/apiv1beta1/cloud_redis_client.go | 52 +- redis/apiv1beta1/doc.go | 99 +- redis/apiv1beta1/redispb/cloud_redis.pb.go | 7 +- .../apiv1/cloud_redis_cluster_client.go | 76 +- .../apiv1/clusterpb/cloud_redis_cluster.pb.go | 7 +- redis/cluster/apiv1/doc.go | 99 +- resourcemanager/apiv2/doc.go | 97 +- resourcemanager/apiv2/folders_client.go | 32 +- .../apiv2/resourcemanagerpb/folders.pb.go | 7 +- resourcemanager/apiv3/doc.go | 97 +- resourcemanager/apiv3/folders_client.go | 32 +- resourcemanager/apiv3/projects_client.go | 96 +- .../apiv3/resourcemanagerpb/folders.pb.go | 7 +- .../resourcemanagerpb/organizations.pb.go | 7 +- .../apiv3/resourcemanagerpb/projects.pb.go | 7 +- .../resourcemanagerpb/tag_bindings.pb.go | 7 +- .../apiv3/resourcemanagerpb/tag_holds.pb.go | 7 +- .../apiv3/resourcemanagerpb/tag_keys.pb.go | 7 +- .../apiv3/resourcemanagerpb/tag_values.pb.go | 7 +- resourcesettings/apiv1/doc.go | 87 +- .../resource_settings.pb.go | 5 +- retail/apiv2/catalog_client.go | 10 +- retail/apiv2/doc.go | 87 +- retail/apiv2/model_client.go | 16 +- retail/apiv2/retailpb/catalog.pb.go | 5 +- retail/apiv2/retailpb/catalog_service.pb.go | 5 +- retail/apiv2/retailpb/common.pb.go | 21 +- .../apiv2/retailpb/completion_service.pb.go | 7 +- retail/apiv2/retailpb/control.pb.go | 5 +- retail/apiv2/retailpb/control_service.pb.go | 5 +- retail/apiv2/retailpb/import_config.pb.go | 5 +- retail/apiv2/retailpb/model.pb.go | 5 +- retail/apiv2/retailpb/model_service.pb.go | 7 +- .../apiv2/retailpb/prediction_service.pb.go | 5 +- retail/apiv2/retailpb/product.pb.go | 5 +- retail/apiv2/retailpb/product_service.pb.go | 7 +- retail/apiv2/retailpb/promotion.pb.go | 5 +- retail/apiv2/retailpb/purge_config.pb.go | 5 +- retail/apiv2/retailpb/search_service.pb.go | 5 +- retail/apiv2/retailpb/serving_config.pb.go | 5 +- .../retailpb/serving_config_service.pb.go | 5 +- retail/apiv2/retailpb/user_event.pb.go | 5 +- .../apiv2/retailpb/user_event_service.pb.go | 7 +- retail/apiv2alpha/catalog_client.go | 20 +- retail/apiv2alpha/doc.go | 89 +- retail/apiv2alpha/model_client.go | 24 +- retail/apiv2alpha/retailpb/catalog.pb.go | 5 +- .../apiv2alpha/retailpb/catalog_service.pb.go | 5 +- retail/apiv2alpha/retailpb/common.pb.go | 21 +- .../retailpb/completion_service.pb.go | 7 +- retail/apiv2alpha/retailpb/control.pb.go | 5 +- .../apiv2alpha/retailpb/control_service.pb.go | 5 +- .../apiv2alpha/retailpb/export_config.pb.go | 5 +- .../apiv2alpha/retailpb/import_config.pb.go | 5 +- .../merchant_center_account_link.pb.go | 5 +- ...merchant_center_account_link_service.pb.go | 7 +- retail/apiv2alpha/retailpb/model.pb.go | 5 +- .../apiv2alpha/retailpb/model_service.pb.go | 7 +- .../retailpb/prediction_service.pb.go | 5 +- retail/apiv2alpha/retailpb/product.pb.go | 5 +- .../apiv2alpha/retailpb/product_service.pb.go | 7 +- retail/apiv2alpha/retailpb/promotion.pb.go | 5 +- retail/apiv2alpha/retailpb/purge_config.pb.go | 5 +- .../apiv2alpha/retailpb/search_service.pb.go | 5 +- .../apiv2alpha/retailpb/serving_config.pb.go | 5 +- .../retailpb/serving_config_service.pb.go | 5 +- retail/apiv2alpha/retailpb/user_event.pb.go | 5 +- .../retailpb/user_event_service.pb.go | 7 +- retail/apiv2beta/catalog_client.go | 20 +- retail/apiv2beta/doc.go | 89 +- retail/apiv2beta/model_client.go | 24 +- retail/apiv2beta/retailpb/catalog.pb.go | 5 +- .../apiv2beta/retailpb/catalog_service.pb.go | 5 +- retail/apiv2beta/retailpb/common.pb.go | 21 +- .../retailpb/completion_service.pb.go | 7 +- retail/apiv2beta/retailpb/control.pb.go | 5 +- .../apiv2beta/retailpb/control_service.pb.go | 5 +- retail/apiv2beta/retailpb/export_config.pb.go | 5 +- retail/apiv2beta/retailpb/import_config.pb.go | 5 +- retail/apiv2beta/retailpb/model.pb.go | 5 +- retail/apiv2beta/retailpb/model_service.pb.go | 7 +- .../retailpb/prediction_service.pb.go | 5 +- retail/apiv2beta/retailpb/product.pb.go | 5 +- .../apiv2beta/retailpb/product_service.pb.go | 7 +- retail/apiv2beta/retailpb/promotion.pb.go | 5 +- retail/apiv2beta/retailpb/purge_config.pb.go | 5 +- .../apiv2beta/retailpb/search_service.pb.go | 5 +- .../apiv2beta/retailpb/serving_config.pb.go | 5 +- .../retailpb/serving_config_service.pb.go | 5 +- retail/apiv2beta/retailpb/user_event.pb.go | 5 +- .../retailpb/user_event_service.pb.go | 7 +- run/apiv2/doc.go | 97 +- run/apiv2/runpb/condition.pb.go | 5 +- run/apiv2/runpb/execution.pb.go | 7 +- run/apiv2/runpb/execution_template.pb.go | 5 +- run/apiv2/runpb/job.pb.go | 7 +- run/apiv2/runpb/k8s.min.pb.go | 5 +- run/apiv2/runpb/revision.pb.go | 7 +- run/apiv2/runpb/revision_template.pb.go | 5 +- run/apiv2/runpb/service.pb.go | 7 +- run/apiv2/runpb/task.pb.go | 5 +- run/apiv2/runpb/task_template.pb.go | 5 +- run/apiv2/runpb/traffic_target.pb.go | 5 +- run/apiv2/runpb/vendor_settings.pb.go | 5 +- scheduler/apiv1/doc.go | 87 +- .../apiv1/schedulerpb/cloudscheduler.pb.go | 5 +- scheduler/apiv1/schedulerpb/job.pb.go | 5 +- scheduler/apiv1/schedulerpb/target.pb.go | 5 +- scheduler/apiv1beta1/doc.go | 89 +- .../schedulerpb/cloudscheduler.pb.go | 5 +- scheduler/apiv1beta1/schedulerpb/job.pb.go | 5 +- scheduler/apiv1beta1/schedulerpb/target.pb.go | 5 +- secretmanager/apiv1/doc.go | 87 +- secretmanager/apiv1/secret_manager_client.go | 18 +- .../apiv1/secretmanagerpb/resources.pb.go | 5 +- .../apiv1/secretmanagerpb/service.pb.go | 7 +- securesourcemanager/apiv1/doc.go | 99 +- .../apiv1/secure_source_manager_client.go | 6 +- .../secure_source_manager.pb.go | 7 +- security/privateca/apiv1/doc.go | 97 +- .../apiv1/privatecapb/resources.pb.go | 5 +- .../privateca/apiv1/privatecapb/service.pb.go | 7 +- security/publicca/apiv1beta1/auxiliary.go | 2 + security/publicca/apiv1beta1/doc.go | 89 +- .../apiv1beta1/publiccapb/resources.pb.go | 5 +- .../apiv1beta1/publiccapb/service.pb.go | 5 +- securitycenter/apiv1/doc.go | 97 +- .../apiv1/securitycenterpb/access.pb.go | 5 +- .../apiv1/securitycenterpb/asset.pb.go | 5 +- .../securitycenterpb/bigquery_export.pb.go | 5 +- .../cloud_dlp_data_profile.pb.go | 5 +- .../cloud_dlp_inspection.pb.go | 5 +- .../apiv1/securitycenterpb/compliance.pb.go | 5 +- .../apiv1/securitycenterpb/connection.pb.go | 5 +- .../securitycenterpb/contact_details.pb.go | 5 +- .../apiv1/securitycenterpb/container.pb.go | 5 +- .../apiv1/securitycenterpb/database.pb.go | 5 +- ...urity_health_analytics_custom_module.pb.go | 5 +- .../apiv1/securitycenterpb/exfiltration.pb.go | 5 +- .../securitycenterpb/external_system.pb.go | 5 +- .../apiv1/securitycenterpb/file.pb.go | 5 +- .../apiv1/securitycenterpb/finding.pb.go | 5 +- .../apiv1/securitycenterpb/folder.pb.go | 5 +- .../apiv1/securitycenterpb/iam_binding.pb.go | 5 +- .../apiv1/securitycenterpb/indicator.pb.go | 5 +- .../securitycenterpb/kernel_rootkit.pb.go | 5 +- .../apiv1/securitycenterpb/kubernetes.pb.go | 5 +- .../apiv1/securitycenterpb/label.pb.go | 5 +- .../apiv1/securitycenterpb/mitre_attack.pb.go | 5 +- .../apiv1/securitycenterpb/mute_config.pb.go | 5 +- .../notification_config.pb.go | 5 +- .../notification_message.pb.go | 5 +- .../organization_settings.pb.go | 5 +- .../apiv1/securitycenterpb/process.pb.go | 5 +- .../apiv1/securitycenterpb/resource.pb.go | 5 +- .../run_asset_discovery_response.pb.go | 5 +- ...urity_health_analytics_custom_config.pb.go | 5 +- ...urity_health_analytics_custom_module.pb.go | 5 +- .../securitycenterpb/security_marks.pb.go | 5 +- .../securitycenter_service.pb.go | 7 +- .../apiv1/securitycenterpb/source.pb.go | 5 +- .../securitycenterpb/vulnerability.pb.go | 5 +- securitycenter/apiv1beta1/doc.go | 89 +- .../apiv1beta1/securitycenterpb/asset.pb.go | 5 +- .../apiv1beta1/securitycenterpb/finding.pb.go | 5 +- .../organization_settings.pb.go | 5 +- .../run_asset_discovery_response.pb.go | 5 +- .../securitycenterpb/security_marks.pb.go | 5 +- .../securitycenter_service.pb.go | 7 +- .../apiv1beta1/securitycenterpb/source.pb.go | 5 +- securitycenter/apiv1p1beta1/doc.go | 89 +- .../apiv1p1beta1/securitycenterpb/asset.pb.go | 5 +- .../securitycenterpb/finding.pb.go | 5 +- .../securitycenterpb/folder.pb.go | 5 +- .../notification_config.pb.go | 5 +- .../notification_message.pb.go | 5 +- .../organization_settings.pb.go | 5 +- .../securitycenterpb/resource.pb.go | 5 +- .../run_asset_discovery_response.pb.go | 5 +- .../securitycenterpb/security_marks.pb.go | 5 +- .../securitycenter_service.pb.go | 7 +- .../securitycenterpb/source.pb.go | 5 +- securitycenter/settings/apiv1beta1/doc.go | 89 +- .../security_center_settings_client.go | 32 +- .../settingspb/billing_settings.pb.go | 5 +- .../settingspb/component_settings.pb.go | 5 +- .../apiv1beta1/settingspb/detector.pb.go | 5 +- .../securitycenter_settings_service.pb.go | 5 +- .../apiv1beta1/settingspb/settings.pb.go | 5 +- .../apiv1beta1/settingspb/sink_settings.pb.go | 5 +- servicecontrol/apiv1/auxiliary.go | 2 + servicecontrol/apiv1/doc.go | 87 +- .../apiv1/servicecontrolpb/check_error.pb.go | 5 +- .../apiv1/servicecontrolpb/distribution.pb.go | 5 +- .../apiv1/servicecontrolpb/http_request.pb.go | 5 +- .../apiv1/servicecontrolpb/log_entry.pb.go | 5 +- .../apiv1/servicecontrolpb/metric_value.pb.go | 5 +- .../apiv1/servicecontrolpb/operation.pb.go | 5 +- .../servicecontrolpb/quota_controller.pb.go | 5 +- .../servicecontrolpb/service_controller.pb.go | 5 +- servicedirectory/apiv1/doc.go | 87 +- servicedirectory/apiv1/registration_client.go | 60 +- .../apiv1/servicedirectorypb/endpoint.pb.go | 5 +- .../servicedirectorypb/lookup_service.pb.go | 5 +- .../apiv1/servicedirectorypb/namespace.pb.go | 5 +- .../registration_service.pb.go | 7 +- .../apiv1/servicedirectorypb/service.pb.go | 5 +- servicedirectory/apiv1beta1/doc.go | 89 +- .../apiv1beta1/registration_client.go | 60 +- .../servicedirectorypb/endpoint.pb.go | 5 +- .../servicedirectorypb/lookup_service.pb.go | 5 +- .../servicedirectorypb/namespace.pb.go | 5 +- .../registration_service.pb.go | 7 +- .../servicedirectorypb/service.pb.go | 5 +- servicemanagement/apiv1/doc.go | 97 +- .../apiv1/servicemanagementpb/resources.pb.go | 39 +- .../servicemanagementpb/servicemanager.pb.go | 8 +- serviceusage/apiv1/doc.go | 97 +- .../apiv1/serviceusagepb/resources.pb.go | 5 +- .../apiv1/serviceusagepb/serviceusage.pb.go | 7 +- shell/apiv1/doc.go | 97 +- shell/apiv1/shellpb/cloudshell.pb.go | 7 +- .../merchant/inventories/apiv1beta/doc.go | 85 +- .../inventoriespb/localinventory.pb.go | 7 +- .../inventoriespb/regionalinventory.pb.go | 7 +- shopping/type/typepb/types.pb.go | 7 +- .../database/apiv1/database_admin_client.go | 98 +- .../database/apiv1/databasepb/backup.pb.go | 5 +- .../database/apiv1/databasepb/common.pb.go | 5 +- .../databasepb/spanner_database_admin.pb.go | 7 +- spanner/admin/database/apiv1/doc.go | 97 +- spanner/admin/instance/apiv1/doc.go | 97 +- .../instance/apiv1/instance_admin_client.go | 238 +-- .../instance/apiv1/instancepb/common.pb.go | 5 +- .../instancepb/spanner_instance_admin.pb.go | 7 +- spanner/apiv1/doc.go | 87 +- spanner/apiv1/spanner_client.go | 6 +- spanner/apiv1/spannerpb/commit_response.pb.go | 5 +- spanner/apiv1/spannerpb/keys.pb.go | 57 +- spanner/apiv1/spannerpb/mutation.pb.go | 5 +- spanner/apiv1/spannerpb/query_plan.pb.go | 5 +- spanner/apiv1/spannerpb/result_set.pb.go | 5 +- spanner/apiv1/spannerpb/spanner.pb.go | 65 +- spanner/apiv1/spannerpb/transaction.pb.go | 121 +- spanner/apiv1/spannerpb/type.pb.go | 5 +- speech/apiv1/doc.go | 97 +- speech/apiv1/speechpb/cloud_speech.pb.go | 51 +- .../speechpb/cloud_speech_adaptation.pb.go | 5 +- speech/apiv1/speechpb/resource.pb.go | 5 +- speech/apiv1p1beta1/doc.go | 99 +- .../apiv1p1beta1/speechpb/cloud_speech.pb.go | 51 +- .../speechpb/cloud_speech_adaptation.pb.go | 5 +- speech/apiv1p1beta1/speechpb/resource.pb.go | 5 +- speech/apiv2/doc.go | 97 +- speech/apiv2/speechpb/cloud_speech.pb.go | 51 +- storage/internal/apiv2/doc.go | 117 +- storage/internal/apiv2/storage_client.go | 108 +- .../internal/apiv2/storagepb/storage.pb.go | 7 +- storageinsights/apiv1/doc.go | 89 +- .../storageinsightspb/storageinsights.pb.go | 5 +- storagetransfer/apiv1/doc.go | 87 +- .../apiv1/storagetransferpb/transfer.pb.go | 7 +- .../storagetransferpb/transfer_types.pb.go | 5 +- support/apiv2/doc.go | 99 +- support/apiv2/supportpb/actor.pb.go | 5 +- support/apiv2/supportpb/attachment.pb.go | 5 +- .../apiv2/supportpb/attachment_service.pb.go | 5 +- support/apiv2/supportpb/case.pb.go | 5 +- support/apiv2/supportpb/case_service.pb.go | 5 +- support/apiv2/supportpb/comment.pb.go | 5 +- support/apiv2/supportpb/comment_service.pb.go | 5 +- support/apiv2/supportpb/escalation.pb.go | 5 +- talent/apiv4/doc.go | 87 +- talent/apiv4/talentpb/common.pb.go | 5 +- talent/apiv4/talentpb/company.pb.go | 5 +- talent/apiv4/talentpb/company_service.pb.go | 5 +- .../apiv4/talentpb/completion_service.pb.go | 5 +- talent/apiv4/talentpb/event.pb.go | 5 +- talent/apiv4/talentpb/event_service.pb.go | 5 +- talent/apiv4/talentpb/filters.pb.go | 5 +- talent/apiv4/talentpb/histogram.pb.go | 5 +- talent/apiv4/talentpb/job.pb.go | 5 +- talent/apiv4/talentpb/job_service.pb.go | 7 +- talent/apiv4/talentpb/tenant.pb.go | 5 +- talent/apiv4/talentpb/tenant_service.pb.go | 5 +- talent/apiv4beta1/doc.go | 89 +- talent/apiv4beta1/talentpb/batch.pb.go | 3 +- talent/apiv4beta1/talentpb/common.pb.go | 5 +- talent/apiv4beta1/talentpb/company.pb.go | 5 +- .../apiv4beta1/talentpb/company_service.pb.go | 5 +- .../talentpb/completion_service.pb.go | 5 +- talent/apiv4beta1/talentpb/event.pb.go | 5 +- .../apiv4beta1/talentpb/event_service.pb.go | 5 +- talent/apiv4beta1/talentpb/filters.pb.go | 5 +- talent/apiv4beta1/talentpb/histogram.pb.go | 5 +- talent/apiv4beta1/talentpb/job.pb.go | 5 +- talent/apiv4beta1/talentpb/job_service.pb.go | 7 +- talent/apiv4beta1/talentpb/tenant.pb.go | 5 +- .../apiv4beta1/talentpb/tenant_service.pb.go | 5 +- telcoautomation/apiv1/doc.go | 89 +- .../telcoautomationpb/telcoautomation.pb.go | 7 +- texttospeech/apiv1/doc.go | 87 +- .../apiv1/texttospeechpb/cloud_tts.pb.go | 5 +- .../apiv1/texttospeechpb/cloud_tts_lrs.pb.go | 7 +- tpu/apiv1/doc.go | 97 +- tpu/apiv1/tpu_client.go | 4 +- tpu/apiv1/tpupb/cloud_tpu.pb.go | 7 +- trace/apiv1/doc.go | 87 +- trace/apiv1/tracepb/trace.pb.go | 5 +- trace/apiv2/auxiliary.go | 2 + trace/apiv2/doc.go | 85 +- trace/apiv2/tracepb/trace.pb.go | 5 +- trace/apiv2/tracepb/tracing.pb.go | 5 +- translate/apiv3/doc.go | 97 +- .../translatepb/translation_service.pb.go | 7 +- video/livestream/apiv1/doc.go | 97 +- .../apiv1/livestreampb/outputs.pb.go | 5 +- .../apiv1/livestreampb/resources.pb.go | 5 +- .../apiv1/livestreampb/service.pb.go | 7 +- video/stitcher/apiv1/doc.go | 97 +- .../apiv1/stitcherpb/ad_tag_details.pb.go | 5 +- .../stitcher/apiv1/stitcherpb/cdn_keys.pb.go | 5 +- .../apiv1/stitcherpb/companions.pb.go | 5 +- video/stitcher/apiv1/stitcherpb/events.pb.go | 5 +- .../apiv1/stitcherpb/live_configs.pb.go | 5 +- .../stitcher/apiv1/stitcherpb/sessions.pb.go | 5 +- video/stitcher/apiv1/stitcherpb/slates.pb.go | 5 +- .../apiv1/stitcherpb/stitch_details.pb.go | 5 +- .../stitcherpb/video_stitcher_service.pb.go | 7 +- video/transcoder/apiv1/doc.go | 87 +- .../apiv1/transcoderpb/resources.pb.go | 5 +- .../apiv1/transcoderpb/services.pb.go | 5 +- videointelligence/apiv1/doc.go | 97 +- .../video_intelligence.pb.go | 21 +- videointelligence/apiv1beta2/doc.go | 99 +- .../video_intelligence.pb.go | 7 +- videointelligence/apiv1p3beta1/doc.go | 99 +- .../video_intelligence.pb.go | 21 +- vision/apiv1/doc.go | 83 +- vision/apiv1/product_search_client.go | 170 +- vision/apiv1/visionpb/geometry.pb.go | 5 +- vision/apiv1/visionpb/image_annotator.pb.go | 7 +- vision/apiv1/visionpb/product_search.pb.go | 5 +- .../visionpb/product_search_service.pb.go | 7 +- vision/apiv1/visionpb/text_annotation.pb.go | 9 +- vision/apiv1/visionpb/web_detection.pb.go | 5 +- vision/apiv1p1beta1/auxiliary.go | 2 + vision/apiv1p1beta1/doc.go | 89 +- vision/apiv1p1beta1/visionpb/geometry.pb.go | 5 +- .../visionpb/image_annotator.pb.go | 5 +- .../visionpb/text_annotation.pb.go | 9 +- .../apiv1p1beta1/visionpb/web_detection.pb.go | 5 +- vmmigration/apiv1/doc.go | 97 +- .../apiv1/vmmigrationpb/vmmigration.pb.go | 7 +- vmwareengine/apiv1/doc.go | 97 +- .../apiv1/vmwareenginepb/vmwareengine.pb.go | 7 +- .../vmwareengine_resources.pb.go | 5 +- vpcaccess/apiv1/doc.go | 97 +- vpcaccess/apiv1/vpcaccesspb/vpc_access.pb.go | 7 +- webrisk/apiv1/doc.go | 87 +- webrisk/apiv1/webriskpb/webrisk.pb.go | 7 +- webrisk/apiv1beta1/auxiliary.go | 2 + webrisk/apiv1beta1/doc.go | 89 +- webrisk/apiv1beta1/webriskpb/webrisk.pb.go | 5 +- websecurityscanner/apiv1/doc.go | 87 +- .../websecurityscannerpb/crawled_url.pb.go | 5 +- .../apiv1/websecurityscannerpb/finding.pb.go | 5 +- .../websecurityscannerpb/finding_addon.pb.go | 5 +- .../finding_type_stats.pb.go | 5 +- .../websecurityscannerpb/scan_config.pb.go | 5 +- .../scan_config_error.pb.go | 5 +- .../apiv1/websecurityscannerpb/scan_run.pb.go | 5 +- .../scan_run_error_trace.pb.go | 5 +- .../websecurityscannerpb/scan_run_log.pb.go | 5 +- .../scan_run_warning_trace.pb.go | 5 +- .../web_security_scanner.pb.go | 5 +- workflows/apiv1/doc.go | 97 +- workflows/apiv1/workflowspb/workflows.pb.go | 7 +- workflows/apiv1beta/doc.go | 99 +- .../apiv1beta/workflowspb/workflows.pb.go | 7 +- workflows/executions/apiv1/doc.go | 87 +- .../apiv1/executionspb/executions.pb.go | 5 +- workflows/executions/apiv1beta/doc.go | 89 +- .../apiv1beta/executionspb/executions.pb.go | 5 +- workstations/apiv1/doc.go | 99 +- .../apiv1/workstationspb/workstations.pb.go | 7 +- workstations/apiv1beta/doc.go | 99 +- .../workstationspb/workstations.pb.go | 7 +- 1893 files changed, 20007 insertions(+), 21155 deletions(-) diff --git a/accessapproval/apiv1/access_approval_client.go b/accessapproval/apiv1/access_approval_client.go index 1a4aaf7f6867..1a4a1688ae06 100755 --- a/accessapproval/apiv1/access_approval_client.go +++ b/accessapproval/apiv1/access_approval_client.go @@ -200,12 +200,12 @@ type internalClient interface { // This API allows a customer to manage accesses to cloud resources by // Google personnel. It defines the following resource model: // -// The API has a collection of -// ApprovalRequest -// resources, named approvalRequests/{approval_request} +// The API has a collection of +// ApprovalRequest +// resources, named approvalRequests/{approval_request} // -// The API has top-level settings per Project/Folder/Organization, named -// accessApprovalSettings +// The API has top-level settings per Project/Folder/Organization, named +// accessApprovalSettings // // The service also periodically emails a list of recipients, defined at the // Project/Folder/Organization level in the accessApprovalSettings, when there @@ -358,12 +358,12 @@ type gRPCClient struct { // This API allows a customer to manage accesses to cloud resources by // Google personnel. It defines the following resource model: // -// The API has a collection of -// ApprovalRequest -// resources, named approvalRequests/{approval_request} +// The API has a collection of +// ApprovalRequest +// resources, named approvalRequests/{approval_request} // -// The API has top-level settings per Project/Folder/Organization, named -// accessApprovalSettings +// The API has top-level settings per Project/Folder/Organization, named +// accessApprovalSettings // // The service also periodically emails a list of recipients, defined at the // Project/Folder/Organization level in the accessApprovalSettings, when there @@ -460,12 +460,12 @@ type restClient struct { // This API allows a customer to manage accesses to cloud resources by // Google personnel. It defines the following resource model: // -// The API has a collection of -// ApprovalRequest -// resources, named approvalRequests/{approval_request} +// The API has a collection of +// ApprovalRequest +// resources, named approvalRequests/{approval_request} // -// The API has top-level settings per Project/Folder/Organization, named -// accessApprovalSettings +// The API has top-level settings per Project/Folder/Organization, named +// accessApprovalSettings // // The service also periodically emails a list of recipients, defined at the // Project/Folder/Organization level in the accessApprovalSettings, when there diff --git a/accessapproval/apiv1/accessapprovalpb/accessapproval.pb.go b/accessapproval/apiv1/accessapprovalpb/accessapproval.pb.go index 53d4d128cd27..a21d12635ad9 100755 --- a/accessapproval/apiv1/accessapprovalpb/accessapproval.pb.go +++ b/accessapproval/apiv1/accessapprovalpb/accessapproval.pb.go @@ -22,9 +22,6 @@ package accessapprovalpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/accessapproval/apiv1/doc.go b/accessapproval/apiv1/doc.go index bf47499413bd..fca060ecd1ee 100755 --- a/accessapproval/apiv1/doc.go +++ b/accessapproval/apiv1/doc.go @@ -19,66 +19,65 @@ // // An API for controlling access to data by Google personnel. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := accessapproval.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := accessapproval.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := accessapproval.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &accessapprovalpb.ApproveApprovalRequestMessage{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/accessapproval/apiv1/accessapprovalpb#ApproveApprovalRequestMessage. -// } -// resp, err := c.ApproveApprovalRequest(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := accessapproval.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &accessapprovalpb.ApproveApprovalRequestMessage{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/accessapproval/apiv1/accessapprovalpb#ApproveApprovalRequestMessage. +// } +// resp, err := c.ApproveApprovalRequest(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/accesscontextmanager/apiv1/accesscontextmanagerpb/access_context_manager.pb.go b/accesscontextmanager/apiv1/accesscontextmanagerpb/access_context_manager.pb.go index d9e4a97b33f5..1fbb15f690a2 100755 --- a/accesscontextmanager/apiv1/accesscontextmanagerpb/access_context_manager.pb.go +++ b/accesscontextmanager/apiv1/accesscontextmanagerpb/access_context_manager.pb.go @@ -21,12 +21,9 @@ package accesscontextmanagerpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/accesscontextmanager/apiv1/accesscontextmanagerpb/access_level.pb.go b/accesscontextmanager/apiv1/accesscontextmanagerpb/access_level.pb.go index cfd6a4059050..1492933f6466 100755 --- a/accesscontextmanager/apiv1/accesscontextmanagerpb/access_level.pb.go +++ b/accesscontextmanager/apiv1/accesscontextmanagerpb/access_level.pb.go @@ -21,15 +21,14 @@ package accesscontextmanagerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" _type "google.golang.org/genproto/googleapis/identity/accesscontextmanager/type" expr "google.golang.org/genproto/googleapis/type/expr" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/accesscontextmanager/apiv1/accesscontextmanagerpb/access_policy.pb.go b/accesscontextmanager/apiv1/accesscontextmanagerpb/access_policy.pb.go index 1d0adf16a4bb..b8a74f2da00e 100755 --- a/accesscontextmanager/apiv1/accesscontextmanagerpb/access_policy.pb.go +++ b/accesscontextmanager/apiv1/accesscontextmanagerpb/access_policy.pb.go @@ -21,13 +21,12 @@ package accesscontextmanagerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/accesscontextmanager/apiv1/accesscontextmanagerpb/gcp_user_access_binding.pb.go b/accesscontextmanager/apiv1/accesscontextmanagerpb/gcp_user_access_binding.pb.go index 74026ec73fbb..05e37d072e91 100755 --- a/accesscontextmanager/apiv1/accesscontextmanagerpb/gcp_user_access_binding.pb.go +++ b/accesscontextmanager/apiv1/accesscontextmanagerpb/gcp_user_access_binding.pb.go @@ -21,12 +21,11 @@ package accesscontextmanagerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/accesscontextmanager/apiv1/accesscontextmanagerpb/service_perimeter.pb.go b/accesscontextmanager/apiv1/accesscontextmanagerpb/service_perimeter.pb.go index 7c76f6a39cdd..1cd0a245428e 100755 --- a/accesscontextmanager/apiv1/accesscontextmanagerpb/service_perimeter.pb.go +++ b/accesscontextmanager/apiv1/accesscontextmanagerpb/service_perimeter.pb.go @@ -21,13 +21,12 @@ package accesscontextmanagerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/accesscontextmanager/apiv1/doc.go b/accesscontextmanager/apiv1/doc.go index e14d39b2d547..6f83416e9056 100755 --- a/accesscontextmanager/apiv1/doc.go +++ b/accesscontextmanager/apiv1/doc.go @@ -20,71 +20,70 @@ // An API for setting attribute based access control to requests to GCP // services. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := accesscontextmanager.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := accesscontextmanager.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := accesscontextmanager.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &accesscontextmanagerpb.CommitServicePerimetersRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/accesscontextmanager/apiv1/accesscontextmanagerpb#CommitServicePerimetersRequest. -// } -// op, err := c.CommitServicePerimeters(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := accesscontextmanager.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &accesscontextmanagerpb.CommitServicePerimetersRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/accesscontextmanager/apiv1/accesscontextmanagerpb#CommitServicePerimetersRequest. +// } +// op, err := c.CommitServicePerimeters(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/advisorynotifications/apiv1/advisorynotificationspb/service.pb.go b/advisorynotifications/apiv1/advisorynotificationspb/service.pb.go index 30fbd4d4498f..6ee36d9564c5 100755 --- a/advisorynotifications/apiv1/advisorynotificationspb/service.pb.go +++ b/advisorynotifications/apiv1/advisorynotificationspb/service.pb.go @@ -22,9 +22,6 @@ package advisorynotificationspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/advisorynotifications/apiv1/doc.go b/advisorynotifications/apiv1/doc.go index 65cf37dab9f8..d74ec12be0f0 100755 --- a/advisorynotifications/apiv1/doc.go +++ b/advisorynotifications/apiv1/doc.go @@ -17,68 +17,67 @@ // Package advisorynotifications is an auto-generated package for the // Advisory Notifications API. // -// # An API for accessing Advisory Notifications in Google Cloud +// An API for accessing Advisory Notifications in Google Cloud // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := advisorynotifications.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := advisorynotifications.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := advisorynotifications.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &advisorynotificationspb.GetNotificationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/advisorynotifications/apiv1/advisorynotificationspb#GetNotificationRequest. -// } -// resp, err := c.GetNotification(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := advisorynotifications.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &advisorynotificationspb.GetNotificationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/advisorynotifications/apiv1/advisorynotificationspb#GetNotificationRequest. +// } +// resp, err := c.GetNotification(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/ai/generativelanguage/apiv1beta2/doc.go b/ai/generativelanguage/apiv1beta2/doc.go index ef2085ba5fe9..f011637c4191 100755 --- a/ai/generativelanguage/apiv1beta2/doc.go +++ b/ai/generativelanguage/apiv1beta2/doc.go @@ -27,68 +27,67 @@ // content generation, dialogue agents, summarization and classification // systems, and more. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := generativelanguage.NewDiscussClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := generativelanguage.NewDiscussClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := generativelanguage.NewDiscussClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &generativelanguagepb.CountMessageTokensRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/ai/generativelanguage/apiv1beta2/generativelanguagepb#CountMessageTokensRequest. -// } -// resp, err := c.CountMessageTokens(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := generativelanguage.NewDiscussClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &generativelanguagepb.CountMessageTokensRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/ai/generativelanguage/apiv1beta2/generativelanguagepb#CountMessageTokensRequest. +// } +// resp, err := c.CountMessageTokens(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewDiscussClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/ai/generativelanguage/apiv1beta2/generativelanguagepb/citation.pb.go b/ai/generativelanguage/apiv1beta2/generativelanguagepb/citation.pb.go index 1d6ee0d9328f..7b7cf3592762 100755 --- a/ai/generativelanguage/apiv1beta2/generativelanguagepb/citation.pb.go +++ b/ai/generativelanguage/apiv1beta2/generativelanguagepb/citation.pb.go @@ -21,12 +21,11 @@ package generativelanguagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta2/generativelanguagepb/discuss_service.pb.go b/ai/generativelanguage/apiv1beta2/generativelanguagepb/discuss_service.pb.go index 63b9a4a2b29d..917922410459 100755 --- a/ai/generativelanguage/apiv1beta2/generativelanguagepb/discuss_service.pb.go +++ b/ai/generativelanguage/apiv1beta2/generativelanguagepb/discuss_service.pb.go @@ -22,15 +22,14 @@ package generativelanguagepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta2/generativelanguagepb/model.pb.go b/ai/generativelanguage/apiv1beta2/generativelanguagepb/model.pb.go index a25dcfce0819..bd9980edf01d 100755 --- a/ai/generativelanguage/apiv1beta2/generativelanguagepb/model.pb.go +++ b/ai/generativelanguage/apiv1beta2/generativelanguagepb/model.pb.go @@ -21,12 +21,11 @@ package generativelanguagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta2/generativelanguagepb/model_service.pb.go b/ai/generativelanguage/apiv1beta2/generativelanguagepb/model_service.pb.go index c549a4769f2e..2774a9e8b15a 100755 --- a/ai/generativelanguage/apiv1beta2/generativelanguagepb/model_service.pb.go +++ b/ai/generativelanguage/apiv1beta2/generativelanguagepb/model_service.pb.go @@ -22,15 +22,14 @@ package generativelanguagepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta2/generativelanguagepb/safety.pb.go b/ai/generativelanguage/apiv1beta2/generativelanguagepb/safety.pb.go index ab7a3a4b0b8d..745ed7cd136d 100755 --- a/ai/generativelanguage/apiv1beta2/generativelanguagepb/safety.pb.go +++ b/ai/generativelanguage/apiv1beta2/generativelanguagepb/safety.pb.go @@ -21,12 +21,11 @@ package generativelanguagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta2/generativelanguagepb/text_service.pb.go b/ai/generativelanguage/apiv1beta2/generativelanguagepb/text_service.pb.go index b7d5e2d0d9d4..488f779e14d3 100755 --- a/ai/generativelanguage/apiv1beta2/generativelanguagepb/text_service.pb.go +++ b/ai/generativelanguage/apiv1beta2/generativelanguagepb/text_service.pb.go @@ -22,15 +22,14 @@ package generativelanguagepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/accelerator_type.pb.go b/aiplatform/apiv1/aiplatformpb/accelerator_type.pb.go index 04668ffefca7..80a6c096d350 100755 --- a/aiplatform/apiv1/aiplatformpb/accelerator_type.pb.go +++ b/aiplatform/apiv1/aiplatformpb/accelerator_type.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/annotation.pb.go b/aiplatform/apiv1/aiplatformpb/annotation.pb.go index 82b9e1790683..63559b743d4a 100755 --- a/aiplatform/apiv1/aiplatformpb/annotation.pb.go +++ b/aiplatform/apiv1/aiplatformpb/annotation.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/annotation_spec.pb.go b/aiplatform/apiv1/aiplatformpb/annotation_spec.pb.go index 04662584b784..e99c9ba97366 100755 --- a/aiplatform/apiv1/aiplatformpb/annotation_spec.pb.go +++ b/aiplatform/apiv1/aiplatformpb/annotation_spec.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/artifact.pb.go b/aiplatform/apiv1/aiplatformpb/artifact.pb.go index 86e747d3dc11..9978da8fa5e1 100755 --- a/aiplatform/apiv1/aiplatformpb/artifact.pb.go +++ b/aiplatform/apiv1/aiplatformpb/artifact.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/batch_prediction_job.pb.go b/aiplatform/apiv1/aiplatformpb/batch_prediction_job.pb.go index d551593dbdf5..dcc1f2fea710 100755 --- a/aiplatform/apiv1/aiplatformpb/batch_prediction_job.pb.go +++ b/aiplatform/apiv1/aiplatformpb/batch_prediction_job.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/completion_stats.pb.go b/aiplatform/apiv1/aiplatformpb/completion_stats.pb.go index c06ba73dd29e..5b6c8e64715d 100755 --- a/aiplatform/apiv1/aiplatformpb/completion_stats.pb.go +++ b/aiplatform/apiv1/aiplatformpb/completion_stats.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/context.pb.go b/aiplatform/apiv1/aiplatformpb/context.pb.go index eed536a97e0f..cb3e09fc1464 100755 --- a/aiplatform/apiv1/aiplatformpb/context.pb.go +++ b/aiplatform/apiv1/aiplatformpb/context.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/custom_job.pb.go b/aiplatform/apiv1/aiplatformpb/custom_job.pb.go index 0f2508778c15..d22f8f4553fb 100755 --- a/aiplatform/apiv1/aiplatformpb/custom_job.pb.go +++ b/aiplatform/apiv1/aiplatformpb/custom_job.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/data_item.pb.go b/aiplatform/apiv1/aiplatformpb/data_item.pb.go index 3b28b5bbe2a9..1441cfbcf49b 100755 --- a/aiplatform/apiv1/aiplatformpb/data_item.pb.go +++ b/aiplatform/apiv1/aiplatformpb/data_item.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/data_labeling_job.pb.go b/aiplatform/apiv1/aiplatformpb/data_labeling_job.pb.go index 3deb1248629e..c631065f39a9 100755 --- a/aiplatform/apiv1/aiplatformpb/data_labeling_job.pb.go +++ b/aiplatform/apiv1/aiplatformpb/data_labeling_job.pb.go @@ -21,9 +21,6 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" money "google.golang.org/genproto/googleapis/type/money" @@ -31,6 +28,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -333,9 +332,8 @@ func (x *DataLabelingJob) GetActiveLearningConfig() *ActiveLearningConfig { } // Parameters that configure the active learning pipeline. Active learning will -// -// label the data incrementally by several iterations. For every iteration, it -// will select a batch of data based on the sampling strategy. +// label the data incrementally by several iterations. For every iteration, it +// will select a batch of data based on the sampling strategy. type ActiveLearningConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/aiplatform/apiv1/aiplatformpb/dataset.pb.go b/aiplatform/apiv1/aiplatformpb/dataset.pb.go index 6dd14b2b16c7..bbeaea6775f5 100755 --- a/aiplatform/apiv1/aiplatformpb/dataset.pb.go +++ b/aiplatform/apiv1/aiplatformpb/dataset.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/dataset_service.pb.go b/aiplatform/apiv1/aiplatformpb/dataset_service.pb.go index 3ef2ade99d0c..49bad38bb615 100755 --- a/aiplatform/apiv1/aiplatformpb/dataset_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/dataset_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/dataset_version.pb.go b/aiplatform/apiv1/aiplatformpb/dataset_version.pb.go index bff569acd317..582b1dd7baf1 100755 --- a/aiplatform/apiv1/aiplatformpb/dataset_version.pb.go +++ b/aiplatform/apiv1/aiplatformpb/dataset_version.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/deployed_index_ref.pb.go b/aiplatform/apiv1/aiplatformpb/deployed_index_ref.pb.go index 7ec7d75bbff2..ce54af78ca87 100755 --- a/aiplatform/apiv1/aiplatformpb/deployed_index_ref.pb.go +++ b/aiplatform/apiv1/aiplatformpb/deployed_index_ref.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/deployed_model_ref.pb.go b/aiplatform/apiv1/aiplatformpb/deployed_model_ref.pb.go index c10013e782ae..e793548fe607 100755 --- a/aiplatform/apiv1/aiplatformpb/deployed_model_ref.pb.go +++ b/aiplatform/apiv1/aiplatformpb/deployed_model_ref.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/encryption_spec.pb.go b/aiplatform/apiv1/aiplatformpb/encryption_spec.pb.go index ee789c56c9a8..20cab64e71e8 100755 --- a/aiplatform/apiv1/aiplatformpb/encryption_spec.pb.go +++ b/aiplatform/apiv1/aiplatformpb/encryption_spec.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/endpoint.pb.go b/aiplatform/apiv1/aiplatformpb/endpoint.pb.go index 2d0d14fd8330..082c6b831723 100755 --- a/aiplatform/apiv1/aiplatformpb/endpoint.pb.go +++ b/aiplatform/apiv1/aiplatformpb/endpoint.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/endpoint_service.pb.go b/aiplatform/apiv1/aiplatformpb/endpoint_service.pb.go index 04e864f0041d..cf5210ed9c6d 100755 --- a/aiplatform/apiv1/aiplatformpb/endpoint_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/endpoint_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/entity_type.pb.go b/aiplatform/apiv1/aiplatformpb/entity_type.pb.go index 6bfc86de7c91..bab986699aa0 100755 --- a/aiplatform/apiv1/aiplatformpb/entity_type.pb.go +++ b/aiplatform/apiv1/aiplatformpb/entity_type.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/env_var.pb.go b/aiplatform/apiv1/aiplatformpb/env_var.pb.go index 4e2aa5d2bb4a..d26782f89d40 100755 --- a/aiplatform/apiv1/aiplatformpb/env_var.pb.go +++ b/aiplatform/apiv1/aiplatformpb/env_var.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/evaluated_annotation.pb.go b/aiplatform/apiv1/aiplatformpb/evaluated_annotation.pb.go index 4bfc213a146f..b184bdd700cd 100755 --- a/aiplatform/apiv1/aiplatformpb/evaluated_annotation.pb.go +++ b/aiplatform/apiv1/aiplatformpb/evaluated_annotation.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/event.pb.go b/aiplatform/apiv1/aiplatformpb/event.pb.go index cebfabb6ee47..da2dfa340d9c 100755 --- a/aiplatform/apiv1/aiplatformpb/event.pb.go +++ b/aiplatform/apiv1/aiplatformpb/event.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/execution.pb.go b/aiplatform/apiv1/aiplatformpb/execution.pb.go index 1804f6dda7d4..fb9b42607e9c 100755 --- a/aiplatform/apiv1/aiplatformpb/execution.pb.go +++ b/aiplatform/apiv1/aiplatformpb/execution.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/explanation.pb.go b/aiplatform/apiv1/aiplatformpb/explanation.pb.go index 9e2c9fd46eaf..921c41ef8591 100755 --- a/aiplatform/apiv1/aiplatformpb/explanation.pb.go +++ b/aiplatform/apiv1/aiplatformpb/explanation.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/explanation_metadata.pb.go b/aiplatform/apiv1/aiplatformpb/explanation_metadata.pb.go index a0b45c7aea68..4a00b4d86b1c 100755 --- a/aiplatform/apiv1/aiplatformpb/explanation_metadata.pb.go +++ b/aiplatform/apiv1/aiplatformpb/explanation_metadata.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature.pb.go b/aiplatform/apiv1/aiplatformpb/feature.pb.go index e6e74f43bc8a..372cf6965434 100755 --- a/aiplatform/apiv1/aiplatformpb/feature.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature_group.pb.go b/aiplatform/apiv1/aiplatformpb/feature_group.pb.go index a90f9f3ae6e2..da4f607e00dc 100755 --- a/aiplatform/apiv1/aiplatformpb/feature_group.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature_group.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature_monitoring_stats.pb.go b/aiplatform/apiv1/aiplatformpb/feature_monitoring_stats.pb.go index d7f2a85f5429..6b81a3e249a2 100755 --- a/aiplatform/apiv1/aiplatformpb/feature_monitoring_stats.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature_monitoring_stats.pb.go @@ -21,12 +21,11 @@ package aiplatformpb 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" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature_online_store.pb.go b/aiplatform/apiv1/aiplatformpb/feature_online_store.pb.go index e3d6bedd6c4d..79ff7b81cd66 100755 --- a/aiplatform/apiv1/aiplatformpb/feature_online_store.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature_online_store.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature_online_store_admin_service.pb.go b/aiplatform/apiv1/aiplatformpb/feature_online_store_admin_service.pb.go index d3688cf346ea..033f96c8e1c7 100755 --- a/aiplatform/apiv1/aiplatformpb/feature_online_store_admin_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature_online_store_admin_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature_online_store_service.pb.go b/aiplatform/apiv1/aiplatformpb/feature_online_store_service.pb.go index 6aa772879d8f..3a8976a20e31 100755 --- a/aiplatform/apiv1/aiplatformpb/feature_online_store_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature_online_store_service.pb.go @@ -22,9 +22,6 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature_registry_service.pb.go b/aiplatform/apiv1/aiplatformpb/feature_registry_service.pb.go index f6f0d60d248e..529925d3c207 100755 --- a/aiplatform/apiv1/aiplatformpb/feature_registry_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature_registry_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature_selector.pb.go b/aiplatform/apiv1/aiplatformpb/feature_selector.pb.go index f3ee4fecf86d..ba682c944c3f 100755 --- a/aiplatform/apiv1/aiplatformpb/feature_selector.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature_selector.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature_view.pb.go b/aiplatform/apiv1/aiplatformpb/feature_view.pb.go index 594832c2a577..0779c4d64daf 100755 --- a/aiplatform/apiv1/aiplatformpb/feature_view.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature_view.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature_view_sync.pb.go b/aiplatform/apiv1/aiplatformpb/feature_view_sync.pb.go index 01779f00a7ec..15f700dd3c97 100755 --- a/aiplatform/apiv1/aiplatformpb/feature_view_sync.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature_view_sync.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" interval "google.golang.org/genproto/googleapis/type/interval" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/featurestore.pb.go b/aiplatform/apiv1/aiplatformpb/featurestore.pb.go index 89ae28f9dfd9..b31fdca7af6b 100755 --- a/aiplatform/apiv1/aiplatformpb/featurestore.pb.go +++ b/aiplatform/apiv1/aiplatformpb/featurestore.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/featurestore_monitoring.pb.go b/aiplatform/apiv1/aiplatformpb/featurestore_monitoring.pb.go index 794c57322165..697c732ad3ee 100755 --- a/aiplatform/apiv1/aiplatformpb/featurestore_monitoring.pb.go +++ b/aiplatform/apiv1/aiplatformpb/featurestore_monitoring.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/featurestore_online_service.pb.go b/aiplatform/apiv1/aiplatformpb/featurestore_online_service.pb.go index 12b60843e990..18d8d70c91f1 100755 --- a/aiplatform/apiv1/aiplatformpb/featurestore_online_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/featurestore_online_service.pb.go @@ -22,9 +22,6 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/featurestore_service.pb.go b/aiplatform/apiv1/aiplatformpb/featurestore_service.pb.go index 76b37d187239..e442040c4327 100755 --- a/aiplatform/apiv1/aiplatformpb/featurestore_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/featurestore_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" interval "google.golang.org/genproto/googleapis/type/interval" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/hyperparameter_tuning_job.pb.go b/aiplatform/apiv1/aiplatformpb/hyperparameter_tuning_job.pb.go index 7886e49ecedf..b04bd3bf7b53 100755 --- a/aiplatform/apiv1/aiplatformpb/hyperparameter_tuning_job.pb.go +++ b/aiplatform/apiv1/aiplatformpb/hyperparameter_tuning_job.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/index.pb.go b/aiplatform/apiv1/aiplatformpb/index.pb.go index 5f450620b365..054d6454de21 100755 --- a/aiplatform/apiv1/aiplatformpb/index.pb.go +++ b/aiplatform/apiv1/aiplatformpb/index.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/index_endpoint.pb.go b/aiplatform/apiv1/aiplatformpb/index_endpoint.pb.go index 00d4d0ebe423..8f2652cb9bf7 100755 --- a/aiplatform/apiv1/aiplatformpb/index_endpoint.pb.go +++ b/aiplatform/apiv1/aiplatformpb/index_endpoint.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/index_endpoint_service.pb.go b/aiplatform/apiv1/aiplatformpb/index_endpoint_service.pb.go index 95b5ae345b92..f7e16b4e296a 100755 --- a/aiplatform/apiv1/aiplatformpb/index_endpoint_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/index_endpoint_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/index_service.pb.go b/aiplatform/apiv1/aiplatformpb/index_service.pb.go index 4ac5bade296e..cb0b9bf43bd5 100755 --- a/aiplatform/apiv1/aiplatformpb/index_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/index_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/io.pb.go b/aiplatform/apiv1/aiplatformpb/io.pb.go index 4d107cce57ee..dce0ac428251 100755 --- a/aiplatform/apiv1/aiplatformpb/io.pb.go +++ b/aiplatform/apiv1/aiplatformpb/io.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/job_service.pb.go b/aiplatform/apiv1/aiplatformpb/job_service.pb.go index 48d411dc8757..0b17bd8f039d 100755 --- a/aiplatform/apiv1/aiplatformpb/job_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/job_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/job_state.pb.go b/aiplatform/apiv1/aiplatformpb/job_state.pb.go index cca0377924e9..b03b6ddf0865 100755 --- a/aiplatform/apiv1/aiplatformpb/job_state.pb.go +++ b/aiplatform/apiv1/aiplatformpb/job_state.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/lineage_subgraph.pb.go b/aiplatform/apiv1/aiplatformpb/lineage_subgraph.pb.go index 8b4f22231c5f..498d4419f69e 100755 --- a/aiplatform/apiv1/aiplatformpb/lineage_subgraph.pb.go +++ b/aiplatform/apiv1/aiplatformpb/lineage_subgraph.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/llm_utility_service.pb.go b/aiplatform/apiv1/aiplatformpb/llm_utility_service.pb.go index 9f8076c1dc5f..cd897d77077a 100755 --- a/aiplatform/apiv1/aiplatformpb/llm_utility_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/llm_utility_service.pb.go @@ -22,9 +22,6 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/machine_resources.pb.go b/aiplatform/apiv1/aiplatformpb/machine_resources.pb.go index 2edf0fc67713..a76498b31ce4 100755 --- a/aiplatform/apiv1/aiplatformpb/machine_resources.pb.go +++ b/aiplatform/apiv1/aiplatformpb/machine_resources.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/manual_batch_tuning_parameters.pb.go b/aiplatform/apiv1/aiplatformpb/manual_batch_tuning_parameters.pb.go index 01dd903fcccf..f0ab2e4fe36b 100755 --- a/aiplatform/apiv1/aiplatformpb/manual_batch_tuning_parameters.pb.go +++ b/aiplatform/apiv1/aiplatformpb/manual_batch_tuning_parameters.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/match_service.pb.go b/aiplatform/apiv1/aiplatformpb/match_service.pb.go index 6378efb849e3..12a85749d661 100755 --- a/aiplatform/apiv1/aiplatformpb/match_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/match_service.pb.go @@ -22,15 +22,14 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/metadata_schema.pb.go b/aiplatform/apiv1/aiplatformpb/metadata_schema.pb.go index 7ba7f0363138..12477006a24f 100755 --- a/aiplatform/apiv1/aiplatformpb/metadata_schema.pb.go +++ b/aiplatform/apiv1/aiplatformpb/metadata_schema.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/metadata_service.pb.go b/aiplatform/apiv1/aiplatformpb/metadata_service.pb.go index 97dfd83620e8..dc7f40dcbbc9 100755 --- a/aiplatform/apiv1/aiplatformpb/metadata_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/metadata_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/metadata_store.pb.go b/aiplatform/apiv1/aiplatformpb/metadata_store.pb.go index ab2f9a9c05ad..772c429b8e55 100755 --- a/aiplatform/apiv1/aiplatformpb/metadata_store.pb.go +++ b/aiplatform/apiv1/aiplatformpb/metadata_store.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/migratable_resource.pb.go b/aiplatform/apiv1/aiplatformpb/migratable_resource.pb.go index eef52eaae511..c7ef410aa42c 100755 --- a/aiplatform/apiv1/aiplatformpb/migratable_resource.pb.go +++ b/aiplatform/apiv1/aiplatformpb/migratable_resource.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/migration_service.pb.go b/aiplatform/apiv1/aiplatformpb/migration_service.pb.go index 17762940ba17..9e77f912bcf2 100755 --- a/aiplatform/apiv1/aiplatformpb/migration_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/migration_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/model.pb.go b/aiplatform/apiv1/aiplatformpb/model.pb.go index fdbc7210bca2..ffef802733c9 100755 --- a/aiplatform/apiv1/aiplatformpb/model.pb.go +++ b/aiplatform/apiv1/aiplatformpb/model.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/model_deployment_monitoring_job.pb.go b/aiplatform/apiv1/aiplatformpb/model_deployment_monitoring_job.pb.go index 826e68bada88..0c265648f692 100755 --- a/aiplatform/apiv1/aiplatformpb/model_deployment_monitoring_job.pb.go +++ b/aiplatform/apiv1/aiplatformpb/model_deployment_monitoring_job.pb.go @@ -21,9 +21,6 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -31,6 +28,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/model_evaluation.pb.go b/aiplatform/apiv1/aiplatformpb/model_evaluation.pb.go index acf29c831bfc..aca97d43076c 100755 --- a/aiplatform/apiv1/aiplatformpb/model_evaluation.pb.go +++ b/aiplatform/apiv1/aiplatformpb/model_evaluation.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/model_evaluation_slice.pb.go b/aiplatform/apiv1/aiplatformpb/model_evaluation_slice.pb.go index 7c64d5611e11..0d611f15db8a 100755 --- a/aiplatform/apiv1/aiplatformpb/model_evaluation_slice.pb.go +++ b/aiplatform/apiv1/aiplatformpb/model_evaluation_slice.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( @@ -280,17 +279,17 @@ func (x *ModelEvaluationSlice_Slice_SliceSpec) GetConfigs() map[string]*ModelEva // // Example 1: // -// { -// "zip_code": { "value": { "float_value": 12345.0 } } -// } +// { +// "zip_code": { "value": { "float_value": 12345.0 } } +// } // // A single slice for any data with zip_code 12345 in the dataset. // // Example 2: // -// { -// "zip_code": { "range": { "low": 12345, "high": 20000 } } -// } +// { +// "zip_code": { "range": { "low": 12345, "high": 20000 } } +// } // // A single slice containing data where the zip_codes between 12345 and // 20000 For this example, data with the zip_code of 12345 will be in this @@ -298,10 +297,10 @@ func (x *ModelEvaluationSlice_Slice_SliceSpec) GetConfigs() map[string]*ModelEva // // Example 3: // -// { -// "zip_code": { "range": { "low": 10000, "high": 20000 } }, -// "country": { "value": { "string_value": "US" } } -// } +// { +// "zip_code": { "range": { "low": 10000, "high": 20000 } }, +// "country": { "value": { "string_value": "US" } } +// } // // A single slice containing data where the zip_codes between 10000 and // 20000 has the country "US". For this example, data with the zip_code of @@ -309,16 +308,16 @@ func (x *ModelEvaluationSlice_Slice_SliceSpec) GetConfigs() map[string]*ModelEva // // Example 4: // -// { "country": {"all_values": { "value": true } } } +// { "country": {"all_values": { "value": true } } } // // Three slices are computed, one for each unique country in the dataset. // // Example 5: // -// { -// "country": { "all_values": { "value": true } }, -// "zip_code": { "value": { "float_value": 12345.0 } } -// } +// { +// "country": { "all_values": { "value": true } }, +// "zip_code": { "value": { "float_value": 12345.0 } } +// } // // Three slices are computed, one for each unique country in the dataset // where the zip_code is also 12345. For this example, data with zip_code diff --git a/aiplatform/apiv1/aiplatformpb/model_garden_service.pb.go b/aiplatform/apiv1/aiplatformpb/model_garden_service.pb.go index cc04f66e0639..928b264b5a61 100755 --- a/aiplatform/apiv1/aiplatformpb/model_garden_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/model_garden_service.pb.go @@ -22,15 +22,14 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/model_monitoring.pb.go b/aiplatform/apiv1/aiplatformpb/model_monitoring.pb.go index 6f777f87675f..77907e880944 100755 --- a/aiplatform/apiv1/aiplatformpb/model_monitoring.pb.go +++ b/aiplatform/apiv1/aiplatformpb/model_monitoring.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/model_service.pb.go b/aiplatform/apiv1/aiplatformpb/model_service.pb.go index 1d7e11c64452..352e4ecac51d 100755 --- a/aiplatform/apiv1/aiplatformpb/model_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/model_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/nas_job.pb.go b/aiplatform/apiv1/aiplatformpb/nas_job.pb.go index 13a8c7fdbd63..692213278563 100755 --- a/aiplatform/apiv1/aiplatformpb/nas_job.pb.go +++ b/aiplatform/apiv1/aiplatformpb/nas_job.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/operation.pb.go b/aiplatform/apiv1/aiplatformpb/operation.pb.go index fe4aea84e27d..6c0c5044c48c 100755 --- a/aiplatform/apiv1/aiplatformpb/operation.pb.go +++ b/aiplatform/apiv1/aiplatformpb/operation.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/pipeline_failure_policy.pb.go b/aiplatform/apiv1/aiplatformpb/pipeline_failure_policy.pb.go index f84ddd1dab0a..00c0625f411b 100755 --- a/aiplatform/apiv1/aiplatformpb/pipeline_failure_policy.pb.go +++ b/aiplatform/apiv1/aiplatformpb/pipeline_failure_policy.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/pipeline_job.pb.go b/aiplatform/apiv1/aiplatformpb/pipeline_job.pb.go index 187992a10e86..a7e317a31fc8 100755 --- a/aiplatform/apiv1/aiplatformpb/pipeline_job.pb.go +++ b/aiplatform/apiv1/aiplatformpb/pipeline_job.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/pipeline_service.pb.go b/aiplatform/apiv1/aiplatformpb/pipeline_service.pb.go index e01f0b646b37..4d688b2ce266 100755 --- a/aiplatform/apiv1/aiplatformpb/pipeline_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/pipeline_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/pipeline_state.pb.go b/aiplatform/apiv1/aiplatformpb/pipeline_state.pb.go index 54e0bfb4d6ae..5e6aa7b5da67 100755 --- a/aiplatform/apiv1/aiplatformpb/pipeline_state.pb.go +++ b/aiplatform/apiv1/aiplatformpb/pipeline_state.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/prediction_service.pb.go b/aiplatform/apiv1/aiplatformpb/prediction_service.pb.go index ed187eb02876..9bb9d202839e 100755 --- a/aiplatform/apiv1/aiplatformpb/prediction_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/prediction_service.pb.go @@ -22,9 +22,6 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/publisher_model.pb.go b/aiplatform/apiv1/aiplatformpb/publisher_model.pb.go index ed33ca214ef0..46d3c434716f 100755 --- a/aiplatform/apiv1/aiplatformpb/publisher_model.pb.go +++ b/aiplatform/apiv1/aiplatformpb/publisher_model.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/saved_query.pb.go b/aiplatform/apiv1/aiplatformpb/saved_query.pb.go index 6e8627416423..d39a47eaa069 100755 --- a/aiplatform/apiv1/aiplatformpb/saved_query.pb.go +++ b/aiplatform/apiv1/aiplatformpb/saved_query.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/schedule.pb.go b/aiplatform/apiv1/aiplatformpb/schedule.pb.go index 2c222ccf6bc5..5ccfa9e1bee9 100755 --- a/aiplatform/apiv1/aiplatformpb/schedule.pb.go +++ b/aiplatform/apiv1/aiplatformpb/schedule.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/schedule_service.pb.go b/aiplatform/apiv1/aiplatformpb/schedule_service.pb.go index dc865d8bafc6..e7a8166673bd 100755 --- a/aiplatform/apiv1/aiplatformpb/schedule_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/schedule_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/service_networking.pb.go b/aiplatform/apiv1/aiplatformpb/service_networking.pb.go index 0b45d13e3e1e..24888c3bc3fa 100755 --- a/aiplatform/apiv1/aiplatformpb/service_networking.pb.go +++ b/aiplatform/apiv1/aiplatformpb/service_networking.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/specialist_pool.pb.go b/aiplatform/apiv1/aiplatformpb/specialist_pool.pb.go index 5333b3b5e3f6..669457f4ce1c 100755 --- a/aiplatform/apiv1/aiplatformpb/specialist_pool.pb.go +++ b/aiplatform/apiv1/aiplatformpb/specialist_pool.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/specialist_pool_service.pb.go b/aiplatform/apiv1/aiplatformpb/specialist_pool_service.pb.go index 00f0cce52a18..c830fea22cbb 100755 --- a/aiplatform/apiv1/aiplatformpb/specialist_pool_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/specialist_pool_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/study.pb.go b/aiplatform/apiv1/aiplatformpb/study.pb.go index e9bebaa552ef..7aca899e3ac3 100755 --- a/aiplatform/apiv1/aiplatformpb/study.pb.go +++ b/aiplatform/apiv1/aiplatformpb/study.pb.go @@ -21,9 +21,6 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -31,6 +28,8 @@ import ( structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( @@ -284,17 +283,16 @@ func (StudySpec_ObservationNoise) EnumDescriptor() ([]byte, []int) { // This indicates which measurement to use if/when the service automatically // selects the final measurement from previously reported intermediate // measurements. Choose this based on two considerations: -// -// A) Do you expect your measurements to monotonically improve? -// If so, choose LAST_MEASUREMENT. On the other hand, if you're in a -// situation where your system can "over-train" and you expect the -// performance to get better for a while but then start declining, -// choose BEST_MEASUREMENT. -// B) Are your measurements significantly noisy and/or irreproducible? -// If so, BEST_MEASUREMENT will tend to be over-optimistic, and it -// may be better to choose LAST_MEASUREMENT. -// If both or neither of (A) and (B) apply, it doesn't matter which -// selection type is chosen. +// A) Do you expect your measurements to monotonically improve? +// If so, choose LAST_MEASUREMENT. On the other hand, if you're in a +// situation where your system can "over-train" and you expect the +// performance to get better for a while but then start declining, +// choose BEST_MEASUREMENT. +// B) Are your measurements significantly noisy and/or irreproducible? +// If so, BEST_MEASUREMENT will tend to be over-optimistic, and it +// may be better to choose LAST_MEASUREMENT. +// If both or neither of (A) and (B) apply, it doesn't matter which +// selection type is chosen. type StudySpec_MeasurementSelectionType int32 const ( diff --git a/aiplatform/apiv1/aiplatformpb/tensorboard.pb.go b/aiplatform/apiv1/aiplatformpb/tensorboard.pb.go index a135d417958c..6c08df1616fa 100755 --- a/aiplatform/apiv1/aiplatformpb/tensorboard.pb.go +++ b/aiplatform/apiv1/aiplatformpb/tensorboard.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/tensorboard_data.pb.go b/aiplatform/apiv1/aiplatformpb/tensorboard_data.pb.go index bbe0c60a73be..c1416f82828e 100755 --- a/aiplatform/apiv1/aiplatformpb/tensorboard_data.pb.go +++ b/aiplatform/apiv1/aiplatformpb/tensorboard_data.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/tensorboard_experiment.pb.go b/aiplatform/apiv1/aiplatformpb/tensorboard_experiment.pb.go index 7f274e7f2605..6505057e9eb9 100755 --- a/aiplatform/apiv1/aiplatformpb/tensorboard_experiment.pb.go +++ b/aiplatform/apiv1/aiplatformpb/tensorboard_experiment.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/tensorboard_run.pb.go b/aiplatform/apiv1/aiplatformpb/tensorboard_run.pb.go index d9756a71a181..f4586c553497 100755 --- a/aiplatform/apiv1/aiplatformpb/tensorboard_run.pb.go +++ b/aiplatform/apiv1/aiplatformpb/tensorboard_run.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/tensorboard_service.pb.go b/aiplatform/apiv1/aiplatformpb/tensorboard_service.pb.go index 68540bbe9be9..e1034fdfe0e6 100755 --- a/aiplatform/apiv1/aiplatformpb/tensorboard_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/tensorboard_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/tensorboard_time_series.pb.go b/aiplatform/apiv1/aiplatformpb/tensorboard_time_series.pb.go index ba10302e08a0..db6c3b1539c2 100755 --- a/aiplatform/apiv1/aiplatformpb/tensorboard_time_series.pb.go +++ b/aiplatform/apiv1/aiplatformpb/tensorboard_time_series.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/training_pipeline.pb.go b/aiplatform/apiv1/aiplatformpb/training_pipeline.pb.go index e457e2692bab..b5e8e57d0d90 100755 --- a/aiplatform/apiv1/aiplatformpb/training_pipeline.pb.go +++ b/aiplatform/apiv1/aiplatformpb/training_pipeline.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -712,6 +711,7 @@ func (x *FractionSplit) GetTestFraction() float64 { // set as '-' (the minus sign). // // Supported only for unstructured Datasets. +// type FilterSplit struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/aiplatform/apiv1/aiplatformpb/types.pb.go b/aiplatform/apiv1/aiplatformpb/types.pb.go index 8a1e5996ac78..af73fea88ac2 100755 --- a/aiplatform/apiv1/aiplatformpb/types.pb.go +++ b/aiplatform/apiv1/aiplatformpb/types.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/unmanaged_container_model.pb.go b/aiplatform/apiv1/aiplatformpb/unmanaged_container_model.pb.go index bf1a00ba0d51..e18fdb4cd06f 100755 --- a/aiplatform/apiv1/aiplatformpb/unmanaged_container_model.pb.go +++ b/aiplatform/apiv1/aiplatformpb/unmanaged_container_model.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/user_action_reference.pb.go b/aiplatform/apiv1/aiplatformpb/user_action_reference.pb.go index 940f803a30ef..69876d56c905 100755 --- a/aiplatform/apiv1/aiplatformpb/user_action_reference.pb.go +++ b/aiplatform/apiv1/aiplatformpb/user_action_reference.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/value.pb.go b/aiplatform/apiv1/aiplatformpb/value.pb.go index 4545f27d6f13..0769b5c2c001 100755 --- a/aiplatform/apiv1/aiplatformpb/value.pb.go +++ b/aiplatform/apiv1/aiplatformpb/value.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/vizier_service.pb.go b/aiplatform/apiv1/aiplatformpb/vizier_service.pb.go index f670b63c54e8..f3ebb35498a4 100755 --- a/aiplatform/apiv1/aiplatformpb/vizier_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/vizier_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1/doc.go b/aiplatform/apiv1/doc.go index c6079e630764..1f06f17a15f1 100755 --- a/aiplatform/apiv1/doc.go +++ b/aiplatform/apiv1/doc.go @@ -20,71 +20,70 @@ // Train high-quality custom machine learning models with minimal machine // learning expertise and effort. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := aiplatform.NewDatasetClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := aiplatform.NewDatasetClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := aiplatform.NewDatasetClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &aiplatformpb.CreateDatasetRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1/aiplatformpb#CreateDatasetRequest. -// } -// op, err := c.CreateDataset(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := aiplatform.NewDatasetClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &aiplatformpb.CreateDatasetRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1/aiplatformpb#CreateDatasetRequest. +// } +// op, err := c.CreateDataset(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewDatasetClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/aiplatform/apiv1/featurestore_client.go b/aiplatform/apiv1/featurestore_client.go index 327b82f1eb93..429787855f5b 100755 --- a/aiplatform/apiv1/featurestore_client.go +++ b/aiplatform/apiv1/featurestore_client.go @@ -355,15 +355,15 @@ func (c *FeaturestoreClient) DeleteFeatureOperation(name string) *DeleteFeatureO // // There are also scenarios where the caller can cause inconsistency. // -// Source data for import contains multiple distinct Feature values for -// the same entity ID and timestamp. +// Source data for import contains multiple distinct Feature values for +// the same entity ID and timestamp. // -// Source is modified during an import. This includes adding, updating, or -// removing source data and/or metadata. Examples of updating metadata -// include but are not limited to changing storage location, storage class, -// or retention policy. +// Source is modified during an import. This includes adding, updating, or +// removing source data and/or metadata. Examples of updating metadata +// include but are not limited to changing storage location, storage class, +// or retention policy. // -// Online serving cluster is under-provisioned. +// Online serving cluster is under-provisioned. func (c *FeaturestoreClient) ImportFeatureValues(ctx context.Context, req *aiplatformpb.ImportFeatureValuesRequest, opts ...gax.CallOption) (*ImportFeatureValuesOperation, error) { return c.internalClient.ImportFeatureValues(ctx, req, opts...) } diff --git a/aiplatform/apiv1/prediction_client.go b/aiplatform/apiv1/prediction_client.go index c2f43f0784ad..2773ac669a8e 100755 --- a/aiplatform/apiv1/prediction_client.go +++ b/aiplatform/apiv1/prediction_client.go @@ -164,13 +164,13 @@ func (c *PredictionClient) Predict(ctx context.Context, req *aiplatformpb.Predic // // The response includes the following HTTP headers: // -// X-Vertex-AI-Endpoint-Id: ID of the -// Endpoint that served this -// prediction. +// X-Vertex-AI-Endpoint-Id: ID of the +// Endpoint that served this +// prediction. // -// X-Vertex-AI-Deployed-Model-Id: ID of the Endpoint’s -// DeployedModel that served this -// prediction. +// X-Vertex-AI-Deployed-Model-Id: ID of the Endpoint’s +// DeployedModel that served this +// prediction. func (c *PredictionClient) RawPredict(ctx context.Context, req *aiplatformpb.RawPredictRequest, opts ...gax.CallOption) (*httpbodypb.HttpBody, error) { return c.internalClient.RawPredict(ctx, req, opts...) } diff --git a/aiplatform/apiv1beta1/aiplatformpb/accelerator_type.pb.go b/aiplatform/apiv1beta1/aiplatformpb/accelerator_type.pb.go index dd73742fa6a9..e58cd9722727 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/accelerator_type.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/accelerator_type.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/annotation.pb.go b/aiplatform/apiv1beta1/aiplatformpb/annotation.pb.go index 6d31135498b2..d22376cab026 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/annotation.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/annotation.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/annotation_spec.pb.go b/aiplatform/apiv1beta1/aiplatformpb/annotation_spec.pb.go index 695bb3a0a3d4..c18ab4593ebc 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/annotation_spec.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/annotation_spec.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/artifact.pb.go b/aiplatform/apiv1beta1/aiplatformpb/artifact.pb.go index 806d2d83dc00..398878f28519 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/artifact.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/artifact.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/batch_prediction_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/batch_prediction_job.pb.go index 4781702dd81c..d2c504d20ef3 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/batch_prediction_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/batch_prediction_job.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/completion_stats.pb.go b/aiplatform/apiv1beta1/aiplatformpb/completion_stats.pb.go index dc6f180eeb7b..0770061320a0 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/completion_stats.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/completion_stats.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/context.pb.go b/aiplatform/apiv1beta1/aiplatformpb/context.pb.go index 0ec96b43af14..60bd4fa23682 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/context.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/context.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/custom_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/custom_job.pb.go index 10cd46234041..b656c1509755 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/custom_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/custom_job.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/data_item.pb.go b/aiplatform/apiv1beta1/aiplatformpb/data_item.pb.go index c58d7bcd4647..716b59a931ea 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/data_item.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/data_item.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/data_labeling_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/data_labeling_job.pb.go index 49492e750500..9d9b0fa47555 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/data_labeling_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/data_labeling_job.pb.go @@ -21,9 +21,6 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" money "google.golang.org/genproto/googleapis/type/money" @@ -31,6 +28,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -333,9 +332,8 @@ func (x *DataLabelingJob) GetActiveLearningConfig() *ActiveLearningConfig { } // Parameters that configure the active learning pipeline. Active learning will -// -// label the data incrementally by several iterations. For every iteration, it -// will select a batch of data based on the sampling strategy. +// label the data incrementally by several iterations. For every iteration, it +// will select a batch of data based on the sampling strategy. type ActiveLearningConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/aiplatform/apiv1beta1/aiplatformpb/dataset.pb.go b/aiplatform/apiv1beta1/aiplatformpb/dataset.pb.go index 6d3249c88595..472ae481152f 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/dataset.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/dataset.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/dataset_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/dataset_service.pb.go index f44b40b3a91d..96b1d3105cfc 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/dataset_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/dataset_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/dataset_version.pb.go b/aiplatform/apiv1beta1/aiplatformpb/dataset_version.pb.go index e7a1cd343bb8..b55fa6448032 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/dataset_version.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/dataset_version.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/deployed_index_ref.pb.go b/aiplatform/apiv1beta1/aiplatformpb/deployed_index_ref.pb.go index b2f6fbb45d0e..5c964611043f 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/deployed_index_ref.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/deployed_index_ref.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/deployed_model_ref.pb.go b/aiplatform/apiv1beta1/aiplatformpb/deployed_model_ref.pb.go index 7095342d9150..1076a2624408 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/deployed_model_ref.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/deployed_model_ref.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool.pb.go b/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool.pb.go index 63722d26928d..4d5146838d2f 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool_service.pb.go index 8193efc74f80..9851f52f37b3 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/encryption_spec.pb.go b/aiplatform/apiv1beta1/aiplatformpb/encryption_spec.pb.go index 71f35c83cb70..ebc50160418c 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/encryption_spec.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/encryption_spec.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/endpoint.pb.go b/aiplatform/apiv1beta1/aiplatformpb/endpoint.pb.go index 236f628f3bd4..d29b5914662a 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/endpoint.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/endpoint.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/endpoint_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/endpoint_service.pb.go index 264cdaea6a58..3094172dd376 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/endpoint_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/endpoint_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/entity_type.pb.go b/aiplatform/apiv1beta1/aiplatformpb/entity_type.pb.go index ca6998be48c4..b267f0c34d10 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/entity_type.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/entity_type.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/env_var.pb.go b/aiplatform/apiv1beta1/aiplatformpb/env_var.pb.go index 5fe0bd23ee81..66733c43181b 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/env_var.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/env_var.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/evaluated_annotation.pb.go b/aiplatform/apiv1beta1/aiplatformpb/evaluated_annotation.pb.go index 2fec76c4b154..bd6824f9e05b 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/evaluated_annotation.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/evaluated_annotation.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/event.pb.go b/aiplatform/apiv1beta1/aiplatformpb/event.pb.go index 4581a76f277f..afa4026cdbaa 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/event.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/event.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/execution.pb.go b/aiplatform/apiv1beta1/aiplatformpb/execution.pb.go index ef4f0877c17c..3d0521a193e6 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/execution.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/execution.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/explanation.pb.go b/aiplatform/apiv1beta1/aiplatformpb/explanation.pb.go index 5411ecc2dc07..d07262ebbda5 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/explanation.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/explanation.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/explanation_metadata.pb.go b/aiplatform/apiv1beta1/aiplatformpb/explanation_metadata.pb.go index d9baa9f08ae8..c164ce14f047 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/explanation_metadata.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/explanation_metadata.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature.pb.go index caf77b680959..ad63249d2cec 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature_group.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature_group.pb.go index a7a24429a0e3..499f39adae22 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature_group.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature_group.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature_monitoring_stats.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature_monitoring_stats.pb.go index 5f3a5bcb9d5f..839db10e754f 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature_monitoring_stats.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature_monitoring_stats.pb.go @@ -21,12 +21,11 @@ package aiplatformpb 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" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature_online_store.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature_online_store.pb.go index e02b922463b3..6cf3ed76ae57 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature_online_store.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature_online_store.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature_online_store_admin_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature_online_store_admin_service.pb.go index ff86d464e74f..e2f60b9afa29 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature_online_store_admin_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature_online_store_admin_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature_online_store_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature_online_store_service.pb.go index bbd7e7d18916..a33e32970b5c 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature_online_store_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature_online_store_service.pb.go @@ -22,9 +22,6 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature_registry_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature_registry_service.pb.go index 872336561982..b33bff9058b8 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature_registry_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature_registry_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature_selector.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature_selector.pb.go index 296c1c2dc29a..688915a2c527 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature_selector.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature_selector.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature_view.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature_view.pb.go index 5b4708a857a0..a3b19883cb2d 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature_view.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature_view.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature_view_sync.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature_view_sync.pb.go index 4f21984bf425..675683b73376 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature_view_sync.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature_view_sync.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" interval "google.golang.org/genproto/googleapis/type/interval" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/featurestore.pb.go b/aiplatform/apiv1beta1/aiplatformpb/featurestore.pb.go index 00ac0e115269..1d190d370edb 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/featurestore.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/featurestore.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/featurestore_monitoring.pb.go b/aiplatform/apiv1beta1/aiplatformpb/featurestore_monitoring.pb.go index e9a376ed70e3..6e3efc573f27 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/featurestore_monitoring.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/featurestore_monitoring.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/featurestore_online_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/featurestore_online_service.pb.go index 73db6f6dc174..e8cefea16800 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/featurestore_online_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/featurestore_online_service.pb.go @@ -22,9 +22,6 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/featurestore_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/featurestore_service.pb.go index b31500ed4e01..299e3e1bdf55 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/featurestore_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/featurestore_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" interval "google.golang.org/genproto/googleapis/type/interval" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/hyperparameter_tuning_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/hyperparameter_tuning_job.pb.go index 63bb713c323e..d58fff8c33e3 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/hyperparameter_tuning_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/hyperparameter_tuning_job.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/index.pb.go b/aiplatform/apiv1beta1/aiplatformpb/index.pb.go index e72995f0cdae..e0a2a49fd30b 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/index.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/index.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/index_endpoint.pb.go b/aiplatform/apiv1beta1/aiplatformpb/index_endpoint.pb.go index bb9cdaaeb422..9a189b9edb32 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/index_endpoint.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/index_endpoint.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/index_endpoint_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/index_endpoint_service.pb.go index 7178971912c5..65f681b01bc4 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/index_endpoint_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/index_endpoint_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/index_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/index_service.pb.go index 21c47d5c025b..ef221628ef7e 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/index_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/index_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/io.pb.go b/aiplatform/apiv1beta1/aiplatformpb/io.pb.go index e664d99ce137..c761fd773797 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/io.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/io.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/job_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/job_service.pb.go index d46f62f64a4e..221b420047d9 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/job_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/job_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/job_state.pb.go b/aiplatform/apiv1beta1/aiplatformpb/job_state.pb.go index 57b151484d1d..be703c20f295 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/job_state.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/job_state.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/lineage_subgraph.pb.go b/aiplatform/apiv1beta1/aiplatformpb/lineage_subgraph.pb.go index 3555fb69c639..5c31e2518e44 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/lineage_subgraph.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/lineage_subgraph.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/llm_utility_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/llm_utility_service.pb.go index dadb29c35b04..27e9c49e6795 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/llm_utility_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/llm_utility_service.pb.go @@ -22,9 +22,6 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/machine_resources.pb.go b/aiplatform/apiv1beta1/aiplatformpb/machine_resources.pb.go index 8a24d2c716b9..c9d7fe3879a3 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/machine_resources.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/machine_resources.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/manual_batch_tuning_parameters.pb.go b/aiplatform/apiv1beta1/aiplatformpb/manual_batch_tuning_parameters.pb.go index e17bc428a001..67b2aae4d63c 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/manual_batch_tuning_parameters.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/manual_batch_tuning_parameters.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/match_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/match_service.pb.go index 34595a7ee015..87e65bf53185 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/match_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/match_service.pb.go @@ -22,15 +22,14 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/metadata_schema.pb.go b/aiplatform/apiv1beta1/aiplatformpb/metadata_schema.pb.go index caf5d3104bfd..26a338f2bb68 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/metadata_schema.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/metadata_schema.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/metadata_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/metadata_service.pb.go index 8ffee9f07f58..ceabaf25b7fd 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/metadata_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/metadata_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/metadata_store.pb.go b/aiplatform/apiv1beta1/aiplatformpb/metadata_store.pb.go index 790a6d13f251..95f4fc36f389 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/metadata_store.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/metadata_store.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/migratable_resource.pb.go b/aiplatform/apiv1beta1/aiplatformpb/migratable_resource.pb.go index 1392ba0305a3..f8ed930a09e7 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/migratable_resource.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/migratable_resource.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/migration_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/migration_service.pb.go index 2168be261571..d5aac146c341 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/migration_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/migration_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/model.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model.pb.go index ed5254241a0b..1bc341d399b8 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/model.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/model_deployment_monitoring_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model_deployment_monitoring_job.pb.go index 9200960fbd19..b9ea279c894f 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/model_deployment_monitoring_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model_deployment_monitoring_job.pb.go @@ -21,9 +21,6 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -31,6 +28,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/model_evaluation.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model_evaluation.pb.go index 29590f238729..5f0d32f0cac7 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/model_evaluation.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model_evaluation.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/model_evaluation_slice.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model_evaluation_slice.pb.go index 0f40ddd5fe4d..e99bab0a8304 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/model_evaluation_slice.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model_evaluation_slice.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( @@ -281,17 +280,17 @@ func (x *ModelEvaluationSlice_Slice_SliceSpec) GetConfigs() map[string]*ModelEva // // Example 1: // -// { -// "zip_code": { "value": { "float_value": 12345.0 } } -// } +// { +// "zip_code": { "value": { "float_value": 12345.0 } } +// } // // A single slice for any data with zip_code 12345 in the dataset. // // Example 2: // -// { -// "zip_code": { "range": { "low": 12345, "high": 20000 } } -// } +// { +// "zip_code": { "range": { "low": 12345, "high": 20000 } } +// } // // A single slice containing data where the zip_codes between 12345 and // 20000 For this example, data with the zip_code of 12345 will be in this @@ -299,10 +298,10 @@ func (x *ModelEvaluationSlice_Slice_SliceSpec) GetConfigs() map[string]*ModelEva // // Example 3: // -// { -// "zip_code": { "range": { "low": 10000, "high": 20000 } }, -// "country": { "value": { "string_value": "US" } } -// } +// { +// "zip_code": { "range": { "low": 10000, "high": 20000 } }, +// "country": { "value": { "string_value": "US" } } +// } // // A single slice containing data where the zip_codes between 10000 and // 20000 has the country "US". For this example, data with the zip_code of @@ -310,16 +309,16 @@ func (x *ModelEvaluationSlice_Slice_SliceSpec) GetConfigs() map[string]*ModelEva // // Example 4: // -// { "country": {"all_values": { "value": true } } } +// { "country": {"all_values": { "value": true } } } // // Three slices are computed, one for each unique country in the dataset. // // Example 5: // -// { -// "country": { "all_values": { "value": true } }, -// "zip_code": { "value": { "float_value": 12345.0 } } -// } +// { +// "country": { "all_values": { "value": true } }, +// "zip_code": { "value": { "float_value": 12345.0 } } +// } // // Three slices are computed, one for each unique country in the dataset // where the zip_code is also 12345. For this example, data with zip_code diff --git a/aiplatform/apiv1beta1/aiplatformpb/model_garden_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model_garden_service.pb.go index a095c9fce99a..f50dd7b9a126 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/model_garden_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model_garden_service.pb.go @@ -22,15 +22,14 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/model_monitoring.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model_monitoring.pb.go index 9444337b86dc..2b2076f736b5 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/model_monitoring.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model_monitoring.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/model_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model_service.pb.go index b4356bd4b209..271ce3a9c4c3 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/model_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/nas_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/nas_job.pb.go index 47672cbfa0c1..ebcd3cc35ee2 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/nas_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/nas_job.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/operation.pb.go b/aiplatform/apiv1beta1/aiplatformpb/operation.pb.go index e2aa22df4d16..a261bb740b9d 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/operation.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/operation.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/persistent_resource.pb.go b/aiplatform/apiv1beta1/aiplatformpb/persistent_resource.pb.go index 4f081f392716..e1bf9fe892c3 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/persistent_resource.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/persistent_resource.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/persistent_resource_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/persistent_resource_service.pb.go index d9ccf99747c6..fbd6117825bf 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/persistent_resource_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/persistent_resource_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/pipeline_failure_policy.pb.go b/aiplatform/apiv1beta1/aiplatformpb/pipeline_failure_policy.pb.go index 61a69248dcde..9a20245f595f 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/pipeline_failure_policy.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/pipeline_failure_policy.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/pipeline_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/pipeline_job.pb.go index 537aa0ff9c30..a3f59358ee1b 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/pipeline_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/pipeline_job.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/pipeline_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/pipeline_service.pb.go index 60b85e65f53b..d26a9a8b7136 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/pipeline_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/pipeline_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/pipeline_state.pb.go b/aiplatform/apiv1beta1/aiplatformpb/pipeline_state.pb.go index a10dd416e055..985afca395af 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/pipeline_state.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/pipeline_state.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/prediction_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/prediction_service.pb.go index eb9a1309045a..69a5d516e738 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/prediction_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/prediction_service.pb.go @@ -22,9 +22,6 @@ package aiplatformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/publisher_model.pb.go b/aiplatform/apiv1beta1/aiplatformpb/publisher_model.pb.go index caa0982be8fc..ebfc67f492cb 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/publisher_model.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/publisher_model.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/saved_query.pb.go b/aiplatform/apiv1beta1/aiplatformpb/saved_query.pb.go index 7d2fba31ebd5..22589eee3365 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/saved_query.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/saved_query.pb.go @@ -21,14 +21,13 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/schedule.pb.go b/aiplatform/apiv1beta1/aiplatformpb/schedule.pb.go index 4e6e4ee242d5..d7b840602cc9 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/schedule.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/schedule.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/schedule_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/schedule_service.pb.go index 38c46da13593..4317a9db6155 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/schedule_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/schedule_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/service_networking.pb.go b/aiplatform/apiv1beta1/aiplatformpb/service_networking.pb.go index 6723c820d5ea..8253d6409bc6 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/service_networking.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/service_networking.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/specialist_pool.pb.go b/aiplatform/apiv1beta1/aiplatformpb/specialist_pool.pb.go index 99c805caec5c..8e14bf72949d 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/specialist_pool.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/specialist_pool.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/specialist_pool_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/specialist_pool_service.pb.go index 43a0e3fd0412..c4f99857b30e 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/specialist_pool_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/specialist_pool_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/study.pb.go b/aiplatform/apiv1beta1/aiplatformpb/study.pb.go index a37dfdaf1ded..0ffdd10105ee 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/study.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/study.pb.go @@ -21,9 +21,6 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -31,6 +28,8 @@ import ( structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( @@ -284,17 +283,16 @@ func (StudySpec_ObservationNoise) EnumDescriptor() ([]byte, []int) { // This indicates which measurement to use if/when the service automatically // selects the final measurement from previously reported intermediate // measurements. Choose this based on two considerations: -// -// A) Do you expect your measurements to monotonically improve? -// If so, choose LAST_MEASUREMENT. On the other hand, if you're in a -// situation where your system can "over-train" and you expect the -// performance to get better for a while but then start declining, -// choose BEST_MEASUREMENT. -// B) Are your measurements significantly noisy and/or irreproducible? -// If so, BEST_MEASUREMENT will tend to be over-optimistic, and it -// may be better to choose LAST_MEASUREMENT. -// If both or neither of (A) and (B) apply, it doesn't matter which -// selection type is chosen. +// A) Do you expect your measurements to monotonically improve? +// If so, choose LAST_MEASUREMENT. On the other hand, if you're in a +// situation where your system can "over-train" and you expect the +// performance to get better for a while but then start declining, +// choose BEST_MEASUREMENT. +// B) Are your measurements significantly noisy and/or irreproducible? +// If so, BEST_MEASUREMENT will tend to be over-optimistic, and it +// may be better to choose LAST_MEASUREMENT. +// If both or neither of (A) and (B) apply, it doesn't matter which +// selection type is chosen. type StudySpec_MeasurementSelectionType int32 const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/tensorboard.pb.go b/aiplatform/apiv1beta1/aiplatformpb/tensorboard.pb.go index c94696cbd67b..8dbec3710a1c 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/tensorboard.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/tensorboard.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_data.pb.go b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_data.pb.go index 50bc6be5bb68..f102f0c71a0b 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_data.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_data.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_experiment.pb.go b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_experiment.pb.go index 0b12f635beaa..fe14bd0dc0ee 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_experiment.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_experiment.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_run.pb.go b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_run.pb.go index f7d69c9be824..938de4ae15d3 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_run.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_run.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_service.pb.go index 5762dabc3e94..998b27d777d3 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_time_series.pb.go b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_time_series.pb.go index 3f26972f7e4f..4d9e8983f8c1 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_time_series.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_time_series.pb.go @@ -21,13 +21,12 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/training_pipeline.pb.go b/aiplatform/apiv1beta1/aiplatformpb/training_pipeline.pb.go index 8b69d3d93237..eba95f64e42b 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/training_pipeline.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/training_pipeline.pb.go @@ -21,15 +21,14 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -713,6 +712,7 @@ func (x *FractionSplit) GetTestFraction() float64 { // set as '-' (the minus sign). // // Supported only for unstructured Datasets. +// type FilterSplit struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/aiplatform/apiv1beta1/aiplatformpb/types.pb.go b/aiplatform/apiv1beta1/aiplatformpb/types.pb.go index b3b9b03bca82..88dc4357c9d6 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/types.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/types.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/unmanaged_container_model.pb.go b/aiplatform/apiv1beta1/aiplatformpb/unmanaged_container_model.pb.go index 35bb9693845a..dd3dff57ef77 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/unmanaged_container_model.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/unmanaged_container_model.pb.go @@ -21,12 +21,11 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/user_action_reference.pb.go b/aiplatform/apiv1beta1/aiplatformpb/user_action_reference.pb.go index a1ee26a83f22..01e659113304 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/user_action_reference.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/user_action_reference.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/value.pb.go b/aiplatform/apiv1beta1/aiplatformpb/value.pb.go index db19226d6c8b..8d85d17b739f 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/value.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/value.pb.go @@ -21,11 +21,10 @@ package aiplatformpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/vizier_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/vizier_service.pb.go index c3acbc82699f..ac49ae3f9ee8 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/vizier_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/vizier_service.pb.go @@ -21,11 +21,8 @@ package aiplatformpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/doc.go b/aiplatform/apiv1beta1/doc.go index 63d99fddd922..7724812b9098 100755 --- a/aiplatform/apiv1beta1/doc.go +++ b/aiplatform/apiv1beta1/doc.go @@ -20,73 +20,72 @@ // Train high-quality custom machine learning models with minimal machine // learning expertise and effort. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := aiplatform.NewDatasetClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := aiplatform.NewDatasetClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := aiplatform.NewDatasetClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &aiplatformpb.CreateDatasetRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateDatasetRequest. -// } -// op, err := c.CreateDataset(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := aiplatform.NewDatasetClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &aiplatformpb.CreateDatasetRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateDatasetRequest. +// } +// op, err := c.CreateDataset(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewDatasetClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/aiplatform/apiv1beta1/featurestore_client.go b/aiplatform/apiv1beta1/featurestore_client.go index ce60e6db97a1..75981371209d 100755 --- a/aiplatform/apiv1beta1/featurestore_client.go +++ b/aiplatform/apiv1beta1/featurestore_client.go @@ -474,15 +474,15 @@ func (c *FeaturestoreClient) DeleteFeatureOperation(name string) *DeleteFeatureO // // There are also scenarios where the caller can cause inconsistency. // -// Source data for import contains multiple distinct Feature values for -// the same entity ID and timestamp. +// Source data for import contains multiple distinct Feature values for +// the same entity ID and timestamp. // -// Source is modified during an import. This includes adding, updating, or -// removing source data and/or metadata. Examples of updating metadata -// include but are not limited to changing storage location, storage class, -// or retention policy. +// Source is modified during an import. This includes adding, updating, or +// removing source data and/or metadata. Examples of updating metadata +// include but are not limited to changing storage location, storage class, +// or retention policy. // -// Online serving cluster is under-provisioned. +// Online serving cluster is under-provisioned. func (c *FeaturestoreClient) ImportFeatureValues(ctx context.Context, req *aiplatformpb.ImportFeatureValuesRequest, opts ...gax.CallOption) (*ImportFeatureValuesOperation, error) { return c.internalClient.ImportFeatureValues(ctx, req, opts...) } @@ -2706,15 +2706,15 @@ func (c *featurestoreRESTClient) DeleteFeature(ctx context.Context, req *aiplatf // // There are also scenarios where the caller can cause inconsistency. // -// Source data for import contains multiple distinct Feature values for -// the same entity ID and timestamp. +// Source data for import contains multiple distinct Feature values for +// the same entity ID and timestamp. // -// Source is modified during an import. This includes adding, updating, or -// removing source data and/or metadata. Examples of updating metadata -// include but are not limited to changing storage location, storage class, -// or retention policy. +// Source is modified during an import. This includes adding, updating, or +// removing source data and/or metadata. Examples of updating metadata +// include but are not limited to changing storage location, storage class, +// or retention policy. // -// Online serving cluster is under-provisioned. +// Online serving cluster is under-provisioned. func (c *featurestoreRESTClient) ImportFeatureValues(ctx context.Context, req *aiplatformpb.ImportFeatureValuesRequest, opts ...gax.CallOption) (*ImportFeatureValuesOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/aiplatform/apiv1beta1/prediction_client.go b/aiplatform/apiv1beta1/prediction_client.go index 0d86c910af43..4879ac36d386 100755 --- a/aiplatform/apiv1beta1/prediction_client.go +++ b/aiplatform/apiv1beta1/prediction_client.go @@ -191,13 +191,13 @@ func (c *PredictionClient) Predict(ctx context.Context, req *aiplatformpb.Predic // // The response includes the following HTTP headers: // -// X-Vertex-AI-Endpoint-Id: ID of the -// Endpoint that served this -// prediction. +// X-Vertex-AI-Endpoint-Id: ID of the +// Endpoint that served this +// prediction. // -// X-Vertex-AI-Deployed-Model-Id: ID of the Endpoint’s -// DeployedModel that served -// this prediction. +// X-Vertex-AI-Deployed-Model-Id: ID of the Endpoint’s +// DeployedModel that served +// this prediction. func (c *PredictionClient) RawPredict(ctx context.Context, req *aiplatformpb.RawPredictRequest, opts ...gax.CallOption) (*httpbodypb.HttpBody, error) { return c.internalClient.RawPredict(ctx, req, opts...) } @@ -821,13 +821,13 @@ func (c *predictionRESTClient) Predict(ctx context.Context, req *aiplatformpb.Pr // // The response includes the following HTTP headers: // -// X-Vertex-AI-Endpoint-Id: ID of the -// Endpoint that served this -// prediction. +// X-Vertex-AI-Endpoint-Id: ID of the +// Endpoint that served this +// prediction. // -// X-Vertex-AI-Deployed-Model-Id: ID of the Endpoint’s -// DeployedModel that served -// this prediction. +// X-Vertex-AI-Deployed-Model-Id: ID of the Endpoint’s +// DeployedModel that served +// this prediction. func (c *predictionRESTClient) RawPredict(ctx context.Context, req *aiplatformpb.RawPredictRequest, opts ...gax.CallOption) (*httpbodypb.HttpBody, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/alloydb/apiv1/alloydbpb/resources.pb.go b/alloydb/apiv1/alloydbpb/resources.pb.go index cd35652e85e6..066d965673e7 100755 --- a/alloydb/apiv1/alloydbpb/resources.pb.go +++ b/alloydb/apiv1/alloydbpb/resources.pb.go @@ -21,9 +21,6 @@ package alloydbpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" timeofday "google.golang.org/genproto/googleapis/type/timeofday" @@ -32,6 +29,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( @@ -730,9 +729,9 @@ func (Instance_InstanceType) EnumDescriptor() ([]byte, []int) { // The Availability type of an instance. Potential values: // -// - ZONAL: The instance serves data from only one zone. Outages in that +// - ZONAL: The instance serves data from only one zone. Outages in that // zone affect instance availability. -// - REGIONAL: The instance can serve data from more than one zone in a +// - REGIONAL: The instance can serve data from more than one zone in a // region (it is highly available). type Instance_AvailabilityType int32 diff --git a/alloydb/apiv1/alloydbpb/service.pb.go b/alloydb/apiv1/alloydbpb/service.pb.go index b095b96cdd22..6aec60842b0c 100755 --- a/alloydb/apiv1/alloydbpb/service.pb.go +++ b/alloydb/apiv1/alloydbpb/service.pb.go @@ -21,11 +21,8 @@ package alloydbpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -1699,10 +1698,10 @@ func (x *BatchCreateInstancesMetadata) GetInstanceStatuses() map[string]*BatchCr // but the third failed to create and the 4th was never picked up for creation // because of failure of the previous one. Then, resulting states would look // something like: -// 1. Instance1 = ROLLED_BACK -// 2. Instance2 = ROLLED_BACK -// 3. Instance3 = FAILED -// 4. Instance4 = FAILED +// 1. Instance1 = ROLLED_BACK +// 2. Instance2 = ROLLED_BACK +// 3. Instance3 = FAILED +// 4. Instance4 = FAILED // // However, while the operation is running, the instance might be in other // states including PENDING_CREATE, ACTIVE, DELETING and CREATING. The states diff --git a/alloydb/apiv1/doc.go b/alloydb/apiv1/doc.go index 0717427bea45..e863f433691a 100755 --- a/alloydb/apiv1/doc.go +++ b/alloydb/apiv1/doc.go @@ -29,71 +29,70 @@ // read resources; scale existing PostgreSQL workloads with no application // changes; and modernize legacy proprietary databases. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := alloydb.NewAlloyDBAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := alloydb.NewAlloyDBAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := alloydb.NewAlloyDBAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &alloydbpb.BatchCreateInstancesRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/alloydb/apiv1/alloydbpb#BatchCreateInstancesRequest. -// } -// op, err := c.BatchCreateInstances(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := alloydb.NewAlloyDBAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &alloydbpb.BatchCreateInstancesRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/alloydb/apiv1/alloydbpb#BatchCreateInstancesRequest. +// } +// op, err := c.BatchCreateInstances(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewAlloyDBAdminClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/alloydb/apiv1alpha/alloydbpb/resources.pb.go b/alloydb/apiv1alpha/alloydbpb/resources.pb.go index 412f14121aae..d2a142df001d 100755 --- a/alloydb/apiv1alpha/alloydbpb/resources.pb.go +++ b/alloydb/apiv1alpha/alloydbpb/resources.pb.go @@ -21,9 +21,6 @@ package alloydbpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" timeofday "google.golang.org/genproto/googleapis/type/timeofday" @@ -32,6 +29,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( @@ -734,9 +733,9 @@ func (Instance_InstanceType) EnumDescriptor() ([]byte, []int) { // The Availability type of an instance. Potential values: // -// - ZONAL: The instance serves data from only one zone. Outages in that +// - ZONAL: The instance serves data from only one zone. Outages in that // zone affect instance availability. -// - REGIONAL: The instance can serve data from more than one zone in a +// - REGIONAL: The instance can serve data from more than one zone in a // region (it is highly available). type Instance_AvailabilityType int32 diff --git a/alloydb/apiv1alpha/alloydbpb/service.pb.go b/alloydb/apiv1alpha/alloydbpb/service.pb.go index 9607beeb9314..df8c98dadb59 100755 --- a/alloydb/apiv1alpha/alloydbpb/service.pb.go +++ b/alloydb/apiv1alpha/alloydbpb/service.pb.go @@ -21,11 +21,8 @@ package alloydbpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -1699,10 +1698,10 @@ func (x *BatchCreateInstancesMetadata) GetInstanceStatuses() map[string]*BatchCr // but the third failed to create and the 4th was never picked up for creation // because of failure of the previous one. Then, resulting states would look // something like: -// 1. Instance1 = ROLLED_BACK -// 2. Instance2 = ROLLED_BACK -// 3. Instance3 = FAILED -// 4. Instance4 = FAILED +// 1. Instance1 = ROLLED_BACK +// 2. Instance2 = ROLLED_BACK +// 3. Instance3 = FAILED +// 4. Instance4 = FAILED // // However, while the operation is running, the instance might be in other // states including PENDING_CREATE, ACTIVE, DELETING and CREATING. The states diff --git a/alloydb/apiv1alpha/doc.go b/alloydb/apiv1alpha/doc.go index 8bf875e92748..b0e8be34966e 100755 --- a/alloydb/apiv1alpha/doc.go +++ b/alloydb/apiv1alpha/doc.go @@ -29,73 +29,72 @@ // read resources; scale existing PostgreSQL workloads with no application // changes; and modernize legacy proprietary databases. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := alloydb.NewAlloyDBAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := alloydb.NewAlloyDBAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := alloydb.NewAlloyDBAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &alloydbpb.BatchCreateInstancesRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/alloydb/apiv1alpha/alloydbpb#BatchCreateInstancesRequest. -// } -// op, err := c.BatchCreateInstances(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := alloydb.NewAlloyDBAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &alloydbpb.BatchCreateInstancesRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/alloydb/apiv1alpha/alloydbpb#BatchCreateInstancesRequest. +// } +// op, err := c.BatchCreateInstances(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewAlloyDBAdminClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/alloydb/apiv1beta/alloydbpb/resources.pb.go b/alloydb/apiv1beta/alloydbpb/resources.pb.go index 508eb72b8ca0..a6f59c669922 100755 --- a/alloydb/apiv1beta/alloydbpb/resources.pb.go +++ b/alloydb/apiv1beta/alloydbpb/resources.pb.go @@ -21,9 +21,6 @@ package alloydbpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" timeofday "google.golang.org/genproto/googleapis/type/timeofday" @@ -32,6 +29,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( @@ -734,9 +733,9 @@ func (Instance_InstanceType) EnumDescriptor() ([]byte, []int) { // The Availability type of an instance. Potential values: // -// - ZONAL: The instance serves data from only one zone. Outages in that +// - ZONAL: The instance serves data from only one zone. Outages in that // zone affect instance availability. -// - REGIONAL: The instance can serve data from more than one zone in a +// - REGIONAL: The instance can serve data from more than one zone in a // region (it is highly available). type Instance_AvailabilityType int32 diff --git a/alloydb/apiv1beta/alloydbpb/service.pb.go b/alloydb/apiv1beta/alloydbpb/service.pb.go index bf431e6ce22f..a54eafe3d406 100755 --- a/alloydb/apiv1beta/alloydbpb/service.pb.go +++ b/alloydb/apiv1beta/alloydbpb/service.pb.go @@ -21,11 +21,8 @@ package alloydbpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -1699,10 +1698,10 @@ func (x *BatchCreateInstancesMetadata) GetInstanceStatuses() map[string]*BatchCr // but the third failed to create and the 4th was never picked up for creation // because of failure of the previous one. Then, resulting states would look // something like: -// 1. Instance1 = ROLLED_BACK -// 2. Instance2 = ROLLED_BACK -// 3. Instance3 = FAILED -// 4. Instance4 = FAILED +// 1. Instance1 = ROLLED_BACK +// 2. Instance2 = ROLLED_BACK +// 3. Instance3 = FAILED +// 4. Instance4 = FAILED // // However, while the operation is running, the instance might be in other // states including PENDING_CREATE, ACTIVE, DELETING and CREATING. The states diff --git a/alloydb/apiv1beta/doc.go b/alloydb/apiv1beta/doc.go index 9abd7148962c..5c4e1c60ca00 100755 --- a/alloydb/apiv1beta/doc.go +++ b/alloydb/apiv1beta/doc.go @@ -29,73 +29,72 @@ // read resources; scale existing PostgreSQL workloads with no application // changes; and modernize legacy proprietary databases. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := alloydb.NewAlloyDBAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := alloydb.NewAlloyDBAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := alloydb.NewAlloyDBAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &alloydbpb.BatchCreateInstancesRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/alloydb/apiv1beta/alloydbpb#BatchCreateInstancesRequest. -// } -// op, err := c.BatchCreateInstances(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := alloydb.NewAlloyDBAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &alloydbpb.BatchCreateInstancesRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/alloydb/apiv1beta/alloydbpb#BatchCreateInstancesRequest. +// } +// op, err := c.BatchCreateInstances(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewAlloyDBAdminClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/alloydb/connectors/apiv1/connectorspb/resources.pb.go b/alloydb/connectors/apiv1/connectorspb/resources.pb.go index 9a6b5bd3b20f..eeea6d242773 100755 --- a/alloydb/connectors/apiv1/connectorspb/resources.pb.go +++ b/alloydb/connectors/apiv1/connectorspb/resources.pb.go @@ -21,12 +21,11 @@ package connectorspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/alloydb/connectors/apiv1alpha/connectorspb/resources.pb.go b/alloydb/connectors/apiv1alpha/connectorspb/resources.pb.go index ce5525d701df..77e2291edaa0 100755 --- a/alloydb/connectors/apiv1alpha/connectorspb/resources.pb.go +++ b/alloydb/connectors/apiv1alpha/connectorspb/resources.pb.go @@ -21,12 +21,11 @@ package connectorspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/alloydb/connectors/apiv1beta/connectorspb/resources.pb.go b/alloydb/connectors/apiv1beta/connectorspb/resources.pb.go index c18f8646fd8b..72a32246b868 100755 --- a/alloydb/connectors/apiv1beta/connectorspb/resources.pb.go +++ b/alloydb/connectors/apiv1beta/connectorspb/resources.pb.go @@ -21,12 +21,11 @@ package connectorspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/analytics/admin/apiv1alpha/adminpb/access_report.pb.go b/analytics/admin/apiv1alpha/adminpb/access_report.pb.go index 9d09afb8dab2..46b1f148f7ae 100755 --- a/analytics/admin/apiv1alpha/adminpb/access_report.pb.go +++ b/analytics/admin/apiv1alpha/adminpb/access_report.pb.go @@ -21,11 +21,10 @@ package adminpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/analytics/admin/apiv1alpha/adminpb/analytics_admin.pb.go b/analytics/admin/apiv1alpha/adminpb/analytics_admin.pb.go index 4e43136f53f6..b43373ea611b 100755 --- a/analytics/admin/apiv1alpha/adminpb/analytics_admin.pb.go +++ b/analytics/admin/apiv1alpha/adminpb/analytics_admin.pb.go @@ -22,9 +22,6 @@ package adminpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/analytics/admin/apiv1alpha/adminpb/audience.pb.go b/analytics/admin/apiv1alpha/adminpb/audience.pb.go index f8ab3c557c2c..b9736d0b5a14 100755 --- a/analytics/admin/apiv1alpha/adminpb/audience.pb.go +++ b/analytics/admin/apiv1alpha/adminpb/audience.pb.go @@ -21,13 +21,12 @@ package adminpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/analytics/admin/apiv1alpha/adminpb/channel_group.pb.go b/analytics/admin/apiv1alpha/adminpb/channel_group.pb.go index ac443bb0eae2..d19398a8c2c7 100755 --- a/analytics/admin/apiv1alpha/adminpb/channel_group.pb.go +++ b/analytics/admin/apiv1alpha/adminpb/channel_group.pb.go @@ -21,12 +21,11 @@ package adminpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/analytics/admin/apiv1alpha/adminpb/event_create_and_edit.pb.go b/analytics/admin/apiv1alpha/adminpb/event_create_and_edit.pb.go index 1a363d49a515..a60ffcf96724 100755 --- a/analytics/admin/apiv1alpha/adminpb/event_create_and_edit.pb.go +++ b/analytics/admin/apiv1alpha/adminpb/event_create_and_edit.pb.go @@ -21,12 +21,11 @@ package adminpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/analytics/admin/apiv1alpha/adminpb/expanded_data_set.pb.go b/analytics/admin/apiv1alpha/adminpb/expanded_data_set.pb.go index a6216a3248ca..4c7c6a8ec016 100755 --- a/analytics/admin/apiv1alpha/adminpb/expanded_data_set.pb.go +++ b/analytics/admin/apiv1alpha/adminpb/expanded_data_set.pb.go @@ -21,13 +21,12 @@ package adminpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/analytics/admin/apiv1alpha/adminpb/resources.pb.go b/analytics/admin/apiv1alpha/adminpb/resources.pb.go index 2188edbf350a..a1480097e393 100755 --- a/analytics/admin/apiv1alpha/adminpb/resources.pb.go +++ b/analytics/admin/apiv1alpha/adminpb/resources.pb.go @@ -21,14 +21,13 @@ package adminpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/analytics/admin/apiv1alpha/adminpb/subproperty_event_filter.pb.go b/analytics/admin/apiv1alpha/adminpb/subproperty_event_filter.pb.go index 08b16ac19b55..7f0a659f1243 100755 --- a/analytics/admin/apiv1alpha/adminpb/subproperty_event_filter.pb.go +++ b/analytics/admin/apiv1alpha/adminpb/subproperty_event_filter.pb.go @@ -21,12 +21,11 @@ package adminpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/analytics/admin/apiv1alpha/analytics_admin_client.go b/analytics/admin/apiv1alpha/analytics_admin_client.go index 217b3312e2c7..e7cb3d59dd46 100755 --- a/analytics/admin/apiv1alpha/analytics_admin_client.go +++ b/analytics/admin/apiv1alpha/analytics_admin_client.go @@ -3484,10 +3484,10 @@ func (c *AnalyticsAdminClient) ApproveDisplayVideo360AdvertiserLinkProposal(ctx // CancelDisplayVideo360AdvertiserLinkProposal cancels a DisplayVideo360AdvertiserLinkProposal. // Cancelling can mean either: // -// Declining a proposal initiated from Display & Video 360 +// Declining a proposal initiated from Display & Video 360 // -// Withdrawing a proposal initiated from Google Analytics -// After being cancelled, a proposal will eventually be deleted automatically. +// Withdrawing a proposal initiated from Google Analytics +// After being cancelled, a proposal will eventually be deleted automatically. func (c *AnalyticsAdminClient) CancelDisplayVideo360AdvertiserLinkProposal(ctx context.Context, req *adminpb.CancelDisplayVideo360AdvertiserLinkProposalRequest, opts ...gax.CallOption) (*adminpb.DisplayVideo360AdvertiserLinkProposal, error) { return c.internalClient.CancelDisplayVideo360AdvertiserLinkProposal(ctx, req, opts...) } @@ -10242,10 +10242,10 @@ func (c *analyticsAdminRESTClient) ApproveDisplayVideo360AdvertiserLinkProposal( // CancelDisplayVideo360AdvertiserLinkProposal cancels a DisplayVideo360AdvertiserLinkProposal. // Cancelling can mean either: // -// Declining a proposal initiated from Display & Video 360 +// Declining a proposal initiated from Display & Video 360 // -// Withdrawing a proposal initiated from Google Analytics -// After being cancelled, a proposal will eventually be deleted automatically. +// Withdrawing a proposal initiated from Google Analytics +// After being cancelled, a proposal will eventually be deleted automatically. func (c *analyticsAdminRESTClient) CancelDisplayVideo360AdvertiserLinkProposal(ctx context.Context, req *adminpb.CancelDisplayVideo360AdvertiserLinkProposalRequest, opts ...gax.CallOption) (*adminpb.DisplayVideo360AdvertiserLinkProposal, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/analytics/admin/apiv1alpha/doc.go b/analytics/admin/apiv1alpha/doc.go index e6b7c75e4848..dfd1aa6760f3 100755 --- a/analytics/admin/apiv1alpha/doc.go +++ b/analytics/admin/apiv1alpha/doc.go @@ -25,68 +25,67 @@ // These actions can result in immediate termination of your GCP project(s) // without any warning. // -// NOTE: This package is in alpha. It is not stable, and is likely to change. +// NOTE: This package is in alpha. It is not stable, and is likely to change. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := admin.NewAnalyticsAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := admin.NewAnalyticsAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := admin.NewAnalyticsAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &adminpb.AcknowledgeUserDataCollectionRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/analytics/admin/apiv1alpha/adminpb#AcknowledgeUserDataCollectionRequest. -// } -// resp, err := c.AcknowledgeUserDataCollection(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := admin.NewAnalyticsAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &adminpb.AcknowledgeUserDataCollectionRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/analytics/admin/apiv1alpha/adminpb#AcknowledgeUserDataCollectionRequest. +// } +// resp, err := c.AcknowledgeUserDataCollection(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewAnalyticsAdminClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/apigateway/apiv1/apigatewaypb/apigateway.pb.go b/apigateway/apiv1/apigatewaypb/apigateway.pb.go index 91fe45e1a0ab..4132ef337af9 100755 --- a/apigateway/apiv1/apigatewaypb/apigateway.pb.go +++ b/apigateway/apiv1/apigatewaypb/apigateway.pb.go @@ -21,14 +21,13 @@ package apigatewaypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/apigateway/apiv1/apigatewaypb/apigateway_service.pb.go b/apigateway/apiv1/apigatewaypb/apigateway_service.pb.go index 13960ba8a094..3e98ae290090 100755 --- a/apigateway/apiv1/apigatewaypb/apigateway_service.pb.go +++ b/apigateway/apiv1/apigatewaypb/apigateway_service.pb.go @@ -21,16 +21,15 @@ package apigatewaypb import ( - context "context" - reflect "reflect" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/apigateway/apiv1/doc.go b/apigateway/apiv1/doc.go index 1fed2abe78f7..68695310d19d 100755 --- a/apigateway/apiv1/doc.go +++ b/apigateway/apiv1/doc.go @@ -17,71 +17,70 @@ // Package apigateway is an auto-generated package for the // API Gateway API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := apigateway.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := apigateway.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := apigateway.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &apigatewaypb.CreateApiRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/apigateway/apiv1/apigatewaypb#CreateApiRequest. -// } -// op, err := c.CreateApi(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := apigateway.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &apigatewaypb.CreateApiRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/apigateway/apiv1/apigatewaypb#CreateApiRequest. +// } +// op, err := c.CreateApi(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/apigeeconnect/apiv1/apigeeconnectpb/connection.pb.go b/apigeeconnect/apiv1/apigeeconnectpb/connection.pb.go index 7bae33a12222..f2c4d5840746 100755 --- a/apigeeconnect/apiv1/apigeeconnectpb/connection.pb.go +++ b/apigeeconnect/apiv1/apigeeconnectpb/connection.pb.go @@ -22,15 +22,14 @@ package apigeeconnectpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/apigeeconnect/apiv1/apigeeconnectpb/tether.pb.go b/apigeeconnect/apiv1/apigeeconnectpb/tether.pb.go index 96d7922fff5c..3e82b77600ee 100755 --- a/apigeeconnect/apiv1/apigeeconnectpb/tether.pb.go +++ b/apigeeconnect/apiv1/apigeeconnectpb/tether.pb.go @@ -22,9 +22,6 @@ package apigeeconnectpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( @@ -636,7 +635,7 @@ func (x *HttpRequest) GetBody() []byte { // The proto definition of url. // A url represents a URL and the general form represented is: // -// `[scheme://][google.cloud.apigeeconnect.v1.Url.host][path]` +// `[scheme://][google.cloud.apigeeconnect.v1.Url.host][path]` type Url struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/apigeeconnect/apiv1/doc.go b/apigeeconnect/apiv1/doc.go index 1dbb60e605f0..fc7e34a126cc 100755 --- a/apigeeconnect/apiv1/doc.go +++ b/apigeeconnect/apiv1/doc.go @@ -17,72 +17,71 @@ // Package apigeeconnect is an auto-generated package for the // Apigee Connect API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := apigeeconnect.NewConnectionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := apigeeconnect.NewConnectionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := apigeeconnect.NewConnectionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &apigeeconnectpb.ListConnectionsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb#ListConnectionsRequest. -// } -// it := c.ListConnections(ctx, req) -// for { -// resp, err := it.Next() -// if err == iterator.Done { -// break -// } -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// } -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := apigeeconnect.NewConnectionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &apigeeconnectpb.ListConnectionsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb#ListConnectionsRequest. +// } +// it := c.ListConnections(ctx, req) +// for { +// resp, err := it.Next() +// if err == iterator.Done { +// break +// } +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// } +// +// Use of Context // // The ctx passed to NewConnectionClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/apigeeregistry/apiv1/apigeeregistrypb/provisioning_service.pb.go b/apigeeregistry/apiv1/apigeeregistrypb/provisioning_service.pb.go index 309e8a6d7358..991783a0fd54 100755 --- a/apigeeregistry/apiv1/apigeeregistrypb/provisioning_service.pb.go +++ b/apigeeregistry/apiv1/apigeeregistrypb/provisioning_service.pb.go @@ -21,11 +21,8 @@ package apigeeregistrypb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/apigeeregistry/apiv1/apigeeregistrypb/registry_models.pb.go b/apigeeregistry/apiv1/apigeeregistrypb/registry_models.pb.go index 0e313965b00d..e872c34f39f6 100755 --- a/apigeeregistry/apiv1/apigeeregistrypb/registry_models.pb.go +++ b/apigeeregistry/apiv1/apigeeregistrypb/registry_models.pb.go @@ -21,13 +21,12 @@ package apigeeregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/apigeeregistry/apiv1/apigeeregistrypb/registry_service.pb.go b/apigeeregistry/apiv1/apigeeregistrypb/registry_service.pb.go index 102abc43cff0..48c16b434441 100755 --- a/apigeeregistry/apiv1/apigeeregistrypb/registry_service.pb.go +++ b/apigeeregistry/apiv1/apigeeregistrypb/registry_service.pb.go @@ -22,9 +22,6 @@ package apigeeregistrypb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/apigeeregistry/apiv1/doc.go b/apigeeregistry/apiv1/doc.go index 753713e5a369..b2db37ca374d 100755 --- a/apigeeregistry/apiv1/doc.go +++ b/apigeeregistry/apiv1/doc.go @@ -17,71 +17,70 @@ // Package apigeeregistry is an auto-generated package for the // Apigee Registry API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := apigeeregistry.NewProvisioningClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := apigeeregistry.NewProvisioningClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := apigeeregistry.NewProvisioningClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &apigeeregistrypb.CreateInstanceRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/apigeeregistry/apiv1/apigeeregistrypb#CreateInstanceRequest. -// } -// op, err := c.CreateInstance(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := apigeeregistry.NewProvisioningClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &apigeeregistrypb.CreateInstanceRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/apigeeregistry/apiv1/apigeeregistrypb#CreateInstanceRequest. +// } +// op, err := c.CreateInstance(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewProvisioningClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/apikeys/apiv2/apikeyspb/apikeys.pb.go b/apikeys/apiv2/apikeyspb/apikeys.pb.go index fb7c75ce313a..b0af86e185b4 100755 --- a/apikeys/apiv2/apikeyspb/apikeys.pb.go +++ b/apikeys/apiv2/apikeyspb/apikeys.pb.go @@ -21,11 +21,8 @@ package apikeyspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/apikeys/apiv2/apikeyspb/resources.pb.go b/apikeys/apiv2/apikeyspb/resources.pb.go index 73db8978d083..d371a47aa50d 100755 --- a/apikeys/apiv2/apikeyspb/resources.pb.go +++ b/apikeys/apiv2/apikeyspb/resources.pb.go @@ -21,13 +21,12 @@ package apikeyspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/apikeys/apiv2/doc.go b/apikeys/apiv2/doc.go index 6de0c97d10f4..7a21b11a2b30 100755 --- a/apikeys/apiv2/doc.go +++ b/apikeys/apiv2/doc.go @@ -19,71 +19,70 @@ // // Manages the API keys associated with developer projects. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := apikeys.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := apikeys.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := apikeys.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &apikeyspb.CreateKeyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/apikeys/apiv2/apikeyspb#CreateKeyRequest. -// } -// op, err := c.CreateKey(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := apikeys.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &apikeyspb.CreateKeyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/apikeys/apiv2/apikeyspb#CreateKeyRequest. +// } +// op, err := c.CreateKey(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/appengine/apiv1/appenginepb/app_yaml.pb.go b/appengine/apiv1/appenginepb/app_yaml.pb.go index 6a0249a087f7..450f2e3c184d 100755 --- a/appengine/apiv1/appenginepb/app_yaml.pb.go +++ b/appengine/apiv1/appenginepb/app_yaml.pb.go @@ -21,12 +21,11 @@ package appenginepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/appengine.pb.go b/appengine/apiv1/appenginepb/appengine.pb.go index 765b04df94b6..14d3c8cbd126 100755 --- a/appengine/apiv1/appenginepb/appengine.pb.go +++ b/appengine/apiv1/appenginepb/appengine.pb.go @@ -21,11 +21,8 @@ package appenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/application.pb.go b/appengine/apiv1/appenginepb/application.pb.go index 670ba6112aef..e545d706837a 100755 --- a/appengine/apiv1/appenginepb/application.pb.go +++ b/appengine/apiv1/appenginepb/application.pb.go @@ -21,12 +21,11 @@ package appenginepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/audit_data.pb.go b/appengine/apiv1/appenginepb/audit_data.pb.go index c5265c7e1e6e..a40fdff614a5 100755 --- a/appengine/apiv1/appenginepb/audit_data.pb.go +++ b/appengine/apiv1/appenginepb/audit_data.pb.go @@ -21,11 +21,10 @@ package appenginepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/certificate.pb.go b/appengine/apiv1/appenginepb/certificate.pb.go index 3a094336105f..44c986dacebd 100755 --- a/appengine/apiv1/appenginepb/certificate.pb.go +++ b/appengine/apiv1/appenginepb/certificate.pb.go @@ -21,12 +21,11 @@ package appenginepb 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" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/deploy.pb.go b/appengine/apiv1/appenginepb/deploy.pb.go index 646e09be2890..0ee9110ea4ca 100755 --- a/appengine/apiv1/appenginepb/deploy.pb.go +++ b/appengine/apiv1/appenginepb/deploy.pb.go @@ -21,12 +21,11 @@ package appenginepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/deployed_files.pb.go b/appengine/apiv1/appenginepb/deployed_files.pb.go index def434b7ec2e..35adcee33e25 100755 --- a/appengine/apiv1/appenginepb/deployed_files.pb.go +++ b/appengine/apiv1/appenginepb/deployed_files.pb.go @@ -21,10 +21,9 @@ package appenginepb import ( - reflect "reflect" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/appengine/apiv1/appenginepb/domain.pb.go b/appengine/apiv1/appenginepb/domain.pb.go index 924f44ba5047..a63ac44f0b12 100755 --- a/appengine/apiv1/appenginepb/domain.pb.go +++ b/appengine/apiv1/appenginepb/domain.pb.go @@ -21,11 +21,10 @@ package appenginepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/domain_mapping.pb.go b/appengine/apiv1/appenginepb/domain_mapping.pb.go index 5535650ddc74..160cc868dc2d 100755 --- a/appengine/apiv1/appenginepb/domain_mapping.pb.go +++ b/appengine/apiv1/appenginepb/domain_mapping.pb.go @@ -21,11 +21,10 @@ package appenginepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/firewall.pb.go b/appengine/apiv1/appenginepb/firewall.pb.go index b24554c8bbc4..51b5f3d51c0e 100755 --- a/appengine/apiv1/appenginepb/firewall.pb.go +++ b/appengine/apiv1/appenginepb/firewall.pb.go @@ -21,11 +21,10 @@ package appenginepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/instance.pb.go b/appengine/apiv1/appenginepb/instance.pb.go index 74617d03fd1b..fd3f341c5933 100755 --- a/appengine/apiv1/appenginepb/instance.pb.go +++ b/appengine/apiv1/appenginepb/instance.pb.go @@ -21,13 +21,12 @@ package appenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/location.pb.go b/appengine/apiv1/appenginepb/location.pb.go index 9467f92521d0..e529d9859118 100755 --- a/appengine/apiv1/appenginepb/location.pb.go +++ b/appengine/apiv1/appenginepb/location.pb.go @@ -21,12 +21,11 @@ package appenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/network_settings.pb.go b/appengine/apiv1/appenginepb/network_settings.pb.go index 6678e48d41d3..73f7acbfbf02 100755 --- a/appengine/apiv1/appenginepb/network_settings.pb.go +++ b/appengine/apiv1/appenginepb/network_settings.pb.go @@ -21,11 +21,10 @@ package appenginepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/operation.pb.go b/appengine/apiv1/appenginepb/operation.pb.go index 2faf6dcdb5c3..b64e1f467437 100755 --- a/appengine/apiv1/appenginepb/operation.pb.go +++ b/appengine/apiv1/appenginepb/operation.pb.go @@ -21,12 +21,11 @@ package appenginepb 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" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/service.pb.go b/appengine/apiv1/appenginepb/service.pb.go index 5a1bc16453b0..f73c5fc53bf1 100755 --- a/appengine/apiv1/appenginepb/service.pb.go +++ b/appengine/apiv1/appenginepb/service.pb.go @@ -21,11 +21,10 @@ package appenginepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/version.pb.go b/appengine/apiv1/appenginepb/version.pb.go index 5fa9cb14a251..ad96340894b1 100755 --- a/appengine/apiv1/appenginepb/version.pb.go +++ b/appengine/apiv1/appenginepb/version.pb.go @@ -21,13 +21,12 @@ package appenginepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/appengine/apiv1/applications_client.go b/appengine/apiv1/applications_client.go index dce12885f560..754dc2a86b9a 100755 --- a/appengine/apiv1/applications_client.go +++ b/appengine/apiv1/applications_client.go @@ -158,9 +158,9 @@ func (c *ApplicationsClient) GetApplication(ctx context.Context, req *appenginep // CreateApplication creates an App Engine application for a Google Cloud Platform project. // Required fields: // -// id - The ID of the target Cloud Platform project. +// id - The ID of the target Cloud Platform project. // -// location - The region (at https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located. +// location - The region (at https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located. // // For more information about App Engine applications, see Managing Projects, Applications, and Billing (at https://cloud.google.com/appengine/docs/standard/python/console/). func (c *ApplicationsClient) CreateApplication(ctx context.Context, req *appenginepb.CreateApplicationRequest, opts ...gax.CallOption) (*CreateApplicationOperation, error) { @@ -176,11 +176,11 @@ func (c *ApplicationsClient) CreateApplicationOperation(name string) *CreateAppl // UpdateApplication updates the specified Application resource. // You can update the following fields: // -// auth_domain - Google authentication domain for controlling user access to the application. +// auth_domain - Google authentication domain for controlling user access to the application. // -// default_cookie_expiration - Cookie expiration policy for the application. +// default_cookie_expiration - Cookie expiration policy for the application. // -// iap - Identity-Aware Proxy properties for the application. +// iap - Identity-Aware Proxy properties for the application. func (c *ApplicationsClient) UpdateApplication(ctx context.Context, req *appenginepb.UpdateApplicationRequest, opts ...gax.CallOption) (*UpdateApplicationOperation, error) { return c.internalClient.UpdateApplication(ctx, req, opts...) } @@ -520,9 +520,9 @@ func (c *applicationsRESTClient) GetApplication(ctx context.Context, req *appeng // CreateApplication creates an App Engine application for a Google Cloud Platform project. // Required fields: // -// id - The ID of the target Cloud Platform project. +// id - The ID of the target Cloud Platform project. // -// location - The region (at https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located. +// location - The region (at https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located. // // For more information about App Engine applications, see Managing Projects, Applications, and Billing (at https://cloud.google.com/appengine/docs/standard/python/console/). func (c *applicationsRESTClient) CreateApplication(ctx context.Context, req *appenginepb.CreateApplicationRequest, opts ...gax.CallOption) (*CreateApplicationOperation, error) { @@ -595,11 +595,11 @@ func (c *applicationsRESTClient) CreateApplication(ctx context.Context, req *app // UpdateApplication updates the specified Application resource. // You can update the following fields: // -// auth_domain - Google authentication domain for controlling user access to the application. +// auth_domain - Google authentication domain for controlling user access to the application. // -// default_cookie_expiration - Cookie expiration policy for the application. +// default_cookie_expiration - Cookie expiration policy for the application. // -// iap - Identity-Aware Proxy properties for the application. +// iap - Identity-Aware Proxy properties for the application. func (c *applicationsRESTClient) UpdateApplication(ctx context.Context, req *appenginepb.UpdateApplicationRequest, opts ...gax.CallOption) (*UpdateApplicationOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetApplication() diff --git a/appengine/apiv1/doc.go b/appengine/apiv1/doc.go index e1d8af750eba..57ea13ec1bbd 100755 --- a/appengine/apiv1/doc.go +++ b/appengine/apiv1/doc.go @@ -19,71 +19,70 @@ // // Provisions and manages developers’ App Engine applications. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := appengine.NewApplicationsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := appengine.NewApplicationsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := appengine.NewApplicationsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &appenginepb.CreateApplicationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/appengine/apiv1/appenginepb#CreateApplicationRequest. -// } -// op, err := c.CreateApplication(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := appengine.NewApplicationsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &appenginepb.CreateApplicationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/appengine/apiv1/appenginepb#CreateApplicationRequest. +// } +// op, err := c.CreateApplication(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewApplicationsClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/appengine/apiv1/versions_client.go b/appengine/apiv1/versions_client.go index 3bad3523314a..dbefa5f65bd3 100755 --- a/appengine/apiv1/versions_client.go +++ b/appengine/apiv1/versions_client.go @@ -189,45 +189,45 @@ func (c *VersionsClient) CreateVersionOperation(name string) *CreateVersionOpera // // Standard environment // -// instance_class (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class) +// instance_class (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class) // // automatic scaling in the standard environment: // -// automatic_scaling.min_idle_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) +// automatic_scaling.min_idle_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) // -// automatic_scaling.max_idle_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) +// automatic_scaling.max_idle_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) // -// automaticScaling.standard_scheduler_settings.max_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) +// automaticScaling.standard_scheduler_settings.max_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) // -// automaticScaling.standard_scheduler_settings.min_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) +// automaticScaling.standard_scheduler_settings.min_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) // -// automaticScaling.standard_scheduler_settings.target_cpu_utilization (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) +// automaticScaling.standard_scheduler_settings.target_cpu_utilization (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) // -// automaticScaling.standard_scheduler_settings.target_throughput_utilization (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) +// automaticScaling.standard_scheduler_settings.target_throughput_utilization (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) // // basic scaling or manual scaling in the standard environment: // -// serving_status (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) +// serving_status (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) // -// manual_scaling.instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling) +// manual_scaling.instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling) // // Flexible environment // -// serving_status (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) +// serving_status (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) // // automatic scaling in the flexible environment: // -// automatic_scaling.min_total_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) +// automatic_scaling.min_total_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) // -// automatic_scaling.max_total_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) +// automatic_scaling.max_total_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) // -// automatic_scaling.cool_down_period_sec (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) +// automatic_scaling.cool_down_period_sec (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) // -// automatic_scaling.cpu_utilization.target_utilization (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) +// automatic_scaling.cpu_utilization.target_utilization (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) // // manual scaling in the flexible environment: // -// manual_scaling.instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling) +// manual_scaling.instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling) func (c *VersionsClient) UpdateVersion(ctx context.Context, req *appenginepb.UpdateVersionRequest, opts ...gax.CallOption) (*UpdateVersionOperation, error) { return c.internalClient.UpdateVersion(ctx, req, opts...) } @@ -778,45 +778,45 @@ func (c *versionsRESTClient) CreateVersion(ctx context.Context, req *appenginepb // // Standard environment // -// instance_class (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class) +// instance_class (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class) // // automatic scaling in the standard environment: // -// automatic_scaling.min_idle_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) +// automatic_scaling.min_idle_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) // -// automatic_scaling.max_idle_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) +// automatic_scaling.max_idle_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) // -// automaticScaling.standard_scheduler_settings.max_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) +// automaticScaling.standard_scheduler_settings.max_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) // -// automaticScaling.standard_scheduler_settings.min_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) +// automaticScaling.standard_scheduler_settings.min_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) // -// automaticScaling.standard_scheduler_settings.target_cpu_utilization (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) +// automaticScaling.standard_scheduler_settings.target_cpu_utilization (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) // -// automaticScaling.standard_scheduler_settings.target_throughput_utilization (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) +// automaticScaling.standard_scheduler_settings.target_throughput_utilization (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) // // basic scaling or manual scaling in the standard environment: // -// serving_status (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) +// serving_status (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) // -// manual_scaling.instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling) +// manual_scaling.instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling) // // Flexible environment // -// serving_status (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) +// serving_status (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) // // automatic scaling in the flexible environment: // -// automatic_scaling.min_total_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) +// automatic_scaling.min_total_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) // -// automatic_scaling.max_total_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) +// automatic_scaling.max_total_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) // -// automatic_scaling.cool_down_period_sec (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) +// automatic_scaling.cool_down_period_sec (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) // -// automatic_scaling.cpu_utilization.target_utilization (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) +// automatic_scaling.cpu_utilization.target_utilization (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) // // manual scaling in the flexible environment: // -// manual_scaling.instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling) +// manual_scaling.instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling) func (c *versionsRESTClient) UpdateVersion(ctx context.Context, req *appenginepb.UpdateVersionRequest, opts ...gax.CallOption) (*UpdateVersionOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetVersion() diff --git a/area120/tables/apiv1alpha1/doc.go b/area120/tables/apiv1alpha1/doc.go index fb47cfa60bda..a75a567b40a8 100755 --- a/area120/tables/apiv1alpha1/doc.go +++ b/area120/tables/apiv1alpha1/doc.go @@ -17,68 +17,67 @@ // Package tables is an auto-generated package for the // Area120 Tables API. // -// NOTE: This package is in alpha. It is not stable, and is likely to change. +// NOTE: This package is in alpha. It is not stable, and is likely to change. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := tables.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := tables.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := tables.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &tablespb.BatchCreateRowsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/area120/tables/apiv1alpha1/tablespb#BatchCreateRowsRequest. -// } -// resp, err := c.BatchCreateRows(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := tables.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &tablespb.BatchCreateRowsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/area120/tables/apiv1alpha1/tablespb#BatchCreateRowsRequest. +// } +// resp, err := c.BatchCreateRows(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/area120/tables/apiv1alpha1/tables_client.go b/area120/tables/apiv1alpha1/tables_client.go index de7d068d4488..e90d2d5c01e4 100755 --- a/area120/tables/apiv1alpha1/tables_client.go +++ b/area120/tables/apiv1alpha1/tables_client.go @@ -176,15 +176,15 @@ type internalClient interface { // The Tables Service provides an API for reading and updating tables. // It defines the following resource model: // -// The API has a collection of [Table][google.area120.tables.v1alpha1.Table] -// resources, named tables/* +// The API has a collection of [Table][google.area120.tables.v1alpha1.Table] +// resources, named tables/* // -// Each Table has a collection of [Row][google.area120.tables.v1alpha1.Row] -// resources, named tables/*/rows/* +// Each Table has a collection of [Row][google.area120.tables.v1alpha1.Row] +// resources, named tables/*/rows/* // -// The API has a collection of -// [Workspace][google.area120.tables.v1alpha1.Workspace] -// resources, named workspaces/*. +// The API has a collection of +// [Workspace][google.area120.tables.v1alpha1.Workspace] +// resources, named workspaces/*. type Client struct { // The internal transport-dependent client. internalClient internalClient @@ -299,15 +299,15 @@ type gRPCClient struct { // The Tables Service provides an API for reading and updating tables. // It defines the following resource model: // -// The API has a collection of [Table][google.area120.tables.v1alpha1.Table] -// resources, named tables/* +// The API has a collection of [Table][google.area120.tables.v1alpha1.Table] +// resources, named tables/* // -// Each Table has a collection of [Row][google.area120.tables.v1alpha1.Row] -// resources, named tables/*/rows/* +// Each Table has a collection of [Row][google.area120.tables.v1alpha1.Row] +// resources, named tables/*/rows/* // -// The API has a collection of -// [Workspace][google.area120.tables.v1alpha1.Workspace] -// resources, named workspaces/*. +// The API has a collection of +// [Workspace][google.area120.tables.v1alpha1.Workspace] +// resources, named workspaces/*. func NewClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { clientOpts := defaultGRPCClientOptions() if newClientHook != nil { @@ -379,15 +379,15 @@ type restClient struct { // The Tables Service provides an API for reading and updating tables. // It defines the following resource model: // -// The API has a collection of [Table][google.area120.tables.v1alpha1.Table] -// resources, named tables/* +// The API has a collection of [Table][google.area120.tables.v1alpha1.Table] +// resources, named tables/* // -// Each Table has a collection of [Row][google.area120.tables.v1alpha1.Row] -// resources, named tables/*/rows/* +// Each Table has a collection of [Row][google.area120.tables.v1alpha1.Row] +// resources, named tables/*/rows/* // -// The API has a collection of -// [Workspace][google.area120.tables.v1alpha1.Workspace] -// resources, named workspaces/*. +// The API has a collection of +// [Workspace][google.area120.tables.v1alpha1.Workspace] +// resources, named workspaces/*. func NewRESTClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { clientOpts := append(defaultRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/area120/tables/apiv1alpha1/tablespb/tables.pb.go b/area120/tables/apiv1alpha1/tablespb/tables.pb.go index e79b3965aab4..844203e900c0 100755 --- a/area120/tables/apiv1alpha1/tablespb/tables.pb.go +++ b/area120/tables/apiv1alpha1/tablespb/tables.pb.go @@ -22,9 +22,6 @@ package tablespb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifact_registry_client.go b/artifactregistry/apiv1/artifact_registry_client.go index abca28f1900e..d40e91fe4655 100755 --- a/artifactregistry/apiv1/artifact_registry_client.go +++ b/artifactregistry/apiv1/artifact_registry_client.go @@ -396,16 +396,16 @@ type internalClient interface { // // The resources managed by this API are: // -// Repositories, which group packages and their data. +// Repositories, which group packages and their data. // -// Packages, which group versions and their tags. +// Packages, which group versions and their tags. // -// Versions, which are specific forms of a package. +// Versions, which are specific forms of a package. // -// Tags, which represent alternative names for versions. +// Tags, which represent alternative names for versions. // -// Files, which contain content and are optionally associated with a Package -// or Version. +// Files, which contain content and are optionally associated with a Package +// or Version. type Client struct { // The internal transport-dependent client. internalClient internalClient @@ -727,16 +727,16 @@ type gRPCClient struct { // // The resources managed by this API are: // -// Repositories, which group packages and their data. +// Repositories, which group packages and their data. // -// Packages, which group versions and their tags. +// Packages, which group versions and their tags. // -// Versions, which are specific forms of a package. +// Versions, which are specific forms of a package. // -// Tags, which represent alternative names for versions. +// Tags, which represent alternative names for versions. // -// Files, which contain content and are optionally associated with a Package -// or Version. +// Files, which contain content and are optionally associated with a Package +// or Version. func NewClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { clientOpts := defaultGRPCClientOptions() if newClientHook != nil { @@ -830,16 +830,16 @@ type restClient struct { // // The resources managed by this API are: // -// Repositories, which group packages and their data. +// Repositories, which group packages and their data. // -// Packages, which group versions and their tags. +// Packages, which group versions and their tags. // -// Versions, which are specific forms of a package. +// Versions, which are specific forms of a package. // -// Tags, which represent alternative names for versions. +// Tags, which represent alternative names for versions. // -// Files, which contain content and are optionally associated with a Package -// or Version. +// Files, which contain content and are optionally associated with a Package +// or Version. func NewRESTClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { clientOpts := append(defaultRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/artifactregistry/apiv1/artifactregistrypb/apt_artifact.pb.go b/artifactregistry/apiv1/artifactregistrypb/apt_artifact.pb.go index deee8ec26e9c..bc0d8cff5fe1 100755 --- a/artifactregistry/apiv1/artifactregistrypb/apt_artifact.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/apt_artifact.pb.go @@ -21,13 +21,12 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/artifact.pb.go b/artifactregistry/apiv1/artifactregistrypb/artifact.pb.go index 0dd61d87e949..164d71722793 100755 --- a/artifactregistry/apiv1/artifactregistrypb/artifact.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/artifact.pb.go @@ -21,13 +21,12 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/file.pb.go b/artifactregistry/apiv1/artifactregistrypb/file.pb.go index 4b04eb9a521a..bc1624033d79 100755 --- a/artifactregistry/apiv1/artifactregistrypb/file.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/file.pb.go @@ -21,13 +21,12 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/package.pb.go b/artifactregistry/apiv1/artifactregistrypb/package.pb.go index 1f08fdc5f9d6..40b583d99525 100755 --- a/artifactregistry/apiv1/artifactregistrypb/package.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/package.pb.go @@ -21,13 +21,12 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/repository.pb.go b/artifactregistry/apiv1/artifactregistrypb/repository.pb.go index 01acad80f925..f8ca4d411550 100755 --- a/artifactregistry/apiv1/artifactregistrypb/repository.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/repository.pb.go @@ -21,15 +21,14 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/service.pb.go b/artifactregistry/apiv1/artifactregistrypb/service.pb.go index 6cc496b3f0bb..58a0924ada89 100755 --- a/artifactregistry/apiv1/artifactregistrypb/service.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/service.pb.go @@ -21,12 +21,9 @@ package artifactregistrypb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/settings.pb.go b/artifactregistry/apiv1/artifactregistrypb/settings.pb.go index 95abb30f7a4b..ec03f1260f98 100755 --- a/artifactregistry/apiv1/artifactregistrypb/settings.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/settings.pb.go @@ -21,13 +21,12 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/tag.pb.go b/artifactregistry/apiv1/artifactregistrypb/tag.pb.go index f43bfa35774e..0f149c307bbd 100755 --- a/artifactregistry/apiv1/artifactregistrypb/tag.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/tag.pb.go @@ -21,13 +21,12 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/version.pb.go b/artifactregistry/apiv1/artifactregistrypb/version.pb.go index 033ca447e0dc..201633f0234a 100755 --- a/artifactregistry/apiv1/artifactregistrypb/version.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/version.pb.go @@ -21,14 +21,13 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/vpcsc_config.pb.go b/artifactregistry/apiv1/artifactregistrypb/vpcsc_config.pb.go index 7e705a4ef4df..65a1bc1b10db 100755 --- a/artifactregistry/apiv1/artifactregistrypb/vpcsc_config.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/vpcsc_config.pb.go @@ -21,13 +21,12 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/yum_artifact.pb.go b/artifactregistry/apiv1/artifactregistrypb/yum_artifact.pb.go index d954a6fe0670..c32326e2da9c 100755 --- a/artifactregistry/apiv1/artifactregistrypb/yum_artifact.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/yum_artifact.pb.go @@ -21,13 +21,12 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1/doc.go b/artifactregistry/apiv1/doc.go index 8f546aa96512..3a5abf96b097 100755 --- a/artifactregistry/apiv1/doc.go +++ b/artifactregistry/apiv1/doc.go @@ -20,69 +20,68 @@ // Store and manage build artifacts in a scalable and integrated service // built on Google infrastructure. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := artifactregistry.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := artifactregistry.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := artifactregistry.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &artifactregistrypb.BatchDeleteVersionsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb#BatchDeleteVersionsRequest. -// } -// op, err := c.BatchDeleteVersions(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// err = op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := artifactregistry.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &artifactregistrypb.BatchDeleteVersionsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb#BatchDeleteVersionsRequest. +// } +// op, err := c.BatchDeleteVersions(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// err = op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/artifactregistry/apiv1beta2/artifact_registry_client.go b/artifactregistry/apiv1beta2/artifact_registry_client.go index fbd4ed8f925f..91951a4391f5 100755 --- a/artifactregistry/apiv1beta2/artifact_registry_client.go +++ b/artifactregistry/apiv1beta2/artifact_registry_client.go @@ -539,16 +539,16 @@ type internalClient interface { // // The resources managed by this API are: // -// Repositories, which group packages and their data. +// Repositories, which group packages and their data. // -// Packages, which group versions and their tags. +// Packages, which group versions and their tags. // -// Versions, which are specific forms of a package. +// Versions, which are specific forms of a package. // -// Tags, which represent alternative names for versions. +// Tags, which represent alternative names for versions. // -// Files, which contain content and are optionally associated with a Package -// or Version. +// Files, which contain content and are optionally associated with a Package +// or Version. type Client struct { // The internal transport-dependent client. internalClient internalClient @@ -801,16 +801,16 @@ type gRPCClient struct { // // The resources managed by this API are: // -// Repositories, which group packages and their data. +// Repositories, which group packages and their data. // -// Packages, which group versions and their tags. +// Packages, which group versions and their tags. // -// Versions, which are specific forms of a package. +// Versions, which are specific forms of a package. // -// Tags, which represent alternative names for versions. +// Tags, which represent alternative names for versions. // -// Files, which contain content and are optionally associated with a Package -// or Version. +// Files, which contain content and are optionally associated with a Package +// or Version. func NewClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { clientOpts := defaultGRPCClientOptions() if newClientHook != nil { @@ -903,16 +903,16 @@ type restClient struct { // // The resources managed by this API are: // -// Repositories, which group packages and their data. +// Repositories, which group packages and their data. // -// Packages, which group versions and their tags. +// Packages, which group versions and their tags. // -// Versions, which are specific forms of a package. +// Versions, which are specific forms of a package. // -// Tags, which represent alternative names for versions. +// Tags, which represent alternative names for versions. // -// Files, which contain content and are optionally associated with a Package -// or Version. +// Files, which contain content and are optionally associated with a Package +// or Version. func NewRESTClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { clientOpts := append(defaultRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/apt_artifact.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/apt_artifact.pb.go index 59e84f6b31bf..3c06e76da447 100755 --- a/artifactregistry/apiv1beta2/artifactregistrypb/apt_artifact.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/apt_artifact.pb.go @@ -21,13 +21,12 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/file.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/file.pb.go index 1722fe588b38..a906c8cc42d2 100755 --- a/artifactregistry/apiv1beta2/artifactregistrypb/file.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/file.pb.go @@ -21,13 +21,12 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/package.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/package.pb.go index afeb71b0be89..0a1cefb339ea 100755 --- a/artifactregistry/apiv1beta2/artifactregistrypb/package.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/package.pb.go @@ -21,12 +21,11 @@ package artifactregistrypb 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" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/repository.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/repository.pb.go index 3af5b5082854..cd61378377fc 100755 --- a/artifactregistry/apiv1beta2/artifactregistrypb/repository.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/repository.pb.go @@ -21,14 +21,13 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/service.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/service.pb.go index efebbe572d43..831a112f6095 100755 --- a/artifactregistry/apiv1beta2/artifactregistrypb/service.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/service.pb.go @@ -21,12 +21,9 @@ package artifactregistrypb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/settings.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/settings.pb.go index e06ea412ee80..48a8440a8ba5 100755 --- a/artifactregistry/apiv1beta2/artifactregistrypb/settings.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/settings.pb.go @@ -21,13 +21,12 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/tag.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/tag.pb.go index 34528e739893..412d1c39ce79 100755 --- a/artifactregistry/apiv1beta2/artifactregistrypb/tag.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/tag.pb.go @@ -21,13 +21,12 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/version.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/version.pb.go index 893516b584c3..4473ad03b92b 100755 --- a/artifactregistry/apiv1beta2/artifactregistrypb/version.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/version.pb.go @@ -21,14 +21,13 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/yum_artifact.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/yum_artifact.pb.go index e835b3616d48..c76935c283db 100755 --- a/artifactregistry/apiv1beta2/artifactregistrypb/yum_artifact.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/yum_artifact.pb.go @@ -21,13 +21,12 @@ package artifactregistrypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/artifactregistry/apiv1beta2/doc.go b/artifactregistry/apiv1beta2/doc.go index 578ceadff2ab..23a856998377 100755 --- a/artifactregistry/apiv1beta2/doc.go +++ b/artifactregistry/apiv1beta2/doc.go @@ -20,73 +20,72 @@ // Store and manage build artifacts in a scalable and integrated service // built on Google infrastructure. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := artifactregistry.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := artifactregistry.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := artifactregistry.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &artifactregistrypb.CreateRepositoryRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb#CreateRepositoryRequest. -// } -// op, err := c.CreateRepository(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := artifactregistry.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &artifactregistrypb.CreateRepositoryRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb#CreateRepositoryRequest. +// } +// op, err := c.CreateRepository(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/asset/apiv1/asset_client.go b/asset/apiv1/asset_client.go index c33aeeb7318d..a03b228da5b4 100755 --- a/asset/apiv1/asset_client.go +++ b/asset/apiv1/asset_client.go @@ -774,25 +774,25 @@ func (c *Client) AnalyzeOrgPolicyGovernedContainers(ctx context.Context, req *as // policies) under a scope. This RPC supports custom constraints and the // following 10 canned constraints: // -// storage.uniformBucketLevelAccess +// storage.uniformBucketLevelAccess // -// iam.disableServiceAccountKeyCreation +// iam.disableServiceAccountKeyCreation // -// iam.allowedPolicyMemberDomains +// iam.allowedPolicyMemberDomains // -// compute.vmExternalIpAccess +// compute.vmExternalIpAccess // -// appengine.enforceServiceAccountActAsCheck +// appengine.enforceServiceAccountActAsCheck // -// gcp.resourceLocations +// gcp.resourceLocations // -// compute.trustedImageProjects +// compute.trustedImageProjects // -// compute.skipDefaultNetworkCreation +// compute.skipDefaultNetworkCreation // -// compute.requireOsLogin +// compute.requireOsLogin // -// compute.disableNestedVirtualization +// compute.disableNestedVirtualization // // This RPC only returns either resources of types supported by searchable // asset @@ -3320,25 +3320,25 @@ func (c *restClient) AnalyzeOrgPolicyGovernedContainers(ctx context.Context, req // policies) under a scope. This RPC supports custom constraints and the // following 10 canned constraints: // -// storage.uniformBucketLevelAccess +// storage.uniformBucketLevelAccess // -// iam.disableServiceAccountKeyCreation +// iam.disableServiceAccountKeyCreation // -// iam.allowedPolicyMemberDomains +// iam.allowedPolicyMemberDomains // -// compute.vmExternalIpAccess +// compute.vmExternalIpAccess // -// appengine.enforceServiceAccountActAsCheck +// appengine.enforceServiceAccountActAsCheck // -// gcp.resourceLocations +// gcp.resourceLocations // -// compute.trustedImageProjects +// compute.trustedImageProjects // -// compute.skipDefaultNetworkCreation +// compute.skipDefaultNetworkCreation // -// compute.requireOsLogin +// compute.requireOsLogin // -// compute.disableNestedVirtualization +// compute.disableNestedVirtualization // // This RPC only returns either resources of types supported by searchable // asset diff --git a/asset/apiv1/assetpb/asset_service.pb.go b/asset/apiv1/assetpb/asset_service.pb.go index 378cccae5a76..bab990829221 100755 --- a/asset/apiv1/assetpb/asset_service.pb.go +++ b/asset/apiv1/assetpb/asset_service.pb.go @@ -21,12 +21,9 @@ package assetpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" expr "google.golang.org/genproto/googleapis/type/expr" @@ -40,6 +37,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/asset/apiv1/assetpb/assets.pb.go b/asset/apiv1/assetpb/assets.pb.go index cf5a96906e90..11cffed288ad 100755 --- a/asset/apiv1/assetpb/assets.pb.go +++ b/asset/apiv1/assetpb/assets.pb.go @@ -21,9 +21,6 @@ package assetpb import ( - reflect "reflect" - sync "sync" - accesscontextmanagerpb "cloud.google.com/go/accesscontextmanager/apiv1/accesscontextmanagerpb" iampb "cloud.google.com/go/iam/apiv1/iampb" orgpolicypb "cloud.google.com/go/orgpolicy/apiv1/orgpolicypb" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/asset/apiv1/doc.go b/asset/apiv1/doc.go index 8632ecc90a7a..4eac94d2beb5 100755 --- a/asset/apiv1/doc.go +++ b/asset/apiv1/doc.go @@ -20,66 +20,65 @@ // The Cloud Asset API manages the history and inventory of Google Cloud // resources. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := asset.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := asset.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := asset.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &assetpb.AnalyzeIamPolicyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/asset/apiv1/assetpb#AnalyzeIamPolicyRequest. -// } -// resp, err := c.AnalyzeIamPolicy(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := asset.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &assetpb.AnalyzeIamPolicyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/asset/apiv1/assetpb#AnalyzeIamPolicyRequest. +// } +// resp, err := c.AnalyzeIamPolicy(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/asset/apiv1p2beta1/assetpb/asset_service.pb.go b/asset/apiv1p2beta1/assetpb/asset_service.pb.go index 6302e8b61605..4d968dd10a62 100755 --- a/asset/apiv1p2beta1/assetpb/asset_service.pb.go +++ b/asset/apiv1p2beta1/assetpb/asset_service.pb.go @@ -23,9 +23,6 @@ package assetpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/asset/apiv1p2beta1/assetpb/assets.pb.go b/asset/apiv1p2beta1/assetpb/assets.pb.go index 3ceb5dc16aab..81fb632ad0e8 100755 --- a/asset/apiv1p2beta1/assetpb/assets.pb.go +++ b/asset/apiv1p2beta1/assetpb/assets.pb.go @@ -22,14 +22,13 @@ package assetpb import ( - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/asset/apiv1p2beta1/auxiliary.go b/asset/apiv1p2beta1/auxiliary.go index 2468164fa6cc..c838232584ae 100755 --- a/asset/apiv1p2beta1/auxiliary.go +++ b/asset/apiv1p2beta1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package asset + +import () diff --git a/asset/apiv1p2beta1/doc.go b/asset/apiv1p2beta1/doc.go index c9be14722b41..c171dabc2a92 100755 --- a/asset/apiv1p2beta1/doc.go +++ b/asset/apiv1p2beta1/doc.go @@ -19,68 +19,67 @@ // // The cloud asset API manages the history and inventory of cloud resources. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := asset.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := asset.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := asset.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &assetpb.CreateFeedRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/asset/apiv1p2beta1/assetpb#CreateFeedRequest. -// } -// resp, err := c.CreateFeed(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := asset.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &assetpb.CreateFeedRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/asset/apiv1p2beta1/assetpb#CreateFeedRequest. +// } +// resp, err := c.CreateFeed(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/asset/apiv1p5beta1/assetpb/asset_service.pb.go b/asset/apiv1p5beta1/assetpb/asset_service.pb.go index 1b61e94a2ab7..488e4ce71210 100755 --- a/asset/apiv1p5beta1/assetpb/asset_service.pb.go +++ b/asset/apiv1p5beta1/assetpb/asset_service.pb.go @@ -22,9 +22,6 @@ package assetpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/asset/apiv1p5beta1/assetpb/assets.pb.go b/asset/apiv1p5beta1/assetpb/assets.pb.go index 0513d95ae315..71331d11fa4b 100755 --- a/asset/apiv1p5beta1/assetpb/assets.pb.go +++ b/asset/apiv1p5beta1/assetpb/assets.pb.go @@ -21,9 +21,6 @@ package assetpb import ( - reflect "reflect" - sync "sync" - accesscontextmanagerpb "cloud.google.com/go/accesscontextmanager/apiv1/accesscontextmanagerpb" iampb "cloud.google.com/go/iam/apiv1/iampb" orgpolicypb "cloud.google.com/go/orgpolicy/apiv1/orgpolicypb" @@ -31,6 +28,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/asset/apiv1p5beta1/doc.go b/asset/apiv1p5beta1/doc.go index 521dea648df6..0080d86fc358 100755 --- a/asset/apiv1p5beta1/doc.go +++ b/asset/apiv1p5beta1/doc.go @@ -20,74 +20,73 @@ // The Cloud Asset API manages the history and inventory of Google Cloud // resources. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := asset.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := asset.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := asset.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &assetpb.ListAssetsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/asset/apiv1p5beta1/assetpb#ListAssetsRequest. -// } -// it := c.ListAssets(ctx, req) -// for { -// resp, err := it.Next() -// if err == iterator.Done { -// break -// } -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// } -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := asset.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &assetpb.ListAssetsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/asset/apiv1p5beta1/assetpb#ListAssetsRequest. +// } +// it := c.ListAssets(ctx, req) +// for { +// resp, err := it.Next() +// if err == iterator.Done { +// break +// } +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// } +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/assuredworkloads/apiv1/assuredworkloadspb/assuredworkloads.pb.go b/assuredworkloads/apiv1/assuredworkloadspb/assuredworkloads.pb.go index 4fe06e580c02..468a593813d2 100755 --- a/assuredworkloads/apiv1/assuredworkloadspb/assuredworkloads.pb.go +++ b/assuredworkloads/apiv1/assuredworkloadspb/assuredworkloads.pb.go @@ -21,11 +21,8 @@ package assuredworkloadspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/assuredworkloads/apiv1/doc.go b/assuredworkloads/apiv1/doc.go index 6c9f0ead859d..c61088335c15 100755 --- a/assuredworkloads/apiv1/doc.go +++ b/assuredworkloads/apiv1/doc.go @@ -17,66 +17,65 @@ // Package assuredworkloads is an auto-generated package for the // Assured Workloads API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := assuredworkloads.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := assuredworkloads.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := assuredworkloads.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &assuredworkloadspb.AcknowledgeViolationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/assuredworkloads/apiv1/assuredworkloadspb#AcknowledgeViolationRequest. -// } -// resp, err := c.AcknowledgeViolation(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := assuredworkloads.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &assuredworkloadspb.AcknowledgeViolationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/assuredworkloads/apiv1/assuredworkloadspb#AcknowledgeViolationRequest. +// } +// resp, err := c.AcknowledgeViolation(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads.pb.go b/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads.pb.go index 84988e5a6633..73ebf18918d4 100755 --- a/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads.pb.go +++ b/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads.pb.go @@ -21,15 +21,14 @@ package assuredworkloadspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads_service.pb.go b/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads_service.pb.go index 9980a3d69a27..8c4dfe1ff27c 100755 --- a/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads_service.pb.go +++ b/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads_service.pb.go @@ -21,10 +21,8 @@ package assuredworkloadspb import ( - context "context" - reflect "reflect" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +30,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" ) const ( diff --git a/assuredworkloads/apiv1beta1/doc.go b/assuredworkloads/apiv1beta1/doc.go index d2d5ca2284ba..2ccc0dd842e6 100755 --- a/assuredworkloads/apiv1beta1/doc.go +++ b/assuredworkloads/apiv1beta1/doc.go @@ -17,68 +17,67 @@ // Package assuredworkloads is an auto-generated package for the // Assured Workloads API. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := assuredworkloads.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := assuredworkloads.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := assuredworkloads.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &assuredworkloadspb.AnalyzeWorkloadMoveRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/assuredworkloads/apiv1beta1/assuredworkloadspb#AnalyzeWorkloadMoveRequest. -// } -// resp, err := c.AnalyzeWorkloadMove(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := assuredworkloads.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &assuredworkloadspb.AnalyzeWorkloadMoveRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/assuredworkloads/apiv1beta1/assuredworkloadspb#AnalyzeWorkloadMoveRequest. +// } +// resp, err := c.AnalyzeWorkloadMove(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/automl/apiv1/auto_ml_client.go b/automl/apiv1/auto_ml_client.go index 7a8f647def41..5e24da58d480 100755 --- a/automl/apiv1/auto_ml_client.go +++ b/automl/apiv1/auto_ml_client.go @@ -501,11 +501,11 @@ func (c *Client) DeleteDatasetOperation(name string) *DeleteDatasetOperation { // // For Tables: // -// A -// schema_inference_version -// parameter must be explicitly set. -// Returns an empty response in the -// response field when it completes. +// A +// schema_inference_version +// parameter must be explicitly set. +// Returns an empty response in the +// response field when it completes. func (c *Client) ImportData(ctx context.Context, req *automlpb.ImportDataRequest, opts ...gax.CallOption) (*ImportDataOperation, error) { return c.internalClient.ImportData(ctx, req, opts...) } @@ -1637,11 +1637,11 @@ func (c *restClient) DeleteDataset(ctx context.Context, req *automlpb.DeleteData // // For Tables: // -// A -// schema_inference_version -// parameter must be explicitly set. -// Returns an empty response in the -// response field when it completes. +// A +// schema_inference_version +// parameter must be explicitly set. +// Returns an empty response in the +// response field when it completes. func (c *restClient) ImportData(ctx context.Context, req *automlpb.ImportDataRequest, opts ...gax.CallOption) (*ImportDataOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/automl/apiv1/automlpb/annotation_payload.pb.go b/automl/apiv1/automlpb/annotation_payload.pb.go index 1abc4980b7e5..da91df2c32e7 100755 --- a/automl/apiv1/automlpb/annotation_payload.pb.go +++ b/automl/apiv1/automlpb/annotation_payload.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/annotation_spec.pb.go b/automl/apiv1/automlpb/annotation_spec.pb.go index 7e4c92c43c66..6a0dcdac016c 100755 --- a/automl/apiv1/automlpb/annotation_spec.pb.go +++ b/automl/apiv1/automlpb/annotation_spec.pb.go @@ -21,12 +21,11 @@ package automlpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/classification.pb.go b/automl/apiv1/automlpb/classification.pb.go index 98d94b1c7b21..a3ab29a65a90 100755 --- a/automl/apiv1/automlpb/classification.pb.go +++ b/automl/apiv1/automlpb/classification.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/data_items.pb.go b/automl/apiv1/automlpb/data_items.pb.go index 3fdea8b16641..03dca47d339e 100755 --- a/automl/apiv1/automlpb/data_items.pb.go +++ b/automl/apiv1/automlpb/data_items.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/dataset.pb.go b/automl/apiv1/automlpb/dataset.pb.go index 42149d9e480b..e857e3e66166 100755 --- a/automl/apiv1/automlpb/dataset.pb.go +++ b/automl/apiv1/automlpb/dataset.pb.go @@ -21,13 +21,12 @@ package automlpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/detection.pb.go b/automl/apiv1/automlpb/detection.pb.go index 13bee354bcb4..07914f9878df 100755 --- a/automl/apiv1/automlpb/detection.pb.go +++ b/automl/apiv1/automlpb/detection.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/geometry.pb.go b/automl/apiv1/automlpb/geometry.pb.go index 61a0aba75fb7..c6695cfec40e 100755 --- a/automl/apiv1/automlpb/geometry.pb.go +++ b/automl/apiv1/automlpb/geometry.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/image.pb.go b/automl/apiv1/automlpb/image.pb.go index 262b03785fa0..7a08bb94a264 100755 --- a/automl/apiv1/automlpb/image.pb.go +++ b/automl/apiv1/automlpb/image.pb.go @@ -21,12 +21,11 @@ package automlpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/io.pb.go b/automl/apiv1/automlpb/io.pb.go index e36906bfbfcc..97524c7469ec 100755 --- a/automl/apiv1/automlpb/io.pb.go +++ b/automl/apiv1/automlpb/io.pb.go @@ -21,12 +21,11 @@ package automlpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( @@ -54,6 +53,7 @@ const ( // //

AutoML Vision

// +// //
Classification
// // See [Preparing your training @@ -62,21 +62,20 @@ const ( // // CSV file(s) with each line in format: // -// ML_USE,GCS_FILE_PATH,LABEL,LABEL,... +// ML_USE,GCS_FILE_PATH,LABEL,LABEL,... // // * `ML_USE` - Identifies the data set that the current row (file) applies // to. +// This value can be one of the following: +// * `TRAIN` - Rows in this file are used to train the model. +// * `TEST` - Rows in this file are used to test the model during training. +// * `UNASSIGNED` - Rows in this file are not categorized. They are +// Automatically divided into train and test data. 80% for training and +// 20% for testing. // -// This value can be one of the following: -// * `TRAIN` - Rows in this file are used to train the model. -// * `TEST` - Rows in this file are used to test the model during training. -// * `UNASSIGNED` - Rows in this file are not categorized. They are -// Automatically divided into train and test data. 80% for training and -// 20% for testing. -// -// - `GCS_FILE_PATH` - The Google Cloud Storage location of an image of up to -// 30MB in size. Supported extensions: .JPEG, .GIF, .PNG, .WEBP, .BMP, -// .TIFF, .ICO. +// * `GCS_FILE_PATH` - The Google Cloud Storage location of an image of up to +// 30MB in size. Supported extensions: .JPEG, .GIF, .PNG, .WEBP, .BMP, +// .TIFF, .ICO. // // * `LABEL` - A label that identifies the object in the image. // @@ -86,10 +85,11 @@ const ( // // Some sample rows: // -// TRAIN,gs://folder/image1.jpg,daisy -// TEST,gs://folder/image2.jpg,dandelion,tulip,rose -// UNASSIGNED,gs://folder/image3.jpg,daisy -// UNASSIGNED,gs://folder/image4.jpg +// TRAIN,gs://folder/image1.jpg,daisy +// TEST,gs://folder/image2.jpg,dandelion,tulip,rose +// UNASSIGNED,gs://folder/image3.jpg,daisy +// UNASSIGNED,gs://folder/image4.jpg +// // //
Object Detection
// See [Preparing your training @@ -98,44 +98,44 @@ const ( // // A CSV file(s) with each line in format: // -// ML_USE,GCS_FILE_PATH,[LABEL],(BOUNDING_BOX | ,,,,,,,) +// ML_USE,GCS_FILE_PATH,[LABEL],(BOUNDING_BOX | ,,,,,,,) // // * `ML_USE` - Identifies the data set that the current row (file) applies // to. -// -// This value can be one of the following: -// * `TRAIN` - Rows in this file are used to train the model. -// * `TEST` - Rows in this file are used to test the model during training. -// * `UNASSIGNED` - Rows in this file are not categorized. They are -// Automatically divided into train and test data. 80% for training and -// 20% for testing. -// -// - `GCS_FILE_PATH` - The Google Cloud Storage location of an image of up to -// 30MB in size. Supported extensions: .JPEG, .GIF, .PNG. Each image -// is assumed to be exhaustively labeled. -// -// - `LABEL` - A label that identifies the object in the image specified by the -// `BOUNDING_BOX`. -// -// - `BOUNDING BOX` - The vertices of an object in the example image. -// The minimum allowed `BOUNDING_BOX` edge length is 0.01, and no more than -// 500 `BOUNDING_BOX` instances per image are allowed (one `BOUNDING_BOX` -// per line). If an image has no looked for objects then it should be -// mentioned just once with no LABEL and the ",,,,,,," in place of the -// `BOUNDING_BOX`. +// This value can be one of the following: +// * `TRAIN` - Rows in this file are used to train the model. +// * `TEST` - Rows in this file are used to test the model during training. +// * `UNASSIGNED` - Rows in this file are not categorized. They are +// Automatically divided into train and test data. 80% for training and +// 20% for testing. +// +// * `GCS_FILE_PATH` - The Google Cloud Storage location of an image of up to +// 30MB in size. Supported extensions: .JPEG, .GIF, .PNG. Each image +// is assumed to be exhaustively labeled. +// +// * `LABEL` - A label that identifies the object in the image specified by the +// `BOUNDING_BOX`. +// +// * `BOUNDING BOX` - The vertices of an object in the example image. +// The minimum allowed `BOUNDING_BOX` edge length is 0.01, and no more than +// 500 `BOUNDING_BOX` instances per image are allowed (one `BOUNDING_BOX` +// per line). If an image has no looked for objects then it should be +// mentioned just once with no LABEL and the ",,,,,,," in place of the +// `BOUNDING_BOX`. // // **Four sample rows:** // -// TRAIN,gs://folder/image1.png,car,0.1,0.1,,,0.3,0.3,, -// TRAIN,gs://folder/image1.png,bike,.7,.6,,,.8,.9,, -// UNASSIGNED,gs://folder/im2.png,car,0.1,0.1,0.2,0.1,0.2,0.3,0.1,0.3 -// TEST,gs://folder/im3.png,,,,,,,,, -//
-// +// TRAIN,gs://folder/image1.png,car,0.1,0.1,,,0.3,0.3,, +// TRAIN,gs://folder/image1.png,bike,.7,.6,,,.8,.9,, +// UNASSIGNED,gs://folder/im2.png,car,0.1,0.1,0.2,0.1,0.2,0.3,0.1,0.3 +// TEST,gs://folder/im3.png,,,,,,,,, +// //
// +// //

AutoML Video Intelligence

// +// //
Classification
// // See [Preparing your training @@ -144,14 +144,14 @@ const ( // // CSV file(s) with each line in format: // -// ML_USE,GCS_FILE_PATH +// ML_USE,GCS_FILE_PATH // // For `ML_USE`, do not use `VALIDATE`. // // `GCS_FILE_PATH` is the path to another .csv file that describes training // example for a given `ML_USE`, using the following row format: // -// GCS_FILE_PATH,(LABEL,TIME_SEGMENT_START,TIME_SEGMENT_END | ,,) +// GCS_FILE_PATH,(LABEL,TIME_SEGMENT_START,TIME_SEGMENT_END | ,,) // // Here `GCS_FILE_PATH` leads to a video of up to 50GB in size and up // to 3h duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. @@ -166,16 +166,18 @@ const ( // // Sample top level CSV file: // -// TRAIN,gs://folder/train_videos.csv -// TEST,gs://folder/test_videos.csv -// UNASSIGNED,gs://folder/other_videos.csv +// TRAIN,gs://folder/train_videos.csv +// TEST,gs://folder/test_videos.csv +// UNASSIGNED,gs://folder/other_videos.csv // // Sample rows of a CSV file for a particular ML_USE: // -// gs://folder/video1.avi,car,120,180.000021 -// gs://folder/video1.avi,bike,150,180.000021 -// gs://folder/vid2.avi,car,0,60.5 -// gs://folder/vid3.avi,,, +// gs://folder/video1.avi,car,120,180.000021 +// gs://folder/video1.avi,bike,150,180.000021 +// gs://folder/vid2.avi,car,0,60.5 +// gs://folder/vid3.avi,,, +// +// // //
Object Tracking
// @@ -185,18 +187,18 @@ const ( // // CSV file(s) with each line in format: // -// ML_USE,GCS_FILE_PATH +// ML_USE,GCS_FILE_PATH // // For `ML_USE`, do not use `VALIDATE`. // // `GCS_FILE_PATH` is the path to another .csv file that describes training // example for a given `ML_USE`, using the following row format: // -// GCS_FILE_PATH,LABEL,[INSTANCE_ID],TIMESTAMP,BOUNDING_BOX +// GCS_FILE_PATH,LABEL,[INSTANCE_ID],TIMESTAMP,BOUNDING_BOX // // or // -// GCS_FILE_PATH,,,,,,,,,, +// GCS_FILE_PATH,,,,,,,,,, // // Here `GCS_FILE_PATH` leads to a video of up to 50GB in size and up // to 3h duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. @@ -215,25 +217,26 @@ const ( // // Sample top level CSV file: // -// TRAIN,gs://folder/train_videos.csv -// TEST,gs://folder/test_videos.csv -// UNASSIGNED,gs://folder/other_videos.csv +// TRAIN,gs://folder/train_videos.csv +// TEST,gs://folder/test_videos.csv +// UNASSIGNED,gs://folder/other_videos.csv // // Seven sample rows of a CSV file for a particular ML_USE: // -// gs://folder/video1.avi,car,1,12.10,0.8,0.8,0.9,0.8,0.9,0.9,0.8,0.9 -// gs://folder/video1.avi,car,1,12.90,0.4,0.8,0.5,0.8,0.5,0.9,0.4,0.9 -// gs://folder/video1.avi,car,2,12.10,.4,.2,.5,.2,.5,.3,.4,.3 -// gs://folder/video1.avi,car,2,12.90,.8,.2,,,.9,.3,, -// gs://folder/video1.avi,bike,,12.50,.45,.45,,,.55,.55,, -// gs://folder/video2.avi,car,1,0,.1,.9,,,.9,.1,, -// gs://folder/video2.avi,,,,,,,,,,, -//
-// +// gs://folder/video1.avi,car,1,12.10,0.8,0.8,0.9,0.8,0.9,0.9,0.8,0.9 +// gs://folder/video1.avi,car,1,12.90,0.4,0.8,0.5,0.8,0.5,0.9,0.4,0.9 +// gs://folder/video1.avi,car,2,12.10,.4,.2,.5,.2,.5,.3,.4,.3 +// gs://folder/video1.avi,car,2,12.90,.8,.2,,,.9,.3,, +// gs://folder/video1.avi,bike,,12.50,.45,.45,,,.55,.55,, +// gs://folder/video2.avi,car,1,0,.1,.9,,,.9,.1,, +// gs://folder/video2.avi,,,,,,,,,,, +// //
// +// //

AutoML Natural Language

// +// //
Entity Extraction
// // See [Preparing your training @@ -242,21 +245,20 @@ const ( // // One or more CSV file(s) with each line in the following format: // -// ML_USE,GCS_FILE_PATH +// ML_USE,GCS_FILE_PATH // // * `ML_USE` - Identifies the data set that the current row (file) applies // to. +// This value can be one of the following: +// * `TRAIN` - Rows in this file are used to train the model. +// * `TEST` - Rows in this file are used to test the model during training. +// * `UNASSIGNED` - Rows in this file are not categorized. They are +// Automatically divided into train and test data. 80% for training and +// 20% for testing.. // -// This value can be one of the following: -// * `TRAIN` - Rows in this file are used to train the model. -// * `TEST` - Rows in this file are used to test the model during training. -// * `UNASSIGNED` - Rows in this file are not categorized. They are -// Automatically divided into train and test data. 80% for training and -// 20% for testing.. -// -// - `GCS_FILE_PATH` - a Identifies JSON Lines (.JSONL) file stored in -// Google Cloud Storage that contains in-line text in-line as documents -// for model training. +// * `GCS_FILE_PATH` - a Identifies JSON Lines (.JSONL) file stored in +// Google Cloud Storage that contains in-line text in-line as documents +// for model training. // // After the training data set has been determined from the `TRAIN` and // `UNASSIGNED` CSV files, the training data is divided into train and @@ -264,9 +266,9 @@ const ( // // For example: // -// TRAIN,gs://folder/file1.jsonl -// VALIDATE,gs://folder/file2.jsonl -// TEST,gs://folder/file3.jsonl +// TRAIN,gs://folder/file1.jsonl +// VALIDATE,gs://folder/file2.jsonl +// TEST,gs://folder/file3.jsonl // // **In-line JSONL files** // @@ -287,44 +289,44 @@ const ( // // For example: // -// { -// "text_snippet": { -// "content": "dog car cat" -// }, -// "annotations": [ -// { -// "display_name": "animal", -// "text_extraction": { -// "text_segment": {"start_offset": 0, "end_offset": 2} -// } -// }, -// { -// "display_name": "vehicle", -// "text_extraction": { -// "text_segment": {"start_offset": 4, "end_offset": 6} -// } -// }, -// { -// "display_name": "animal", -// "text_extraction": { -// "text_segment": {"start_offset": 8, "end_offset": 10} -// } -// } -// ] -// }\n -// { -// "text_snippet": { -// "content": "This dog is good." -// }, -// "annotations": [ -// { -// "display_name": "animal", -// "text_extraction": { -// "text_segment": {"start_offset": 5, "end_offset": 7} -// } -// } -// ] -// } +// { +// "text_snippet": { +// "content": "dog car cat" +// }, +// "annotations": [ +// { +// "display_name": "animal", +// "text_extraction": { +// "text_segment": {"start_offset": 0, "end_offset": 2} +// } +// }, +// { +// "display_name": "vehicle", +// "text_extraction": { +// "text_segment": {"start_offset": 4, "end_offset": 6} +// } +// }, +// { +// "display_name": "animal", +// "text_extraction": { +// "text_segment": {"start_offset": 8, "end_offset": 10} +// } +// } +// ] +// }\n +// { +// "text_snippet": { +// "content": "This dog is good." +// }, +// "annotations": [ +// { +// "display_name": "animal", +// "text_extraction": { +// "text_segment": {"start_offset": 5, "end_offset": 7} +// } +// } +// ] +// } // // **JSONL files that reference documents** // @@ -336,22 +338,22 @@ const ( // // For example: // -// { -// "document": { -// "input_config": { -// "gcs_source": { "input_uris": [ "gs://folder/document1.pdf" ] -// } -// } -// } -// }\n -// { -// "document": { -// "input_config": { -// "gcs_source": { "input_uris": [ "gs://folder/document2.tif" ] -// } -// } -// } -// } +// { +// "document": { +// "input_config": { +// "gcs_source": { "input_uris": [ "gs://folder/document1.pdf" ] +// } +// } +// } +// }\n +// { +// "document": { +// "input_config": { +// "gcs_source": { "input_uris": [ "gs://folder/document2.tif" ] +// } +// } +// } +// } // // **In-line JSONL files with document layout information** // @@ -364,56 +366,59 @@ const ( // // For example: // -// { -// "document": { -// "document_text": { -// "content": "dog car cat" -// } -// "layout": [ -// { -// "text_segment": { -// "start_offset": 0, -// "end_offset": 11, -// }, -// "page_number": 1, -// "bounding_poly": { -// "normalized_vertices": [ -// {"x": 0.1, "y": 0.1}, -// {"x": 0.1, "y": 0.3}, -// {"x": 0.3, "y": 0.3}, -// {"x": 0.3, "y": 0.1}, -// ], -// }, -// "text_segment_type": TOKEN, -// } -// ], -// "document_dimensions": { -// "width": 8.27, -// "height": 11.69, -// "unit": INCH, -// } -// "page_count": 3, -// }, -// "annotations": [ -// { -// "display_name": "animal", -// "text_extraction": { -// "text_segment": {"start_offset": 0, "end_offset": 3} -// } -// }, -// { -// "display_name": "vehicle", -// "text_extraction": { -// "text_segment": {"start_offset": 4, "end_offset": 7} -// } -// }, -// { -// "display_name": "animal", -// "text_extraction": { -// "text_segment": {"start_offset": 8, "end_offset": 11} -// } -// }, -// ], +// { +// "document": { +// "document_text": { +// "content": "dog car cat" +// } +// "layout": [ +// { +// "text_segment": { +// "start_offset": 0, +// "end_offset": 11, +// }, +// "page_number": 1, +// "bounding_poly": { +// "normalized_vertices": [ +// {"x": 0.1, "y": 0.1}, +// {"x": 0.1, "y": 0.3}, +// {"x": 0.3, "y": 0.3}, +// {"x": 0.3, "y": 0.1}, +// ], +// }, +// "text_segment_type": TOKEN, +// } +// ], +// "document_dimensions": { +// "width": 8.27, +// "height": 11.69, +// "unit": INCH, +// } +// "page_count": 3, +// }, +// "annotations": [ +// { +// "display_name": "animal", +// "text_extraction": { +// "text_segment": {"start_offset": 0, "end_offset": 3} +// } +// }, +// { +// "display_name": "vehicle", +// "text_extraction": { +// "text_segment": {"start_offset": 4, "end_offset": 7} +// } +// }, +// { +// "display_name": "animal", +// "text_extraction": { +// "text_segment": {"start_offset": 8, "end_offset": 11} +// } +// }, +// ], +// +// +// // //
Classification
// @@ -423,43 +428,44 @@ const ( // // One or more CSV file(s) with each line in the following format: // -// ML_USE,(TEXT_SNIPPET | GCS_FILE_PATH),LABEL,LABEL,... +// ML_USE,(TEXT_SNIPPET | GCS_FILE_PATH),LABEL,LABEL,... // // * `ML_USE` - Identifies the data set that the current row (file) applies // to. -// -// This value can be one of the following: -// * `TRAIN` - Rows in this file are used to train the model. -// * `TEST` - Rows in this file are used to test the model during training. -// * `UNASSIGNED` - Rows in this file are not categorized. They are -// Automatically divided into train and test data. 80% for training and -// 20% for testing. -// -// - `TEXT_SNIPPET` and `GCS_FILE_PATH` are distinguished by a pattern. If -// the column content is a valid Google Cloud Storage file path, that is, -// prefixed by "gs://", it is treated as a `GCS_FILE_PATH`. Otherwise, if -// the content is enclosed in double quotes (""), it is treated as a -// `TEXT_SNIPPET`. For `GCS_FILE_PATH`, the path must lead to a -// file with supported extension and UTF-8 encoding, for example, -// "gs://folder/content.txt" AutoML imports the file content -// as a text snippet. For `TEXT_SNIPPET`, AutoML imports the column content -// excluding quotes. In both cases, size of the content must be 10MB or -// less in size. For zip files, the size of each file inside the zip must be -// 10MB or less in size. -// -// For the `MULTICLASS` classification type, at most one `LABEL` is allowed. -// -// The `ML_USE` and `LABEL` columns are optional. -// Supported file extensions: .TXT, .PDF, .TIF, .TIFF, .ZIP +// This value can be one of the following: +// * `TRAIN` - Rows in this file are used to train the model. +// * `TEST` - Rows in this file are used to test the model during training. +// * `UNASSIGNED` - Rows in this file are not categorized. They are +// Automatically divided into train and test data. 80% for training and +// 20% for testing. +// +// * `TEXT_SNIPPET` and `GCS_FILE_PATH` are distinguished by a pattern. If +// the column content is a valid Google Cloud Storage file path, that is, +// prefixed by "gs://", it is treated as a `GCS_FILE_PATH`. Otherwise, if +// the content is enclosed in double quotes (""), it is treated as a +// `TEXT_SNIPPET`. For `GCS_FILE_PATH`, the path must lead to a +// file with supported extension and UTF-8 encoding, for example, +// "gs://folder/content.txt" AutoML imports the file content +// as a text snippet. For `TEXT_SNIPPET`, AutoML imports the column content +// excluding quotes. In both cases, size of the content must be 10MB or +// less in size. For zip files, the size of each file inside the zip must be +// 10MB or less in size. +// +// For the `MULTICLASS` classification type, at most one `LABEL` is allowed. +// +// The `ML_USE` and `LABEL` columns are optional. +// Supported file extensions: .TXT, .PDF, .TIF, .TIFF, .ZIP // // A maximum of 100 unique labels are allowed per CSV row. // // Sample rows: // -// TRAIN,"They have bad food and very rude",RudeService,BadFood -// gs://folder/content.txt,SlowService -// TEST,gs://folder/document.pdf -// VALIDATE,gs://folder/text_files.zip,BadFood +// TRAIN,"They have bad food and very rude",RudeService,BadFood +// gs://folder/content.txt,SlowService +// TEST,gs://folder/document.pdf +// VALIDATE,gs://folder/text_files.zip,BadFood +// +// // //
Sentiment Analysis
// @@ -469,60 +475,60 @@ const ( // // CSV file(s) with each line in format: // -// ML_USE,(TEXT_SNIPPET | GCS_FILE_PATH),SENTIMENT +// ML_USE,(TEXT_SNIPPET | GCS_FILE_PATH),SENTIMENT // // * `ML_USE` - Identifies the data set that the current row (file) applies // to. -// -// This value can be one of the following: -// * `TRAIN` - Rows in this file are used to train the model. -// * `TEST` - Rows in this file are used to test the model during training. -// * `UNASSIGNED` - Rows in this file are not categorized. They are -// Automatically divided into train and test data. 80% for training and -// 20% for testing. -// -// - `TEXT_SNIPPET` and `GCS_FILE_PATH` are distinguished by a pattern. If -// the column content is a valid Google Cloud Storage file path, that is, -// prefixed by "gs://", it is treated as a `GCS_FILE_PATH`. Otherwise, if -// the content is enclosed in double quotes (""), it is treated as a -// `TEXT_SNIPPET`. For `GCS_FILE_PATH`, the path must lead to a -// file with supported extension and UTF-8 encoding, for example, -// "gs://folder/content.txt" AutoML imports the file content -// as a text snippet. For `TEXT_SNIPPET`, AutoML imports the column content -// excluding quotes. In both cases, size of the content must be 128kB or -// less in size. For zip files, the size of each file inside the zip must be -// 128kB or less in size. -// -// The `ML_USE` and `SENTIMENT` columns are optional. -// Supported file extensions: .TXT, .PDF, .TIF, .TIFF, .ZIP -// -// - `SENTIMENT` - An integer between 0 and -// Dataset.text_sentiment_dataset_metadata.sentiment_max -// (inclusive). Describes the ordinal of the sentiment - higher -// value means a more positive sentiment. All the values are -// completely relative, i.e. neither 0 needs to mean a negative or -// neutral sentiment nor sentiment_max needs to mean a positive one - -// it is just required that 0 is the least positive sentiment -// in the data, and sentiment_max is the most positive one. -// The SENTIMENT shouldn't be confused with "score" or "magnitude" -// from the previous Natural Language Sentiment Analysis API. -// All SENTIMENT values between 0 and sentiment_max must be -// represented in the imported data. On prediction the same 0 to -// sentiment_max range will be used. The difference between -// neighboring sentiment values needs not to be uniform, e.g. 1 and -// 2 may be similar whereas the difference between 2 and 3 may be -// large. +// This value can be one of the following: +// * `TRAIN` - Rows in this file are used to train the model. +// * `TEST` - Rows in this file are used to test the model during training. +// * `UNASSIGNED` - Rows in this file are not categorized. They are +// Automatically divided into train and test data. 80% for training and +// 20% for testing. +// +// * `TEXT_SNIPPET` and `GCS_FILE_PATH` are distinguished by a pattern. If +// the column content is a valid Google Cloud Storage file path, that is, +// prefixed by "gs://", it is treated as a `GCS_FILE_PATH`. Otherwise, if +// the content is enclosed in double quotes (""), it is treated as a +// `TEXT_SNIPPET`. For `GCS_FILE_PATH`, the path must lead to a +// file with supported extension and UTF-8 encoding, for example, +// "gs://folder/content.txt" AutoML imports the file content +// as a text snippet. For `TEXT_SNIPPET`, AutoML imports the column content +// excluding quotes. In both cases, size of the content must be 128kB or +// less in size. For zip files, the size of each file inside the zip must be +// 128kB or less in size. +// +// The `ML_USE` and `SENTIMENT` columns are optional. +// Supported file extensions: .TXT, .PDF, .TIF, .TIFF, .ZIP +// +// * `SENTIMENT` - An integer between 0 and +// Dataset.text_sentiment_dataset_metadata.sentiment_max +// (inclusive). Describes the ordinal of the sentiment - higher +// value means a more positive sentiment. All the values are +// completely relative, i.e. neither 0 needs to mean a negative or +// neutral sentiment nor sentiment_max needs to mean a positive one - +// it is just required that 0 is the least positive sentiment +// in the data, and sentiment_max is the most positive one. +// The SENTIMENT shouldn't be confused with "score" or "magnitude" +// from the previous Natural Language Sentiment Analysis API. +// All SENTIMENT values between 0 and sentiment_max must be +// represented in the imported data. On prediction the same 0 to +// sentiment_max range will be used. The difference between +// neighboring sentiment values needs not to be uniform, e.g. 1 and +// 2 may be similar whereas the difference between 2 and 3 may be +// large. // // Sample rows: // -// TRAIN,"@freewrytin this is way too good for your product",2 -// gs://folder/content.txt,3 -// TEST,gs://folder/document.pdf -// VALIDATE,gs://folder/text_files.zip,2 -//
-// +// TRAIN,"@freewrytin this is way too good for your product",2 +// gs://folder/content.txt,3 +// TEST,gs://folder/document.pdf +// VALIDATE,gs://folder/text_files.zip,2 +// //
// +// +// //

AutoML Tables

// @@ -563,95 +569,84 @@ const ( // and between 1000 and 100,000,000 rows, inclusive. There are at most 5 // import data running in parallel. // -//
-// +// //
// +// // **Input field definitions:** // // `ML_USE` // : ("TRAIN" | "VALIDATE" | "TEST" | "UNASSIGNED") -// -// Describes how the given example (file) should be used for model -// training. "UNASSIGNED" can be used when user has no preference. +// Describes how the given example (file) should be used for model +// training. "UNASSIGNED" can be used when user has no preference. // // `GCS_FILE_PATH` // : The path to a file on Google Cloud Storage. For example, -// -// "gs://folder/image1.png". +// "gs://folder/image1.png". // // `LABEL` // : A display name of an object on an image, video etc., e.g. "dog". -// -// Must be up to 32 characters long and can consist only of ASCII -// Latin letters A-Z and a-z, underscores(_), and ASCII digits 0-9. -// For each label an AnnotationSpec is created which display_name -// becomes the label; AnnotationSpecs are given back in predictions. +// Must be up to 32 characters long and can consist only of ASCII +// Latin letters A-Z and a-z, underscores(_), and ASCII digits 0-9. +// For each label an AnnotationSpec is created which display_name +// becomes the label; AnnotationSpecs are given back in predictions. // // `INSTANCE_ID` // : A positive integer that identifies a specific instance of a -// -// labeled entity on an example. Used e.g. to track two cars on -// a video while being able to tell apart which one is which. +// labeled entity on an example. Used e.g. to track two cars on +// a video while being able to tell apart which one is which. // // `BOUNDING_BOX` // : (`VERTEX,VERTEX,VERTEX,VERTEX` | `VERTEX,,,VERTEX,,`) -// -// A rectangle parallel to the frame of the example (image, -// video). If 4 vertices are given they are connected by edges -// in the order provided, if 2 are given they are recognized -// as diagonally opposite vertices of the rectangle. +// A rectangle parallel to the frame of the example (image, +// video). If 4 vertices are given they are connected by edges +// in the order provided, if 2 are given they are recognized +// as diagonally opposite vertices of the rectangle. // // `VERTEX` // : (`COORDINATE,COORDINATE`) -// -// First coordinate is horizontal (x), the second is vertical (y). +// First coordinate is horizontal (x), the second is vertical (y). // // `COORDINATE` // : A float in 0 to 1 range, relative to total length of -// -// image or video in given dimension. For fractions the -// leading non-decimal 0 can be omitted (i.e. 0.3 = .3). -// Point 0,0 is in top left. +// image or video in given dimension. For fractions the +// leading non-decimal 0 can be omitted (i.e. 0.3 = .3). +// Point 0,0 is in top left. // // `TIME_SEGMENT_START` // : (`TIME_OFFSET`) -// -// Expresses a beginning, inclusive, of a time segment -// within an example that has a time dimension -// (e.g. video). +// Expresses a beginning, inclusive, of a time segment +// within an example that has a time dimension +// (e.g. video). // // `TIME_SEGMENT_END` // : (`TIME_OFFSET`) -// -// Expresses an end, exclusive, of a time segment within -// n example that has a time dimension (e.g. video). +// Expresses an end, exclusive, of a time segment within +// n example that has a time dimension (e.g. video). // // `TIME_OFFSET` // : A number of seconds as measured from the start of an -// -// example (e.g. video). Fractions are allowed, up to a -// microsecond precision. "inf" is allowed, and it means the end -// of the example. +// example (e.g. video). Fractions are allowed, up to a +// microsecond precision. "inf" is allowed, and it means the end +// of the example. // // `TEXT_SNIPPET` // : The content of a text snippet, UTF-8 encoded, enclosed within -// -// double quotes (""). +// double quotes (""). // // `DOCUMENT` // : A field that provides the textual content with document and the layout +// information. // -// information. // +// **Errors:** // -// **Errors:** +// If any of the provided CSV files can't be parsed or if more than certain +// percent of CSV rows cannot be processed then the operation fails and +// nothing is imported. Regardless of overall success or failure the per-row +// failures, up to a certain count cap, is listed in +// Operation.metadata.partial_failures. // -// If any of the provided CSV files can't be parsed or if more than certain -// percent of CSV rows cannot be processed then the operation fails and -// nothing is imported. Regardless of overall success or failure the per-row -// failures, up to a certain count cap, is listed in -// Operation.metadata.partial_failures. type InputConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -758,7 +753,7 @@ func (*InputConfig_GcsSource) isInputConfig_Source() {} // // One or more CSV files where each line is a single column: // -// GCS_FILE_PATH +// GCS_FILE_PATH // // The Google Cloud Storage location of an image of up to // 30MB in size. Supported extensions: .JPEG, .GIF, .PNG. @@ -766,15 +761,15 @@ func (*InputConfig_GcsSource) isInputConfig_Source() {} // // Sample rows: // -// gs://folder/image1.jpeg -// gs://folder/image2.gif -// gs://folder/image3.png +// gs://folder/image1.jpeg +// gs://folder/image2.gif +// gs://folder/image3.png // //
Object Detection
// // One or more CSV files where each line is a single column: // -// GCS_FILE_PATH +// GCS_FILE_PATH // // The Google Cloud Storage location of an image of up to // 30MB in size. Supported extensions: .JPEG, .GIF, .PNG. @@ -782,11 +777,10 @@ func (*InputConfig_GcsSource) isInputConfig_Source() {} // // Sample rows: // -// gs://folder/image1.jpeg -// gs://folder/image2.gif -// gs://folder/image3.png -//
-// +// gs://folder/image1.jpeg +// gs://folder/image2.gif +// gs://folder/image3.png +// // // //

AutoML Video Intelligence

@@ -794,7 +788,7 @@ func (*InputConfig_GcsSource) isInputConfig_Source() {} // // One or more CSV files where each line is a single column: // -// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END +// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END // // `GCS_FILE_PATH` is the Google Cloud Storage location of video up to 50GB in // size and up to 3h in duration duration. @@ -805,15 +799,15 @@ func (*InputConfig_GcsSource) isInputConfig_Source() {} // // Sample rows: // -// gs://folder/video1.mp4,10,40 -// gs://folder/video1.mp4,20,60 -// gs://folder/vid2.mov,0,inf +// gs://folder/video1.mp4,10,40 +// gs://folder/video1.mp4,20,60 +// gs://folder/vid2.mov,0,inf // //
Object Tracking
// // One or more CSV files where each line is a single column: // -// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END +// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END // // `GCS_FILE_PATH` is the Google Cloud Storage location of video up to 50GB in // size and up to 3h in duration duration. @@ -824,11 +818,10 @@ func (*InputConfig_GcsSource) isInputConfig_Source() {} // // Sample rows: // -// gs://folder/video1.mp4,10,40 -// gs://folder/video1.mp4,20,60 -// gs://folder/vid2.mov,0,inf -//
-// +// gs://folder/video1.mp4,10,40 +// gs://folder/video1.mp4,20,60 +// gs://folder/vid2.mov,0,inf +// // // //

AutoML Natural Language

@@ -836,7 +829,7 @@ func (*InputConfig_GcsSource) isInputConfig_Source() {} // // One or more CSV files where each line is a single column: // -// GCS_FILE_PATH +// GCS_FILE_PATH // // `GCS_FILE_PATH` is the Google Cloud Storage location of a text file. // Supported file extensions: .TXT, .PDF, .TIF, .TIFF @@ -845,14 +838,14 @@ func (*InputConfig_GcsSource) isInputConfig_Source() {} // // Sample rows: // -// gs://folder/text1.txt -// gs://folder/text2.pdf -// gs://folder/text3.tif +// gs://folder/text1.txt +// gs://folder/text2.pdf +// gs://folder/text3.tif // //
Sentiment Analysis
// One or more CSV files where each line is a single column: // -// GCS_FILE_PATH +// GCS_FILE_PATH // // `GCS_FILE_PATH` is the Google Cloud Storage location of a text file. // Supported file extensions: .TXT, .PDF, .TIF, .TIFF @@ -861,9 +854,9 @@ func (*InputConfig_GcsSource) isInputConfig_Source() {} // // Sample rows: // -// gs://folder/text1.txt -// gs://folder/text2.pdf -// gs://folder/text3.tif +// gs://folder/text1.txt +// gs://folder/text2.pdf +// gs://folder/text3.tif // //
Entity Extraction
// @@ -890,53 +883,52 @@ func (*InputConfig_GcsSource) isInputConfig_Source() {} // Sample inline JSONL file (Shown with artificial line // breaks. Actual line breaks are denoted by "\n".): // -// { -// "id": "my_first_id", -// "text_snippet": { "content": "dog car cat"}, -// "text_features": [ -// { -// "text_segment": {"start_offset": 4, "end_offset": 6}, -// "structural_type": PARAGRAPH, -// "bounding_poly": { -// "normalized_vertices": [ -// {"x": 0.1, "y": 0.1}, -// {"x": 0.1, "y": 0.3}, -// {"x": 0.3, "y": 0.3}, -// {"x": 0.3, "y": 0.1}, -// ] -// }, -// } -// ], -// }\n -// { -// "id": "2", -// "text_snippet": { -// "content": "Extended sample content", -// "mime_type": "text/plain" -// } -// } +// { +// "id": "my_first_id", +// "text_snippet": { "content": "dog car cat"}, +// "text_features": [ +// { +// "text_segment": {"start_offset": 4, "end_offset": 6}, +// "structural_type": PARAGRAPH, +// "bounding_poly": { +// "normalized_vertices": [ +// {"x": 0.1, "y": 0.1}, +// {"x": 0.1, "y": 0.3}, +// {"x": 0.3, "y": 0.3}, +// {"x": 0.3, "y": 0.1}, +// ] +// }, +// } +// ], +// }\n +// { +// "id": "2", +// "text_snippet": { +// "content": "Extended sample content", +// "mime_type": "text/plain" +// } +// } // // Sample document JSONL file (Shown with artificial line // breaks. Actual line breaks are denoted by "\n".): // -// { -// "document": { -// "input_config": { -// "gcs_source": { "input_uris": [ "gs://folder/document1.pdf" ] -// } -// } -// } -// }\n -// { -// "document": { -// "input_config": { -// "gcs_source": { "input_uris": [ "gs://folder/document2.tif" ] -// } -// } -// } -// } -//
-// +// { +// "document": { +// "input_config": { +// "gcs_source": { "input_uris": [ "gs://folder/document1.pdf" ] +// } +// } +// } +// }\n +// { +// "document": { +// "input_config": { +// "gcs_source": { "input_uris": [ "gs://folder/document2.tif" ] +// } +// } +// } +// } +// // // //

AutoML Tables

// "First Name","Last Name","Dob","Addresses" @@ -985,45 +978,39 @@ func (*InputConfig_GcsSource) isInputConfig_Source() {} // input feature column specs must contain values compatible with the // column spec's data types. Prediction on all the rows of the table // will be attempted. -// -//
-// +// //
// // **Input field definitions:** // // `GCS_FILE_PATH` // : The path to a file on Google Cloud Storage. For example, -// -// "gs://folder/video.avi". +// "gs://folder/video.avi". // // `TIME_SEGMENT_START` // : (`TIME_OFFSET`) -// -// Expresses a beginning, inclusive, of a time segment -// within an example that has a time dimension -// (e.g. video). +// Expresses a beginning, inclusive, of a time segment +// within an example that has a time dimension +// (e.g. video). // // `TIME_SEGMENT_END` // : (`TIME_OFFSET`) -// -// Expresses an end, exclusive, of a time segment within -// n example that has a time dimension (e.g. video). +// Expresses an end, exclusive, of a time segment within +// n example that has a time dimension (e.g. video). // // `TIME_OFFSET` // : A number of seconds as measured from the start of an +// example (e.g. video). Fractions are allowed, up to a +// microsecond precision. "inf" is allowed, and it means the end +// of the example. // -// example (e.g. video). Fractions are allowed, up to a -// microsecond precision. "inf" is allowed, and it means the end -// of the example. -// -// **Errors:** +// **Errors:** // -// If any of the provided CSV files can't be parsed or if more than certain -// percent of CSV rows cannot be processed then the operation fails and -// prediction does not happen. Regardless of overall success or failure the -// per-row failures, up to a certain count cap, will be listed in -// Operation.metadata.partial_failures. +// If any of the provided CSV files can't be parsed or if more than certain +// percent of CSV rows cannot be processed then the operation fails and +// prediction does not happen. Regardless of overall success or failure the +// per-row failures, up to a certain count cap, will be listed in +// Operation.metadata.partial_failures. type BatchPredictInputConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1147,34 +1134,34 @@ func (x *DocumentInputConfig) GetGcsSource() *GcsSource { return nil } -// - For Translation: -// CSV file `translation.csv`, with each line in format: -// ML_USE,GCS_FILE_PATH -// GCS_FILE_PATH leads to a .TSV file which describes examples that have -// given ML_USE, using the following row format per line: -// TEXT_SNIPPET (in source language) \t TEXT_SNIPPET (in target -// language) -// -// - For Tables: -// Output depends on whether the dataset was imported from Google Cloud -// Storage or BigQuery. -// Google Cloud Storage case: -// [gcs_destination][google.cloud.automl.v1p1beta.OutputConfig.gcs_destination] -// must be set. Exported are CSV file(s) `tables_1.csv`, -// `tables_2.csv`,...,`tables_N.csv` with each having as header line -// the table's column names, and all other lines contain values for -// the header columns. -// BigQuery case: -// [bigquery_destination][google.cloud.automl.v1p1beta.OutputConfig.bigquery_destination] -// pointing to a BigQuery project must be set. In the given project a -// new dataset will be created with name -// `export_data__` -// where will be made -// BigQuery-dataset-name compatible (e.g. most special characters will -// become underscores), and timestamp will be in -// YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In that -// dataset a new table called `primary_table` will be created, and -// filled with precisely the same data as this obtained on import. +// * For Translation: +// CSV file `translation.csv`, with each line in format: +// ML_USE,GCS_FILE_PATH +// GCS_FILE_PATH leads to a .TSV file which describes examples that have +// given ML_USE, using the following row format per line: +// TEXT_SNIPPET (in source language) \t TEXT_SNIPPET (in target +// language) +// +// * For Tables: +// Output depends on whether the dataset was imported from Google Cloud +// Storage or BigQuery. +// Google Cloud Storage case: +// [gcs_destination][google.cloud.automl.v1p1beta.OutputConfig.gcs_destination] +// must be set. Exported are CSV file(s) `tables_1.csv`, +// `tables_2.csv`,...,`tables_N.csv` with each having as header line +// the table's column names, and all other lines contain values for +// the header columns. +// BigQuery case: +// [bigquery_destination][google.cloud.automl.v1p1beta.OutputConfig.bigquery_destination] +// pointing to a BigQuery project must be set. In the given project a +// new dataset will be created with name +// `export_data__` +// where will be made +// BigQuery-dataset-name compatible (e.g. most special characters will +// become underscores), and timestamp will be in +// YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In that +// dataset a new table called `primary_table` will be created, and +// filled with precisely the same data as this obtained on import. type OutputConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1260,246 +1247,244 @@ func (*OutputConfig_GcsDestination) isOutputConfig_Destination() {} // where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. The contents // of it depends on the ML problem the predictions are made for. // -// - For Image Classification: -// In the created directory files `image_classification_1.jsonl`, -// `image_classification_2.jsonl`,...,`image_classification_N.jsonl` -// will be created, where N may be 1, and depends on the -// total number of the successfully predicted images and annotations. -// A single image will be listed only once with all its annotations, -// and its annotations will never be split across files. -// Each .JSONL file will contain, per line, a JSON representation of a -// proto that wraps image's "ID" : "" followed by a list of -// zero or more AnnotationPayload protos (called annotations), which -// have classification detail populated. -// If prediction for any image failed (partially or completely), then an -// additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl` -// files will be created (N depends on total number of failed -// predictions). These files will have a JSON representation of a proto -// that wraps the same "ID" : "" but here followed by -// exactly one -// [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// containing only `code` and `message`fields. -// -// - For Image Object Detection: -// In the created directory files `image_object_detection_1.jsonl`, -// `image_object_detection_2.jsonl`,...,`image_object_detection_N.jsonl` -// will be created, where N may be 1, and depends on the -// total number of the successfully predicted images and annotations. -// Each .JSONL file will contain, per line, a JSON representation of a -// proto that wraps image's "ID" : "" followed by a list of -// zero or more AnnotationPayload protos (called annotations), which -// have image_object_detection detail populated. A single image will -// be listed only once with all its annotations, and its annotations -// will never be split across files. -// If prediction for any image failed (partially or completely), then -// additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl` -// files will be created (N depends on total number of failed -// predictions). These files will have a JSON representation of a proto -// that wraps the same "ID" : "" but here followed by -// exactly one -// [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// containing only `code` and `message`fields. -// -// - For Video Classification: -// In the created directory a video_classification.csv file, and a .JSON -// file per each video classification requested in the input (i.e. each -// line in given CSV(s)), will be created. -// -// The format of video_classification.csv is: -// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END,JSON_FILE_NAME,STATUS -// where: -// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END = matches 1 to 1 -// the prediction input lines (i.e. video_classification.csv has -// precisely the same number of lines as the prediction input had.) -// JSON_FILE_NAME = Name of .JSON file in the output directory, which -// contains prediction responses for the video time segment. -// STATUS = "OK" if prediction completed successfully, or an error code -// with message otherwise. If STATUS is not "OK" then the .JSON file -// for that line may not exist or be empty. -// -// Each .JSON file, assuming STATUS is "OK", will contain a list of -// AnnotationPayload protos in JSON format, which are the predictions -// for the video time segment the file is assigned to in the -// video_classification.csv. All AnnotationPayload protos will have -// video_classification field set, and will be sorted by -// video_classification.type field (note that the returned types are -// governed by `classifaction_types` parameter in -// [PredictService.BatchPredictRequest.params][]). -// -// - For Video Object Tracking: -// In the created directory a video_object_tracking.csv file will be -// created, and multiple files video_object_trackinng_1.json, -// video_object_trackinng_2.json,..., video_object_trackinng_N.json, -// where N is the number of requests in the input (i.e. the number of -// lines in given CSV(s)). -// -// The format of video_object_tracking.csv is: -// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END,JSON_FILE_NAME,STATUS -// where: -// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END = matches 1 to 1 -// the prediction input lines (i.e. video_object_tracking.csv has -// precisely the same number of lines as the prediction input had.) -// JSON_FILE_NAME = Name of .JSON file in the output directory, which -// contains prediction responses for the video time segment. -// STATUS = "OK" if prediction completed successfully, or an error -// code with message otherwise. If STATUS is not "OK" then the .JSON -// file for that line may not exist or be empty. -// -// Each .JSON file, assuming STATUS is "OK", will contain a list of -// AnnotationPayload protos in JSON format, which are the predictions -// for each frame of the video time segment the file is assigned to in -// video_object_tracking.csv. All AnnotationPayload protos will have -// video_object_tracking field set. -// -// - For Text Classification: -// In the created directory files `text_classification_1.jsonl`, -// `text_classification_2.jsonl`,...,`text_classification_N.jsonl` -// will be created, where N may be 1, and depends on the -// total number of inputs and annotations found. -// -// Each .JSONL file will contain, per line, a JSON representation of a -// proto that wraps input text file (or document) in -// the text snippet (or document) proto and a list of -// zero or more AnnotationPayload protos (called annotations), which -// have classification detail populated. A single text file (or -// document) will be listed only once with all its annotations, and its -// annotations will never be split across files. -// -// If prediction for any input file (or document) failed (partially or -// completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,..., -// `errors_N.jsonl` files will be created (N depends on total number of -// failed predictions). These files will have a JSON representation of a -// proto that wraps input file followed by exactly one -// [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// containing only `code` and `message`. -// -// - For Text Sentiment: -// In the created directory files `text_sentiment_1.jsonl`, -// `text_sentiment_2.jsonl`,...,`text_sentiment_N.jsonl` -// will be created, where N may be 1, and depends on the -// total number of inputs and annotations found. -// -// Each .JSONL file will contain, per line, a JSON representation of a -// proto that wraps input text file (or document) in -// the text snippet (or document) proto and a list of -// zero or more AnnotationPayload protos (called annotations), which -// have text_sentiment detail populated. A single text file (or -// document) will be listed only once with all its annotations, and its -// annotations will never be split across files. -// -// If prediction for any input file (or document) failed (partially or -// completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,..., -// `errors_N.jsonl` files will be created (N depends on total number of -// failed predictions). These files will have a JSON representation of a -// proto that wraps input file followed by exactly one -// [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// containing only `code` and `message`. -// -// - For Text Extraction: -// In the created directory files `text_extraction_1.jsonl`, -// `text_extraction_2.jsonl`,...,`text_extraction_N.jsonl` -// will be created, where N may be 1, and depends on the -// total number of inputs and annotations found. -// The contents of these .JSONL file(s) depend on whether the input -// used inline text, or documents. -// If input was inline, then each .JSONL file will contain, per line, -// a JSON representation of a proto that wraps given in request text -// snippet's "id" (if specified), followed by input text snippet, -// and a list of zero or more -// AnnotationPayload protos (called annotations), which have -// text_extraction detail populated. A single text snippet will be -// listed only once with all its annotations, and its annotations will -// never be split across files. -// If input used documents, then each .JSONL file will contain, per -// line, a JSON representation of a proto that wraps given in request -// document proto, followed by its OCR-ed representation in the form -// of a text snippet, finally followed by a list of zero or more -// AnnotationPayload protos (called annotations), which have -// text_extraction detail populated and refer, via their indices, to -// the OCR-ed text snippet. A single document (and its text snippet) -// will be listed only once with all its annotations, and its -// annotations will never be split across files. -// If prediction for any text snippet failed (partially or completely), -// then additional `errors_1.jsonl`, `errors_2.jsonl`,..., -// `errors_N.jsonl` files will be created (N depends on total number of -// failed predictions). These files will have a JSON representation of a -// proto that wraps either the "id" : "" (in case of inline) -// or the document proto (in case of document) but here followed by -// exactly one -// [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// containing only `code` and `message`. -// -// - For Tables: -// Output depends on whether -// [gcs_destination][google.cloud.automl.v1p1beta.BatchPredictOutputConfig.gcs_destination] -// or -// [bigquery_destination][google.cloud.automl.v1p1beta.BatchPredictOutputConfig.bigquery_destination] -// is set (either is allowed). -// Google Cloud Storage case: -// In the created directory files `tables_1.csv`, `tables_2.csv`,..., -// `tables_N.csv` will be created, where N may be 1, and depends on -// the total number of the successfully predicted rows. -// For all CLASSIFICATION -// [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]: -// Each .csv file will contain a header, listing all columns' -// [display_name-s][google.cloud.automl.v1p1beta.ColumnSpec.display_name] -// given on input followed by M target column names in the format of -// "<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec] -// [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>__score" where M is the number of distinct target values, -// i.e. number of distinct values in the target column of the table -// used to train the model. Subsequent lines will contain the -// respective values of successfully predicted rows, with the last, -// i.e. the target, columns having the corresponding prediction -// [scores][google.cloud.automl.v1p1beta.TablesAnnotation.score]. -// For REGRESSION and FORECASTING -// [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]: -// Each .csv file will contain a header, listing all columns' -// [display_name-s][google.cloud.automl.v1p1beta.display_name] -// given on input followed by the predicted target column with name -// in the format of -// "predicted_<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec] -// [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>" -// Subsequent lines will contain the respective values of -// successfully predicted rows, with the last, i.e. the target, -// column having the predicted target value. -// If prediction for any rows failed, then an additional -// `errors_1.csv`, `errors_2.csv`,..., `errors_N.csv` will be -// created (N depends on total number of failed rows). These files -// will have analogous format as `tables_*.csv`, but always with a -// single target column having -// [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// represented as a JSON string, and containing only `code` and -// `message`. -// BigQuery case: -// [bigquery_destination][google.cloud.automl.v1p1beta.OutputConfig.bigquery_destination] -// pointing to a BigQuery project must be set. In the given project a -// new dataset will be created with name -// `prediction__` -// where will be made -// BigQuery-dataset-name compatible (e.g. most special characters will -// become underscores), and timestamp will be in -// YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In the dataset -// two tables will be created, `predictions`, and `errors`. -// The `predictions` table's column names will be the input columns' -// [display_name-s][google.cloud.automl.v1p1beta.ColumnSpec.display_name] -// followed by the target column with name in the format of -// "predicted_<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec] -// [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>" -// The input feature columns will contain the respective values of -// successfully predicted rows, with the target column having an -// ARRAY of -// [AnnotationPayloads][google.cloud.automl.v1p1beta.AnnotationPayload], -// represented as STRUCT-s, containing -// [TablesAnnotation][google.cloud.automl.v1p1beta.TablesAnnotation]. -// The `errors` table contains rows for which the prediction has -// failed, it has analogous input columns while the target column name -// is in the format of -// "errors_<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec] -// [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>", -// and as a value has -// [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// represented as a STRUCT, and containing only `code` and `message`. +// * For Image Classification: +// In the created directory files `image_classification_1.jsonl`, +// `image_classification_2.jsonl`,...,`image_classification_N.jsonl` +// will be created, where N may be 1, and depends on the +// total number of the successfully predicted images and annotations. +// A single image will be listed only once with all its annotations, +// and its annotations will never be split across files. +// Each .JSONL file will contain, per line, a JSON representation of a +// proto that wraps image's "ID" : "" followed by a list of +// zero or more AnnotationPayload protos (called annotations), which +// have classification detail populated. +// If prediction for any image failed (partially or completely), then an +// additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl` +// files will be created (N depends on total number of failed +// predictions). These files will have a JSON representation of a proto +// that wraps the same "ID" : "" but here followed by +// exactly one +// [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) +// containing only `code` and `message`fields. +// +// * For Image Object Detection: +// In the created directory files `image_object_detection_1.jsonl`, +// `image_object_detection_2.jsonl`,...,`image_object_detection_N.jsonl` +// will be created, where N may be 1, and depends on the +// total number of the successfully predicted images and annotations. +// Each .JSONL file will contain, per line, a JSON representation of a +// proto that wraps image's "ID" : "" followed by a list of +// zero or more AnnotationPayload protos (called annotations), which +// have image_object_detection detail populated. A single image will +// be listed only once with all its annotations, and its annotations +// will never be split across files. +// If prediction for any image failed (partially or completely), then +// additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl` +// files will be created (N depends on total number of failed +// predictions). These files will have a JSON representation of a proto +// that wraps the same "ID" : "" but here followed by +// exactly one +// [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) +// containing only `code` and `message`fields. +// * For Video Classification: +// In the created directory a video_classification.csv file, and a .JSON +// file per each video classification requested in the input (i.e. each +// line in given CSV(s)), will be created. +// +// The format of video_classification.csv is: +// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END,JSON_FILE_NAME,STATUS +// where: +// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END = matches 1 to 1 +// the prediction input lines (i.e. video_classification.csv has +// precisely the same number of lines as the prediction input had.) +// JSON_FILE_NAME = Name of .JSON file in the output directory, which +// contains prediction responses for the video time segment. +// STATUS = "OK" if prediction completed successfully, or an error code +// with message otherwise. If STATUS is not "OK" then the .JSON file +// for that line may not exist or be empty. +// +// Each .JSON file, assuming STATUS is "OK", will contain a list of +// AnnotationPayload protos in JSON format, which are the predictions +// for the video time segment the file is assigned to in the +// video_classification.csv. All AnnotationPayload protos will have +// video_classification field set, and will be sorted by +// video_classification.type field (note that the returned types are +// governed by `classifaction_types` parameter in +// [PredictService.BatchPredictRequest.params][]). +// +// * For Video Object Tracking: +// In the created directory a video_object_tracking.csv file will be +// created, and multiple files video_object_trackinng_1.json, +// video_object_trackinng_2.json,..., video_object_trackinng_N.json, +// where N is the number of requests in the input (i.e. the number of +// lines in given CSV(s)). +// +// The format of video_object_tracking.csv is: +// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END,JSON_FILE_NAME,STATUS +// where: +// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END = matches 1 to 1 +// the prediction input lines (i.e. video_object_tracking.csv has +// precisely the same number of lines as the prediction input had.) +// JSON_FILE_NAME = Name of .JSON file in the output directory, which +// contains prediction responses for the video time segment. +// STATUS = "OK" if prediction completed successfully, or an error +// code with message otherwise. If STATUS is not "OK" then the .JSON +// file for that line may not exist or be empty. +// +// Each .JSON file, assuming STATUS is "OK", will contain a list of +// AnnotationPayload protos in JSON format, which are the predictions +// for each frame of the video time segment the file is assigned to in +// video_object_tracking.csv. All AnnotationPayload protos will have +// video_object_tracking field set. +// * For Text Classification: +// In the created directory files `text_classification_1.jsonl`, +// `text_classification_2.jsonl`,...,`text_classification_N.jsonl` +// will be created, where N may be 1, and depends on the +// total number of inputs and annotations found. +// +// Each .JSONL file will contain, per line, a JSON representation of a +// proto that wraps input text file (or document) in +// the text snippet (or document) proto and a list of +// zero or more AnnotationPayload protos (called annotations), which +// have classification detail populated. A single text file (or +// document) will be listed only once with all its annotations, and its +// annotations will never be split across files. +// +// If prediction for any input file (or document) failed (partially or +// completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,..., +// `errors_N.jsonl` files will be created (N depends on total number of +// failed predictions). These files will have a JSON representation of a +// proto that wraps input file followed by exactly one +// [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) +// containing only `code` and `message`. +// +// * For Text Sentiment: +// In the created directory files `text_sentiment_1.jsonl`, +// `text_sentiment_2.jsonl`,...,`text_sentiment_N.jsonl` +// will be created, where N may be 1, and depends on the +// total number of inputs and annotations found. +// +// Each .JSONL file will contain, per line, a JSON representation of a +// proto that wraps input text file (or document) in +// the text snippet (or document) proto and a list of +// zero or more AnnotationPayload protos (called annotations), which +// have text_sentiment detail populated. A single text file (or +// document) will be listed only once with all its annotations, and its +// annotations will never be split across files. +// +// If prediction for any input file (or document) failed (partially or +// completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,..., +// `errors_N.jsonl` files will be created (N depends on total number of +// failed predictions). These files will have a JSON representation of a +// proto that wraps input file followed by exactly one +// [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) +// containing only `code` and `message`. +// +// * For Text Extraction: +// In the created directory files `text_extraction_1.jsonl`, +// `text_extraction_2.jsonl`,...,`text_extraction_N.jsonl` +// will be created, where N may be 1, and depends on the +// total number of inputs and annotations found. +// The contents of these .JSONL file(s) depend on whether the input +// used inline text, or documents. +// If input was inline, then each .JSONL file will contain, per line, +// a JSON representation of a proto that wraps given in request text +// snippet's "id" (if specified), followed by input text snippet, +// and a list of zero or more +// AnnotationPayload protos (called annotations), which have +// text_extraction detail populated. A single text snippet will be +// listed only once with all its annotations, and its annotations will +// never be split across files. +// If input used documents, then each .JSONL file will contain, per +// line, a JSON representation of a proto that wraps given in request +// document proto, followed by its OCR-ed representation in the form +// of a text snippet, finally followed by a list of zero or more +// AnnotationPayload protos (called annotations), which have +// text_extraction detail populated and refer, via their indices, to +// the OCR-ed text snippet. A single document (and its text snippet) +// will be listed only once with all its annotations, and its +// annotations will never be split across files. +// If prediction for any text snippet failed (partially or completely), +// then additional `errors_1.jsonl`, `errors_2.jsonl`,..., +// `errors_N.jsonl` files will be created (N depends on total number of +// failed predictions). These files will have a JSON representation of a +// proto that wraps either the "id" : "" (in case of inline) +// or the document proto (in case of document) but here followed by +// exactly one +// [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) +// containing only `code` and `message`. +// +// * For Tables: +// Output depends on whether +// [gcs_destination][google.cloud.automl.v1p1beta.BatchPredictOutputConfig.gcs_destination] +// or +// [bigquery_destination][google.cloud.automl.v1p1beta.BatchPredictOutputConfig.bigquery_destination] +// is set (either is allowed). +// Google Cloud Storage case: +// In the created directory files `tables_1.csv`, `tables_2.csv`,..., +// `tables_N.csv` will be created, where N may be 1, and depends on +// the total number of the successfully predicted rows. +// For all CLASSIFICATION +// [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]: +// Each .csv file will contain a header, listing all columns' +// [display_name-s][google.cloud.automl.v1p1beta.ColumnSpec.display_name] +// given on input followed by M target column names in the format of +// "<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec] +// [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>__score" where M is the number of distinct target values, +// i.e. number of distinct values in the target column of the table +// used to train the model. Subsequent lines will contain the +// respective values of successfully predicted rows, with the last, +// i.e. the target, columns having the corresponding prediction +// [scores][google.cloud.automl.v1p1beta.TablesAnnotation.score]. +// For REGRESSION and FORECASTING +// [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]: +// Each .csv file will contain a header, listing all columns' +// [display_name-s][google.cloud.automl.v1p1beta.display_name] +// given on input followed by the predicted target column with name +// in the format of +// "predicted_<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec] +// [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>" +// Subsequent lines will contain the respective values of +// successfully predicted rows, with the last, i.e. the target, +// column having the predicted target value. +// If prediction for any rows failed, then an additional +// `errors_1.csv`, `errors_2.csv`,..., `errors_N.csv` will be +// created (N depends on total number of failed rows). These files +// will have analogous format as `tables_*.csv`, but always with a +// single target column having +// [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) +// represented as a JSON string, and containing only `code` and +// `message`. +// BigQuery case: +// [bigquery_destination][google.cloud.automl.v1p1beta.OutputConfig.bigquery_destination] +// pointing to a BigQuery project must be set. In the given project a +// new dataset will be created with name +// `prediction__` +// where will be made +// BigQuery-dataset-name compatible (e.g. most special characters will +// become underscores), and timestamp will be in +// YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In the dataset +// two tables will be created, `predictions`, and `errors`. +// The `predictions` table's column names will be the input columns' +// [display_name-s][google.cloud.automl.v1p1beta.ColumnSpec.display_name] +// followed by the target column with name in the format of +// "predicted_<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec] +// [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>" +// The input feature columns will contain the respective values of +// successfully predicted rows, with the target column having an +// ARRAY of +// [AnnotationPayloads][google.cloud.automl.v1p1beta.AnnotationPayload], +// represented as STRUCT-s, containing +// [TablesAnnotation][google.cloud.automl.v1p1beta.TablesAnnotation]. +// The `errors` table contains rows for which the prediction has +// failed, it has analogous input columns while the target column name +// is in the format of +// "errors_<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec] +// [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>", +// and as a value has +// [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) +// represented as a STRUCT, and containing only `code` and `message`. type BatchPredictOutputConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/automl/apiv1/automlpb/model.pb.go b/automl/apiv1/automlpb/model.pb.go index 0e395dfaed90..7e9aa69285ee 100755 --- a/automl/apiv1/automlpb/model.pb.go +++ b/automl/apiv1/automlpb/model.pb.go @@ -21,13 +21,12 @@ package automlpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/model_evaluation.pb.go b/automl/apiv1/automlpb/model_evaluation.pb.go index b7ecfa6cd426..55e070770595 100755 --- a/automl/apiv1/automlpb/model_evaluation.pb.go +++ b/automl/apiv1/automlpb/model_evaluation.pb.go @@ -21,13 +21,12 @@ package automlpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/operations.pb.go b/automl/apiv1/automlpb/operations.pb.go index 3e1f1e92c689..296818351aa9 100755 --- a/automl/apiv1/automlpb/operations.pb.go +++ b/automl/apiv1/automlpb/operations.pb.go @@ -21,13 +21,12 @@ package automlpb import ( - reflect "reflect" - sync "sync" - status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/prediction_service.pb.go b/automl/apiv1/automlpb/prediction_service.pb.go index 64cca72e0d7a..5dde187761dd 100755 --- a/automl/apiv1/automlpb/prediction_service.pb.go +++ b/automl/apiv1/automlpb/prediction_service.pb.go @@ -21,17 +21,16 @@ package automlpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/service.pb.go b/automl/apiv1/automlpb/service.pb.go index cd294bfc063e..5cbacc215e4a 100755 --- a/automl/apiv1/automlpb/service.pb.go +++ b/automl/apiv1/automlpb/service.pb.go @@ -21,11 +21,8 @@ package automlpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/text.pb.go b/automl/apiv1/automlpb/text.pb.go index 4f5298c63f0f..d3b2e678234b 100755 --- a/automl/apiv1/automlpb/text.pb.go +++ b/automl/apiv1/automlpb/text.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/text_extraction.pb.go b/automl/apiv1/automlpb/text_extraction.pb.go index 357df8d5614f..a85664a425bc 100755 --- a/automl/apiv1/automlpb/text_extraction.pb.go +++ b/automl/apiv1/automlpb/text_extraction.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/text_segment.pb.go b/automl/apiv1/automlpb/text_segment.pb.go index c1701a137321..f59ee2dd29ec 100755 --- a/automl/apiv1/automlpb/text_segment.pb.go +++ b/automl/apiv1/automlpb/text_segment.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/text_sentiment.pb.go b/automl/apiv1/automlpb/text_sentiment.pb.go index 45de16a24517..8dc29ac1d87c 100755 --- a/automl/apiv1/automlpb/text_sentiment.pb.go +++ b/automl/apiv1/automlpb/text_sentiment.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/translation.pb.go b/automl/apiv1/automlpb/translation.pb.go index 0ac6699704bd..06269efc5a7c 100755 --- a/automl/apiv1/automlpb/translation.pb.go +++ b/automl/apiv1/automlpb/translation.pb.go @@ -21,12 +21,11 @@ package automlpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1/doc.go b/automl/apiv1/doc.go index 53e2313ae673..f28e2fa3fb06 100755 --- a/automl/apiv1/doc.go +++ b/automl/apiv1/doc.go @@ -20,71 +20,70 @@ // Train high-quality custom machine learning models with minimum effort and // machine learning expertise. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := automl.NewPredictionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := automl.NewPredictionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := automl.NewPredictionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &automlpb.BatchPredictRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/automl/apiv1/automlpb#BatchPredictRequest. -// } -// op, err := c.BatchPredict(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := automl.NewPredictionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &automlpb.BatchPredictRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/automl/apiv1/automlpb#BatchPredictRequest. +// } +// op, err := c.BatchPredict(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewPredictionClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/automl/apiv1/prediction_client.go b/automl/apiv1/prediction_client.go index de91ca4bdee6..1604234183c1 100755 --- a/automl/apiv1/prediction_client.go +++ b/automl/apiv1/prediction_client.go @@ -141,36 +141,36 @@ func (c *PredictionClient) Connection() *grpc.ClientConn { // // AutoML Vision Classification // -// An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB. +// An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB. // // AutoML Vision Object Detection // -// An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB. +// An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB. // // AutoML Natural Language Classification // -// A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in -// .PDF, .TIF or .TIFF format with size upto 2MB. +// A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in +// .PDF, .TIF or .TIFF format with size upto 2MB. // // AutoML Natural Language Entity Extraction // -// A TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document -// in .PDF, .TIF or .TIFF format with size upto 20MB. +// A TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document +// in .PDF, .TIF or .TIFF format with size upto 20MB. // // AutoML Natural Language Sentiment Analysis // -// A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in -// .PDF, .TIF or .TIFF format with size upto 2MB. +// A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in +// .PDF, .TIF or .TIFF format with size upto 2MB. // // AutoML Translation // -// A TextSnippet up to 25,000 characters, UTF-8 encoded. +// A TextSnippet up to 25,000 characters, UTF-8 encoded. // // AutoML Tables // -// A row with column values matching -// the columns of the model, up to 5MB. Not available for FORECASTING -// prediction_type. +// A row with column values matching +// the columns of the model, up to 5MB. Not available for FORECASTING +// prediction_type. func (c *PredictionClient) Predict(ctx context.Context, req *automlpb.PredictRequest, opts ...gax.CallOption) (*automlpb.PredictResponse, error) { return c.internalClient.Predict(ctx, req, opts...) } @@ -183,19 +183,19 @@ func (c *PredictionClient) Predict(ctx context.Context, req *automlpb.PredictReq // the response field. // Available for following ML scenarios: // -// AutoML Vision Classification +// AutoML Vision Classification // -// AutoML Vision Object Detection +// AutoML Vision Object Detection // -// AutoML Video Intelligence Classification +// AutoML Video Intelligence Classification // -// AutoML Video Intelligence Object Tracking * AutoML Natural Language Classification +// AutoML Video Intelligence Object Tracking * AutoML Natural Language Classification // -// AutoML Natural Language Entity Extraction +// AutoML Natural Language Entity Extraction // -// AutoML Natural Language Sentiment Analysis +// AutoML Natural Language Sentiment Analysis // -// AutoML Tables +// AutoML Tables func (c *PredictionClient) BatchPredict(ctx context.Context, req *automlpb.BatchPredictRequest, opts ...gax.CallOption) (*BatchPredictOperation, error) { return c.internalClient.BatchPredict(ctx, req, opts...) } @@ -427,36 +427,36 @@ func (c *predictionGRPCClient) BatchPredict(ctx context.Context, req *automlpb.B // // AutoML Vision Classification // -// An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB. +// An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB. // // AutoML Vision Object Detection // -// An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB. +// An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB. // // AutoML Natural Language Classification // -// A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in -// .PDF, .TIF or .TIFF format with size upto 2MB. +// A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in +// .PDF, .TIF or .TIFF format with size upto 2MB. // // AutoML Natural Language Entity Extraction // -// A TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document -// in .PDF, .TIF or .TIFF format with size upto 20MB. +// A TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document +// in .PDF, .TIF or .TIFF format with size upto 20MB. // // AutoML Natural Language Sentiment Analysis // -// A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in -// .PDF, .TIF or .TIFF format with size upto 2MB. +// A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in +// .PDF, .TIF or .TIFF format with size upto 2MB. // // AutoML Translation // -// A TextSnippet up to 25,000 characters, UTF-8 encoded. +// A TextSnippet up to 25,000 characters, UTF-8 encoded. // // AutoML Tables // -// A row with column values matching -// the columns of the model, up to 5MB. Not available for FORECASTING -// prediction_type. +// A row with column values matching +// the columns of the model, up to 5MB. Not available for FORECASTING +// prediction_type. func (c *predictionRESTClient) Predict(ctx context.Context, req *automlpb.PredictRequest, opts ...gax.CallOption) (*automlpb.PredictResponse, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -530,19 +530,19 @@ func (c *predictionRESTClient) Predict(ctx context.Context, req *automlpb.Predic // the response field. // Available for following ML scenarios: // -// AutoML Vision Classification +// AutoML Vision Classification // -// AutoML Vision Object Detection +// AutoML Vision Object Detection // -// AutoML Video Intelligence Classification +// AutoML Video Intelligence Classification // -// AutoML Video Intelligence Object Tracking * AutoML Natural Language Classification +// AutoML Video Intelligence Object Tracking * AutoML Natural Language Classification // -// AutoML Natural Language Entity Extraction +// AutoML Natural Language Entity Extraction // -// AutoML Natural Language Sentiment Analysis +// AutoML Natural Language Sentiment Analysis // -// AutoML Tables +// AutoML Tables func (c *predictionRESTClient) BatchPredict(ctx context.Context, req *automlpb.BatchPredictRequest, opts ...gax.CallOption) (*BatchPredictOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/automl/apiv1beta1/auto_ml_client.go b/automl/apiv1beta1/auto_ml_client.go index 592b725474e5..fd8be89a40de 100755 --- a/automl/apiv1beta1/auto_ml_client.go +++ b/automl/apiv1beta1/auto_ml_client.go @@ -600,11 +600,11 @@ func (c *Client) DeleteDatasetOperation(name string) *DeleteDatasetOperation { // // For Tables: // -// A -// schema_inference_version -// parameter must be explicitly set. -// Returns an empty response in the -// response field when it completes. +// A +// schema_inference_version +// parameter must be explicitly set. +// Returns an empty response in the +// response field when it completes. func (c *Client) ImportData(ctx context.Context, req *automlpb.ImportDataRequest, opts ...gax.CallOption) (*ImportDataOperation, error) { return c.internalClient.ImportData(ctx, req, opts...) } @@ -1947,11 +1947,11 @@ func (c *restClient) DeleteDataset(ctx context.Context, req *automlpb.DeleteData // // For Tables: // -// A -// schema_inference_version -// parameter must be explicitly set. -// Returns an empty response in the -// response field when it completes. +// A +// schema_inference_version +// parameter must be explicitly set. +// Returns an empty response in the +// response field when it completes. func (c *restClient) ImportData(ctx context.Context, req *automlpb.ImportDataRequest, opts ...gax.CallOption) (*ImportDataOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/automl/apiv1beta1/automlpb/annotation_payload.pb.go b/automl/apiv1beta1/automlpb/annotation_payload.pb.go index dfe4704d0cab..60b735223d15 100755 --- a/automl/apiv1beta1/automlpb/annotation_payload.pb.go +++ b/automl/apiv1beta1/automlpb/annotation_payload.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/annotation_spec.pb.go b/automl/apiv1beta1/automlpb/annotation_spec.pb.go index 45ca93d78c4f..5ef9d1499d9d 100755 --- a/automl/apiv1beta1/automlpb/annotation_spec.pb.go +++ b/automl/apiv1beta1/automlpb/annotation_spec.pb.go @@ -21,12 +21,11 @@ package automlpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/classification.pb.go b/automl/apiv1beta1/automlpb/classification.pb.go index 92247231bc48..45e09e5e406e 100755 --- a/automl/apiv1beta1/automlpb/classification.pb.go +++ b/automl/apiv1beta1/automlpb/classification.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/column_spec.pb.go b/automl/apiv1beta1/automlpb/column_spec.pb.go index f494bc2324a7..3c92fc4c4f60 100755 --- a/automl/apiv1beta1/automlpb/column_spec.pb.go +++ b/automl/apiv1beta1/automlpb/column_spec.pb.go @@ -21,12 +21,11 @@ package automlpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( @@ -39,7 +38,7 @@ const ( // A representation of a column in a relational table. When listing them, column specs are returned in the same order in which they were // given on import . // Used by: -// - Tables +// * Tables type ColumnSpec struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/automl/apiv1beta1/automlpb/data_items.pb.go b/automl/apiv1beta1/automlpb/data_items.pb.go index f76827151418..04416880462c 100755 --- a/automl/apiv1beta1/automlpb/data_items.pb.go +++ b/automl/apiv1beta1/automlpb/data_items.pb.go @@ -21,12 +21,11 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/data_stats.pb.go b/automl/apiv1beta1/automlpb/data_stats.pb.go index 38d319196e6d..d0f6901c20d7 100755 --- a/automl/apiv1beta1/automlpb/data_stats.pb.go +++ b/automl/apiv1beta1/automlpb/data_stats.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/data_types.pb.go b/automl/apiv1beta1/automlpb/data_types.pb.go index 7fd553df083d..92fbd8a8c0b6 100755 --- a/automl/apiv1beta1/automlpb/data_types.pb.go +++ b/automl/apiv1beta1/automlpb/data_types.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/dataset.pb.go b/automl/apiv1beta1/automlpb/dataset.pb.go index fb6a27b55dc2..f9301e65c8e6 100755 --- a/automl/apiv1beta1/automlpb/dataset.pb.go +++ b/automl/apiv1beta1/automlpb/dataset.pb.go @@ -21,13 +21,12 @@ package automlpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/detection.pb.go b/automl/apiv1beta1/automlpb/detection.pb.go index 4552ede5a516..adb642dca599 100755 --- a/automl/apiv1beta1/automlpb/detection.pb.go +++ b/automl/apiv1beta1/automlpb/detection.pb.go @@ -21,12 +21,11 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/geometry.pb.go b/automl/apiv1beta1/automlpb/geometry.pb.go index 59eb95d825d4..768e62529b37 100755 --- a/automl/apiv1beta1/automlpb/geometry.pb.go +++ b/automl/apiv1beta1/automlpb/geometry.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/image.pb.go b/automl/apiv1beta1/automlpb/image.pb.go index 6da2b0a818bb..546535cbb2b6 100755 --- a/automl/apiv1beta1/automlpb/image.pb.go +++ b/automl/apiv1beta1/automlpb/image.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/io.pb.go b/automl/apiv1beta1/automlpb/io.pb.go index 313ea7a64bfa..894478b8b755 100755 --- a/automl/apiv1beta1/automlpb/io.pb.go +++ b/automl/apiv1beta1/automlpb/io.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( @@ -51,351 +50,348 @@ const ( // The formats are represented in EBNF with commas being literal and with // non-terminal symbols defined near the end of this comment. The formats are: // -// - For Image Classification: -// CSV file(s) with each line in format: -// ML_USE,GCS_FILE_PATH,LABEL,LABEL,... -// GCS_FILE_PATH leads to image of up to 30MB in size. Supported -// extensions: .JPEG, .GIF, .PNG, .WEBP, .BMP, .TIFF, .ICO -// For MULTICLASS classification type, at most one LABEL is allowed -// per image. If an image has not yet been labeled, then it should be -// mentioned just once with no LABEL. -// Some sample rows: -// TRAIN,gs://folder/image1.jpg,daisy -// TEST,gs://folder/image2.jpg,dandelion,tulip,rose -// UNASSIGNED,gs://folder/image3.jpg,daisy -// UNASSIGNED,gs://folder/image4.jpg -// -// - For Image Object Detection: -// CSV file(s) with each line in format: -// ML_USE,GCS_FILE_PATH,(LABEL,BOUNDING_BOX | ,,,,,,,) -// GCS_FILE_PATH leads to image of up to 30MB in size. Supported -// extensions: .JPEG, .GIF, .PNG. -// Each image is assumed to be exhaustively labeled. The minimum -// allowed BOUNDING_BOX edge length is 0.01, and no more than 500 -// BOUNDING_BOX-es per image are allowed (one BOUNDING_BOX is defined -// per line). If an image has not yet been labeled, then it should be -// mentioned just once with no LABEL and the ",,,,,,," in place of the -// BOUNDING_BOX. For images which are known to not contain any -// bounding boxes, they should be labelled explictly as -// "NEGATIVE_IMAGE", followed by ",,,,,,," in place of the -// BOUNDING_BOX. -// Sample rows: -// TRAIN,gs://folder/image1.png,car,0.1,0.1,,,0.3,0.3,, -// TRAIN,gs://folder/image1.png,bike,.7,.6,,,.8,.9,, -// UNASSIGNED,gs://folder/im2.png,car,0.1,0.1,0.2,0.1,0.2,0.3,0.1,0.3 -// TEST,gs://folder/im3.png,,,,,,,,, -// TRAIN,gs://folder/im4.png,NEGATIVE_IMAGE,,,,,,,,, -// -// - For Video Classification: -// CSV file(s) with each line in format: -// ML_USE,GCS_FILE_PATH -// where ML_USE VALIDATE value should not be used. The GCS_FILE_PATH -// should lead to another .csv file which describes examples that have -// given ML_USE, using the following row format: -// GCS_FILE_PATH,(LABEL,TIME_SEGMENT_START,TIME_SEGMENT_END | ,,) -// Here GCS_FILE_PATH leads to a video of up to 50GB in size and up -// to 3h duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. -// TIME_SEGMENT_START and TIME_SEGMENT_END must be within the -// length of the video, and end has to be after the start. Any segment -// of a video which has one or more labels on it, is considered a -// hard negative for all other labels. Any segment with no labels on -// it is considered to be unknown. If a whole video is unknown, then -// it shuold be mentioned just once with ",," in place of LABEL, -// TIME_SEGMENT_START,TIME_SEGMENT_END. -// Sample top level CSV file: -// TRAIN,gs://folder/train_videos.csv -// TEST,gs://folder/test_videos.csv -// UNASSIGNED,gs://folder/other_videos.csv -// Sample rows of a CSV file for a particular ML_USE: -// gs://folder/video1.avi,car,120,180.000021 -// gs://folder/video1.avi,bike,150,180.000021 -// gs://folder/vid2.avi,car,0,60.5 -// gs://folder/vid3.avi,,, -// -// - For Video Object Tracking: -// CSV file(s) with each line in format: -// ML_USE,GCS_FILE_PATH -// where ML_USE VALIDATE value should not be used. The GCS_FILE_PATH -// should lead to another .csv file which describes examples that have -// given ML_USE, using one of the following row format: -// GCS_FILE_PATH,LABEL,[INSTANCE_ID],TIMESTAMP,BOUNDING_BOX -// or -// GCS_FILE_PATH,,,,,,,,,, -// Here GCS_FILE_PATH leads to a video of up to 50GB in size and up -// to 3h duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. -// Providing INSTANCE_IDs can help to obtain a better model. When -// a specific labeled entity leaves the video frame, and shows up -// afterwards it is not required, albeit preferable, that the same -// INSTANCE_ID is given to it. -// TIMESTAMP must be within the length of the video, the -// BOUNDING_BOX is assumed to be drawn on the closest video's frame -// to the TIMESTAMP. Any mentioned by the TIMESTAMP frame is expected -// to be exhaustively labeled and no more than 500 BOUNDING_BOX-es per -// frame are allowed. If a whole video is unknown, then it should be -// mentioned just once with ",,,,,,,,,," in place of LABEL, -// [INSTANCE_ID],TIMESTAMP,BOUNDING_BOX. -// Sample top level CSV file: -// TRAIN,gs://folder/train_videos.csv -// TEST,gs://folder/test_videos.csv -// UNASSIGNED,gs://folder/other_videos.csv -// Seven sample rows of a CSV file for a particular ML_USE: -// gs://folder/video1.avi,car,1,12.10,0.8,0.8,0.9,0.8,0.9,0.9,0.8,0.9 -// gs://folder/video1.avi,car,1,12.90,0.4,0.8,0.5,0.8,0.5,0.9,0.4,0.9 -// gs://folder/video1.avi,car,2,12.10,.4,.2,.5,.2,.5,.3,.4,.3 -// gs://folder/video1.avi,car,2,12.90,.8,.2,,,.9,.3,, -// gs://folder/video1.avi,bike,,12.50,.45,.45,,,.55,.55,, -// gs://folder/video2.avi,car,1,0,.1,.9,,,.9,.1,, -// gs://folder/video2.avi,,,,,,,,,,, -// -// - For Text Extraction: -// CSV file(s) with each line in format: -// ML_USE,GCS_FILE_PATH -// GCS_FILE_PATH leads to a .JSONL (that is, JSON Lines) file which -// either imports text in-line or as documents. Any given -// .JSONL file must be 100MB or smaller. -// The in-line .JSONL file contains, per line, a proto that wraps a -// TextSnippet proto (in json representation) followed by one or more -// AnnotationPayload protos (called annotations), which have -// display_name and text_extraction detail populated. The given text -// is expected to be annotated exhaustively, for example, if you look -// for animals and text contains "dolphin" that is not labeled, then -// "dolphin" is assumed to not be an animal. Any given text snippet -// content must be 10KB or smaller, and also be UTF-8 NFC encoded -// (ASCII already is). -// The document .JSONL file contains, per line, a proto that wraps a -// Document proto. The Document proto must have either document_text -// or input_config set. In document_text case, the Document proto may -// also contain the spatial information of the document, including -// layout, document dimension and page number. In input_config case, -// only PDF documents are supported now, and each document may be up -// to 2MB large. Currently, annotations on documents cannot be -// specified at import. -// Three sample CSV rows: -// TRAIN,gs://folder/file1.jsonl -// VALIDATE,gs://folder/file2.jsonl -// TEST,gs://folder/file3.jsonl -// Sample in-line JSON Lines file for entity extraction (presented here -// with artificial line breaks, but the only actual line break is -// denoted by \n).: -// { -// "document": { -// "document_text": {"content": "dog cat"} -// "layout": [ -// { -// "text_segment": { -// "start_offset": 0, -// "end_offset": 3, -// }, -// "page_number": 1, -// "bounding_poly": { -// "normalized_vertices": [ -// {"x": 0.1, "y": 0.1}, -// {"x": 0.1, "y": 0.3}, -// {"x": 0.3, "y": 0.3}, -// {"x": 0.3, "y": 0.1}, -// ], -// }, -// "text_segment_type": TOKEN, -// }, -// { -// "text_segment": { -// "start_offset": 4, -// "end_offset": 7, -// }, -// "page_number": 1, -// "bounding_poly": { -// "normalized_vertices": [ -// {"x": 0.4, "y": 0.1}, -// {"x": 0.4, "y": 0.3}, -// {"x": 0.8, "y": 0.3}, -// {"x": 0.8, "y": 0.1}, -// ], -// }, -// "text_segment_type": TOKEN, -// } -// -// ], -// "document_dimensions": { -// "width": 8.27, -// "height": 11.69, -// "unit": INCH, -// } -// "page_count": 1, -// }, -// "annotations": [ -// { -// "display_name": "animal", -// "text_extraction": {"text_segment": {"start_offset": 0, -// "end_offset": 3}} -// }, -// { -// "display_name": "animal", -// "text_extraction": {"text_segment": {"start_offset": 4, -// "end_offset": 7}} -// } -// ], -// }\n -// { -// "text_snippet": { -// "content": "This dog is good." -// }, -// "annotations": [ -// { -// "display_name": "animal", -// "text_extraction": { -// "text_segment": {"start_offset": 5, "end_offset": 8} -// } -// } -// ] -// } -// Sample document JSON Lines file (presented here with artificial line -// breaks, but the only actual line break is denoted by \n).: -// { -// "document": { -// "input_config": { -// "gcs_source": { "input_uris": [ "gs://folder/document1.pdf" ] -// } -// } -// } -// }\n -// { -// "document": { -// "input_config": { -// "gcs_source": { "input_uris": [ "gs://folder/document2.pdf" ] -// } -// } -// } -// } -// -// - For Text Classification: -// CSV file(s) with each line in format: -// ML_USE,(TEXT_SNIPPET | GCS_FILE_PATH),LABEL,LABEL,... -// TEXT_SNIPPET and GCS_FILE_PATH are distinguished by a pattern. If -// the column content is a valid gcs file path, i.e. prefixed by -// "gs://", it will be treated as a GCS_FILE_PATH, else if the content -// is enclosed within double quotes (""), it is -// treated as a TEXT_SNIPPET. In the GCS_FILE_PATH case, the path -// must lead to a .txt file with UTF-8 encoding, for example, -// "gs://folder/content.txt", and the content in it is extracted -// as a text snippet. In TEXT_SNIPPET case, the column content -// excluding quotes is treated as to be imported text snippet. In -// both cases, the text snippet/file size must be within 128kB. -// Maximum 100 unique labels are allowed per CSV row. -// Sample rows: -// TRAIN,"They have bad food and very rude",RudeService,BadFood -// TRAIN,gs://folder/content.txt,SlowService -// TEST,"Typically always bad service there.",RudeService -// VALIDATE,"Stomach ache to go.",BadFood -// -// - For Text Sentiment: -// CSV file(s) with each line in format: -// ML_USE,(TEXT_SNIPPET | GCS_FILE_PATH),SENTIMENT -// TEXT_SNIPPET and GCS_FILE_PATH are distinguished by a pattern. If -// the column content is a valid gcs file path, that is, prefixed by -// "gs://", it is treated as a GCS_FILE_PATH, otherwise it is treated -// as a TEXT_SNIPPET. In the GCS_FILE_PATH case, the path -// must lead to a .txt file with UTF-8 encoding, for example, -// "gs://folder/content.txt", and the content in it is extracted -// as a text snippet. In TEXT_SNIPPET case, the column content itself -// is treated as to be imported text snippet. In both cases, the -// text snippet must be up to 500 characters long. -// Sample rows: -// TRAIN,"@freewrytin this is way too good for your product",2 -// TRAIN,"I need this product so bad",3 -// TEST,"Thank you for this product.",4 -// VALIDATE,gs://folder/content.txt,2 -// -// - For Tables: -// Either -// [gcs_source][google.cloud.automl.v1beta1.InputConfig.gcs_source] or +// * For Image Classification: +// CSV file(s) with each line in format: +// ML_USE,GCS_FILE_PATH,LABEL,LABEL,... +// GCS_FILE_PATH leads to image of up to 30MB in size. Supported +// extensions: .JPEG, .GIF, .PNG, .WEBP, .BMP, .TIFF, .ICO +// For MULTICLASS classification type, at most one LABEL is allowed +// per image. If an image has not yet been labeled, then it should be +// mentioned just once with no LABEL. +// Some sample rows: +// TRAIN,gs://folder/image1.jpg,daisy +// TEST,gs://folder/image2.jpg,dandelion,tulip,rose +// UNASSIGNED,gs://folder/image3.jpg,daisy +// UNASSIGNED,gs://folder/image4.jpg +// +// * For Image Object Detection: +// CSV file(s) with each line in format: +// ML_USE,GCS_FILE_PATH,(LABEL,BOUNDING_BOX | ,,,,,,,) +// GCS_FILE_PATH leads to image of up to 30MB in size. Supported +// extensions: .JPEG, .GIF, .PNG. +// Each image is assumed to be exhaustively labeled. The minimum +// allowed BOUNDING_BOX edge length is 0.01, and no more than 500 +// BOUNDING_BOX-es per image are allowed (one BOUNDING_BOX is defined +// per line). If an image has not yet been labeled, then it should be +// mentioned just once with no LABEL and the ",,,,,,," in place of the +// BOUNDING_BOX. For images which are known to not contain any +// bounding boxes, they should be labelled explictly as +// "NEGATIVE_IMAGE", followed by ",,,,,,," in place of the +// BOUNDING_BOX. +// Sample rows: +// TRAIN,gs://folder/image1.png,car,0.1,0.1,,,0.3,0.3,, +// TRAIN,gs://folder/image1.png,bike,.7,.6,,,.8,.9,, +// UNASSIGNED,gs://folder/im2.png,car,0.1,0.1,0.2,0.1,0.2,0.3,0.1,0.3 +// TEST,gs://folder/im3.png,,,,,,,,, +// TRAIN,gs://folder/im4.png,NEGATIVE_IMAGE,,,,,,,,, +// +// * For Video Classification: +// CSV file(s) with each line in format: +// ML_USE,GCS_FILE_PATH +// where ML_USE VALIDATE value should not be used. The GCS_FILE_PATH +// should lead to another .csv file which describes examples that have +// given ML_USE, using the following row format: +// GCS_FILE_PATH,(LABEL,TIME_SEGMENT_START,TIME_SEGMENT_END | ,,) +// Here GCS_FILE_PATH leads to a video of up to 50GB in size and up +// to 3h duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. +// TIME_SEGMENT_START and TIME_SEGMENT_END must be within the +// length of the video, and end has to be after the start. Any segment +// of a video which has one or more labels on it, is considered a +// hard negative for all other labels. Any segment with no labels on +// it is considered to be unknown. If a whole video is unknown, then +// it shuold be mentioned just once with ",," in place of LABEL, +// TIME_SEGMENT_START,TIME_SEGMENT_END. +// Sample top level CSV file: +// TRAIN,gs://folder/train_videos.csv +// TEST,gs://folder/test_videos.csv +// UNASSIGNED,gs://folder/other_videos.csv +// Sample rows of a CSV file for a particular ML_USE: +// gs://folder/video1.avi,car,120,180.000021 +// gs://folder/video1.avi,bike,150,180.000021 +// gs://folder/vid2.avi,car,0,60.5 +// gs://folder/vid3.avi,,, +// +// * For Video Object Tracking: +// CSV file(s) with each line in format: +// ML_USE,GCS_FILE_PATH +// where ML_USE VALIDATE value should not be used. The GCS_FILE_PATH +// should lead to another .csv file which describes examples that have +// given ML_USE, using one of the following row format: +// GCS_FILE_PATH,LABEL,[INSTANCE_ID],TIMESTAMP,BOUNDING_BOX +// or +// GCS_FILE_PATH,,,,,,,,,, +// Here GCS_FILE_PATH leads to a video of up to 50GB in size and up +// to 3h duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. +// Providing INSTANCE_IDs can help to obtain a better model. When +// a specific labeled entity leaves the video frame, and shows up +// afterwards it is not required, albeit preferable, that the same +// INSTANCE_ID is given to it. +// TIMESTAMP must be within the length of the video, the +// BOUNDING_BOX is assumed to be drawn on the closest video's frame +// to the TIMESTAMP. Any mentioned by the TIMESTAMP frame is expected +// to be exhaustively labeled and no more than 500 BOUNDING_BOX-es per +// frame are allowed. If a whole video is unknown, then it should be +// mentioned just once with ",,,,,,,,,," in place of LABEL, +// [INSTANCE_ID],TIMESTAMP,BOUNDING_BOX. +// Sample top level CSV file: +// TRAIN,gs://folder/train_videos.csv +// TEST,gs://folder/test_videos.csv +// UNASSIGNED,gs://folder/other_videos.csv +// Seven sample rows of a CSV file for a particular ML_USE: +// gs://folder/video1.avi,car,1,12.10,0.8,0.8,0.9,0.8,0.9,0.9,0.8,0.9 +// gs://folder/video1.avi,car,1,12.90,0.4,0.8,0.5,0.8,0.5,0.9,0.4,0.9 +// gs://folder/video1.avi,car,2,12.10,.4,.2,.5,.2,.5,.3,.4,.3 +// gs://folder/video1.avi,car,2,12.90,.8,.2,,,.9,.3,, +// gs://folder/video1.avi,bike,,12.50,.45,.45,,,.55,.55,, +// gs://folder/video2.avi,car,1,0,.1,.9,,,.9,.1,, +// gs://folder/video2.avi,,,,,,,,,,, +// * For Text Extraction: +// CSV file(s) with each line in format: +// ML_USE,GCS_FILE_PATH +// GCS_FILE_PATH leads to a .JSONL (that is, JSON Lines) file which +// either imports text in-line or as documents. Any given +// .JSONL file must be 100MB or smaller. +// The in-line .JSONL file contains, per line, a proto that wraps a +// TextSnippet proto (in json representation) followed by one or more +// AnnotationPayload protos (called annotations), which have +// display_name and text_extraction detail populated. The given text +// is expected to be annotated exhaustively, for example, if you look +// for animals and text contains "dolphin" that is not labeled, then +// "dolphin" is assumed to not be an animal. Any given text snippet +// content must be 10KB or smaller, and also be UTF-8 NFC encoded +// (ASCII already is). +// The document .JSONL file contains, per line, a proto that wraps a +// Document proto. The Document proto must have either document_text +// or input_config set. In document_text case, the Document proto may +// also contain the spatial information of the document, including +// layout, document dimension and page number. In input_config case, +// only PDF documents are supported now, and each document may be up +// to 2MB large. Currently, annotations on documents cannot be +// specified at import. +// Three sample CSV rows: +// TRAIN,gs://folder/file1.jsonl +// VALIDATE,gs://folder/file2.jsonl +// TEST,gs://folder/file3.jsonl +// Sample in-line JSON Lines file for entity extraction (presented here +// with artificial line breaks, but the only actual line break is +// denoted by \n).: +// { +// "document": { +// "document_text": {"content": "dog cat"} +// "layout": [ +// { +// "text_segment": { +// "start_offset": 0, +// "end_offset": 3, +// }, +// "page_number": 1, +// "bounding_poly": { +// "normalized_vertices": [ +// {"x": 0.1, "y": 0.1}, +// {"x": 0.1, "y": 0.3}, +// {"x": 0.3, "y": 0.3}, +// {"x": 0.3, "y": 0.1}, +// ], +// }, +// "text_segment_type": TOKEN, +// }, +// { +// "text_segment": { +// "start_offset": 4, +// "end_offset": 7, +// }, +// "page_number": 1, +// "bounding_poly": { +// "normalized_vertices": [ +// {"x": 0.4, "y": 0.1}, +// {"x": 0.4, "y": 0.3}, +// {"x": 0.8, "y": 0.3}, +// {"x": 0.8, "y": 0.1}, +// ], +// }, +// "text_segment_type": TOKEN, +// } +// +// ], +// "document_dimensions": { +// "width": 8.27, +// "height": 11.69, +// "unit": INCH, +// } +// "page_count": 1, +// }, +// "annotations": [ +// { +// "display_name": "animal", +// "text_extraction": {"text_segment": {"start_offset": 0, +// "end_offset": 3}} +// }, +// { +// "display_name": "animal", +// "text_extraction": {"text_segment": {"start_offset": 4, +// "end_offset": 7}} +// } +// ], +// }\n +// { +// "text_snippet": { +// "content": "This dog is good." +// }, +// "annotations": [ +// { +// "display_name": "animal", +// "text_extraction": { +// "text_segment": {"start_offset": 5, "end_offset": 8} +// } +// } +// ] +// } +// Sample document JSON Lines file (presented here with artificial line +// breaks, but the only actual line break is denoted by \n).: +// { +// "document": { +// "input_config": { +// "gcs_source": { "input_uris": [ "gs://folder/document1.pdf" ] +// } +// } +// } +// }\n +// { +// "document": { +// "input_config": { +// "gcs_source": { "input_uris": [ "gs://folder/document2.pdf" ] +// } +// } +// } +// } +// +// * For Text Classification: +// CSV file(s) with each line in format: +// ML_USE,(TEXT_SNIPPET | GCS_FILE_PATH),LABEL,LABEL,... +// TEXT_SNIPPET and GCS_FILE_PATH are distinguished by a pattern. If +// the column content is a valid gcs file path, i.e. prefixed by +// "gs://", it will be treated as a GCS_FILE_PATH, else if the content +// is enclosed within double quotes (""), it is +// treated as a TEXT_SNIPPET. In the GCS_FILE_PATH case, the path +// must lead to a .txt file with UTF-8 encoding, for example, +// "gs://folder/content.txt", and the content in it is extracted +// as a text snippet. In TEXT_SNIPPET case, the column content +// excluding quotes is treated as to be imported text snippet. In +// both cases, the text snippet/file size must be within 128kB. +// Maximum 100 unique labels are allowed per CSV row. +// Sample rows: +// TRAIN,"They have bad food and very rude",RudeService,BadFood +// TRAIN,gs://folder/content.txt,SlowService +// TEST,"Typically always bad service there.",RudeService +// VALIDATE,"Stomach ache to go.",BadFood +// +// * For Text Sentiment: +// CSV file(s) with each line in format: +// ML_USE,(TEXT_SNIPPET | GCS_FILE_PATH),SENTIMENT +// TEXT_SNIPPET and GCS_FILE_PATH are distinguished by a pattern. If +// the column content is a valid gcs file path, that is, prefixed by +// "gs://", it is treated as a GCS_FILE_PATH, otherwise it is treated +// as a TEXT_SNIPPET. In the GCS_FILE_PATH case, the path +// must lead to a .txt file with UTF-8 encoding, for example, +// "gs://folder/content.txt", and the content in it is extracted +// as a text snippet. In TEXT_SNIPPET case, the column content itself +// is treated as to be imported text snippet. In both cases, the +// text snippet must be up to 500 characters long. +// Sample rows: +// TRAIN,"@freewrytin this is way too good for your product",2 +// TRAIN,"I need this product so bad",3 +// TEST,"Thank you for this product.",4 +// VALIDATE,gs://folder/content.txt,2 +// +// * For Tables: +// Either +// [gcs_source][google.cloud.automl.v1beta1.InputConfig.gcs_source] or // // [bigquery_source][google.cloud.automl.v1beta1.InputConfig.bigquery_source] -// -// can be used. All inputs is concatenated into a single +// can be used. All inputs is concatenated into a single // // [primary_table][google.cloud.automl.v1beta1.TablesDatasetMetadata.primary_table_name] -// -// For gcs_source: -// CSV file(s), where the first row of the first file is the header, -// containing unique column names. If the first row of a subsequent -// file is the same as the header, then it is also treated as a -// header. All other rows contain values for the corresponding -// columns. -// Each .CSV file by itself must be 10GB or smaller, and their total -// size must be 100GB or smaller. -// First three sample rows of a CSV file: -// "Id","First Name","Last Name","Dob","Addresses" +// For gcs_source: +// CSV file(s), where the first row of the first file is the header, +// containing unique column names. If the first row of a subsequent +// file is the same as the header, then it is also treated as a +// header. All other rows contain values for the corresponding +// columns. +// Each .CSV file by itself must be 10GB or smaller, and their total +// size must be 100GB or smaller. +// First three sample rows of a CSV file: +// "Id","First Name","Last Name","Dob","Addresses" // // "1","John","Doe","1968-01-22","[{"status":"current","address":"123_First_Avenue","city":"Seattle","state":"WA","zip":"11111","numberOfYears":"1"},{"status":"previous","address":"456_Main_Street","city":"Portland","state":"OR","zip":"22222","numberOfYears":"5"}]" // // "2","Jane","Doe","1980-10-16","[{"status":"current","address":"789_Any_Avenue","city":"Albany","state":"NY","zip":"33333","numberOfYears":"2"},{"status":"previous","address":"321_Main_Street","city":"Hoboken","state":"NJ","zip":"44444","numberOfYears":"3"}]} +// For bigquery_source: +// An URI of a BigQuery table. The user data size of the BigQuery +// table must be 100GB or smaller. +// An imported table must have between 2 and 1,000 columns, inclusive, +// and between 1000 and 100,000,000 rows, inclusive. There are at most 5 +// import data running in parallel. +// Definitions: +// ML_USE = "TRAIN" | "VALIDATE" | "TEST" | "UNASSIGNED" +// Describes how the given example (file) should be used for model +// training. "UNASSIGNED" can be used when user has no preference. +// GCS_FILE_PATH = A path to file on GCS, e.g. "gs://folder/image1.png". +// LABEL = A display name of an object on an image, video etc., e.g. "dog". +// Must be up to 32 characters long and can consist only of ASCII +// Latin letters A-Z and a-z, underscores(_), and ASCII digits 0-9. +// For each label an AnnotationSpec is created which display_name +// becomes the label; AnnotationSpecs are given back in predictions. +// INSTANCE_ID = A positive integer that identifies a specific instance of a +// labeled entity on an example. Used e.g. to track two cars on +// a video while being able to tell apart which one is which. +// BOUNDING_BOX = VERTEX,VERTEX,VERTEX,VERTEX | VERTEX,,,VERTEX,, +// A rectangle parallel to the frame of the example (image, +// video). If 4 vertices are given they are connected by edges +// in the order provided, if 2 are given they are recognized +// as diagonally opposite vertices of the rectangle. +// VERTEX = COORDINATE,COORDINATE +// First coordinate is horizontal (x), the second is vertical (y). +// COORDINATE = A float in 0 to 1 range, relative to total length of +// image or video in given dimension. For fractions the +// leading non-decimal 0 can be omitted (i.e. 0.3 = .3). +// Point 0,0 is in top left. +// TIME_SEGMENT_START = TIME_OFFSET +// Expresses a beginning, inclusive, of a time segment +// within an example that has a time dimension +// (e.g. video). +// TIME_SEGMENT_END = TIME_OFFSET +// Expresses an end, exclusive, of a time segment within +// an example that has a time dimension (e.g. video). +// TIME_OFFSET = A number of seconds as measured from the start of an +// example (e.g. video). Fractions are allowed, up to a +// microsecond precision. "inf" is allowed, and it means the end +// of the example. +// TEXT_SNIPPET = A content of a text snippet, UTF-8 encoded, enclosed within +// double quotes (""). +// SENTIMENT = An integer between 0 and +// Dataset.text_sentiment_dataset_metadata.sentiment_max +// (inclusive). Describes the ordinal of the sentiment - higher +// value means a more positive sentiment. All the values are +// completely relative, i.e. neither 0 needs to mean a negative or +// neutral sentiment nor sentiment_max needs to mean a positive one +// - it is just required that 0 is the least positive sentiment +// in the data, and sentiment_max is the most positive one. +// The SENTIMENT shouldn't be confused with "score" or "magnitude" +// from the previous Natural Language Sentiment Analysis API. +// All SENTIMENT values between 0 and sentiment_max must be +// represented in the imported data. On prediction the same 0 to +// sentiment_max range will be used. The difference between +// neighboring sentiment values needs not to be uniform, e.g. 1 and +// 2 may be similar whereas the difference between 2 and 3 may be +// huge. +// +// Errors: +// If any of the provided CSV files can't be parsed or if more than certain +// percent of CSV rows cannot be processed then the operation fails and +// nothing is imported. Regardless of overall success or failure the per-row +// failures, up to a certain count cap, is listed in +// Operation.metadata.partial_failures. // -// For bigquery_source: -// An URI of a BigQuery table. The user data size of the BigQuery -// table must be 100GB or smaller. -// An imported table must have between 2 and 1,000 columns, inclusive, -// and between 1000 and 100,000,000 rows, inclusive. There are at most 5 -// import data running in parallel. -// Definitions: -// ML_USE = "TRAIN" | "VALIDATE" | "TEST" | "UNASSIGNED" -// Describes how the given example (file) should be used for model -// training. "UNASSIGNED" can be used when user has no preference. -// GCS_FILE_PATH = A path to file on GCS, e.g. "gs://folder/image1.png". -// LABEL = A display name of an object on an image, video etc., e.g. "dog". -// Must be up to 32 characters long and can consist only of ASCII -// Latin letters A-Z and a-z, underscores(_), and ASCII digits 0-9. -// For each label an AnnotationSpec is created which display_name -// becomes the label; AnnotationSpecs are given back in predictions. -// INSTANCE_ID = A positive integer that identifies a specific instance of a -// labeled entity on an example. Used e.g. to track two cars on -// a video while being able to tell apart which one is which. -// BOUNDING_BOX = VERTEX,VERTEX,VERTEX,VERTEX | VERTEX,,,VERTEX,, -// A rectangle parallel to the frame of the example (image, -// video). If 4 vertices are given they are connected by edges -// in the order provided, if 2 are given they are recognized -// as diagonally opposite vertices of the rectangle. -// VERTEX = COORDINATE,COORDINATE -// First coordinate is horizontal (x), the second is vertical (y). -// COORDINATE = A float in 0 to 1 range, relative to total length of -// image or video in given dimension. For fractions the -// leading non-decimal 0 can be omitted (i.e. 0.3 = .3). -// Point 0,0 is in top left. -// TIME_SEGMENT_START = TIME_OFFSET -// Expresses a beginning, inclusive, of a time segment -// within an example that has a time dimension -// (e.g. video). -// TIME_SEGMENT_END = TIME_OFFSET -// Expresses an end, exclusive, of a time segment within -// an example that has a time dimension (e.g. video). -// TIME_OFFSET = A number of seconds as measured from the start of an -// example (e.g. video). Fractions are allowed, up to a -// microsecond precision. "inf" is allowed, and it means the end -// of the example. -// TEXT_SNIPPET = A content of a text snippet, UTF-8 encoded, enclosed within -// double quotes (""). -// SENTIMENT = An integer between 0 and -// Dataset.text_sentiment_dataset_metadata.sentiment_max -// (inclusive). Describes the ordinal of the sentiment - higher -// value means a more positive sentiment. All the values are -// completely relative, i.e. neither 0 needs to mean a negative or -// neutral sentiment nor sentiment_max needs to mean a positive one -// - it is just required that 0 is the least positive sentiment -// in the data, and sentiment_max is the most positive one. -// The SENTIMENT shouldn't be confused with "score" or "magnitude" -// from the previous Natural Language Sentiment Analysis API. -// All SENTIMENT values between 0 and sentiment_max must be -// represented in the imported data. On prediction the same 0 to -// sentiment_max range will be used. The difference between -// neighboring sentiment values needs not to be uniform, e.g. 1 and -// 2 may be similar whereas the difference between 2 and 3 may be -// huge. -// -// Errors: -// If any of the provided CSV files can't be parsed or if more than certain -// percent of CSV rows cannot be processed then the operation fails and -// nothing is imported. Regardless of overall success or failure the per-row -// failures, up to a certain count cap, is listed in -// Operation.metadata.partial_failures. type InputConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -510,217 +506,207 @@ func (*InputConfig_BigquerySource) isInputConfig_Source() {} // non-terminal symbols defined near the end of this comment. The formats // are: // -// - For Image Classification: -// CSV file(s) with each line having just a single column: -// GCS_FILE_PATH -// which leads to image of up to 30MB in size. Supported -// extensions: .JPEG, .GIF, .PNG. This path is treated as the ID in -// the Batch predict output. -// Three sample rows: -// gs://folder/image1.jpeg -// gs://folder/image2.gif -// gs://folder/image3.png -// -// - For Image Object Detection: -// CSV file(s) with each line having just a single column: -// GCS_FILE_PATH -// which leads to image of up to 30MB in size. Supported -// extensions: .JPEG, .GIF, .PNG. This path is treated as the ID in -// the Batch predict output. -// Three sample rows: -// gs://folder/image1.jpeg -// gs://folder/image2.gif -// gs://folder/image3.png -// -// - For Video Classification: -// CSV file(s) with each line in format: -// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END -// GCS_FILE_PATH leads to video of up to 50GB in size and up to 3h -// duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. -// TIME_SEGMENT_START and TIME_SEGMENT_END must be within the -// length of the video, and end has to be after the start. -// Three sample rows: -// gs://folder/video1.mp4,10,40 -// gs://folder/video1.mp4,20,60 -// gs://folder/vid2.mov,0,inf -// -// - For Video Object Tracking: -// CSV file(s) with each line in format: -// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END -// GCS_FILE_PATH leads to video of up to 50GB in size and up to 3h -// duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. -// TIME_SEGMENT_START and TIME_SEGMENT_END must be within the -// length of the video, and end has to be after the start. -// Three sample rows: -// gs://folder/video1.mp4,10,240 -// gs://folder/video1.mp4,300,360 -// gs://folder/vid2.mov,0,inf -// -// - For Text Classification: -// CSV file(s) with each line having just a single column: -// GCS_FILE_PATH | TEXT_SNIPPET -// Any given text file can have size upto 128kB. -// Any given text snippet content must have 60,000 characters or less. -// Three sample rows: -// gs://folder/text1.txt -// "Some text content to predict" -// gs://folder/text3.pdf -// Supported file extensions: .txt, .pdf -// -// - For Text Sentiment: -// CSV file(s) with each line having just a single column: -// GCS_FILE_PATH | TEXT_SNIPPET -// Any given text file can have size upto 128kB. -// Any given text snippet content must have 500 characters or less. -// Three sample rows: -// gs://folder/text1.txt -// "Some text content to predict" -// gs://folder/text3.pdf -// Supported file extensions: .txt, .pdf -// -// - For Text Extraction -// .JSONL (i.e. JSON Lines) file(s) which either provide text in-line or -// as documents (for a single BatchPredict call only one of the these -// formats may be used). -// The in-line .JSONL file(s) contain per line a proto that -// wraps a temporary user-assigned TextSnippet ID (string up to 2000 -// characters long) called "id", a TextSnippet proto (in -// json representation) and zero or more TextFeature protos. Any given -// text snippet content must have 30,000 characters or less, and also -// be UTF-8 NFC encoded (ASCII already is). The IDs provided should be -// unique. -// The document .JSONL file(s) contain, per line, a proto that wraps a -// Document proto with input_config set. Only PDF documents are -// supported now, and each document must be up to 2MB large. -// Any given .JSONL file must be 100MB or smaller, and no more than 20 -// files may be given. -// Sample in-line JSON Lines file (presented here with artificial line -// breaks, but the only actual line break is denoted by \n): -// { -// "id": "my_first_id", -// "text_snippet": { "content": "dog car cat"}, -// "text_features": [ -// { -// "text_segment": {"start_offset": 4, "end_offset": 6}, -// "structural_type": PARAGRAPH, -// "bounding_poly": { -// "normalized_vertices": [ -// {"x": 0.1, "y": 0.1}, -// {"x": 0.1, "y": 0.3}, -// {"x": 0.3, "y": 0.3}, -// {"x": 0.3, "y": 0.1}, -// ] -// }, -// } -// ], -// }\n -// { -// "id": "2", -// "text_snippet": { -// "content": "An elaborate content", -// "mime_type": "text/plain" -// } -// } -// Sample document JSON Lines file (presented here with artificial line -// breaks, but the only actual line break is denoted by \n).: -// { -// "document": { -// "input_config": { -// "gcs_source": { "input_uris": [ "gs://folder/document1.pdf" ] -// } -// } -// } -// }\n -// { -// "document": { -// "input_config": { -// "gcs_source": { "input_uris": [ "gs://folder/document2.pdf" ] -// } -// } -// } -// } -// -// - For Tables: -// Either -// [gcs_source][google.cloud.automl.v1beta1.InputConfig.gcs_source] or +// * For Image Classification: +// CSV file(s) with each line having just a single column: +// GCS_FILE_PATH +// which leads to image of up to 30MB in size. Supported +// extensions: .JPEG, .GIF, .PNG. This path is treated as the ID in +// the Batch predict output. +// Three sample rows: +// gs://folder/image1.jpeg +// gs://folder/image2.gif +// gs://folder/image3.png +// +// * For Image Object Detection: +// CSV file(s) with each line having just a single column: +// GCS_FILE_PATH +// which leads to image of up to 30MB in size. Supported +// extensions: .JPEG, .GIF, .PNG. This path is treated as the ID in +// the Batch predict output. +// Three sample rows: +// gs://folder/image1.jpeg +// gs://folder/image2.gif +// gs://folder/image3.png +// * For Video Classification: +// CSV file(s) with each line in format: +// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END +// GCS_FILE_PATH leads to video of up to 50GB in size and up to 3h +// duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. +// TIME_SEGMENT_START and TIME_SEGMENT_END must be within the +// length of the video, and end has to be after the start. +// Three sample rows: +// gs://folder/video1.mp4,10,40 +// gs://folder/video1.mp4,20,60 +// gs://folder/vid2.mov,0,inf +// +// * For Video Object Tracking: +// CSV file(s) with each line in format: +// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END +// GCS_FILE_PATH leads to video of up to 50GB in size and up to 3h +// duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. +// TIME_SEGMENT_START and TIME_SEGMENT_END must be within the +// length of the video, and end has to be after the start. +// Three sample rows: +// gs://folder/video1.mp4,10,240 +// gs://folder/video1.mp4,300,360 +// gs://folder/vid2.mov,0,inf +// * For Text Classification: +// CSV file(s) with each line having just a single column: +// GCS_FILE_PATH | TEXT_SNIPPET +// Any given text file can have size upto 128kB. +// Any given text snippet content must have 60,000 characters or less. +// Three sample rows: +// gs://folder/text1.txt +// "Some text content to predict" +// gs://folder/text3.pdf +// Supported file extensions: .txt, .pdf +// +// * For Text Sentiment: +// CSV file(s) with each line having just a single column: +// GCS_FILE_PATH | TEXT_SNIPPET +// Any given text file can have size upto 128kB. +// Any given text snippet content must have 500 characters or less. +// Three sample rows: +// gs://folder/text1.txt +// "Some text content to predict" +// gs://folder/text3.pdf +// Supported file extensions: .txt, .pdf +// +// * For Text Extraction +// .JSONL (i.e. JSON Lines) file(s) which either provide text in-line or +// as documents (for a single BatchPredict call only one of the these +// formats may be used). +// The in-line .JSONL file(s) contain per line a proto that +// wraps a temporary user-assigned TextSnippet ID (string up to 2000 +// characters long) called "id", a TextSnippet proto (in +// json representation) and zero or more TextFeature protos. Any given +// text snippet content must have 30,000 characters or less, and also +// be UTF-8 NFC encoded (ASCII already is). The IDs provided should be +// unique. +// The document .JSONL file(s) contain, per line, a proto that wraps a +// Document proto with input_config set. Only PDF documents are +// supported now, and each document must be up to 2MB large. +// Any given .JSONL file must be 100MB or smaller, and no more than 20 +// files may be given. +// Sample in-line JSON Lines file (presented here with artificial line +// breaks, but the only actual line break is denoted by \n): +// { +// "id": "my_first_id", +// "text_snippet": { "content": "dog car cat"}, +// "text_features": [ +// { +// "text_segment": {"start_offset": 4, "end_offset": 6}, +// "structural_type": PARAGRAPH, +// "bounding_poly": { +// "normalized_vertices": [ +// {"x": 0.1, "y": 0.1}, +// {"x": 0.1, "y": 0.3}, +// {"x": 0.3, "y": 0.3}, +// {"x": 0.3, "y": 0.1}, +// ] +// }, +// } +// ], +// }\n +// { +// "id": "2", +// "text_snippet": { +// "content": "An elaborate content", +// "mime_type": "text/plain" +// } +// } +// Sample document JSON Lines file (presented here with artificial line +// breaks, but the only actual line break is denoted by \n).: +// { +// "document": { +// "input_config": { +// "gcs_source": { "input_uris": [ "gs://folder/document1.pdf" ] +// } +// } +// } +// }\n +// { +// "document": { +// "input_config": { +// "gcs_source": { "input_uris": [ "gs://folder/document2.pdf" ] +// } +// } +// } +// } +// +// * For Tables: +// Either +// [gcs_source][google.cloud.automl.v1beta1.InputConfig.gcs_source] or // // [bigquery_source][google.cloud.automl.v1beta1.InputConfig.bigquery_source]. -// -// GCS case: -// CSV file(s), each by itself 10GB or smaller and total size must be -// 100GB or smaller, where first file must have a header containing -// column names. If the first row of a subsequent file is the same as -// the header, then it is also treated as a header. All other rows -// contain values for the corresponding columns. -// The column names must contain the model's +// GCS case: +// CSV file(s), each by itself 10GB or smaller and total size must be +// 100GB or smaller, where first file must have a header containing +// column names. If the first row of a subsequent file is the same as +// the header, then it is also treated as a header. All other rows +// contain values for the corresponding columns. +// The column names must contain the model's // // [input_feature_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] // // [display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name] -// -// (order doesn't matter). The columns corresponding to the model's -// input feature column specs must contain values compatible with the -// column spec's data types. Prediction on all the rows, i.e. the CSV -// lines, will be attempted. For FORECASTING +// (order doesn't matter). The columns corresponding to the model's +// input feature column specs must contain values compatible with the +// column spec's data types. Prediction on all the rows, i.e. the CSV +// lines, will be attempted. For FORECASTING // // [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]: -// -// all columns having +// all columns having // // [TIME_SERIES_AVAILABLE_PAST_ONLY][google.cloud.automl.v1beta1.ColumnSpec.ForecastingMetadata.ColumnType] -// -// type will be ignored. -// First three sample rows of a CSV file: -// "First Name","Last Name","Dob","Addresses" +// type will be ignored. +// First three sample rows of a CSV file: +// "First Name","Last Name","Dob","Addresses" // // "John","Doe","1968-01-22","[{"status":"current","address":"123_First_Avenue","city":"Seattle","state":"WA","zip":"11111","numberOfYears":"1"},{"status":"previous","address":"456_Main_Street","city":"Portland","state":"OR","zip":"22222","numberOfYears":"5"}]" // // "Jane","Doe","1980-10-16","[{"status":"current","address":"789_Any_Avenue","city":"Albany","state":"NY","zip":"33333","numberOfYears":"2"},{"status":"previous","address":"321_Main_Street","city":"Hoboken","state":"NJ","zip":"44444","numberOfYears":"3"}]} -// -// BigQuery case: -// An URI of a BigQuery table. The user data size of the BigQuery -// table must be 100GB or smaller. -// The column names must contain the model's +// BigQuery case: +// An URI of a BigQuery table. The user data size of the BigQuery +// table must be 100GB or smaller. +// The column names must contain the model's // // [input_feature_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] // // [display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name] -// -// (order doesn't matter). The columns corresponding to the model's -// input feature column specs must contain values compatible with the -// column spec's data types. Prediction on all the rows of the table -// will be attempted. For FORECASTING +// (order doesn't matter). The columns corresponding to the model's +// input feature column specs must contain values compatible with the +// column spec's data types. Prediction on all the rows of the table +// will be attempted. For FORECASTING // // [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]: -// -// all columns having +// all columns having // // [TIME_SERIES_AVAILABLE_PAST_ONLY][google.cloud.automl.v1beta1.ColumnSpec.ForecastingMetadata.ColumnType] -// -// type will be ignored. -// -// Definitions: -// GCS_FILE_PATH = A path to file on GCS, e.g. "gs://folder/video.avi". -// TEXT_SNIPPET = A content of a text snippet, UTF-8 encoded, enclosed within -// double quotes ("") -// TIME_SEGMENT_START = TIME_OFFSET -// Expresses a beginning, inclusive, of a time segment -// within an -// example that has a time dimension (e.g. video). -// TIME_SEGMENT_END = TIME_OFFSET -// Expresses an end, exclusive, of a time segment within -// an example that has a time dimension (e.g. video). -// TIME_OFFSET = A number of seconds as measured from the start of an -// example (e.g. video). Fractions are allowed, up to a -// microsecond precision. "inf" is allowed and it means the end -// of the example. -// -// Errors: -// If any of the provided CSV files can't be parsed or if more than certain -// percent of CSV rows cannot be processed then the operation fails and -// prediction does not happen. Regardless of overall success or failure the -// per-row failures, up to a certain count cap, will be listed in -// Operation.metadata.partial_failures. +// type will be ignored. +// +// Definitions: +// GCS_FILE_PATH = A path to file on GCS, e.g. "gs://folder/video.avi". +// TEXT_SNIPPET = A content of a text snippet, UTF-8 encoded, enclosed within +// double quotes ("") +// TIME_SEGMENT_START = TIME_OFFSET +// Expresses a beginning, inclusive, of a time segment +// within an +// example that has a time dimension (e.g. video). +// TIME_SEGMENT_END = TIME_OFFSET +// Expresses an end, exclusive, of a time segment within +// an example that has a time dimension (e.g. video). +// TIME_OFFSET = A number of seconds as measured from the start of an +// example (e.g. video). Fractions are allowed, up to a +// microsecond precision. "inf" is allowed and it means the end +// of the example. +// +// Errors: +// If any of the provided CSV files can't be parsed or if more than certain +// percent of CSV rows cannot be processed then the operation fails and +// prediction does not happen. Regardless of overall success or failure the +// per-row failures, up to a certain count cap, will be listed in +// Operation.metadata.partial_failures. type BatchPredictInputConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -857,40 +843,37 @@ func (x *DocumentInputConfig) GetGcsSource() *GcsSource { return nil } -// - For Translation: -// CSV file `translation.csv`, with each line in format: -// ML_USE,GCS_FILE_PATH -// GCS_FILE_PATH leads to a .TSV file which describes examples that have -// given ML_USE, using the following row format per line: -// TEXT_SNIPPET (in source language) \t TEXT_SNIPPET (in target -// language) +// * For Translation: +// CSV file `translation.csv`, with each line in format: +// ML_USE,GCS_FILE_PATH +// GCS_FILE_PATH leads to a .TSV file which describes examples that have +// given ML_USE, using the following row format per line: +// TEXT_SNIPPET (in source language) \t TEXT_SNIPPET (in target +// language) // -// - For Tables: -// Output depends on whether the dataset was imported from GCS or -// BigQuery. -// GCS case: +// * For Tables: +// Output depends on whether the dataset was imported from GCS or +// BigQuery. +// GCS case: // // [gcs_destination][google.cloud.automl.v1beta1.OutputConfig.gcs_destination] -// -// must be set. Exported are CSV file(s) `tables_1.csv`, -// `tables_2.csv`,...,`tables_N.csv` with each having as header line -// the table's column names, and all other lines contain values for -// the header columns. -// BigQuery case: +// must be set. Exported are CSV file(s) `tables_1.csv`, +// `tables_2.csv`,...,`tables_N.csv` with each having as header line +// the table's column names, and all other lines contain values for +// the header columns. +// BigQuery case: // // [bigquery_destination][google.cloud.automl.v1beta1.OutputConfig.bigquery_destination] -// -// pointing to a BigQuery project must be set. In the given project a -// new dataset will be created with name +// pointing to a BigQuery project must be set. In the given project a +// new dataset will be created with name // // `export_data__` -// -// where will be made -// BigQuery-dataset-name compatible (e.g. most special characters will -// become underscores), and timestamp will be in -// YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In that -// dataset a new table called `primary_table` will be created, and -// filled with precisely the same data as this obtained on import. +// where will be made +// BigQuery-dataset-name compatible (e.g. most special characters will +// become underscores), and timestamp will be in +// YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In that +// dataset a new table called `primary_table` will be created, and +// filled with precisely the same data as this obtained on import. type OutputConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -982,7 +965,7 @@ func (*OutputConfig_BigqueryDestination) isOutputConfig_Destination() {} // Output configuration for BatchPredict Action. // -// # As destination the +// As destination the // // [gcs_destination][google.cloud.automl.v1beta1.BatchPredictOutputConfig.gcs_destination] // must be set unless specified otherwise for a domain. If gcs_destination is @@ -992,297 +975,276 @@ func (*OutputConfig_BigqueryDestination) isOutputConfig_Destination() {} // where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. The contents // of it depends on the ML problem the predictions are made for. // -// - For Image Classification: -// In the created directory files `image_classification_1.jsonl`, -// `image_classification_2.jsonl`,...,`image_classification_N.jsonl` -// will be created, where N may be 1, and depends on the -// total number of the successfully predicted images and annotations. -// A single image will be listed only once with all its annotations, -// and its annotations will never be split across files. -// Each .JSONL file will contain, per line, a JSON representation of a -// proto that wraps image's "ID" : "" followed by a list of -// zero or more AnnotationPayload protos (called annotations), which -// have classification detail populated. -// If prediction for any image failed (partially or completely), then an -// additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl` -// files will be created (N depends on total number of failed -// predictions). These files will have a JSON representation of a proto -// that wraps the same "ID" : "" but here followed by -// exactly one +// * For Image Classification: +// In the created directory files `image_classification_1.jsonl`, +// `image_classification_2.jsonl`,...,`image_classification_N.jsonl` +// will be created, where N may be 1, and depends on the +// total number of the successfully predicted images and annotations. +// A single image will be listed only once with all its annotations, +// and its annotations will never be split across files. +// Each .JSONL file will contain, per line, a JSON representation of a +// proto that wraps image's "ID" : "" followed by a list of +// zero or more AnnotationPayload protos (called annotations), which +// have classification detail populated. +// If prediction for any image failed (partially or completely), then an +// additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl` +// files will be created (N depends on total number of failed +// predictions). These files will have a JSON representation of a proto +// that wraps the same "ID" : "" but here followed by +// exactly one // // [`google.rpc.Status`](https: // //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// -// containing only `code` and `message`fields. -// -// * For Image Object Detection: -// In the created directory files `image_object_detection_1.jsonl`, -// `image_object_detection_2.jsonl`,...,`image_object_detection_N.jsonl` -// will be created, where N may be 1, and depends on the -// total number of the successfully predicted images and annotations. -// Each .JSONL file will contain, per line, a JSON representation of a -// proto that wraps image's "ID" : "" followed by a list of -// zero or more AnnotationPayload protos (called annotations), which -// have image_object_detection detail populated. A single image will -// be listed only once with all its annotations, and its annotations -// will never be split across files. -// If prediction for any image failed (partially or completely), then -// additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl` -// files will be created (N depends on total number of failed -// predictions). These files will have a JSON representation of a proto -// that wraps the same "ID" : "" but here followed by -// exactly one +// containing only `code` and `message`fields. +// +// * For Image Object Detection: +// In the created directory files `image_object_detection_1.jsonl`, +// `image_object_detection_2.jsonl`,...,`image_object_detection_N.jsonl` +// will be created, where N may be 1, and depends on the +// total number of the successfully predicted images and annotations. +// Each .JSONL file will contain, per line, a JSON representation of a +// proto that wraps image's "ID" : "" followed by a list of +// zero or more AnnotationPayload protos (called annotations), which +// have image_object_detection detail populated. A single image will +// be listed only once with all its annotations, and its annotations +// will never be split across files. +// If prediction for any image failed (partially or completely), then +// additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl` +// files will be created (N depends on total number of failed +// predictions). These files will have a JSON representation of a proto +// that wraps the same "ID" : "" but here followed by +// exactly one // // [`google.rpc.Status`](https: // //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) +// containing only `code` and `message`fields. +// * For Video Classification: +// In the created directory a video_classification.csv file, and a .JSON +// file per each video classification requested in the input (i.e. each +// line in given CSV(s)), will be created. // -// containing only `code` and `message`fields. -// * For Video Classification: -// In the created directory a video_classification.csv file, and a .JSON -// file per each video classification requested in the input (i.e. each -// line in given CSV(s)), will be created. -// -// The format of video_classification.csv is: +// The format of video_classification.csv is: // // GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END,JSON_FILE_NAME,STATUS -// -// where: -// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END = matches 1 to 1 -// the prediction input lines (i.e. video_classification.csv has -// precisely the same number of lines as the prediction input had.) -// JSON_FILE_NAME = Name of .JSON file in the output directory, which -// contains prediction responses for the video time segment. -// STATUS = "OK" if prediction completed successfully, or an error code -// with message otherwise. If STATUS is not "OK" then the .JSON file -// for that line may not exist or be empty. -// -// Each .JSON file, assuming STATUS is "OK", will contain a list of -// AnnotationPayload protos in JSON format, which are the predictions -// for the video time segment the file is assigned to in the -// video_classification.csv. All AnnotationPayload protos will have -// video_classification field set, and will be sorted by -// video_classification.type field (note that the returned types are -// governed by `classifaction_types` parameter in -// [PredictService.BatchPredictRequest.params][]). -// -// * For Video Object Tracking: -// In the created directory a video_object_tracking.csv file will be -// created, and multiple files video_object_trackinng_1.json, -// video_object_trackinng_2.json,..., video_object_trackinng_N.json, -// where N is the number of requests in the input (i.e. the number of -// lines in given CSV(s)). -// -// The format of video_object_tracking.csv is: +// where: +// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END = matches 1 to 1 +// the prediction input lines (i.e. video_classification.csv has +// precisely the same number of lines as the prediction input had.) +// JSON_FILE_NAME = Name of .JSON file in the output directory, which +// contains prediction responses for the video time segment. +// STATUS = "OK" if prediction completed successfully, or an error code +// with message otherwise. If STATUS is not "OK" then the .JSON file +// for that line may not exist or be empty. +// +// Each .JSON file, assuming STATUS is "OK", will contain a list of +// AnnotationPayload protos in JSON format, which are the predictions +// for the video time segment the file is assigned to in the +// video_classification.csv. All AnnotationPayload protos will have +// video_classification field set, and will be sorted by +// video_classification.type field (note that the returned types are +// governed by `classifaction_types` parameter in +// [PredictService.BatchPredictRequest.params][]). +// +// * For Video Object Tracking: +// In the created directory a video_object_tracking.csv file will be +// created, and multiple files video_object_trackinng_1.json, +// video_object_trackinng_2.json,..., video_object_trackinng_N.json, +// where N is the number of requests in the input (i.e. the number of +// lines in given CSV(s)). +// +// The format of video_object_tracking.csv is: // // GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END,JSON_FILE_NAME,STATUS -// -// where: -// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END = matches 1 to 1 -// the prediction input lines (i.e. video_object_tracking.csv has -// precisely the same number of lines as the prediction input had.) -// JSON_FILE_NAME = Name of .JSON file in the output directory, which -// contains prediction responses for the video time segment. -// STATUS = "OK" if prediction completed successfully, or an error -// code with message otherwise. If STATUS is not "OK" then the .JSON -// file for that line may not exist or be empty. -// -// Each .JSON file, assuming STATUS is "OK", will contain a list of -// AnnotationPayload protos in JSON format, which are the predictions -// for each frame of the video time segment the file is assigned to in -// video_object_tracking.csv. All AnnotationPayload protos will have -// video_object_tracking field set. -// * For Text Classification: -// In the created directory files `text_classification_1.jsonl`, -// `text_classification_2.jsonl`,...,`text_classification_N.jsonl` -// will be created, where N may be 1, and depends on the -// total number of inputs and annotations found. -// -// Each .JSONL file will contain, per line, a JSON representation of a -// proto that wraps input text snippet or input text file and a list of -// zero or more AnnotationPayload protos (called annotations), which -// have classification detail populated. A single text snippet or file -// will be listed only once with all its annotations, and its -// annotations will never be split across files. -// -// If prediction for any text snippet or file failed (partially or -// completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,..., -// `errors_N.jsonl` files will be created (N depends on total number of -// failed predictions). These files will have a JSON representation of a -// proto that wraps input text snippet or input text file followed by -// exactly one +// where: +// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END = matches 1 to 1 +// the prediction input lines (i.e. video_object_tracking.csv has +// precisely the same number of lines as the prediction input had.) +// JSON_FILE_NAME = Name of .JSON file in the output directory, which +// contains prediction responses for the video time segment. +// STATUS = "OK" if prediction completed successfully, or an error +// code with message otherwise. If STATUS is not "OK" then the .JSON +// file for that line may not exist or be empty. +// +// Each .JSON file, assuming STATUS is "OK", will contain a list of +// AnnotationPayload protos in JSON format, which are the predictions +// for each frame of the video time segment the file is assigned to in +// video_object_tracking.csv. All AnnotationPayload protos will have +// video_object_tracking field set. +// * For Text Classification: +// In the created directory files `text_classification_1.jsonl`, +// `text_classification_2.jsonl`,...,`text_classification_N.jsonl` +// will be created, where N may be 1, and depends on the +// total number of inputs and annotations found. +// +// Each .JSONL file will contain, per line, a JSON representation of a +// proto that wraps input text snippet or input text file and a list of +// zero or more AnnotationPayload protos (called annotations), which +// have classification detail populated. A single text snippet or file +// will be listed only once with all its annotations, and its +// annotations will never be split across files. +// +// If prediction for any text snippet or file failed (partially or +// completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,..., +// `errors_N.jsonl` files will be created (N depends on total number of +// failed predictions). These files will have a JSON representation of a +// proto that wraps input text snippet or input text file followed by +// exactly one // // [`google.rpc.Status`](https: // //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// -// containing only `code` and `message`. -// -// * For Text Sentiment: -// In the created directory files `text_sentiment_1.jsonl`, -// `text_sentiment_2.jsonl`,...,`text_sentiment_N.jsonl` -// will be created, where N may be 1, and depends on the -// total number of inputs and annotations found. -// -// Each .JSONL file will contain, per line, a JSON representation of a -// proto that wraps input text snippet or input text file and a list of -// zero or more AnnotationPayload protos (called annotations), which -// have text_sentiment detail populated. A single text snippet or file -// will be listed only once with all its annotations, and its -// annotations will never be split across files. -// -// If prediction for any text snippet or file failed (partially or -// completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,..., -// `errors_N.jsonl` files will be created (N depends on total number of -// failed predictions). These files will have a JSON representation of a -// proto that wraps input text snippet or input text file followed by -// exactly one +// containing only `code` and `message`. +// +// * For Text Sentiment: +// In the created directory files `text_sentiment_1.jsonl`, +// `text_sentiment_2.jsonl`,...,`text_sentiment_N.jsonl` +// will be created, where N may be 1, and depends on the +// total number of inputs and annotations found. +// +// Each .JSONL file will contain, per line, a JSON representation of a +// proto that wraps input text snippet or input text file and a list of +// zero or more AnnotationPayload protos (called annotations), which +// have text_sentiment detail populated. A single text snippet or file +// will be listed only once with all its annotations, and its +// annotations will never be split across files. +// +// If prediction for any text snippet or file failed (partially or +// completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,..., +// `errors_N.jsonl` files will be created (N depends on total number of +// failed predictions). These files will have a JSON representation of a +// proto that wraps input text snippet or input text file followed by +// exactly one // // [`google.rpc.Status`](https: // //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// -// containing only `code` and `message`. -// -// * For Text Extraction: -// In the created directory files `text_extraction_1.jsonl`, -// `text_extraction_2.jsonl`,...,`text_extraction_N.jsonl` -// will be created, where N may be 1, and depends on the -// total number of inputs and annotations found. -// The contents of these .JSONL file(s) depend on whether the input -// used inline text, or documents. -// If input was inline, then each .JSONL file will contain, per line, -// a JSON representation of a proto that wraps given in request text -// snippet's "id" (if specified), followed by input text snippet, -// and a list of zero or more -// AnnotationPayload protos (called annotations), which have -// text_extraction detail populated. A single text snippet will be -// listed only once with all its annotations, and its annotations will -// never be split across files. -// If input used documents, then each .JSONL file will contain, per -// line, a JSON representation of a proto that wraps given in request -// document proto, followed by its OCR-ed representation in the form -// of a text snippet, finally followed by a list of zero or more -// AnnotationPayload protos (called annotations), which have -// text_extraction detail populated and refer, via their indices, to -// the OCR-ed text snippet. A single document (and its text snippet) -// will be listed only once with all its annotations, and its -// annotations will never be split across files. -// If prediction for any text snippet failed (partially or completely), -// then additional `errors_1.jsonl`, `errors_2.jsonl`,..., -// `errors_N.jsonl` files will be created (N depends on total number of -// failed predictions). These files will have a JSON representation of a -// proto that wraps either the "id" : "" (in case of inline) -// or the document proto (in case of document) but here followed by -// exactly one +// containing only `code` and `message`. +// +// * For Text Extraction: +// In the created directory files `text_extraction_1.jsonl`, +// `text_extraction_2.jsonl`,...,`text_extraction_N.jsonl` +// will be created, where N may be 1, and depends on the +// total number of inputs and annotations found. +// The contents of these .JSONL file(s) depend on whether the input +// used inline text, or documents. +// If input was inline, then each .JSONL file will contain, per line, +// a JSON representation of a proto that wraps given in request text +// snippet's "id" (if specified), followed by input text snippet, +// and a list of zero or more +// AnnotationPayload protos (called annotations), which have +// text_extraction detail populated. A single text snippet will be +// listed only once with all its annotations, and its annotations will +// never be split across files. +// If input used documents, then each .JSONL file will contain, per +// line, a JSON representation of a proto that wraps given in request +// document proto, followed by its OCR-ed representation in the form +// of a text snippet, finally followed by a list of zero or more +// AnnotationPayload protos (called annotations), which have +// text_extraction detail populated and refer, via their indices, to +// the OCR-ed text snippet. A single document (and its text snippet) +// will be listed only once with all its annotations, and its +// annotations will never be split across files. +// If prediction for any text snippet failed (partially or completely), +// then additional `errors_1.jsonl`, `errors_2.jsonl`,..., +// `errors_N.jsonl` files will be created (N depends on total number of +// failed predictions). These files will have a JSON representation of a +// proto that wraps either the "id" : "" (in case of inline) +// or the document proto (in case of document) but here followed by +// exactly one // // [`google.rpc.Status`](https: // //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) +// containing only `code` and `message`. // -// containing only `code` and `message`. -// -// * For Tables: -// Output depends on whether +// * For Tables: +// Output depends on whether // // [gcs_destination][google.cloud.automl.v1beta1.BatchPredictOutputConfig.gcs_destination] -// -// or +// or // // [bigquery_destination][google.cloud.automl.v1beta1.BatchPredictOutputConfig.bigquery_destination] -// -// is set (either is allowed). -// GCS case: -// In the created directory files `tables_1.csv`, `tables_2.csv`,..., -// `tables_N.csv` will be created, where N may be 1, and depends on -// the total number of the successfully predicted rows. -// For all CLASSIFICATION +// is set (either is allowed). +// GCS case: +// In the created directory files `tables_1.csv`, `tables_2.csv`,..., +// `tables_N.csv` will be created, where N may be 1, and depends on +// the total number of the successfully predicted rows. +// For all CLASSIFICATION // // [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]: -// -// Each .csv file will contain a header, listing all columns' +// Each .csv file will contain a header, listing all columns' // // [display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name] -// -// given on input followed by M target column names in the format of +// given on input followed by M target column names in the format of // // "<[target_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] // // [display_name][google.cloud.automl.v1beta1.ColumnSpec.display_name]>__score" where M is the number of distinct target values, -// i.e. number of distinct values in the target column of the table -// used to train the model. Subsequent lines will contain the -// respective values of successfully predicted rows, with the last, -// i.e. the target, columns having the corresponding prediction -// [scores][google.cloud.automl.v1beta1.TablesAnnotation.score]. -// For REGRESSION and FORECASTING +// value>_score" where M is the number of distinct target values, +// i.e. number of distinct values in the target column of the table +// used to train the model. Subsequent lines will contain the +// respective values of successfully predicted rows, with the last, +// i.e. the target, columns having the corresponding prediction +// [scores][google.cloud.automl.v1beta1.TablesAnnotation.score]. +// For REGRESSION and FORECASTING // // [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]: -// -// Each .csv file will contain a header, listing all columns' -// [display_name-s][google.cloud.automl.v1beta1.display_name] given -// on input followed by the predicted target column with name in the -// format of +// Each .csv file will contain a header, listing all columns' +// [display_name-s][google.cloud.automl.v1beta1.display_name] given +// on input followed by the predicted target column with name in the +// format of // // "predicted_<[target_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] // // [display_name][google.cloud.automl.v1beta1.ColumnSpec.display_name]>" -// -// Subsequent lines will contain the respective values of -// successfully predicted rows, with the last, i.e. the target, -// column having the predicted target value. -// If prediction for any rows failed, then an additional -// `errors_1.csv`, `errors_2.csv`,..., `errors_N.csv` will be -// created (N depends on total number of failed rows). These files -// will have analogous format as `tables_*.csv`, but always with a -// single target column having +// Subsequent lines will contain the respective values of +// successfully predicted rows, with the last, i.e. the target, +// column having the predicted target value. +// If prediction for any rows failed, then an additional +// `errors_1.csv`, `errors_2.csv`,..., `errors_N.csv` will be +// created (N depends on total number of failed rows). These files +// will have analogous format as `tables_*.csv`, but always with a +// single target column having // // [`google.rpc.Status`](https: // //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// -// represented as a JSON string, and containing only `code` and -// `message`. -// BigQuery case: +// represented as a JSON string, and containing only `code` and +// `message`. +// BigQuery case: // // [bigquery_destination][google.cloud.automl.v1beta1.OutputConfig.bigquery_destination] -// -// pointing to a BigQuery project must be set. In the given project a -// new dataset will be created with name -// `prediction__` -// where will be made -// BigQuery-dataset-name compatible (e.g. most special characters will -// become underscores), and timestamp will be in -// YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In the dataset -// two tables will be created, `predictions`, and `errors`. -// The `predictions` table's column names will be the input columns' +// pointing to a BigQuery project must be set. In the given project a +// new dataset will be created with name +// `prediction__` +// where will be made +// BigQuery-dataset-name compatible (e.g. most special characters will +// become underscores), and timestamp will be in +// YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In the dataset +// two tables will be created, `predictions`, and `errors`. +// The `predictions` table's column names will be the input columns' // // [display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name] -// -// followed by the target column with name in the format of +// followed by the target column with name in the format of // // "predicted_<[target_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] // // [display_name][google.cloud.automl.v1beta1.ColumnSpec.display_name]>" -// -// The input feature columns will contain the respective values of -// successfully predicted rows, with the target column having an -// ARRAY of +// The input feature columns will contain the respective values of +// successfully predicted rows, with the target column having an +// ARRAY of // // [AnnotationPayloads][google.cloud.automl.v1beta1.AnnotationPayload], -// -// represented as STRUCT-s, containing -// [TablesAnnotation][google.cloud.automl.v1beta1.TablesAnnotation]. -// The `errors` table contains rows for which the prediction has -// failed, it has analogous input columns while the target column name -// is in the format of +// represented as STRUCT-s, containing +// [TablesAnnotation][google.cloud.automl.v1beta1.TablesAnnotation]. +// The `errors` table contains rows for which the prediction has +// failed, it has analogous input columns while the target column name +// is in the format of // // "errors_<[target_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] // // [display_name][google.cloud.automl.v1beta1.ColumnSpec.display_name]>", -// -// and as a value has +// and as a value has // // [`google.rpc.Status`](https: // //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// -// represented as a STRUCT, and containing only `code` and `message`. +// represented as a STRUCT, and containing only `code` and `message`. type BatchPredictOutputConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1548,33 +1510,30 @@ func (*ModelExportOutputConfig_GcrDestination) isModelExportOutputConfig_Destina // The output depends on the domain, as follows (note that only examples from // the TEST set are exported): // -// - For Tables: +// * For Tables: // // [bigquery_destination][google.cloud.automl.v1beta1.OutputConfig.bigquery_destination] -// -// pointing to a BigQuery project must be set. In the given project a -// new dataset will be created with name +// pointing to a BigQuery project must be set. In the given project a +// new dataset will be created with name // // `export_evaluated_examples__` -// -// where will be made BigQuery-dataset-name -// compatible (e.g. most special characters will become underscores), -// and timestamp will be in YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" -// format. In the dataset an `evaluated_examples` table will be -// created. It will have all the same columns as the +// where will be made BigQuery-dataset-name +// compatible (e.g. most special characters will become underscores), +// and timestamp will be in YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" +// format. In the dataset an `evaluated_examples` table will be +// created. It will have all the same columns as the // // [primary_table][google.cloud.automl.v1beta1.TablesDatasetMetadata.primary_table_spec_id] -// -// of the -// [dataset][google.cloud.automl.v1beta1.Model.dataset_id] from which -// the model was created, as they were at the moment of model's -// evaluation (this includes the target column with its ground -// truth), followed by a column called "predicted_". That -// last column will contain the model's prediction result for each -// respective row, given as ARRAY of -// [AnnotationPayloads][google.cloud.automl.v1beta1.AnnotationPayload], -// represented as STRUCT-s, containing -// [TablesAnnotation][google.cloud.automl.v1beta1.TablesAnnotation]. +// of the +// [dataset][google.cloud.automl.v1beta1.Model.dataset_id] from which +// the model was created, as they were at the moment of model's +// evaluation (this includes the target column with its ground +// truth), followed by a column called "predicted_". That +// last column will contain the model's prediction result for each +// respective row, given as ARRAY of +// [AnnotationPayloads][google.cloud.automl.v1beta1.AnnotationPayload], +// represented as STRUCT-s, containing +// [TablesAnnotation][google.cloud.automl.v1beta1.TablesAnnotation]. type ExportEvaluatedExamplesOutputConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/automl/apiv1beta1/automlpb/model.pb.go b/automl/apiv1beta1/automlpb/model.pb.go index 8a6b4ae3fbfe..a9aff688451b 100755 --- a/automl/apiv1beta1/automlpb/model.pb.go +++ b/automl/apiv1beta1/automlpb/model.pb.go @@ -21,13 +21,12 @@ package automlpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/model_evaluation.pb.go b/automl/apiv1beta1/automlpb/model_evaluation.pb.go index e6175a8e10ca..33dfb54a9fec 100755 --- a/automl/apiv1beta1/automlpb/model_evaluation.pb.go +++ b/automl/apiv1beta1/automlpb/model_evaluation.pb.go @@ -21,13 +21,12 @@ package automlpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/operations.pb.go b/automl/apiv1beta1/automlpb/operations.pb.go index dff53cdfef78..ba242e7ca8df 100755 --- a/automl/apiv1beta1/automlpb/operations.pb.go +++ b/automl/apiv1beta1/automlpb/operations.pb.go @@ -21,13 +21,12 @@ package automlpb import ( - reflect "reflect" - sync "sync" - status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/prediction_service.pb.go b/automl/apiv1beta1/automlpb/prediction_service.pb.go index 0ba6bc4c9c56..7c9675e1b061 100755 --- a/automl/apiv1beta1/automlpb/prediction_service.pb.go +++ b/automl/apiv1beta1/automlpb/prediction_service.pb.go @@ -21,17 +21,16 @@ package automlpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/ranges.pb.go b/automl/apiv1beta1/automlpb/ranges.pb.go index 94cef3e7a062..d38f84ba9d87 100755 --- a/automl/apiv1beta1/automlpb/ranges.pb.go +++ b/automl/apiv1beta1/automlpb/ranges.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/regression.pb.go b/automl/apiv1beta1/automlpb/regression.pb.go index 80916f9538d4..a12ad6cc1f8d 100755 --- a/automl/apiv1beta1/automlpb/regression.pb.go +++ b/automl/apiv1beta1/automlpb/regression.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/service.pb.go b/automl/apiv1beta1/automlpb/service.pb.go index 7105cd7f8ca0..f7bb6ff2e831 100755 --- a/automl/apiv1beta1/automlpb/service.pb.go +++ b/automl/apiv1beta1/automlpb/service.pb.go @@ -21,11 +21,8 @@ package automlpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/table_spec.pb.go b/automl/apiv1beta1/automlpb/table_spec.pb.go index de123778e97d..2b0eedc7aa00 100755 --- a/automl/apiv1beta1/automlpb/table_spec.pb.go +++ b/automl/apiv1beta1/automlpb/table_spec.pb.go @@ -21,12 +21,11 @@ package automlpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( @@ -44,7 +43,7 @@ const ( // inconsistent with the data in the table (e.g. string in a FLOAT64 column). // The consistency validation is done upon creation of a model. // Used by: -// - Tables +// * Tables type TableSpec struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/automl/apiv1beta1/automlpb/tables.pb.go b/automl/apiv1beta1/automlpb/tables.pb.go index a5603474c4d6..6e8af5f8f34e 100755 --- a/automl/apiv1beta1/automlpb/tables.pb.go +++ b/automl/apiv1beta1/automlpb/tables.pb.go @@ -21,13 +21,12 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/temporal.pb.go b/automl/apiv1beta1/automlpb/temporal.pb.go index cad7f3774327..82d033eba613 100755 --- a/automl/apiv1beta1/automlpb/temporal.pb.go +++ b/automl/apiv1beta1/automlpb/temporal.pb.go @@ -21,12 +21,11 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/text.pb.go b/automl/apiv1beta1/automlpb/text.pb.go index 2b4fdebb3825..aa45c617fa03 100755 --- a/automl/apiv1beta1/automlpb/text.pb.go +++ b/automl/apiv1beta1/automlpb/text.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/text_extraction.pb.go b/automl/apiv1beta1/automlpb/text_extraction.pb.go index 88492fe654c2..c3ad1f9c50a1 100755 --- a/automl/apiv1beta1/automlpb/text_extraction.pb.go +++ b/automl/apiv1beta1/automlpb/text_extraction.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/text_segment.pb.go b/automl/apiv1beta1/automlpb/text_segment.pb.go index fd0862e2f3c6..fa7fb1e06c1b 100755 --- a/automl/apiv1beta1/automlpb/text_segment.pb.go +++ b/automl/apiv1beta1/automlpb/text_segment.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/text_sentiment.pb.go b/automl/apiv1beta1/automlpb/text_sentiment.pb.go index 78ad695bf898..a1453df69c61 100755 --- a/automl/apiv1beta1/automlpb/text_sentiment.pb.go +++ b/automl/apiv1beta1/automlpb/text_sentiment.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/translation.pb.go b/automl/apiv1beta1/automlpb/translation.pb.go index f4037493be1f..561951c836b8 100755 --- a/automl/apiv1beta1/automlpb/translation.pb.go +++ b/automl/apiv1beta1/automlpb/translation.pb.go @@ -21,12 +21,11 @@ package automlpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/video.pb.go b/automl/apiv1beta1/automlpb/video.pb.go index db4590529f78..6272968afd78 100755 --- a/automl/apiv1beta1/automlpb/video.pb.go +++ b/automl/apiv1beta1/automlpb/video.pb.go @@ -21,11 +21,10 @@ package automlpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/automl/apiv1beta1/doc.go b/automl/apiv1beta1/doc.go index f150bd4ca6fb..ee011fddef72 100755 --- a/automl/apiv1beta1/doc.go +++ b/automl/apiv1beta1/doc.go @@ -20,73 +20,72 @@ // Train high-quality custom machine learning models with minimum effort and // machine learning expertise. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := automl.NewPredictionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := automl.NewPredictionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := automl.NewPredictionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &automlpb.BatchPredictRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/automl/apiv1beta1/automlpb#BatchPredictRequest. -// } -// op, err := c.BatchPredict(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := automl.NewPredictionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &automlpb.BatchPredictRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/automl/apiv1beta1/automlpb#BatchPredictRequest. +// } +// op, err := c.BatchPredict(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewPredictionClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/automl/apiv1beta1/prediction_client.go b/automl/apiv1beta1/prediction_client.go index 916bc665f230..ced04d19ef38 100755 --- a/automl/apiv1beta1/prediction_client.go +++ b/automl/apiv1beta1/prediction_client.go @@ -139,28 +139,28 @@ func (c *PredictionClient) Connection() *grpc.ClientConn { // returned in the response. // Available for following ML problems, and their expected request payloads: // -// Image Classification - Image in .JPEG, .GIF or .PNG format, image_bytes -// up to 30MB. +// Image Classification - Image in .JPEG, .GIF or .PNG format, image_bytes +// up to 30MB. // -// Image Object Detection - Image in .JPEG, .GIF or .PNG format, image_bytes -// up to 30MB. +// Image Object Detection - Image in .JPEG, .GIF or .PNG format, image_bytes +// up to 30MB. // -// Text Classification - TextSnippet, content up to 60,000 characters, -// UTF-8 encoded. +// Text Classification - TextSnippet, content up to 60,000 characters, +// UTF-8 encoded. // -// Text Extraction - TextSnippet, content up to 30,000 characters, -// UTF-8 NFC encoded. +// Text Extraction - TextSnippet, content up to 30,000 characters, +// UTF-8 NFC encoded. // -// Translation - TextSnippet, content up to 25,000 characters, UTF-8 -// encoded. +// Translation - TextSnippet, content up to 25,000 characters, UTF-8 +// encoded. // -// Tables - Row, with column values matching the columns of the model, -// up to 5MB. Not available for FORECASTING +// Tables - Row, with column values matching the columns of the model, +// up to 5MB. Not available for FORECASTING // // prediction_type. // -// Text Sentiment - TextSnippet, content up 500 characters, UTF-8 -// encoded. +// Text Sentiment - TextSnippet, content up 500 characters, UTF-8 +// encoded. func (c *PredictionClient) Predict(ctx context.Context, req *automlpb.PredictRequest, opts ...gax.CallOption) (*automlpb.PredictResponse, error) { return c.internalClient.Predict(ctx, req, opts...) } @@ -173,15 +173,15 @@ func (c *PredictionClient) Predict(ctx context.Context, req *automlpb.PredictReq // the response field. // Available for following ML problems: // -// Image Classification +// Image Classification // -// Image Object Detection +// Image Object Detection // -// Video Classification +// Video Classification // -// Video Object Tracking * Text Extraction +// Video Object Tracking * Text Extraction // -// Tables +// Tables func (c *PredictionClient) BatchPredict(ctx context.Context, req *automlpb.BatchPredictRequest, opts ...gax.CallOption) (*BatchPredictOperation, error) { return c.internalClient.BatchPredict(ctx, req, opts...) } @@ -411,28 +411,28 @@ func (c *predictionGRPCClient) BatchPredict(ctx context.Context, req *automlpb.B // returned in the response. // Available for following ML problems, and their expected request payloads: // -// Image Classification - Image in .JPEG, .GIF or .PNG format, image_bytes -// up to 30MB. +// Image Classification - Image in .JPEG, .GIF or .PNG format, image_bytes +// up to 30MB. // -// Image Object Detection - Image in .JPEG, .GIF or .PNG format, image_bytes -// up to 30MB. +// Image Object Detection - Image in .JPEG, .GIF or .PNG format, image_bytes +// up to 30MB. // -// Text Classification - TextSnippet, content up to 60,000 characters, -// UTF-8 encoded. +// Text Classification - TextSnippet, content up to 60,000 characters, +// UTF-8 encoded. // -// Text Extraction - TextSnippet, content up to 30,000 characters, -// UTF-8 NFC encoded. +// Text Extraction - TextSnippet, content up to 30,000 characters, +// UTF-8 NFC encoded. // -// Translation - TextSnippet, content up to 25,000 characters, UTF-8 -// encoded. +// Translation - TextSnippet, content up to 25,000 characters, UTF-8 +// encoded. // -// Tables - Row, with column values matching the columns of the model, -// up to 5MB. Not available for FORECASTING +// Tables - Row, with column values matching the columns of the model, +// up to 5MB. Not available for FORECASTING // // prediction_type. // -// Text Sentiment - TextSnippet, content up 500 characters, UTF-8 -// encoded. +// Text Sentiment - TextSnippet, content up 500 characters, UTF-8 +// encoded. func (c *predictionRESTClient) Predict(ctx context.Context, req *automlpb.PredictRequest, opts ...gax.CallOption) (*automlpb.PredictResponse, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -506,15 +506,15 @@ func (c *predictionRESTClient) Predict(ctx context.Context, req *automlpb.Predic // the response field. // Available for following ML problems: // -// Image Classification +// Image Classification // -// Image Object Detection +// Image Object Detection // -// Video Classification +// Video Classification // -// Video Object Tracking * Text Extraction +// Video Object Tracking * Text Extraction // -// Tables +// Tables func (c *predictionRESTClient) BatchPredict(ctx context.Context, req *automlpb.BatchPredictRequest, opts ...gax.CallOption) (*BatchPredictOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/baremetalsolution.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/baremetalsolution.pb.go index 58a41f815682..2c4cb943d6d1 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/baremetalsolution.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/baremetalsolution.pb.go @@ -21,11 +21,8 @@ package baremetalsolutionpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/common.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/common.pb.go index 59765fef74fb..5bc7991b3235 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/common.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/common.pb.go @@ -21,11 +21,10 @@ package baremetalsolutionpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/instance.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/instance.pb.go index f044870d32a4..fcfe15d16d5a 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/instance.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/instance.pb.go @@ -21,14 +21,13 @@ package baremetalsolutionpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/lun.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/lun.pb.go index 7b4a6cb74d35..9a8b40db184a 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/lun.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/lun.pb.go @@ -21,13 +21,12 @@ package baremetalsolutionpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/network.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/network.pb.go index bf9900c358ba..97c23e48bf32 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/network.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/network.pb.go @@ -21,13 +21,12 @@ package baremetalsolutionpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/nfs_share.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/nfs_share.pb.go index f1149cd9be0f..cf6b1e6616d1 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/nfs_share.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/nfs_share.pb.go @@ -21,13 +21,12 @@ package baremetalsolutionpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/osimage.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/osimage.pb.go index 247b503a2953..e12f905db125 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/osimage.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/osimage.pb.go @@ -21,12 +21,11 @@ package baremetalsolutionpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/provisioning.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/provisioning.pb.go index efa8a9b1710e..0ce49a280866 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/provisioning.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/provisioning.pb.go @@ -21,14 +21,13 @@ package baremetalsolutionpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/ssh_key.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/ssh_key.pb.go index 1734b83ce505..1537ffd26270 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/ssh_key.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/ssh_key.pb.go @@ -21,12 +21,11 @@ package baremetalsolutionpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/volume.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/volume.pb.go index 3d5dde6f4835..68565e201068 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/volume.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/volume.pb.go @@ -21,14 +21,13 @@ package baremetalsolutionpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/volume_snapshot.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/volume_snapshot.pb.go index 421f57c6bc48..ba7c2029d348 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/volume_snapshot.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/volume_snapshot.pb.go @@ -21,13 +21,12 @@ package baremetalsolutionpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/doc.go b/baremetalsolution/apiv2/doc.go index 3ce4edfdc8e3..f8dae316cd34 100755 --- a/baremetalsolution/apiv2/doc.go +++ b/baremetalsolution/apiv2/doc.go @@ -20,71 +20,70 @@ // Provides ways to manage Bare Metal Solution hardware installed in a // regional extension located near a Google Cloud data center. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := baremetalsolution.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := baremetalsolution.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := baremetalsolution.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &baremetalsolutionpb.CreateNfsShareRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb#CreateNfsShareRequest. -// } -// op, err := c.CreateNfsShare(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := baremetalsolution.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &baremetalsolutionpb.CreateNfsShareRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb#CreateNfsShareRequest. +// } +// op, err := c.CreateNfsShare(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/batch/apiv1/batchpb/batch.pb.go b/batch/apiv1/batchpb/batch.pb.go index e8ebc9b780f1..bee99142c241 100755 --- a/batch/apiv1/batchpb/batch.pb.go +++ b/batch/apiv1/batchpb/batch.pb.go @@ -21,11 +21,8 @@ package batchpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/batch/apiv1/batchpb/job.pb.go b/batch/apiv1/batchpb/job.pb.go index 421dc5f5606c..ab566874f4d4 100755 --- a/batch/apiv1/batchpb/job.pb.go +++ b/batch/apiv1/batchpb/job.pb.go @@ -21,14 +21,13 @@ package batchpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/batch/apiv1/batchpb/task.pb.go b/batch/apiv1/batchpb/task.pb.go index ce299403b332..1ee7fd94fd98 100755 --- a/batch/apiv1/batchpb/task.pb.go +++ b/batch/apiv1/batchpb/task.pb.go @@ -21,14 +21,13 @@ package batchpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/batch/apiv1/batchpb/volume.pb.go b/batch/apiv1/batchpb/volume.pb.go index f57ccb39b01e..32f6d95e3ca8 100755 --- a/batch/apiv1/batchpb/volume.pb.go +++ b/batch/apiv1/batchpb/volume.pb.go @@ -21,11 +21,10 @@ package batchpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/batch/apiv1/doc.go b/batch/apiv1/doc.go index d09ada3aaa70..19b3a022a341 100755 --- a/batch/apiv1/doc.go +++ b/batch/apiv1/doc.go @@ -19,66 +19,65 @@ // // An API to manage the running of batch jobs on Google Cloud Platform. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := batch.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := batch.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := batch.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &batchpb.CreateJobRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/batch/apiv1/batchpb#CreateJobRequest. -// } -// resp, err := c.CreateJob(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := batch.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &batchpb.CreateJobRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/batch/apiv1/batchpb#CreateJobRequest. +// } +// resp, err := c.CreateJob(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/beyondcorp/appconnections/apiv1/app_connections_client.go b/beyondcorp/appconnections/apiv1/app_connections_client.go index ad16779abbb4..d9dd005100ff 100755 --- a/beyondcorp/appconnections/apiv1/app_connections_client.go +++ b/beyondcorp/appconnections/apiv1/app_connections_client.go @@ -127,8 +127,8 @@ type internalClient interface { // // The AppConnectionsService exposes the following resources: // -// AppConnections, named as follows: -// projects/{project_id}/locations/{location_id}/appConnections/{app_connection_id}. +// AppConnections, named as follows: +// projects/{project_id}/locations/{location_id}/appConnections/{app_connection_id}. // // The AppConnectionsService service provides methods to manage // (create/read/update/delete) BeyondCorp AppConnections. @@ -314,8 +314,8 @@ type gRPCClient struct { // // The AppConnectionsService exposes the following resources: // -// AppConnections, named as follows: -// projects/{project_id}/locations/{location_id}/appConnections/{app_connection_id}. +// AppConnections, named as follows: +// projects/{project_id}/locations/{location_id}/appConnections/{app_connection_id}. // // The AppConnectionsService service provides methods to manage // (create/read/update/delete) BeyondCorp AppConnections. diff --git a/beyondcorp/appconnections/apiv1/appconnectionspb/app_connections_service.pb.go b/beyondcorp/appconnections/apiv1/appconnectionspb/app_connections_service.pb.go index 9eff8b5ed185..8d5c95c785c2 100755 --- a/beyondcorp/appconnections/apiv1/appconnectionspb/app_connections_service.pb.go +++ b/beyondcorp/appconnections/apiv1/appconnectionspb/app_connections_service.pb.go @@ -21,11 +21,8 @@ package appconnectionspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/beyondcorp/appconnections/apiv1/doc.go b/beyondcorp/appconnections/apiv1/doc.go index 5cbbbb85566a..21c0646ac81d 100755 --- a/beyondcorp/appconnections/apiv1/doc.go +++ b/beyondcorp/appconnections/apiv1/doc.go @@ -22,71 +22,70 @@ // Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem // connectivity using the App Connector hybrid connectivity solution. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := appconnections.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := appconnections.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := appconnections.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &appconnectionspb.CreateAppConnectionRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb#CreateAppConnectionRequest. -// } -// op, err := c.CreateAppConnection(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := appconnections.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &appconnectionspb.CreateAppConnectionRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb#CreateAppConnectionRequest. +// } +// op, err := c.CreateAppConnection(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/beyondcorp/appconnectors/apiv1/app_connectors_client.go b/beyondcorp/appconnectors/apiv1/app_connectors_client.go index 20b448f4f694..51e7b774c60c 100755 --- a/beyondcorp/appconnectors/apiv1/app_connectors_client.go +++ b/beyondcorp/appconnectors/apiv1/app_connectors_client.go @@ -128,8 +128,8 @@ type internalClient interface { // // The AppConnectorsService exposes the following resource: // -// AppConnectors, named as follows: -// projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}. +// AppConnectors, named as follows: +// projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}. // // The AppConnectorsService provides methods to manage // (create/read/update/delete) BeyondCorp AppConnectors. @@ -319,8 +319,8 @@ type gRPCClient struct { // // The AppConnectorsService exposes the following resource: // -// AppConnectors, named as follows: -// projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}. +// AppConnectors, named as follows: +// projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}. // // The AppConnectorsService provides methods to manage // (create/read/update/delete) BeyondCorp AppConnectors. diff --git a/beyondcorp/appconnectors/apiv1/appconnectorspb/app_connector_instance_config.pb.go b/beyondcorp/appconnectors/apiv1/appconnectorspb/app_connector_instance_config.pb.go index 6d352a56f1fe..1137aa2b0c8b 100755 --- a/beyondcorp/appconnectors/apiv1/appconnectorspb/app_connector_instance_config.pb.go +++ b/beyondcorp/appconnectors/apiv1/appconnectorspb/app_connector_instance_config.pb.go @@ -21,13 +21,12 @@ package appconnectorspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/beyondcorp/appconnectors/apiv1/appconnectorspb/app_connectors_service.pb.go b/beyondcorp/appconnectors/apiv1/appconnectorspb/app_connectors_service.pb.go index 3c30729c5a10..0e4b72b618ec 100755 --- a/beyondcorp/appconnectors/apiv1/appconnectorspb/app_connectors_service.pb.go +++ b/beyondcorp/appconnectors/apiv1/appconnectorspb/app_connectors_service.pb.go @@ -21,11 +21,8 @@ package appconnectorspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/beyondcorp/appconnectors/apiv1/appconnectorspb/resource_info.pb.go b/beyondcorp/appconnectors/apiv1/appconnectorspb/resource_info.pb.go index c282bdfece4e..9c342065b1cd 100755 --- a/beyondcorp/appconnectors/apiv1/appconnectorspb/resource_info.pb.go +++ b/beyondcorp/appconnectors/apiv1/appconnectorspb/resource_info.pb.go @@ -21,14 +21,13 @@ package appconnectorspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -103,12 +102,12 @@ func (HealthStatus) EnumDescriptor() ([]byte, []int) { // Such as: // - remote_agent // - container -// - runtime -// - appgateway -// - appconnector -// - appconnection -// - tunnel -// - logagent +// - runtime +// - appgateway +// - appconnector +// - appconnection +// - tunnel +// - logagent type ResourceInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/beyondcorp/appconnectors/apiv1/doc.go b/beyondcorp/appconnectors/apiv1/doc.go index d25b92e65434..47d4a83fa131 100755 --- a/beyondcorp/appconnectors/apiv1/doc.go +++ b/beyondcorp/appconnectors/apiv1/doc.go @@ -22,71 +22,70 @@ // Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem // connectivity using the App Connector hybrid connectivity solution. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := appconnectors.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := appconnectors.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := appconnectors.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &appconnectorspb.CreateAppConnectorRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb#CreateAppConnectorRequest. -// } -// op, err := c.CreateAppConnector(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := appconnectors.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &appconnectorspb.CreateAppConnectorRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb#CreateAppConnectorRequest. +// } +// op, err := c.CreateAppConnector(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/beyondcorp/appgateways/apiv1/app_gateways_client.go b/beyondcorp/appgateways/apiv1/app_gateways_client.go index 7e79ac020c92..f9b2eecccefe 100755 --- a/beyondcorp/appgateways/apiv1/app_gateways_client.go +++ b/beyondcorp/appgateways/apiv1/app_gateways_client.go @@ -120,8 +120,8 @@ type internalClient interface { // // The AppGatewaysService exposes the following resources: // -// AppGateways, named as follows: -// projects/{project_id}/locations/{location_id}/appGateways/{app_gateway_id}. +// AppGateways, named as follows: +// projects/{project_id}/locations/{location_id}/appGateways/{app_gateway_id}. // // The AppGatewaysService service provides methods to manage // (create/read/update/delete) BeyondCorp AppGateways. @@ -289,8 +289,8 @@ type gRPCClient struct { // // The AppGatewaysService exposes the following resources: // -// AppGateways, named as follows: -// projects/{project_id}/locations/{location_id}/appGateways/{app_gateway_id}. +// AppGateways, named as follows: +// projects/{project_id}/locations/{location_id}/appGateways/{app_gateway_id}. // // The AppGatewaysService service provides methods to manage // (create/read/update/delete) BeyondCorp AppGateways. diff --git a/beyondcorp/appgateways/apiv1/appgatewayspb/app_gateways_service.pb.go b/beyondcorp/appgateways/apiv1/appgatewayspb/app_gateways_service.pb.go index 8e7c4ac07a45..674f0cf0593f 100755 --- a/beyondcorp/appgateways/apiv1/appgatewayspb/app_gateways_service.pb.go +++ b/beyondcorp/appgateways/apiv1/appgatewayspb/app_gateways_service.pb.go @@ -21,11 +21,8 @@ package appgatewayspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/beyondcorp/appgateways/apiv1/doc.go b/beyondcorp/appgateways/apiv1/doc.go index 1f5e114540eb..107b3dec8b50 100755 --- a/beyondcorp/appgateways/apiv1/doc.go +++ b/beyondcorp/appgateways/apiv1/doc.go @@ -22,71 +22,70 @@ // Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem // connectivity using the App Connector hybrid connectivity solution. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := appgateways.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := appgateways.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := appgateways.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &appgatewayspb.CreateAppGatewayRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/beyondcorp/appgateways/apiv1/appgatewayspb#CreateAppGatewayRequest. -// } -// op, err := c.CreateAppGateway(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := appgateways.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &appgatewayspb.CreateAppGatewayRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/beyondcorp/appgateways/apiv1/appgatewayspb#CreateAppGatewayRequest. +// } +// op, err := c.CreateAppGateway(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/beyondcorp/clientconnectorservices/apiv1/client_connector_services_client.go b/beyondcorp/clientconnectorservices/apiv1/client_connector_services_client.go index d3443503478c..09dad6a3d267 100755 --- a/beyondcorp/clientconnectorservices/apiv1/client_connector_services_client.go +++ b/beyondcorp/clientconnectorservices/apiv1/client_connector_services_client.go @@ -124,8 +124,8 @@ type internalClient interface { // // The ClientConnectorServicesService exposes the following resources: // -// Client Connector Services, named as follows: -// projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}. +// Client Connector Services, named as follows: +// projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}. type Client struct { // The internal transport-dependent client. internalClient internalClient @@ -301,8 +301,8 @@ type gRPCClient struct { // // The ClientConnectorServicesService exposes the following resources: // -// Client Connector Services, named as follows: -// projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}. +// Client Connector Services, named as follows: +// projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}. func NewClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { clientOpts := defaultGRPCClientOptions() if newClientHook != nil { diff --git a/beyondcorp/clientconnectorservices/apiv1/clientconnectorservicespb/client_connector_services_service.pb.go b/beyondcorp/clientconnectorservices/apiv1/clientconnectorservicespb/client_connector_services_service.pb.go index 33bb2959c491..d7ab216fd6ee 100755 --- a/beyondcorp/clientconnectorservices/apiv1/clientconnectorservicespb/client_connector_services_service.pb.go +++ b/beyondcorp/clientconnectorservices/apiv1/clientconnectorservicespb/client_connector_services_service.pb.go @@ -21,11 +21,8 @@ package clientconnectorservicespb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/beyondcorp/clientconnectorservices/apiv1/doc.go b/beyondcorp/clientconnectorservices/apiv1/doc.go index 175cb980d294..a296a342d3a5 100755 --- a/beyondcorp/clientconnectorservices/apiv1/doc.go +++ b/beyondcorp/clientconnectorservices/apiv1/doc.go @@ -22,71 +22,70 @@ // Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem // connectivity using the App Connector hybrid connectivity solution. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := clientconnectorservices.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := clientconnectorservices.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := clientconnectorservices.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &clientconnectorservicespb.CreateClientConnectorServiceRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/beyondcorp/clientconnectorservices/apiv1/clientconnectorservicespb#CreateClientConnectorServiceRequest. -// } -// op, err := c.CreateClientConnectorService(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := clientconnectorservices.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &clientconnectorservicespb.CreateClientConnectorServiceRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/beyondcorp/clientconnectorservices/apiv1/clientconnectorservicespb#CreateClientConnectorServiceRequest. +// } +// op, err := c.CreateClientConnectorService(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/beyondcorp/clientgateways/apiv1/client_gateways_client.go b/beyondcorp/clientgateways/apiv1/client_gateways_client.go index 24727b72c333..f7176e27cbe1 100755 --- a/beyondcorp/clientgateways/apiv1/client_gateways_client.go +++ b/beyondcorp/clientgateways/apiv1/client_gateways_client.go @@ -120,8 +120,8 @@ type internalClient interface { // // The ClientGatewaysService exposes the following resources: // -// Client Gateways, named as follows: -// projects/{project_id}/locations/{location_id}/clientGateways/{client_gateway_id}. +// Client Gateways, named as follows: +// projects/{project_id}/locations/{location_id}/clientGateways/{client_gateway_id}. type Client struct { // The internal transport-dependent client. internalClient internalClient @@ -286,8 +286,8 @@ type gRPCClient struct { // // The ClientGatewaysService exposes the following resources: // -// Client Gateways, named as follows: -// projects/{project_id}/locations/{location_id}/clientGateways/{client_gateway_id}. +// Client Gateways, named as follows: +// projects/{project_id}/locations/{location_id}/clientGateways/{client_gateway_id}. func NewClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { clientOpts := defaultGRPCClientOptions() if newClientHook != nil { diff --git a/beyondcorp/clientgateways/apiv1/clientgatewayspb/client_gateways_service.pb.go b/beyondcorp/clientgateways/apiv1/clientgatewayspb/client_gateways_service.pb.go index 99faa59ba332..18855eb7883a 100755 --- a/beyondcorp/clientgateways/apiv1/clientgatewayspb/client_gateways_service.pb.go +++ b/beyondcorp/clientgateways/apiv1/clientgatewayspb/client_gateways_service.pb.go @@ -21,11 +21,8 @@ package clientgatewayspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/beyondcorp/clientgateways/apiv1/doc.go b/beyondcorp/clientgateways/apiv1/doc.go index 4c954eb9abf5..14b8abe7437d 100755 --- a/beyondcorp/clientgateways/apiv1/doc.go +++ b/beyondcorp/clientgateways/apiv1/doc.go @@ -22,71 +22,70 @@ // Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem // connectivity using the App Connector hybrid connectivity solution. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := clientgateways.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := clientgateways.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := clientgateways.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &clientgatewayspb.CreateClientGatewayRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/beyondcorp/clientgateways/apiv1/clientgatewayspb#CreateClientGatewayRequest. -// } -// op, err := c.CreateClientGateway(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := clientgateways.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &clientgatewayspb.CreateClientGatewayRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/beyondcorp/clientgateways/apiv1/clientgatewayspb#CreateClientGatewayRequest. +// } +// op, err := c.CreateClientGateway(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/analyticshub/apiv1/analyticshubpb/analyticshub.pb.go b/bigquery/analyticshub/apiv1/analyticshubpb/analyticshub.pb.go index 408507e075cb..c197320e8e37 100755 --- a/bigquery/analyticshub/apiv1/analyticshubpb/analyticshub.pb.go +++ b/bigquery/analyticshub/apiv1/analyticshubpb/analyticshub.pb.go @@ -21,12 +21,9 @@ package analyticshubpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -37,6 +34,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/analyticshub/apiv1/doc.go b/bigquery/analyticshub/apiv1/doc.go index 527dab843504..90f403aea67a 100755 --- a/bigquery/analyticshub/apiv1/doc.go +++ b/bigquery/analyticshub/apiv1/doc.go @@ -19,66 +19,65 @@ // // Exchange data and analytics assets securely and efficiently. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := analyticshub.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := analyticshub.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := analyticshub.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &analyticshubpb.CreateDataExchangeRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/analyticshub/apiv1/analyticshubpb#CreateDataExchangeRequest. -// } -// resp, err := c.CreateDataExchange(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := analyticshub.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &analyticshubpb.CreateDataExchangeRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/analyticshub/apiv1/analyticshubpb#CreateDataExchangeRequest. +// } +// resp, err := c.CreateDataExchange(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/biglake/apiv1/biglakepb/metastore.pb.go b/bigquery/biglake/apiv1/biglakepb/metastore.pb.go index 7a16ed522558..71e90aae2df2 100755 --- a/bigquery/biglake/apiv1/biglakepb/metastore.pb.go +++ b/bigquery/biglake/apiv1/biglakepb/metastore.pb.go @@ -22,9 +22,6 @@ package biglakepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/biglake/apiv1/doc.go b/bigquery/biglake/apiv1/doc.go index 4ac32b96f3da..98d53fbe5146 100755 --- a/bigquery/biglake/apiv1/doc.go +++ b/bigquery/biglake/apiv1/doc.go @@ -21,66 +21,65 @@ // managed, and highly available metastore for open-source data that can be // used for querying Apache Iceberg tables in BigQuery. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := biglake.NewMetastoreClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := biglake.NewMetastoreClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := biglake.NewMetastoreClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &biglakepb.CreateCatalogRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/biglake/apiv1/biglakepb#CreateCatalogRequest. -// } -// resp, err := c.CreateCatalog(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := biglake.NewMetastoreClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &biglakepb.CreateCatalogRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/biglake/apiv1/biglakepb#CreateCatalogRequest. +// } +// resp, err := c.CreateCatalog(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewMetastoreClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/biglake/apiv1/metastore_client.go b/bigquery/biglake/apiv1/metastore_client.go index 336c7175363a..2cb690f2d43f 100755 --- a/bigquery/biglake/apiv1/metastore_client.go +++ b/bigquery/biglake/apiv1/metastore_client.go @@ -488,15 +488,15 @@ type internalMetastoreClient interface { // // The BigLake Metastore API defines the following resource model: // -// A collection of Google Cloud projects: /projects/* +// A collection of Google Cloud projects: /projects/* // -// Each project has a collection of available locations: /locations/* +// Each project has a collection of available locations: /locations/* // -// Each location has a collection of catalogs: /catalogs/* +// Each location has a collection of catalogs: /catalogs/* // -// Each catalog has a collection of databases: /databases/* +// Each catalog has a collection of databases: /databases/* // -// Each database has a collection of tables: /tables/* +// Each database has a collection of tables: /tables/* type MetastoreClient struct { // The internal transport-dependent client. internalClient internalMetastoreClient @@ -628,15 +628,15 @@ type metastoreGRPCClient struct { // // The BigLake Metastore API defines the following resource model: // -// A collection of Google Cloud projects: /projects/* +// A collection of Google Cloud projects: /projects/* // -// Each project has a collection of available locations: /locations/* +// Each project has a collection of available locations: /locations/* // -// Each location has a collection of catalogs: /catalogs/* +// Each location has a collection of catalogs: /catalogs/* // -// Each catalog has a collection of databases: /databases/* +// Each catalog has a collection of databases: /databases/* // -// Each database has a collection of tables: /tables/* +// Each database has a collection of tables: /tables/* func NewMetastoreClient(ctx context.Context, opts ...option.ClientOption) (*MetastoreClient, error) { clientOpts := defaultMetastoreGRPCClientOptions() if newMetastoreClientHook != nil { @@ -710,15 +710,15 @@ type metastoreRESTClient struct { // // The BigLake Metastore API defines the following resource model: // -// A collection of Google Cloud projects: /projects/* +// A collection of Google Cloud projects: /projects/* // -// Each project has a collection of available locations: /locations/* +// Each project has a collection of available locations: /locations/* // -// Each location has a collection of catalogs: /catalogs/* +// Each location has a collection of catalogs: /catalogs/* // -// Each catalog has a collection of databases: /databases/* +// Each catalog has a collection of databases: /databases/* // -// Each database has a collection of tables: /tables/* +// Each database has a collection of tables: /tables/* func NewMetastoreRESTClient(ctx context.Context, opts ...option.ClientOption) (*MetastoreClient, error) { clientOpts := append(defaultMetastoreRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/bigquery/biglake/apiv1alpha1/biglakepb/metastore.pb.go b/bigquery/biglake/apiv1alpha1/biglakepb/metastore.pb.go index 70021ee0b6e4..653241103183 100755 --- a/bigquery/biglake/apiv1alpha1/biglakepb/metastore.pb.go +++ b/bigquery/biglake/apiv1alpha1/biglakepb/metastore.pb.go @@ -22,9 +22,6 @@ package biglakepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/biglake/apiv1alpha1/doc.go b/bigquery/biglake/apiv1alpha1/doc.go index cd61601aaee6..b50181b4a0f7 100755 --- a/bigquery/biglake/apiv1alpha1/doc.go +++ b/bigquery/biglake/apiv1alpha1/doc.go @@ -21,68 +21,67 @@ // managed, and highly available metastore for open-source data that can be // used for querying Apache Iceberg tables in BigQuery. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := biglake.NewMetastoreClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := biglake.NewMetastoreClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := biglake.NewMetastoreClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &biglakepb.CheckLockRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/biglake/apiv1alpha1/biglakepb#CheckLockRequest. -// } -// resp, err := c.CheckLock(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := biglake.NewMetastoreClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &biglakepb.CheckLockRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/biglake/apiv1alpha1/biglakepb#CheckLockRequest. +// } +// resp, err := c.CheckLock(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewMetastoreClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/biglake/apiv1alpha1/metastore_client.go b/bigquery/biglake/apiv1alpha1/metastore_client.go index 8d5513c6ab3b..5abd816e8106 100755 --- a/bigquery/biglake/apiv1alpha1/metastore_client.go +++ b/bigquery/biglake/apiv1alpha1/metastore_client.go @@ -596,15 +596,15 @@ type internalMetastoreClient interface { // // The BigLake Metastore API defines the following resource model: // -// A collection of Google Cloud projects: /projects/* +// A collection of Google Cloud projects: /projects/* // -// Each project has a collection of available locations: /locations/* +// Each project has a collection of available locations: /locations/* // -// Each location has a collection of catalogs: /catalogs/* +// Each location has a collection of catalogs: /catalogs/* // -// Each catalog has a collection of databases: /databases/* +// Each catalog has a collection of databases: /databases/* // -// Each database has a collection of tables: /tables/* +// Each database has a collection of tables: /tables/* type MetastoreClient struct { // The internal transport-dependent client. internalClient internalMetastoreClient @@ -756,15 +756,15 @@ type metastoreGRPCClient struct { // // The BigLake Metastore API defines the following resource model: // -// A collection of Google Cloud projects: /projects/* +// A collection of Google Cloud projects: /projects/* // -// Each project has a collection of available locations: /locations/* +// Each project has a collection of available locations: /locations/* // -// Each location has a collection of catalogs: /catalogs/* +// Each location has a collection of catalogs: /catalogs/* // -// Each catalog has a collection of databases: /databases/* +// Each catalog has a collection of databases: /databases/* // -// Each database has a collection of tables: /tables/* +// Each database has a collection of tables: /tables/* func NewMetastoreClient(ctx context.Context, opts ...option.ClientOption) (*MetastoreClient, error) { clientOpts := defaultMetastoreGRPCClientOptions() if newMetastoreClientHook != nil { @@ -838,15 +838,15 @@ type metastoreRESTClient struct { // // The BigLake Metastore API defines the following resource model: // -// A collection of Google Cloud projects: /projects/* +// A collection of Google Cloud projects: /projects/* // -// Each project has a collection of available locations: /locations/* +// Each project has a collection of available locations: /locations/* // -// Each location has a collection of catalogs: /catalogs/* +// Each location has a collection of catalogs: /catalogs/* // -// Each catalog has a collection of databases: /databases/* +// Each catalog has a collection of databases: /databases/* // -// Each database has a collection of tables: /tables/* +// Each database has a collection of tables: /tables/* func NewMetastoreRESTClient(ctx context.Context, opts ...option.ClientOption) (*MetastoreClient, error) { clientOpts := append(defaultMetastoreRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/bigquery/connection/apiv1/connectionpb/connection.pb.go b/bigquery/connection/apiv1/connectionpb/connection.pb.go index 671faa9f8507..5d6c580ebf6c 100755 --- a/bigquery/connection/apiv1/connectionpb/connection.pb.go +++ b/bigquery/connection/apiv1/connectionpb/connection.pb.go @@ -21,11 +21,8 @@ package connectionpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/connection/apiv1/doc.go b/bigquery/connection/apiv1/doc.go index cc199500ac4b..bbcb87fa3094 100755 --- a/bigquery/connection/apiv1/doc.go +++ b/bigquery/connection/apiv1/doc.go @@ -19,66 +19,65 @@ // // Allows users to manage BigQuery connections to external data sources. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := connection.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := connection.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := connection.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &connectionpb.CreateConnectionRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/connection/apiv1/connectionpb#CreateConnectionRequest. -// } -// resp, err := c.CreateConnection(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := connection.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &connectionpb.CreateConnectionRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/connection/apiv1/connectionpb#CreateConnectionRequest. +// } +// resp, err := c.CreateConnection(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/connection/apiv1beta1/auxiliary.go b/bigquery/connection/apiv1beta1/auxiliary.go index 76ef72b814ce..da810510db9a 100755 --- a/bigquery/connection/apiv1beta1/auxiliary.go +++ b/bigquery/connection/apiv1beta1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package connection + +import () diff --git a/bigquery/connection/apiv1beta1/connectionpb/connection.pb.go b/bigquery/connection/apiv1beta1/connectionpb/connection.pb.go index f2323ce9a026..2b9ea4a3e105 100755 --- a/bigquery/connection/apiv1beta1/connectionpb/connection.pb.go +++ b/bigquery/connection/apiv1beta1/connectionpb/connection.pb.go @@ -21,11 +21,8 @@ package connectionpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/connection/apiv1beta1/doc.go b/bigquery/connection/apiv1beta1/doc.go index 3dba077c58aa..93fa93e140dd 100755 --- a/bigquery/connection/apiv1beta1/doc.go +++ b/bigquery/connection/apiv1beta1/doc.go @@ -19,68 +19,67 @@ // // Allows users to manage BigQuery connections to external data sources. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := connection.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := connection.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := connection.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &connectionpb.CreateConnectionRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/connection/apiv1beta1/connectionpb#CreateConnectionRequest. -// } -// resp, err := c.CreateConnection(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := connection.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &connectionpb.CreateConnectionRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/connection/apiv1beta1/connectionpb#CreateConnectionRequest. +// } +// resp, err := c.CreateConnection(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/dataexchange/apiv1beta1/dataexchangepb/dataexchange.pb.go b/bigquery/dataexchange/apiv1beta1/dataexchangepb/dataexchange.pb.go index 5c62fc0b321e..46f8efbd7052 100755 --- a/bigquery/dataexchange/apiv1beta1/dataexchangepb/dataexchange.pb.go +++ b/bigquery/dataexchange/apiv1beta1/dataexchangepb/dataexchange.pb.go @@ -21,11 +21,8 @@ package dataexchangepb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/dataexchange/apiv1beta1/doc.go b/bigquery/dataexchange/apiv1beta1/doc.go index 6aec7ef862e7..a55fdb083aee 100755 --- a/bigquery/dataexchange/apiv1beta1/doc.go +++ b/bigquery/dataexchange/apiv1beta1/doc.go @@ -19,68 +19,67 @@ // // Exchange data and analytics assets securely and efficiently. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dataexchange.NewAnalyticsHubClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dataexchange.NewAnalyticsHubClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dataexchange.NewAnalyticsHubClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &dataexchangepb.CreateDataExchangeRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb#CreateDataExchangeRequest. -// } -// resp, err := c.CreateDataExchange(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dataexchange.NewAnalyticsHubClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &dataexchangepb.CreateDataExchangeRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb#CreateDataExchangeRequest. +// } +// resp, err := c.CreateDataExchange(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewAnalyticsHubClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/datapolicies/apiv1/datapoliciespb/datapolicy.pb.go b/bigquery/datapolicies/apiv1/datapoliciespb/datapolicy.pb.go index 633fb06c6371..329d135f1da0 100755 --- a/bigquery/datapolicies/apiv1/datapoliciespb/datapolicy.pb.go +++ b/bigquery/datapolicies/apiv1/datapoliciespb/datapolicy.pb.go @@ -21,11 +21,8 @@ package datapoliciespb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/datapolicies/apiv1/doc.go b/bigquery/datapolicies/apiv1/doc.go index 1edf9f23bfdc..53c7417dd9fe 100755 --- a/bigquery/datapolicies/apiv1/doc.go +++ b/bigquery/datapolicies/apiv1/doc.go @@ -19,66 +19,65 @@ // // Allows users to manage BigQuery data policies. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datapolicies.NewDataPolicyClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datapolicies.NewDataPolicyClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datapolicies.NewDataPolicyClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &datapoliciespb.CreateDataPolicyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/datapolicies/apiv1/datapoliciespb#CreateDataPolicyRequest. -// } -// resp, err := c.CreateDataPolicy(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datapolicies.NewDataPolicyClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &datapoliciespb.CreateDataPolicyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/datapolicies/apiv1/datapoliciespb#CreateDataPolicyRequest. +// } +// resp, err := c.CreateDataPolicy(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewDataPolicyClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/datapolicies/apiv1beta1/datapoliciespb/datapolicy.pb.go b/bigquery/datapolicies/apiv1beta1/datapoliciespb/datapolicy.pb.go index be70381ab3c3..c563a92fd129 100755 --- a/bigquery/datapolicies/apiv1beta1/datapoliciespb/datapolicy.pb.go +++ b/bigquery/datapolicies/apiv1beta1/datapoliciespb/datapolicy.pb.go @@ -21,11 +21,8 @@ package datapoliciespb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/datapolicies/apiv1beta1/doc.go b/bigquery/datapolicies/apiv1beta1/doc.go index b5e5239e7ac2..b2a5cd4ad557 100755 --- a/bigquery/datapolicies/apiv1beta1/doc.go +++ b/bigquery/datapolicies/apiv1beta1/doc.go @@ -19,68 +19,67 @@ // // Allows users to manage BigQuery data policies. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datapolicies.NewDataPolicyClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datapolicies.NewDataPolicyClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datapolicies.NewDataPolicyClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &datapoliciespb.CreateDataPolicyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/datapolicies/apiv1beta1/datapoliciespb#CreateDataPolicyRequest. -// } -// resp, err := c.CreateDataPolicy(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datapolicies.NewDataPolicyClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &datapoliciespb.CreateDataPolicyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/datapolicies/apiv1beta1/datapoliciespb#CreateDataPolicyRequest. +// } +// resp, err := c.CreateDataPolicy(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewDataPolicyClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/datatransfer/apiv1/datatransferpb/datatransfer.pb.go b/bigquery/datatransfer/apiv1/datatransferpb/datatransfer.pb.go index 7f5c2e5be536..395295b411fb 100755 --- a/bigquery/datatransfer/apiv1/datatransferpb/datatransfer.pb.go +++ b/bigquery/datatransfer/apiv1/datatransferpb/datatransfer.pb.go @@ -22,9 +22,6 @@ package datatransferpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/datatransfer/apiv1/datatransferpb/transfer.pb.go b/bigquery/datatransfer/apiv1/datatransferpb/transfer.pb.go index 7df9d422e90b..2ce36f8ff6bb 100755 --- a/bigquery/datatransfer/apiv1/datatransferpb/transfer.pb.go +++ b/bigquery/datatransfer/apiv1/datatransferpb/transfer.pb.go @@ -21,9 +21,6 @@ package datatransferpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -31,6 +28,8 @@ import ( structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/datatransfer/apiv1/doc.go b/bigquery/datatransfer/apiv1/doc.go index 90ba8ab19e4f..91d19b67f779 100755 --- a/bigquery/datatransfer/apiv1/doc.go +++ b/bigquery/datatransfer/apiv1/doc.go @@ -20,66 +20,65 @@ // Schedule queries or transfer external data from SaaS applications to // Google BigQuery on a regular basis. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datatransfer.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datatransfer.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datatransfer.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &datatransferpb.CheckValidCredsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/datatransfer/apiv1/datatransferpb#CheckValidCredsRequest. -// } -// resp, err := c.CheckValidCreds(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datatransfer.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &datatransferpb.CheckValidCredsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/datatransfer/apiv1/datatransferpb#CheckValidCredsRequest. +// } +// resp, err := c.CheckValidCreds(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/migration/apiv2/doc.go b/bigquery/migration/apiv2/doc.go index f5ace158653e..63a74b3dc956 100755 --- a/bigquery/migration/apiv2/doc.go +++ b/bigquery/migration/apiv2/doc.go @@ -20,68 +20,67 @@ // The migration service, exposing apis for migration jobs operations, and // agent management. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := migration.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := migration.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := migration.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &migrationpb.CreateMigrationWorkflowRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/migration/apiv2/migrationpb#CreateMigrationWorkflowRequest. -// } -// resp, err := c.CreateMigrationWorkflow(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := migration.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &migrationpb.CreateMigrationWorkflowRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/migration/apiv2/migrationpb#CreateMigrationWorkflowRequest. +// } +// resp, err := c.CreateMigrationWorkflow(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/migration/apiv2/migrationpb/migration_entities.pb.go b/bigquery/migration/apiv2/migrationpb/migration_entities.pb.go index bfd2a610c4b3..bf2e14182580 100755 --- a/bigquery/migration/apiv2/migrationpb/migration_entities.pb.go +++ b/bigquery/migration/apiv2/migrationpb/migration_entities.pb.go @@ -21,14 +21,13 @@ package migrationpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" errdetails "google.golang.org/genproto/googleapis/rpc/errdetails" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/migration/apiv2/migrationpb/migration_error_details.pb.go b/bigquery/migration/apiv2/migrationpb/migration_error_details.pb.go index 68757e72abac..de001b2a5463 100755 --- a/bigquery/migration/apiv2/migrationpb/migration_error_details.pb.go +++ b/bigquery/migration/apiv2/migrationpb/migration_error_details.pb.go @@ -21,13 +21,12 @@ package migrationpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" errdetails "google.golang.org/genproto/googleapis/rpc/errdetails" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/migration/apiv2/migrationpb/migration_metrics.pb.go b/bigquery/migration/apiv2/migrationpb/migration_metrics.pb.go index 1b7fa16eff5a..f7454dc8e22f 100755 --- a/bigquery/migration/apiv2/migrationpb/migration_metrics.pb.go +++ b/bigquery/migration/apiv2/migrationpb/migration_metrics.pb.go @@ -21,15 +21,14 @@ package migrationpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" distribution "google.golang.org/genproto/googleapis/api/distribution" metric "google.golang.org/genproto/googleapis/api/metric" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/migration/apiv2/migrationpb/migration_service.pb.go b/bigquery/migration/apiv2/migrationpb/migration_service.pb.go index c3af88f29a3c..35afe22db92d 100755 --- a/bigquery/migration/apiv2/migrationpb/migration_service.pb.go +++ b/bigquery/migration/apiv2/migrationpb/migration_service.pb.go @@ -22,9 +22,6 @@ package migrationpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/migration/apiv2/migrationpb/translation_config.pb.go b/bigquery/migration/apiv2/migrationpb/translation_config.pb.go index 4962f9e5de73..420dc9393de8 100755 --- a/bigquery/migration/apiv2/migrationpb/translation_config.pb.go +++ b/bigquery/migration/apiv2/migrationpb/translation_config.pb.go @@ -21,11 +21,10 @@ package migrationpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/migration/apiv2alpha/doc.go b/bigquery/migration/apiv2alpha/doc.go index c95c496c5ca9..8a5e7e6de204 100755 --- a/bigquery/migration/apiv2alpha/doc.go +++ b/bigquery/migration/apiv2alpha/doc.go @@ -20,68 +20,67 @@ // The migration service, exposing apis for migration jobs operations, and // agent management. // -// NOTE: This package is in alpha. It is not stable, and is likely to change. +// NOTE: This package is in alpha. It is not stable, and is likely to change. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := migration.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := migration.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := migration.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &migrationpb.CreateMigrationWorkflowRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb#CreateMigrationWorkflowRequest. -// } -// resp, err := c.CreateMigrationWorkflow(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := migration.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &migrationpb.CreateMigrationWorkflowRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb#CreateMigrationWorkflowRequest. +// } +// resp, err := c.CreateMigrationWorkflow(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/migration/apiv2alpha/migrationpb/assessment_task.pb.go b/bigquery/migration/apiv2alpha/migrationpb/assessment_task.pb.go index f52f3d680ab7..ca60cc02c143 100755 --- a/bigquery/migration/apiv2alpha/migrationpb/assessment_task.pb.go +++ b/bigquery/migration/apiv2alpha/migrationpb/assessment_task.pb.go @@ -21,12 +21,11 @@ package migrationpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/migration/apiv2alpha/migrationpb/migration_entities.pb.go b/bigquery/migration/apiv2alpha/migrationpb/migration_entities.pb.go index 9202148fd707..3657e5ed528a 100755 --- a/bigquery/migration/apiv2alpha/migrationpb/migration_entities.pb.go +++ b/bigquery/migration/apiv2alpha/migrationpb/migration_entities.pb.go @@ -21,15 +21,14 @@ package migrationpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" errdetails "google.golang.org/genproto/googleapis/rpc/errdetails" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/migration/apiv2alpha/migrationpb/migration_error_details.pb.go b/bigquery/migration/apiv2alpha/migrationpb/migration_error_details.pb.go index 4cd51601716d..39bd7fa6a37e 100755 --- a/bigquery/migration/apiv2alpha/migrationpb/migration_error_details.pb.go +++ b/bigquery/migration/apiv2alpha/migrationpb/migration_error_details.pb.go @@ -21,13 +21,12 @@ package migrationpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" errdetails "google.golang.org/genproto/googleapis/rpc/errdetails" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/migration/apiv2alpha/migrationpb/migration_metrics.pb.go b/bigquery/migration/apiv2alpha/migrationpb/migration_metrics.pb.go index 8faf7628add4..15d69326ad13 100755 --- a/bigquery/migration/apiv2alpha/migrationpb/migration_metrics.pb.go +++ b/bigquery/migration/apiv2alpha/migrationpb/migration_metrics.pb.go @@ -21,15 +21,14 @@ package migrationpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" distribution "google.golang.org/genproto/googleapis/api/distribution" metric "google.golang.org/genproto/googleapis/api/metric" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/migration/apiv2alpha/migrationpb/migration_service.pb.go b/bigquery/migration/apiv2alpha/migrationpb/migration_service.pb.go index 3d187c206a76..15ef3a09868e 100755 --- a/bigquery/migration/apiv2alpha/migrationpb/migration_service.pb.go +++ b/bigquery/migration/apiv2alpha/migrationpb/migration_service.pb.go @@ -22,9 +22,6 @@ package migrationpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/migration/apiv2alpha/migrationpb/translation_service.pb.go b/bigquery/migration/apiv2alpha/migrationpb/translation_service.pb.go index 67ba9768e8a0..5415e60a7f10 100755 --- a/bigquery/migration/apiv2alpha/migrationpb/translation_service.pb.go +++ b/bigquery/migration/apiv2alpha/migrationpb/translation_service.pb.go @@ -22,15 +22,14 @@ package migrationpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/migration/apiv2alpha/migrationpb/translation_task.pb.go b/bigquery/migration/apiv2alpha/migrationpb/translation_task.pb.go index f6441e2d5ce6..00717df237aa 100755 --- a/bigquery/migration/apiv2alpha/migrationpb/translation_task.pb.go +++ b/bigquery/migration/apiv2alpha/migrationpb/translation_task.pb.go @@ -21,11 +21,10 @@ package migrationpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/reservation/apiv1/doc.go b/bigquery/reservation/apiv1/doc.go index 52834f7019b6..8b45abbb3932 100755 --- a/bigquery/reservation/apiv1/doc.go +++ b/bigquery/reservation/apiv1/doc.go @@ -19,66 +19,65 @@ // // A service to modify your BigQuery flat-rate reservations. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := reservation.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := reservation.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := reservation.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &reservationpb.CreateAssignmentRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/reservation/apiv1/reservationpb#CreateAssignmentRequest. -// } -// resp, err := c.CreateAssignment(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := reservation.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &reservationpb.CreateAssignmentRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/reservation/apiv1/reservationpb#CreateAssignmentRequest. +// } +// resp, err := c.CreateAssignment(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/reservation/apiv1/reservation_client.go b/bigquery/reservation/apiv1/reservation_client.go index 03ee1a6c8966..3eb81e63c619 100755 --- a/bigquery/reservation/apiv1/reservation_client.go +++ b/bigquery/reservation/apiv1/reservation_client.go @@ -575,12 +575,12 @@ func (c *Client) MergeCapacityCommitments(ctx context.Context, req *reservationp // // Example: // -// The organization organizationA contains two projects, project1 -// and project2. +// The organization organizationA contains two projects, project1 +// and project2. // -// Assignments for all three entities (organizationA, project1, and -// project2) could all be created and mapped to the same or different -// reservations. +// Assignments for all three entities (organizationA, project1, and +// project2) could all be created and mapped to the same or different +// reservations. // // “None” assignments represent an absence of the assignment. Projects // assigned to None use on-demand pricing. To create a “None” assignment, use @@ -603,14 +603,14 @@ func (c *Client) CreateAssignment(ctx context.Context, req *reservationpb.Create // // Example: // -// Organization organizationA contains two projects, project1 and -// project2. +// Organization organizationA contains two projects, project1 and +// project2. // -// Reservation res1 exists and was created previously. +// Reservation res1 exists and was created previously. // -// CreateAssignment was used previously to define the following -// associations between entities and reservations: -// and +// CreateAssignment was used previously to define the following +// associations between entities and reservations: +// and // // In this example, ListAssignments will just return the above two assignments // for reservation res1, and no expansion/merge will happen. @@ -628,14 +628,14 @@ func (c *Client) ListAssignments(ctx context.Context, req *reservationpb.ListAss // // Example: // -// Organization organizationA contains two projects, project1 and -// project2. +// Organization organizationA contains two projects, project1 and +// project2. // -// Reservation res1 exists and was created previously. +// Reservation res1 exists and was created previously. // -// CreateAssignment was used previously to define the following -// associations between entities and reservations: -// and +// CreateAssignment was used previously to define the following +// associations between entities and reservations: +// and // // In this example, deletion of the assignment won’t // affect the other assignment . After said deletion, @@ -2262,12 +2262,12 @@ func (c *restClient) MergeCapacityCommitments(ctx context.Context, req *reservat // // Example: // -// The organization organizationA contains two projects, project1 -// and project2. +// The organization organizationA contains two projects, project1 +// and project2. // -// Assignments for all three entities (organizationA, project1, and -// project2) could all be created and mapped to the same or different -// reservations. +// Assignments for all three entities (organizationA, project1, and +// project2) could all be created and mapped to the same or different +// reservations. // // “None” assignments represent an absence of the assignment. Projects // assigned to None use on-demand pricing. To create a “None” assignment, use @@ -2355,14 +2355,14 @@ func (c *restClient) CreateAssignment(ctx context.Context, req *reservationpb.Cr // // Example: // -// Organization organizationA contains two projects, project1 and -// project2. +// Organization organizationA contains two projects, project1 and +// project2. // -// Reservation res1 exists and was created previously. +// Reservation res1 exists and was created previously. // -// CreateAssignment was used previously to define the following -// associations between entities and reservations: -// and +// CreateAssignment was used previously to define the following +// associations between entities and reservations: +// and // // In this example, ListAssignments will just return the above two assignments // for reservation res1, and no expansion/merge will happen. @@ -2464,14 +2464,14 @@ func (c *restClient) ListAssignments(ctx context.Context, req *reservationpb.Lis // // Example: // -// Organization organizationA contains two projects, project1 and -// project2. +// Organization organizationA contains two projects, project1 and +// project2. // -// Reservation res1 exists and was created previously. +// Reservation res1 exists and was created previously. // -// CreateAssignment was used previously to define the following -// associations between entities and reservations: -// and +// CreateAssignment was used previously to define the following +// associations between entities and reservations: +// and // // In this example, deletion of the assignment won’t // affect the other assignment . After said deletion, diff --git a/bigquery/reservation/apiv1/reservationpb/reservation.pb.go b/bigquery/reservation/apiv1/reservationpb/reservation.pb.go index b0644cd2e45e..c5d2161cc25a 100755 --- a/bigquery/reservation/apiv1/reservationpb/reservation.pb.go +++ b/bigquery/reservation/apiv1/reservationpb/reservation.pb.go @@ -22,9 +22,6 @@ package reservationpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1/auxiliary.go b/bigquery/storage/apiv1/auxiliary.go index eeeadcc79a80..625e26312d5d 100755 --- a/bigquery/storage/apiv1/auxiliary.go +++ b/bigquery/storage/apiv1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package storage + +import () diff --git a/bigquery/storage/apiv1/big_query_write_client.go b/bigquery/storage/apiv1/big_query_write_client.go index 315813cff8ff..ad7fa3e16324 100755 --- a/bigquery/storage/apiv1/big_query_write_client.go +++ b/bigquery/storage/apiv1/big_query_write_client.go @@ -227,15 +227,15 @@ func (c *BigQueryWriteClient) CreateWriteStream(ctx context.Context, req *storag // The specifics of when successfully appended data is made visible to the // table are governed by the type of stream: // -// For COMMITTED streams (which includes the default stream), data is -// visible immediately upon successful append. +// For COMMITTED streams (which includes the default stream), data is +// visible immediately upon successful append. // -// For BUFFERED streams, data is made visible via a subsequent FlushRows -// rpc which advances a cursor to a newer offset in the stream. +// For BUFFERED streams, data is made visible via a subsequent FlushRows +// rpc which advances a cursor to a newer offset in the stream. // -// For PENDING streams, data is not made visible until the stream itself is -// finalized (via the FinalizeWriteStream rpc), and the stream is explicitly -// committed via the BatchCommitWriteStreams rpc. +// For PENDING streams, data is not made visible until the stream itself is +// finalized (via the FinalizeWriteStream rpc), and the stream is explicitly +// committed via the BatchCommitWriteStreams rpc. func (c *BigQueryWriteClient) AppendRows(ctx context.Context, opts ...gax.CallOption) (storagepb.BigQueryWrite_AppendRowsClient, error) { return c.internalClient.AppendRows(ctx, opts...) } diff --git a/bigquery/storage/apiv1/doc.go b/bigquery/storage/apiv1/doc.go index 1e63d1af4e09..f010f86bc612 100755 --- a/bigquery/storage/apiv1/doc.go +++ b/bigquery/storage/apiv1/doc.go @@ -17,66 +17,65 @@ // Package storage is an auto-generated package for the // BigQuery Storage API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := storage.NewBigQueryReadClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := storage.NewBigQueryReadClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := storage.NewBigQueryReadClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &storagepb.CreateReadSessionRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/storage/apiv1/storagepb#CreateReadSessionRequest. -// } -// resp, err := c.CreateReadSession(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := storage.NewBigQueryReadClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &storagepb.CreateReadSessionRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/storage/apiv1/storagepb#CreateReadSessionRequest. +// } +// resp, err := c.CreateReadSession(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewBigQueryReadClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/storage/apiv1/storagepb/annotations.pb.go b/bigquery/storage/apiv1/storagepb/annotations.pb.go index 33de8c639af1..072a277b9426 100755 --- a/bigquery/storage/apiv1/storagepb/annotations.pb.go +++ b/bigquery/storage/apiv1/storagepb/annotations.pb.go @@ -7,11 +7,10 @@ package storagepb import ( - reflect "reflect" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" descriptorpb "google.golang.org/protobuf/types/descriptorpb" + reflect "reflect" ) const ( diff --git a/bigquery/storage/apiv1/storagepb/arrow.pb.go b/bigquery/storage/apiv1/storagepb/arrow.pb.go index 8140c85b88ab..d6ac14952f28 100755 --- a/bigquery/storage/apiv1/storagepb/arrow.pb.go +++ b/bigquery/storage/apiv1/storagepb/arrow.pb.go @@ -21,11 +21,10 @@ package storagepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1/storagepb/avro.pb.go b/bigquery/storage/apiv1/storagepb/avro.pb.go index e0cfeffa92f3..3c9ce1340bfb 100755 --- a/bigquery/storage/apiv1/storagepb/avro.pb.go +++ b/bigquery/storage/apiv1/storagepb/avro.pb.go @@ -21,11 +21,10 @@ package storagepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1/storagepb/protobuf.pb.go b/bigquery/storage/apiv1/storagepb/protobuf.pb.go index 720c705feef4..7169a8fb5fb1 100755 --- a/bigquery/storage/apiv1/storagepb/protobuf.pb.go +++ b/bigquery/storage/apiv1/storagepb/protobuf.pb.go @@ -21,12 +21,11 @@ package storagepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" descriptorpb "google.golang.org/protobuf/types/descriptorpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1/storagepb/storage.pb.go b/bigquery/storage/apiv1/storagepb/storage.pb.go index 35b7ac14639e..ff5768054c99 100755 --- a/bigquery/storage/apiv1/storagepb/storage.pb.go +++ b/bigquery/storage/apiv1/storagepb/storage.pb.go @@ -22,9 +22,6 @@ package storagepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1/storagepb/stream.pb.go b/bigquery/storage/apiv1/storagepb/stream.pb.go index cb31e1a1fac9..a87aca8a7e20 100755 --- a/bigquery/storage/apiv1/storagepb/stream.pb.go +++ b/bigquery/storage/apiv1/storagepb/stream.pb.go @@ -21,13 +21,12 @@ package storagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1/storagepb/table.pb.go b/bigquery/storage/apiv1/storagepb/table.pb.go index b07309bed933..dc49ce1e6594 100755 --- a/bigquery/storage/apiv1/storagepb/table.pb.go +++ b/bigquery/storage/apiv1/storagepb/table.pb.go @@ -21,12 +21,11 @@ package storagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1beta1/auxiliary.go b/bigquery/storage/apiv1beta1/auxiliary.go index eeeadcc79a80..625e26312d5d 100755 --- a/bigquery/storage/apiv1beta1/auxiliary.go +++ b/bigquery/storage/apiv1beta1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package storage + +import () diff --git a/bigquery/storage/apiv1beta1/doc.go b/bigquery/storage/apiv1beta1/doc.go index 2b7a3ae18055..e961b580d949 100755 --- a/bigquery/storage/apiv1beta1/doc.go +++ b/bigquery/storage/apiv1beta1/doc.go @@ -17,68 +17,67 @@ // Package storage is an auto-generated package for the // BigQuery Storage API. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := storage.NewBigQueryStorageClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := storage.NewBigQueryStorageClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := storage.NewBigQueryStorageClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &storagepb.BatchCreateReadSessionStreamsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/storage/apiv1beta1/storagepb#BatchCreateReadSessionStreamsRequest. -// } -// resp, err := c.BatchCreateReadSessionStreams(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := storage.NewBigQueryStorageClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &storagepb.BatchCreateReadSessionStreamsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/storage/apiv1beta1/storagepb#BatchCreateReadSessionStreamsRequest. +// } +// resp, err := c.BatchCreateReadSessionStreams(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewBigQueryStorageClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/storage/apiv1beta1/storagepb/arrow.pb.go b/bigquery/storage/apiv1beta1/storagepb/arrow.pb.go index 355ba579450d..96fc699b09c3 100755 --- a/bigquery/storage/apiv1beta1/storagepb/arrow.pb.go +++ b/bigquery/storage/apiv1beta1/storagepb/arrow.pb.go @@ -21,11 +21,10 @@ package storagepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1beta1/storagepb/avro.pb.go b/bigquery/storage/apiv1beta1/storagepb/avro.pb.go index bae2a4c36acd..97da18804f7f 100755 --- a/bigquery/storage/apiv1beta1/storagepb/avro.pb.go +++ b/bigquery/storage/apiv1beta1/storagepb/avro.pb.go @@ -21,11 +21,10 @@ package storagepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1beta1/storagepb/read_options.pb.go b/bigquery/storage/apiv1beta1/storagepb/read_options.pb.go index 0d445fc014fa..8aba609502f9 100755 --- a/bigquery/storage/apiv1beta1/storagepb/read_options.pb.go +++ b/bigquery/storage/apiv1beta1/storagepb/read_options.pb.go @@ -21,11 +21,10 @@ package storagepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1beta1/storagepb/storage.pb.go b/bigquery/storage/apiv1beta1/storagepb/storage.pb.go index 19348326e807..f4300cc1887a 100755 --- a/bigquery/storage/apiv1beta1/storagepb/storage.pb.go +++ b/bigquery/storage/apiv1beta1/storagepb/storage.pb.go @@ -22,9 +22,6 @@ package storagepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1beta1/storagepb/table_reference.pb.go b/bigquery/storage/apiv1beta1/storagepb/table_reference.pb.go index 76a08e830185..a70473bdce50 100755 --- a/bigquery/storage/apiv1beta1/storagepb/table_reference.pb.go +++ b/bigquery/storage/apiv1beta1/storagepb/table_reference.pb.go @@ -21,12 +21,11 @@ package storagepb 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" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1beta2/auxiliary.go b/bigquery/storage/apiv1beta2/auxiliary.go index eeeadcc79a80..625e26312d5d 100755 --- a/bigquery/storage/apiv1beta2/auxiliary.go +++ b/bigquery/storage/apiv1beta2/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package storage + +import () diff --git a/bigquery/storage/apiv1beta2/doc.go b/bigquery/storage/apiv1beta2/doc.go index 238e6a694cd1..5cfa7068486b 100755 --- a/bigquery/storage/apiv1beta2/doc.go +++ b/bigquery/storage/apiv1beta2/doc.go @@ -17,68 +17,67 @@ // Package storage is an auto-generated package for the // BigQuery Storage API. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := storage.NewBigQueryReadClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := storage.NewBigQueryReadClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := storage.NewBigQueryReadClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &storagepb.CreateReadSessionRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/storage/apiv1beta2/storagepb#CreateReadSessionRequest. -// } -// resp, err := c.CreateReadSession(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := storage.NewBigQueryReadClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &storagepb.CreateReadSessionRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/storage/apiv1beta2/storagepb#CreateReadSessionRequest. +// } +// resp, err := c.CreateReadSession(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewBigQueryReadClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/storage/apiv1beta2/storagepb/arrow.pb.go b/bigquery/storage/apiv1beta2/storagepb/arrow.pb.go index 13704fda4378..be3d676ddb00 100755 --- a/bigquery/storage/apiv1beta2/storagepb/arrow.pb.go +++ b/bigquery/storage/apiv1beta2/storagepb/arrow.pb.go @@ -21,11 +21,10 @@ package storagepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1beta2/storagepb/avro.pb.go b/bigquery/storage/apiv1beta2/storagepb/avro.pb.go index d4183189a6ea..d8fa37937f68 100755 --- a/bigquery/storage/apiv1beta2/storagepb/avro.pb.go +++ b/bigquery/storage/apiv1beta2/storagepb/avro.pb.go @@ -21,11 +21,10 @@ package storagepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1beta2/storagepb/protobuf.pb.go b/bigquery/storage/apiv1beta2/storagepb/protobuf.pb.go index 9d4a61d36b33..e87d9278c6e8 100755 --- a/bigquery/storage/apiv1beta2/storagepb/protobuf.pb.go +++ b/bigquery/storage/apiv1beta2/storagepb/protobuf.pb.go @@ -21,12 +21,11 @@ package storagepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" descriptorpb "google.golang.org/protobuf/types/descriptorpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1beta2/storagepb/storage.pb.go b/bigquery/storage/apiv1beta2/storagepb/storage.pb.go index b3c3eb0ada35..8bfb67ce0aaa 100755 --- a/bigquery/storage/apiv1beta2/storagepb/storage.pb.go +++ b/bigquery/storage/apiv1beta2/storagepb/storage.pb.go @@ -22,9 +22,6 @@ package storagepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1beta2/storagepb/stream.pb.go b/bigquery/storage/apiv1beta2/storagepb/stream.pb.go index 7a0eb8a93cbf..8a6c7a75aa77 100755 --- a/bigquery/storage/apiv1beta2/storagepb/stream.pb.go +++ b/bigquery/storage/apiv1beta2/storagepb/stream.pb.go @@ -21,13 +21,12 @@ package storagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/bigquery/storage/apiv1beta2/storagepb/table.pb.go b/bigquery/storage/apiv1beta2/storagepb/table.pb.go index 4634c87ccf5d..a36a36c6fcad 100755 --- a/bigquery/storage/apiv1beta2/storagepb/table.pb.go +++ b/bigquery/storage/apiv1beta2/storagepb/table.pb.go @@ -21,12 +21,11 @@ package storagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/billing/apiv1/billingpb/cloud_billing.pb.go b/billing/apiv1/billingpb/cloud_billing.pb.go index 63223bf46db7..2d566f1ef092 100755 --- a/billing/apiv1/billingpb/cloud_billing.pb.go +++ b/billing/apiv1/billingpb/cloud_billing.pb.go @@ -21,11 +21,8 @@ package billingpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/billing/apiv1/billingpb/cloud_catalog.pb.go b/billing/apiv1/billingpb/cloud_catalog.pb.go index 6f2d5c128c02..2586a6b67147 100755 --- a/billing/apiv1/billingpb/cloud_catalog.pb.go +++ b/billing/apiv1/billingpb/cloud_catalog.pb.go @@ -22,9 +22,6 @@ package billingpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" money "google.golang.org/genproto/googleapis/type/money" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -581,9 +580,8 @@ func (x *PricingInfo) GetCurrencyConversionRate() float64 { // // `usage_unit: GBy` // `tiered_rates:` -// -// `[start_usage_amount: 20, unit_price: $10]` -// `[start_usage_amount: 100, unit_price: $5]` +// `[start_usage_amount: 20, unit_price: $10]` +// `[start_usage_amount: 100, unit_price: $5]` // // The above expresses a pricing formula where the first 20GB is free, the // next 80GB is priced at $10 per GB followed by $5 per GB for additional diff --git a/billing/apiv1/doc.go b/billing/apiv1/doc.go index 41648480e73d..82b988edb8a9 100755 --- a/billing/apiv1/doc.go +++ b/billing/apiv1/doc.go @@ -20,66 +20,65 @@ // Allows developers to manage billing for their Google Cloud Platform // projects programmatically. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := billing.NewCloudBillingClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := billing.NewCloudBillingClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := billing.NewCloudBillingClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &billingpb.CreateBillingAccountRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/billing/apiv1/billingpb#CreateBillingAccountRequest. -// } -// resp, err := c.CreateBillingAccount(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := billing.NewCloudBillingClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &billingpb.CreateBillingAccountRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/billing/apiv1/billingpb#CreateBillingAccountRequest. +// } +// resp, err := c.CreateBillingAccount(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewCloudBillingClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/billing/budgets/apiv1/budgetspb/budget_model.pb.go b/billing/budgets/apiv1/budgetspb/budget_model.pb.go index d862ca1bc96e..c83970aa5a7f 100755 --- a/billing/budgets/apiv1/budgetspb/budget_model.pb.go +++ b/billing/budgets/apiv1/budgetspb/budget_model.pb.go @@ -21,15 +21,14 @@ package budgetspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" money "google.golang.org/genproto/googleapis/type/money" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/billing/budgets/apiv1/budgetspb/budget_service.pb.go b/billing/budgets/apiv1/budgetspb/budget_service.pb.go index a5eddfdc8f78..ee0e8ab1d03b 100755 --- a/billing/budgets/apiv1/budgetspb/budget_service.pb.go +++ b/billing/budgets/apiv1/budgetspb/budget_service.pb.go @@ -22,9 +22,6 @@ package budgetspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/billing/budgets/apiv1/doc.go b/billing/budgets/apiv1/doc.go index 30588a0ca4d4..7a5b594fa2fa 100755 --- a/billing/budgets/apiv1/doc.go +++ b/billing/budgets/apiv1/doc.go @@ -21,66 +21,65 @@ // budget plan and the rules to execute as spend is tracked against that // plan. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := budgets.NewBudgetClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := budgets.NewBudgetClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := budgets.NewBudgetClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &budgetspb.CreateBudgetRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/billing/budgets/apiv1/budgetspb#CreateBudgetRequest. -// } -// resp, err := c.CreateBudget(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := budgets.NewBudgetClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &budgetspb.CreateBudgetRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/billing/budgets/apiv1/budgetspb#CreateBudgetRequest. +// } +// resp, err := c.CreateBudget(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewBudgetClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/billing/budgets/apiv1beta1/budgetspb/budget_model.pb.go b/billing/budgets/apiv1beta1/budgetspb/budget_model.pb.go index 6aeaa62a5aae..beac87d26691 100755 --- a/billing/budgets/apiv1beta1/budgetspb/budget_model.pb.go +++ b/billing/budgets/apiv1beta1/budgetspb/budget_model.pb.go @@ -21,15 +21,14 @@ package budgetspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" money "google.golang.org/genproto/googleapis/type/money" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/billing/budgets/apiv1beta1/budgetspb/budget_service.pb.go b/billing/budgets/apiv1beta1/budgetspb/budget_service.pb.go index 21cfb7c827ff..1755adcf5bc5 100755 --- a/billing/budgets/apiv1beta1/budgetspb/budget_service.pb.go +++ b/billing/budgets/apiv1beta1/budgetspb/budget_service.pb.go @@ -22,9 +22,6 @@ package budgetspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/billing/budgets/apiv1beta1/doc.go b/billing/budgets/apiv1beta1/doc.go index 60f2717ed03c..3c0319d4f33e 100755 --- a/billing/budgets/apiv1beta1/doc.go +++ b/billing/budgets/apiv1beta1/doc.go @@ -21,68 +21,67 @@ // budget plan and the rules to execute as spend is tracked against that // plan. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := budgets.NewBudgetClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := budgets.NewBudgetClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := budgets.NewBudgetClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &budgetspb.CreateBudgetRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb#CreateBudgetRequest. -// } -// resp, err := c.CreateBudget(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := budgets.NewBudgetClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &budgetspb.CreateBudgetRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb#CreateBudgetRequest. +// } +// resp, err := c.CreateBudget(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewBudgetClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/binaryauthorization/apiv1/binaryauthorizationpb/resources.pb.go b/binaryauthorization/apiv1/binaryauthorizationpb/resources.pb.go index 6c21061f8f86..6512c71d73d6 100755 --- a/binaryauthorization/apiv1/binaryauthorizationpb/resources.pb.go +++ b/binaryauthorization/apiv1/binaryauthorizationpb/resources.pb.go @@ -21,13 +21,12 @@ package binaryauthorizationpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/binaryauthorization/apiv1/binaryauthorizationpb/service.pb.go b/binaryauthorization/apiv1/binaryauthorizationpb/service.pb.go index 3c9297c532aa..72725e60c1af 100755 --- a/binaryauthorization/apiv1/binaryauthorizationpb/service.pb.go +++ b/binaryauthorization/apiv1/binaryauthorizationpb/service.pb.go @@ -22,9 +22,6 @@ package binaryauthorizationpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" v1 "google.golang.org/genproto/googleapis/grafeas/v1" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/binaryauthorization/apiv1/binauthz_management_client.go b/binaryauthorization/apiv1/binauthz_management_client.go index d6b17b699ab4..398b4e94166e 100755 --- a/binaryauthorization/apiv1/binauthz_management_client.go +++ b/binaryauthorization/apiv1/binauthz_management_client.go @@ -253,9 +253,9 @@ type internalBinauthzManagementClient interface { // // This API implements a REST model with the following objects: // -// Policy +// Policy // -// Attestor +// Attestor type BinauthzManagementClient struct { // The internal transport-dependent client. internalClient internalBinauthzManagementClient @@ -364,9 +364,9 @@ type binauthzManagementGRPCClient struct { // // This API implements a REST model with the following objects: // -// Policy +// Policy // -// Attestor +// Attestor func NewBinauthzManagementClient(ctx context.Context, opts ...option.ClientOption) (*BinauthzManagementClient, error) { clientOpts := defaultBinauthzManagementGRPCClientOptions() if newBinauthzManagementClientHook != nil { @@ -440,9 +440,9 @@ type binauthzManagementRESTClient struct { // // This API implements a REST model with the following objects: // -// Policy +// Policy // -// Attestor +// Attestor func NewBinauthzManagementRESTClient(ctx context.Context, opts ...option.ClientOption) (*BinauthzManagementClient, error) { clientOpts := append(defaultBinauthzManagementRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/binaryauthorization/apiv1/doc.go b/binaryauthorization/apiv1/doc.go index f3d7aa135b74..4275dadc03ab 100755 --- a/binaryauthorization/apiv1/doc.go +++ b/binaryauthorization/apiv1/doc.go @@ -21,66 +21,65 @@ // policy control for images deployed to Kubernetes Engine clusters, Anthos // clusters on VMware, and Cloud Run. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := binaryauthorization.NewBinauthzManagementClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := binaryauthorization.NewBinauthzManagementClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := binaryauthorization.NewBinauthzManagementClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &binaryauthorizationpb.CreateAttestorRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/binaryauthorization/apiv1/binaryauthorizationpb#CreateAttestorRequest. -// } -// resp, err := c.CreateAttestor(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := binaryauthorization.NewBinauthzManagementClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &binaryauthorizationpb.CreateAttestorRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/binaryauthorization/apiv1/binaryauthorizationpb#CreateAttestorRequest. +// } +// resp, err := c.CreateAttestor(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewBinauthzManagementClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/binaryauthorization/apiv1beta1/binaryauthorizationpb/continuous_validation_logging.pb.go b/binaryauthorization/apiv1beta1/binaryauthorizationpb/continuous_validation_logging.pb.go index 379a8216da89..4ee25b8f1f6e 100755 --- a/binaryauthorization/apiv1beta1/binaryauthorizationpb/continuous_validation_logging.pb.go +++ b/binaryauthorization/apiv1beta1/binaryauthorizationpb/continuous_validation_logging.pb.go @@ -21,12 +21,11 @@ package binaryauthorizationpb 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" + reflect "reflect" + sync "sync" ) const ( @@ -85,6 +84,65 @@ func (ContinuousValidationEvent_ContinuousValidationPodEvent_PolicyConformanceVe return file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging_proto_rawDescGZIP(), []int{0, 0, 0} } +// The container type. +type ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_ContainerType int32 + +const ( + // The container type should always be specified. This is an error. + ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CONTAINER_TYPE_UNSPECIFIED ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_ContainerType = 0 + // A regular deployment. + ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CONTAINER ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_ContainerType = 1 + // Init container defined as specified at + // https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ + ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_INIT_CONTAINER ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_ContainerType = 2 + // Ephemeral container defined as specified at + // https://kubernetes.io/docs/concepts/workloads/pods/ephemeral-containers/ + ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_EPHEMERAL_CONTAINER ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_ContainerType = 3 +) + +// Enum value maps for ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_ContainerType. +var ( + ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_ContainerType_name = map[int32]string{ + 0: "CONTAINER_TYPE_UNSPECIFIED", + 1: "CONTAINER", + 2: "INIT_CONTAINER", + 3: "EPHEMERAL_CONTAINER", + } + ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_ContainerType_value = map[string]int32{ + "CONTAINER_TYPE_UNSPECIFIED": 0, + "CONTAINER": 1, + "INIT_CONTAINER": 2, + "EPHEMERAL_CONTAINER": 3, + } +) + +func (x ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_ContainerType) Enum() *ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_ContainerType { + p := new(ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_ContainerType) + *p = x + return p +} + +func (x ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_ContainerType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_ContainerType) Descriptor() protoreflect.EnumDescriptor { + return file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging_proto_enumTypes[1].Descriptor() +} + +func (ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_ContainerType) Type() protoreflect.EnumType { + return &file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging_proto_enumTypes[1] +} + +func (x ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_ContainerType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_ContainerType.Descriptor instead. +func (ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_ContainerType) EnumDescriptor() ([]byte, []int) { + return file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging_proto_rawDescGZIP(), []int{0, 0, 0, 0} +} + // Result of the audit. type ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_AuditResult int32 @@ -122,11 +180,11 @@ func (x ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_Audi } func (ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_AuditResult) Descriptor() protoreflect.EnumDescriptor { - return file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging_proto_enumTypes[1].Descriptor() + return file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging_proto_enumTypes[2].Descriptor() } func (ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_AuditResult) Type() protoreflect.EnumType { - return &file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging_proto_enumTypes[1] + return &file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging_proto_enumTypes[2] } func (x ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_AuditResult) Number() protoreflect.EnumNumber { @@ -135,7 +193,7 @@ func (x ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_Audi // Deprecated: Use ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_AuditResult.Descriptor instead. func (ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_AuditResult) EnumDescriptor() ([]byte, []int) { - return file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging_proto_rawDescGZIP(), []int{0, 0, 0, 0} + return file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging_proto_rawDescGZIP(), []int{0, 0, 0, 1} } // Result of evaluating one check. @@ -172,11 +230,11 @@ func (x ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_Chec } func (ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckVerdict) Descriptor() protoreflect.EnumDescriptor { - return file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging_proto_enumTypes[2].Descriptor() + return file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging_proto_enumTypes[3].Descriptor() } func (ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckVerdict) Type() protoreflect.EnumType { - return &file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging_proto_enumTypes[2] + return &file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging_proto_enumTypes[3] } func (x ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckVerdict) Number() protoreflect.EnumNumber { @@ -434,6 +492,10 @@ type ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails struct // The name of the image. Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` + // The name of the container. + ContainerName string `protobuf:"bytes,5,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"` + // The container type that this image belongs to. + ContainerType ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_ContainerType `protobuf:"varint,6,opt,name=container_type,json=containerType,proto3,enum=google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_ContainerType" json:"container_type,omitempty"` // The result of the audit for this image. Result ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_AuditResult `protobuf:"varint,2,opt,name=result,proto3,enum=google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_AuditResult" json:"result,omitempty"` // Description of the above result. @@ -481,6 +543,20 @@ func (x *ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails) Ge return "" } +func (x *ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails) GetContainerName() string { + if x != nil { + return x.ContainerName + } + return "" +} + +func (x *ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails) GetContainerType() ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_ContainerType { + if x != nil { + return x.ContainerType + } + return ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CONTAINER_TYPE_UNSPECIFIED +} + func (x *ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails) GetResult() ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_AuditResult { if x != nil { return x.Result @@ -717,7 +793,7 @@ var file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging_ 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 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, 0x98, 0x11, 0x0a, 0x19, 0x43, 0x6f, + 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd1, 0x13, 0x0a, 0x19, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75, 0x73, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x7f, 0x0a, 0x09, 0x70, 0x6f, 0x64, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x60, 0x2e, 0x67, 0x6f, 0x6f, @@ -736,7 +812,7 @@ var file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging_ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x1a, - 0xae, 0x0e, 0x0a, 0x1c, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75, 0x73, 0x56, 0x61, + 0xe7, 0x10, 0x0a, 0x1c, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75, 0x73, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x6f, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x6f, 0x64, 0x4e, 0x61, 0x6d, 0x65, @@ -768,55 +844,35 @@ var file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging_ 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75, 0x73, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, - 0x6c, 0x73, 0x52, 0x06, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x1a, 0xc6, 0x09, 0x0a, 0x0c, 0x49, + 0x6c, 0x73, 0x52, 0x06, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x1a, 0xff, 0x0b, 0x0a, 0x0c, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, - 0x65, 0x12, 0x91, 0x01, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, - 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, - 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75, 0x73, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, - 0x75, 0x73, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x64, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, - 0x73, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x9e, 0x01, 0x0a, 0x0d, 0x63, 0x68, 0x65, 0x63, - 0x6b, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, - 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x69, - 0x6e, 0x75, 0x6f, 0x75, 0x73, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75, 0x73, 0x56, - 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x64, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x43, - 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0c, 0x63, 0x68, 0x65, 0x63, - 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x1a, 0x86, 0x06, 0x0a, 0x0b, 0x43, 0x68, 0x65, - 0x63, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x68, 0x65, 0x63, - 0x6b, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0d, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, - 0x12, 0x24, 0x0a, 0x0e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x53, - 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0xb0, 0x01, 0x0a, 0x0f, 0x63, 0x68, 0x65, 0x63, 0x6b, - 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x87, 0x01, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, + 0x69, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0xa2, 0x01, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, + 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x7b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75, 0x73, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75, 0x73, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, - 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x43, 0x68, 0x65, - 0x63, 0x6b, 0x53, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, 0x0d, 0x63, 0x68, 0x65, 0x63, - 0x6b, 0x53, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x68, 0x65, - 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x63, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, - 0x65, 0x63, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, - 0x63, 0x68, 0x65, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x65, - 0x63, 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, - 0x68, 0x65, 0x63, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0xa1, 0x01, 0x0a, 0x07, 0x76, 0x65, 0x72, - 0x64, 0x69, 0x63, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x86, 0x01, 0x2e, 0x67, 0x6f, + 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, + 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x91, 0x01, + 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x79, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, + 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e, + 0x75, 0x6f, 0x75, 0x73, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75, 0x73, 0x56, 0x61, + 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x41, 0x75, + 0x64, 0x69, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x9e, 0x01, 0x0a, 0x0d, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x72, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75, @@ -824,58 +880,98 @@ var file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging_ 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75, 0x73, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, - 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x56, 0x65, 0x72, 0x64, - 0x69, 0x63, 0x74, 0x52, 0x07, 0x76, 0x65, 0x72, 0x64, 0x69, 0x63, 0x74, 0x12, 0x20, 0x0a, 0x0b, - 0x65, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0b, 0x65, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x8d, - 0x01, 0x0a, 0x0d, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, - 0x12, 0x3e, 0x0a, 0x1a, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x5f, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x18, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, - 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x12, 0x33, 0x0a, 0x14, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, - 0x52, 0x13, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x4e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x22, 0x41, - 0x0a, 0x0c, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x56, 0x65, 0x72, 0x64, 0x69, 0x63, 0x74, 0x12, 0x1d, - 0x0a, 0x19, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x5f, 0x56, 0x45, 0x52, 0x44, 0x49, 0x43, 0x54, 0x5f, - 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x12, 0x0a, - 0x0e, 0x4e, 0x4f, 0x4e, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x4e, 0x54, 0x10, - 0x01, 0x22, 0x40, 0x0a, 0x0b, 0x41, 0x75, 0x64, 0x69, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x12, 0x1c, 0x0a, 0x18, 0x41, 0x55, 0x44, 0x49, 0x54, 0x5f, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, - 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, - 0x0a, 0x05, 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x45, 0x4e, - 0x59, 0x10, 0x02, 0x22, 0x5b, 0x0a, 0x18, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, - 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x65, 0x72, 0x64, 0x69, 0x63, 0x74, 0x12, - 0x2a, 0x0a, 0x26, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x4f, 0x52, - 0x4d, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x56, 0x45, 0x52, 0x44, 0x49, 0x43, 0x54, 0x5f, 0x55, 0x4e, - 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x56, - 0x49, 0x4f, 0x4c, 0x41, 0x54, 0x45, 0x53, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x10, 0x01, - 0x1a, 0x34, 0x0a, 0x10, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0c, 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, - 0x74, 0x79, 0x70, 0x65, 0x42, 0xb9, 0x02, 0x0a, 0x2c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, - 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x20, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75, - 0x73, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x6f, 0x67, 0x67, 0x69, - 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5e, 0x63, 0x6c, 0x6f, 0x75, 0x64, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x62, - 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x62, 0x69, - 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x70, 0x62, 0x3b, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x70, 0x62, 0xf8, 0x01, 0x01, 0xaa, 0x02, 0x28, 0x47, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x42, 0x69, 0x6e, 0x61, - 0x72, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x41, 0x75, 0x74, - 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, - 0x61, 0x31, 0xea, 0x02, 0x2b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, - 0x75, 0x64, 0x3a, 0x3a, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0c, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x73, 0x1a, 0x86, 0x06, 0x0a, 0x0b, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x73, 0x65, + 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, + 0x68, 0x65, 0x63, 0x6b, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x24, 0x0a, 0x0e, + 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x65, 0x74, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0xb0, 0x01, 0x0a, 0x0f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x73, 0x65, 0x74, + 0x5f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x87, 0x01, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, + 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, + 0x6f, 0x75, 0x73, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75, 0x73, 0x56, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, + 0x49, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x43, 0x68, 0x65, + 0x63, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x65, + 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, 0x0d, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x65, 0x74, + 0x53, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x68, 0x65, 0x63, + 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x68, 0x65, 0x63, + 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x68, 0x65, 0x63, 0x6b, + 0x54, 0x79, 0x70, 0x65, 0x12, 0xa1, 0x01, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x64, 0x69, 0x63, 0x74, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x86, 0x01, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75, 0x73, 0x56, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, + 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75, 0x73, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x50, 0x6f, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x56, 0x65, 0x72, 0x64, 0x69, 0x63, 0x74, 0x52, + 0x07, 0x76, 0x65, 0x72, 0x64, 0x69, 0x63, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x6c, + 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x65, + 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x8d, 0x01, 0x0a, 0x0d, 0x43, + 0x68, 0x65, 0x63, 0x6b, 0x53, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x3e, 0x0a, 0x1a, + 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x48, 0x00, 0x52, 0x18, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x33, 0x0a, 0x14, + 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x13, 0x6b, 0x75, + 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x42, 0x07, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x22, 0x41, 0x0a, 0x0c, 0x43, 0x68, + 0x65, 0x63, 0x6b, 0x56, 0x65, 0x72, 0x64, 0x69, 0x63, 0x74, 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x48, + 0x45, 0x43, 0x4b, 0x5f, 0x56, 0x45, 0x52, 0x44, 0x49, 0x43, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, + 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x4e, 0x4f, 0x4e, + 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x4e, 0x54, 0x10, 0x01, 0x22, 0x6b, 0x0a, + 0x0d, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, + 0x0a, 0x1a, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, + 0x0a, 0x09, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x10, 0x01, 0x12, 0x12, 0x0a, + 0x0e, 0x49, 0x4e, 0x49, 0x54, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x10, + 0x02, 0x12, 0x17, 0x0a, 0x13, 0x45, 0x50, 0x48, 0x45, 0x4d, 0x45, 0x52, 0x41, 0x4c, 0x5f, 0x43, + 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x10, 0x03, 0x22, 0x40, 0x0a, 0x0b, 0x41, 0x75, + 0x64, 0x69, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1c, 0x0a, 0x18, 0x41, 0x55, 0x44, + 0x49, 0x54, 0x5f, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, + 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x4c, 0x4c, 0x4f, 0x57, + 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x45, 0x4e, 0x59, 0x10, 0x02, 0x22, 0x5b, 0x0a, 0x18, + 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, + 0x65, 0x56, 0x65, 0x72, 0x64, 0x69, 0x63, 0x74, 0x12, 0x2a, 0x0a, 0x26, 0x50, 0x4f, 0x4c, 0x49, + 0x43, 0x59, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x56, + 0x45, 0x52, 0x44, 0x49, 0x43, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, + 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x56, 0x49, 0x4f, 0x4c, 0x41, 0x54, 0x45, 0x53, + 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x10, 0x01, 0x1a, 0x34, 0x0a, 0x10, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, + 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, + 0x0c, 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x42, 0xb9, 0x02, + 0x0a, 0x2c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x20, + 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75, 0x73, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x50, 0x01, 0x5a, 0x5e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, + 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x70, 0x62, 0x3b, 0x62, 0x69, 0x6e, + 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x70, 0x62, 0xf8, 0x01, 0x01, 0xaa, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, + 0xca, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, + 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x2b, 0x47, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x42, 0x69, 0x6e, + 0x61, 0x72, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( @@ -890,36 +986,38 @@ func file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging return file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging_proto_rawDescData } -var file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging_proto_enumTypes = make([]protoimpl.EnumInfo, 3) +var file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging_proto_enumTypes = make([]protoimpl.EnumInfo, 4) var file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging_proto_msgTypes = make([]protoimpl.MessageInfo, 6) var file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging_proto_goTypes = []interface{}{ (ContinuousValidationEvent_ContinuousValidationPodEvent_PolicyConformanceVerdict)(0), // 0: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict - (ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_AuditResult)(0), // 1: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult - (ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckVerdict)(0), // 2: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict - (*ContinuousValidationEvent)(nil), // 3: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - (*ContinuousValidationEvent_ContinuousValidationPodEvent)(nil), // 4: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent - (*ContinuousValidationEvent_ConfigErrorEvent)(nil), // 5: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent - (*ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails)(nil), // 6: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails - (*ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult)(nil), // 7: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult - (*ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope)(nil), // 8: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - (*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp + (ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_ContainerType)(0), // 1: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType + (ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_AuditResult)(0), // 2: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult + (ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckVerdict)(0), // 3: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict + (*ContinuousValidationEvent)(nil), // 4: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + (*ContinuousValidationEvent_ContinuousValidationPodEvent)(nil), // 5: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent + (*ContinuousValidationEvent_ConfigErrorEvent)(nil), // 6: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent + (*ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails)(nil), // 7: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails + (*ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult)(nil), // 8: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult + (*ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope)(nil), // 9: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + (*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp } var file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging_proto_depIdxs = []int32{ - 4, // 0: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.pod_event:type_name -> google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent - 5, // 1: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.config_error_event:type_name -> google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent - 9, // 2: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.deploy_time:type_name -> google.protobuf.Timestamp - 9, // 3: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.end_time:type_name -> google.protobuf.Timestamp + 5, // 0: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.pod_event:type_name -> google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent + 6, // 1: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.config_error_event:type_name -> google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent + 10, // 2: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.deploy_time:type_name -> google.protobuf.Timestamp + 10, // 3: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.end_time:type_name -> google.protobuf.Timestamp 0, // 4: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.verdict:type_name -> google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict - 6, // 5: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.images:type_name -> google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails - 1, // 6: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.result:type_name -> google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult - 7, // 7: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.check_results:type_name -> google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult - 8, // 8: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.check_set_scope:type_name -> google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - 2, // 9: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.verdict:type_name -> google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict - 10, // [10:10] is the sub-list for method output_type - 10, // [10:10] is the sub-list for method input_type - 10, // [10:10] is the sub-list for extension type_name - 10, // [10:10] is the sub-list for extension extendee - 0, // [0:10] is the sub-list for field type_name + 7, // 5: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.images:type_name -> google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails + 1, // 6: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.container_type:type_name -> google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType + 2, // 7: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.result:type_name -> google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult + 8, // 8: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.check_results:type_name -> google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult + 9, // 9: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.check_set_scope:type_name -> google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + 3, // 10: google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.verdict:type_name -> google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict + 11, // [11:11] is the sub-list for method output_type + 11, // [11:11] is the sub-list for method input_type + 11, // [11:11] is the sub-list for extension type_name + 11, // [11:11] is the sub-list for extension extendee + 0, // [0:11] is the sub-list for field type_name } func init() { file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging_proto_init() } @@ -1014,7 +1112,7 @@ func file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_google_cloud_binaryauthorization_v1beta1_continuous_validation_logging_proto_rawDesc, - NumEnums: 3, + NumEnums: 4, NumMessages: 6, NumExtensions: 0, NumServices: 0, diff --git a/binaryauthorization/apiv1beta1/binaryauthorizationpb/resources.pb.go b/binaryauthorization/apiv1beta1/binaryauthorizationpb/resources.pb.go index a9d10ab18dcb..1d3c96f686c4 100755 --- a/binaryauthorization/apiv1beta1/binaryauthorizationpb/resources.pb.go +++ b/binaryauthorization/apiv1beta1/binaryauthorizationpb/resources.pb.go @@ -21,13 +21,12 @@ package binaryauthorizationpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/binaryauthorization/apiv1beta1/binaryauthorizationpb/service.pb.go b/binaryauthorization/apiv1beta1/binaryauthorizationpb/service.pb.go index 6e67b76709ab..b0ef49159b4d 100755 --- a/binaryauthorization/apiv1beta1/binaryauthorizationpb/service.pb.go +++ b/binaryauthorization/apiv1beta1/binaryauthorizationpb/service.pb.go @@ -22,9 +22,6 @@ package binaryauthorizationpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/binaryauthorization/apiv1beta1/binauthz_management_service_v1_beta1_client.go b/binaryauthorization/apiv1beta1/binauthz_management_service_v1_beta1_client.go index b0619cc5a687..0c17034e946e 100755 --- a/binaryauthorization/apiv1beta1/binauthz_management_service_v1_beta1_client.go +++ b/binaryauthorization/apiv1beta1/binauthz_management_service_v1_beta1_client.go @@ -253,9 +253,9 @@ type internalBinauthzManagementServiceV1Beta1Client interface { // // This API implements a REST model with the following objects: // -// Policy +// Policy // -// Attestor +// Attestor type BinauthzManagementServiceV1Beta1Client struct { // The internal transport-dependent client. internalClient internalBinauthzManagementServiceV1Beta1Client @@ -364,9 +364,9 @@ type binauthzManagementServiceV1Beta1GRPCClient struct { // // This API implements a REST model with the following objects: // -// Policy +// Policy // -// Attestor +// Attestor func NewBinauthzManagementServiceV1Beta1Client(ctx context.Context, opts ...option.ClientOption) (*BinauthzManagementServiceV1Beta1Client, error) { clientOpts := defaultBinauthzManagementServiceV1Beta1GRPCClientOptions() if newBinauthzManagementServiceV1Beta1ClientHook != nil { @@ -440,9 +440,9 @@ type binauthzManagementServiceV1Beta1RESTClient struct { // // This API implements a REST model with the following objects: // -// Policy +// Policy // -// Attestor +// Attestor func NewBinauthzManagementServiceV1Beta1RESTClient(ctx context.Context, opts ...option.ClientOption) (*BinauthzManagementServiceV1Beta1Client, error) { clientOpts := append(defaultBinauthzManagementServiceV1Beta1RESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/binaryauthorization/apiv1beta1/doc.go b/binaryauthorization/apiv1beta1/doc.go index dfefd5a56191..b6f94b4b9c05 100755 --- a/binaryauthorization/apiv1beta1/doc.go +++ b/binaryauthorization/apiv1beta1/doc.go @@ -21,68 +21,67 @@ // policy control for images deployed to Kubernetes Engine clusters, Anthos // clusters on VMware, and Cloud Run. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := binaryauthorization.NewBinauthzManagementServiceV1Beta1Client(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := binaryauthorization.NewBinauthzManagementServiceV1Beta1Client(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := binaryauthorization.NewBinauthzManagementServiceV1Beta1Client(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &binaryauthorizationpb.CreateAttestorRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/binaryauthorization/apiv1beta1/binaryauthorizationpb#CreateAttestorRequest. -// } -// resp, err := c.CreateAttestor(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := binaryauthorization.NewBinauthzManagementServiceV1Beta1Client(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &binaryauthorizationpb.CreateAttestorRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/binaryauthorization/apiv1beta1/binaryauthorizationpb#CreateAttestorRequest. +// } +// resp, err := c.CreateAttestor(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewBinauthzManagementServiceV1Beta1Client is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/certificatemanager/apiv1/certificate_manager_client.go b/certificatemanager/apiv1/certificate_manager_client.go index 7b9eb8047c2e..f35dc06ddbbf 100755 --- a/certificatemanager/apiv1/certificate_manager_client.go +++ b/certificatemanager/apiv1/certificate_manager_client.go @@ -846,7 +846,7 @@ type internalClient interface { // Client is a client for interacting with Certificate Manager API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// # API Overview +// API Overview // // Certificates Manager API allows customers to see and manage all their TLS // certificates. @@ -855,25 +855,25 @@ type internalClient interface { // group them into collections, and create serving configuration that can be // easily applied to other Cloud resources e.g. Target Proxies. // -// # Data Model +// Data Model // // The Certificates Manager service exposes the following resources: // -// Certificate that describes a single TLS certificate. +// Certificate that describes a single TLS certificate. // -// CertificateMap that describes a collection of certificates that can be -// attached to a target resource. +// CertificateMap that describes a collection of certificates that can be +// attached to a target resource. // -// CertificateMapEntry that describes a single configuration entry that -// consists of a SNI and a group of certificates. It’s a subresource of -// CertificateMap. +// CertificateMapEntry that describes a single configuration entry that +// consists of a SNI and a group of certificates. It’s a subresource of +// CertificateMap. // // Certificate, CertificateMap and CertificateMapEntry IDs // have to fully match the regexp [a-z0-9-]{1,63}. In other words, // -// only lower case letters, digits, and hyphen are allowed +// only lower case letters, digits, and hyphen are allowed // -// length of the resource ID has to be in [1,63] range. +// length of the resource ID has to be in [1,63] range. // // Provides methods to manage Cloud Certificate Manager entities. type Client struct { @@ -1177,7 +1177,7 @@ type gRPCClient struct { // NewClient creates a new certificate manager client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// # API Overview +// API Overview // // Certificates Manager API allows customers to see and manage all their TLS // certificates. @@ -1186,25 +1186,25 @@ type gRPCClient struct { // group them into collections, and create serving configuration that can be // easily applied to other Cloud resources e.g. Target Proxies. // -// # Data Model +// Data Model // // The Certificates Manager service exposes the following resources: // -// Certificate that describes a single TLS certificate. +// Certificate that describes a single TLS certificate. // -// CertificateMap that describes a collection of certificates that can be -// attached to a target resource. +// CertificateMap that describes a collection of certificates that can be +// attached to a target resource. // -// CertificateMapEntry that describes a single configuration entry that -// consists of a SNI and a group of certificates. It’s a subresource of -// CertificateMap. +// CertificateMapEntry that describes a single configuration entry that +// consists of a SNI and a group of certificates. It’s a subresource of +// CertificateMap. // // Certificate, CertificateMap and CertificateMapEntry IDs // have to fully match the regexp [a-z0-9-]{1,63}. In other words, // -// only lower case letters, digits, and hyphen are allowed +// only lower case letters, digits, and hyphen are allowed // -// length of the resource ID has to be in [1,63] range. +// length of the resource ID has to be in [1,63] range. // // Provides methods to manage Cloud Certificate Manager entities. func NewClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { @@ -1293,7 +1293,7 @@ type restClient struct { // NewRESTClient creates a new certificate manager rest client. // -// # API Overview +// API Overview // // Certificates Manager API allows customers to see and manage all their TLS // certificates. @@ -1302,25 +1302,25 @@ type restClient struct { // group them into collections, and create serving configuration that can be // easily applied to other Cloud resources e.g. Target Proxies. // -// # Data Model +// Data Model // // The Certificates Manager service exposes the following resources: // -// Certificate that describes a single TLS certificate. +// Certificate that describes a single TLS certificate. // -// CertificateMap that describes a collection of certificates that can be -// attached to a target resource. +// CertificateMap that describes a collection of certificates that can be +// attached to a target resource. // -// CertificateMapEntry that describes a single configuration entry that -// consists of a SNI and a group of certificates. It’s a subresource of -// CertificateMap. +// CertificateMapEntry that describes a single configuration entry that +// consists of a SNI and a group of certificates. It’s a subresource of +// CertificateMap. // // Certificate, CertificateMap and CertificateMapEntry IDs // have to fully match the regexp [a-z0-9-]{1,63}. In other words, // -// only lower case letters, digits, and hyphen are allowed +// only lower case letters, digits, and hyphen are allowed // -// length of the resource ID has to be in [1,63] range. +// length of the resource ID has to be in [1,63] range. // // Provides methods to manage Cloud Certificate Manager entities. func NewRESTClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { diff --git a/certificatemanager/apiv1/certificatemanagerpb/certificate_issuance_config.pb.go b/certificatemanager/apiv1/certificatemanagerpb/certificate_issuance_config.pb.go index 8851c33f762d..ca30fcf865b0 100755 --- a/certificatemanager/apiv1/certificatemanagerpb/certificate_issuance_config.pb.go +++ b/certificatemanager/apiv1/certificatemanagerpb/certificate_issuance_config.pb.go @@ -21,14 +21,13 @@ package certificatemanagerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/certificatemanager/apiv1/certificatemanagerpb/certificate_manager.pb.go b/certificatemanager/apiv1/certificatemanagerpb/certificate_manager.pb.go index 8f58d70d6d64..1e65ab3a0b67 100755 --- a/certificatemanager/apiv1/certificatemanagerpb/certificate_manager.pb.go +++ b/certificatemanager/apiv1/certificatemanagerpb/certificate_manager.pb.go @@ -21,11 +21,8 @@ package certificatemanagerpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/certificatemanager/apiv1/doc.go b/certificatemanager/apiv1/doc.go index db5f6139b559..a3bf95f6456e 100755 --- a/certificatemanager/apiv1/doc.go +++ b/certificatemanager/apiv1/doc.go @@ -17,71 +17,70 @@ // Package certificatemanager is an auto-generated package for the // Certificate Manager API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := certificatemanager.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := certificatemanager.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := certificatemanager.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &certificatemanagerpb.CreateCertificateRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/certificatemanager/apiv1/certificatemanagerpb#CreateCertificateRequest. -// } -// op, err := c.CreateCertificate(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := certificatemanager.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &certificatemanagerpb.CreateCertificateRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/certificatemanager/apiv1/certificatemanagerpb#CreateCertificateRequest. +// } +// op, err := c.CreateCertificate(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/channel/apiv1/channelpb/billing_accounts.pb.go b/channel/apiv1/channelpb/billing_accounts.pb.go index 3a8343c021cb..e6ffea9c68c5 100755 --- a/channel/apiv1/channelpb/billing_accounts.pb.go +++ b/channel/apiv1/channelpb/billing_accounts.pb.go @@ -21,13 +21,12 @@ package channelpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/channel_partner_links.pb.go b/channel/apiv1/channelpb/channel_partner_links.pb.go index c4a2f19dfe99..b875557019cb 100755 --- a/channel/apiv1/channelpb/channel_partner_links.pb.go +++ b/channel/apiv1/channelpb/channel_partner_links.pb.go @@ -21,13 +21,12 @@ package channelpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/common.pb.go b/channel/apiv1/channelpb/common.pb.go index 5d153b8bd50b..287ca1132b79 100755 --- a/channel/apiv1/channelpb/common.pb.go +++ b/channel/apiv1/channelpb/common.pb.go @@ -21,13 +21,12 @@ package channelpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/customers.pb.go b/channel/apiv1/channelpb/customers.pb.go index 15d91e749831..4255bc626f44 100755 --- a/channel/apiv1/channelpb/customers.pb.go +++ b/channel/apiv1/channelpb/customers.pb.go @@ -21,14 +21,13 @@ package channelpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" postaladdress "google.golang.org/genproto/googleapis/type/postaladdress" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/entitlement_changes.pb.go b/channel/apiv1/channelpb/entitlement_changes.pb.go index 5192c77ec762..7e58da4e7000 100755 --- a/channel/apiv1/channelpb/entitlement_changes.pb.go +++ b/channel/apiv1/channelpb/entitlement_changes.pb.go @@ -21,13 +21,12 @@ package channelpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/entitlements.pb.go b/channel/apiv1/channelpb/entitlements.pb.go index ce2044bfdca1..7cc7b3dd5f1b 100755 --- a/channel/apiv1/channelpb/entitlements.pb.go +++ b/channel/apiv1/channelpb/entitlements.pb.go @@ -21,13 +21,12 @@ package channelpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/offers.pb.go b/channel/apiv1/channelpb/offers.pb.go index bfa4a3f536d7..f4b3d4b6b53c 100755 --- a/channel/apiv1/channelpb/offers.pb.go +++ b/channel/apiv1/channelpb/offers.pb.go @@ -21,14 +21,13 @@ package channelpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" money "google.golang.org/genproto/googleapis/type/money" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/operations.pb.go b/channel/apiv1/channelpb/operations.pb.go index ab994dff831d..f85b4aae2d10 100755 --- a/channel/apiv1/channelpb/operations.pb.go +++ b/channel/apiv1/channelpb/operations.pb.go @@ -21,11 +21,10 @@ package channelpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/products.pb.go b/channel/apiv1/channelpb/products.pb.go index 201eb1c1c15a..48f239dd39a3 100755 --- a/channel/apiv1/channelpb/products.pb.go +++ b/channel/apiv1/channelpb/products.pb.go @@ -21,12 +21,11 @@ package channelpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/reports_service.pb.go b/channel/apiv1/channelpb/reports_service.pb.go index 3dc9bb6610f8..cd5da9daf5ce 100755 --- a/channel/apiv1/channelpb/reports_service.pb.go +++ b/channel/apiv1/channelpb/reports_service.pb.go @@ -21,11 +21,8 @@ package channelpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" datetime "google.golang.org/genproto/googleapis/type/datetime" @@ -37,6 +34,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/repricing.pb.go b/channel/apiv1/channelpb/repricing.pb.go index f281d50f70f0..3ac35f635bd9 100755 --- a/channel/apiv1/channelpb/repricing.pb.go +++ b/channel/apiv1/channelpb/repricing.pb.go @@ -21,15 +21,14 @@ package channelpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" decimal "google.golang.org/genproto/googleapis/type/decimal" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/service.pb.go b/channel/apiv1/channelpb/service.pb.go index 13f9980d020f..fa7a636ed38b 100755 --- a/channel/apiv1/channelpb/service.pb.go +++ b/channel/apiv1/channelpb/service.pb.go @@ -21,11 +21,8 @@ package channelpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/subscriber_event.pb.go b/channel/apiv1/channelpb/subscriber_event.pb.go index a8b9c69a23cb..316d0f0bbc98 100755 --- a/channel/apiv1/channelpb/subscriber_event.pb.go +++ b/channel/apiv1/channelpb/subscriber_event.pb.go @@ -21,12 +21,11 @@ package channelpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/channel/apiv1/cloud_channel_client.go b/channel/apiv1/cloud_channel_client.go index af3b4383a689..b125590e6ac4 100755 --- a/channel/apiv1/cloud_channel_client.go +++ b/channel/apiv1/cloud_channel_client.go @@ -1160,16 +1160,16 @@ type internalCloudChannelClient interface { // // CloudChannelService exposes the following resources: // -// Customers: An entity-usually an -// enterprise-managed by a reseller or distributor. +// Customers: An entity-usually an +// enterprise-managed by a reseller or distributor. // -// Entitlements: An entity that -// provides a customer with the means to use a service. Entitlements are created -// or updated as a result of a successful fulfillment. +// Entitlements: An entity that +// provides a customer with the means to use a service. Entitlements are created +// or updated as a result of a successful fulfillment. // -// ChannelPartnerLinks: An -// entity that identifies links between distributors and their indirect -// resellers in a channel. +// ChannelPartnerLinks: An +// entity that identifies links between distributors and their indirect +// resellers in a channel. type CloudChannelClient struct { // The internal transport-dependent client. internalClient internalCloudChannelClient @@ -1210,10 +1210,10 @@ func (c *CloudChannelClient) Connection() *grpc.ClientConn { // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: // List of Customers, or an empty list if @@ -1227,13 +1227,13 @@ func (c *CloudChannelClient) ListCustomers(ctx context.Context, req *channelpb.L // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: The customer resource doesn’t exist. Usually the result of an -// invalid name parameter. +// NOT_FOUND: The customer resource doesn’t exist. Usually the result of an +// invalid name parameter. // // Return value: // The Customer resource. @@ -1246,12 +1246,12 @@ func (c *CloudChannelClient) GetCustomer(ctx context.Context, req *channelpb.Get // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// INVALID_VALUE: Invalid domain value in the request. +// INVALID_VALUE: Invalid domain value in the request. // // Return value: // A list of @@ -1271,19 +1271,19 @@ func (c *CloudChannelClient) CheckCloudIdentityAccountsExist(ctx context.Context // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The reseller account making the request is different from the -// reseller account in the API request. +// The reseller account making the request is different from the +// reseller account in the API request. // -// You are not authorized to create a customer. See -// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) +// You are not authorized to create a customer. See +// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) // -// INVALID_ARGUMENT: +// INVALID_ARGUMENT: // -// Required request parameters are missing or invalid. +// Required request parameters are missing or invalid. // -// Domain field value doesn’t match the primary email domain. +// Domain field value doesn’t match the primary email domain. // // Return value: // The newly created Customer resource. @@ -1296,13 +1296,13 @@ func (c *CloudChannelClient) CreateCustomer(ctx context.Context, req *channelpb. // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: No Customer resource found -// for the name in the request. +// NOT_FOUND: No Customer resource found +// for the name in the request. // // Return value: // The updated Customer resource. @@ -1314,15 +1314,15 @@ func (c *CloudChannelClient) UpdateCustomer(ctx context.Context, req *channelpb. // // Possible error codes: // -// PERMISSION_DENIED: The account making the request does not own -// this customer. +// PERMISSION_DENIED: The account making the request does not own +// this customer. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// FAILED_PRECONDITION: The customer has existing entitlements. +// FAILED_PRECONDITION: The customer has existing entitlements. // -// NOT_FOUND: No Customer resource found -// for the name in the request. +// NOT_FOUND: No Customer resource found +// for the name in the request. func (c *CloudChannelClient) DeleteCustomer(ctx context.Context, req *channelpb.DeleteCustomerRequest, opts ...gax.CallOption) error { return c.internalClient.DeleteCustomer(ctx, req, opts...) } @@ -1334,21 +1334,21 @@ func (c *CloudChannelClient) DeleteCustomer(ctx context.Context, req *channelpb. // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The reseller account making the request is different from the -// reseller account in the API request. +// The reseller account making the request is different from the +// reseller account in the API request. // -// You are not authorized to import the customer. See -// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) +// You are not authorized to import the customer. See +// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) // -// NOT_FOUND: Cloud Identity doesn’t exist or was deleted. +// NOT_FOUND: Cloud Identity doesn’t exist or was deleted. // -// INVALID_ARGUMENT: Required parameters are missing, or the auth_token is -// expired or invalid. +// INVALID_ARGUMENT: Required parameters are missing, or the auth_token is +// expired or invalid. // -// ALREADY_EXISTS: A customer already exists and has conflicting critical -// fields. Requires an overwrite. +// ALREADY_EXISTS: A customer already exists and has conflicting critical +// fields. Requires an overwrite. // // Return value: // The Customer. @@ -1361,25 +1361,25 @@ func (c *CloudChannelClient) ImportCustomer(ctx context.Context, req *channelpb. // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The customer doesn’t belong to the reseller. +// The customer doesn’t belong to the reseller. // -// You are not authorized to provision cloud identity id. See -// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) +// You are not authorized to provision cloud identity id. See +// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: The customer was not found. +// NOT_FOUND: The customer was not found. // -// ALREADY_EXISTS: The customer’s primary email already exists. Retry -// after changing the customer’s primary contact email. +// ALREADY_EXISTS: The customer’s primary email already exists. Retry +// after changing the customer’s primary contact email. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -1402,9 +1402,9 @@ func (c *CloudChannelClient) ProvisionCloudIdentityOperation(name string) *Provi // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: // A list of the customer’s @@ -1422,16 +1422,16 @@ func (c *CloudChannelClient) ListEntitlements(ctx context.Context, req *channelp // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The customer doesn’t belong to the reseller and has no auth token. +// The customer doesn’t belong to the reseller and has no auth token. // -// The supplied auth token is invalid. +// The supplied auth token is invalid. // -// The reseller account making the request is different -// from the reseller account in the query. +// The reseller account making the request is different +// from the reseller account in the query. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: // A list of the customer’s @@ -1449,20 +1449,20 @@ func (c *CloudChannelClient) ListTransferableSkus(ctx context.Context, req *chan // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The customer doesn’t belong to the reseller and has no auth token. +// The customer doesn’t belong to the reseller and has no auth token. // -// The customer provided incorrect reseller information when generating -// auth token. +// The customer provided incorrect reseller information when generating +// auth token. // -// The reseller account making the request is different -// from the reseller account in the query. +// The reseller account making the request is different +// from the reseller account in the query. // -// The reseller is not authorized to transact on this Product. See -// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) +// The reseller is not authorized to transact on this Product. See +// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: // List of TransferableOffer for @@ -1476,11 +1476,11 @@ func (c *CloudChannelClient) ListTransferableOffers(ctx context.Context, req *ch // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: The customer entitlement was not found. +// NOT_FOUND: The customer entitlement was not found. // // Return value: // The requested Entitlement resource. @@ -1492,52 +1492,52 @@ func (c *CloudChannelClient) GetEntitlement(ctx context.Context, req *channelpb. // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The customer doesn’t belong to the reseller. +// The customer doesn’t belong to the reseller. // -// The reseller is not authorized to transact on this Product. See -// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) +// The reseller is not authorized to transact on this Product. See +// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) // -// INVALID_ARGUMENT: +// INVALID_ARGUMENT: // -// Required request parameters are missing or invalid. +// Required request parameters are missing or invalid. // -// There is already a customer entitlement for a SKU from the same -// product family. +// There is already a customer entitlement for a SKU from the same +// product family. // -// INVALID_VALUE: Make sure the OfferId is valid. If it is, contact -// Google Channel support for further troubleshooting. +// INVALID_VALUE: Make sure the OfferId is valid. If it is, contact +// Google Channel support for further troubleshooting. // -// NOT_FOUND: The customer or offer resource was not found. +// NOT_FOUND: The customer or offer resource was not found. // -// ALREADY_EXISTS: +// ALREADY_EXISTS: // -// The SKU was already purchased for the customer. +// The SKU was already purchased for the customer. // -// The customer’s primary email already exists. Retry -// after changing the customer’s primary contact email. +// The customer’s primary email already exists. Retry +// after changing the customer’s primary contact email. // -// CONDITION_NOT_MET or FAILED_PRECONDITION: +// CONDITION_NOT_MET or FAILED_PRECONDITION: // -// The domain required for purchasing a SKU has not been verified. +// The domain required for purchasing a SKU has not been verified. // -// A pre-requisite SKU required to purchase an Add-On SKU is missing. -// For example, Google Workspace Business Starter is required to purchase -// Vault or Drive. +// A pre-requisite SKU required to purchase an Add-On SKU is missing. +// For example, Google Workspace Business Starter is required to purchase +// Vault or Drive. // -// (Developer accounts only) Reseller and resold domain must meet the -// following naming requirements: +// (Developer accounts only) Reseller and resold domain must meet the +// following naming requirements: // -// Domain names must start with goog-test. +// Domain names must start with goog-test. // -// Domain names must include the reseller domain. +// Domain names must include the reseller domain. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -1562,19 +1562,19 @@ func (c *CloudChannelClient) CreateEntitlementOperation(name string) *CreateEnti // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. -// For example, the number of seats being changed is greater than the allowed -// number of max seats, or decreasing seats for a commitment based plan. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// For example, the number of seats being changed is greater than the allowed +// number of max seats, or decreasing seats for a commitment based plan. // -// NOT_FOUND: Entitlement resource not found. +// NOT_FOUND: Entitlement resource not found. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -1599,20 +1599,20 @@ func (c *CloudChannelClient) ChangeParametersOperation(name string) *ChangeParam // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: Entitlement resource not found. +// NOT_FOUND: Entitlement resource not found. // -// NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a -// commitment plan. Can’t enable or disable renewals for non-commitment plans. +// NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a +// commitment plan. Can’t enable or disable renewals for non-commitment plans. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -1637,17 +1637,17 @@ func (c *CloudChannelClient) ChangeRenewalSettingsOperation(name string) *Change // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: Offer or Entitlement resource not found. +// NOT_FOUND: Offer or Entitlement resource not found. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -1673,20 +1673,20 @@ func (c *CloudChannelClient) ChangeOfferOperation(name string) *ChangeOfferOpera // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: Entitlement resource not found. +// NOT_FOUND: Entitlement resource not found. // -// FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for -// entitlement on trial plans. +// FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for +// entitlement on trial plans. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -1710,19 +1710,19 @@ func (c *CloudChannelClient) StartPaidServiceOperation(name string) *StartPaidSe // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: Entitlement resource not found. +// NOT_FOUND: Entitlement resource not found. // -// NOT_ACTIVE: Entitlement is not active. +// NOT_ACTIVE: Entitlement is not active. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -1746,24 +1746,24 @@ func (c *CloudChannelClient) SuspendEntitlementOperation(name string) *SuspendEn // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// FAILED_PRECONDITION: There are Google Cloud projects linked to the -// Google Cloud entitlement’s Cloud Billing subaccount. +// FAILED_PRECONDITION: There are Google Cloud projects linked to the +// Google Cloud entitlement’s Cloud Billing subaccount. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: Entitlement resource not found. +// NOT_FOUND: Entitlement resource not found. // -// DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace -// add-ons, or entitlements for Google Cloud’s development platform. +// DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace +// add-ons, or entitlements for Google Cloud’s development platform. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -1790,24 +1790,24 @@ func (c *CloudChannelClient) CancelEntitlementOperation(name string) *CancelEnti // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: Entitlement resource not found. +// NOT_FOUND: Entitlement resource not found. // -// SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated -// suspensions and entitlements that have accepted the TOS. +// SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated +// suspensions and entitlements that have accepted the TOS. // -// NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE -// state. +// NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE +// state. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -1829,41 +1829,41 @@ func (c *CloudChannelClient) ActivateEntitlementOperation(name string) *Activate // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The customer doesn’t belong to the reseller. +// The customer doesn’t belong to the reseller. // -// The reseller is not authorized to transact on this Product. See -// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) +// The reseller is not authorized to transact on this Product. See +// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: The customer or offer resource was not found. +// NOT_FOUND: The customer or offer resource was not found. // -// ALREADY_EXISTS: The SKU was already transferred for the customer. +// ALREADY_EXISTS: The SKU was already transferred for the customer. // -// CONDITION_NOT_MET or FAILED_PRECONDITION: +// CONDITION_NOT_MET or FAILED_PRECONDITION: // -// The SKU requires domain verification to transfer, but the domain is -// not verified. +// The SKU requires domain verification to transfer, but the domain is +// not verified. // -// An Add-On SKU (example, Vault or Drive) is missing the -// pre-requisite SKU (example, G Suite Basic). +// An Add-On SKU (example, Vault or Drive) is missing the +// pre-requisite SKU (example, G Suite Basic). // -// (Developer accounts only) Reseller and resold domain must meet the -// following naming requirements: +// (Developer accounts only) Reseller and resold domain must meet the +// following naming requirements: // -// Domain names must start with goog-test. +// Domain names must start with goog-test. // -// Domain names must include the reseller domain. +// Domain names must include the reseller domain. // -// Specify all transferring entitlements. +// Specify all transferring entitlements. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -1885,34 +1885,34 @@ func (c *CloudChannelClient) TransferEntitlementsOperation(name string) *Transfe // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: The customer or offer resource was not found. +// NOT_FOUND: The customer or offer resource was not found. // -// ALREADY_EXISTS: The SKU was already transferred for the customer. +// ALREADY_EXISTS: The SKU was already transferred for the customer. // -// CONDITION_NOT_MET or FAILED_PRECONDITION: +// CONDITION_NOT_MET or FAILED_PRECONDITION: // -// The SKU requires domain verification to transfer, but the domain is -// not verified. +// The SKU requires domain verification to transfer, but the domain is +// not verified. // -// An Add-On SKU (example, Vault or Drive) is missing the -// pre-requisite SKU (example, G Suite Basic). +// An Add-On SKU (example, Vault or Drive) is missing the +// pre-requisite SKU (example, G Suite Basic). // -// (Developer accounts only) Reseller and resold domain must meet the -// following naming requirements: +// (Developer accounts only) Reseller and resold domain must meet the +// following naming requirements: // -// Domain names must start with goog-test. +// Domain names must start with goog-test. // -// Domain names must include the reseller domain. +// Domain names must include the reseller domain. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -1936,10 +1936,10 @@ func (c *CloudChannelClient) TransferEntitlementsToGoogleOperation(name string) // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: // The list of the distributor account’s @@ -1954,13 +1954,13 @@ func (c *CloudChannelClient) ListChannelPartnerLinks(ctx context.Context, req *c // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: ChannelPartnerLink resource not found because of an -// invalid channel partner link name. +// NOT_FOUND: ChannelPartnerLink resource not found because of an +// invalid channel partner link name. // // Return value: // The ChannelPartnerLink @@ -1978,21 +1978,21 @@ func (c *CloudChannelClient) GetChannelPartnerLink(ctx context.Context, req *cha // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// ALREADY_EXISTS: The ChannelPartnerLink sent in the request already -// exists. +// ALREADY_EXISTS: The ChannelPartnerLink sent in the request already +// exists. // -// NOT_FOUND: No Cloud Identity customer exists for provided domain. +// NOT_FOUND: No Cloud Identity customer exists for provided domain. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The new ChannelPartnerLink @@ -2007,25 +2007,25 @@ func (c *CloudChannelClient) CreateChannelPartnerLink(ctx context.Context, req * // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: +// INVALID_ARGUMENT: // -// Required request parameters are missing or invalid. +// Required request parameters are missing or invalid. // -// Link state cannot change from invited to active or suspended. +// Link state cannot change from invited to active or suspended. // -// Cannot send reseller_cloud_identity_id, invite_url, or name in update -// mask. +// Cannot send reseller_cloud_identity_id, invite_url, or name in update +// mask. // -// NOT_FOUND: ChannelPartnerLink resource not found. +// NOT_FOUND: ChannelPartnerLink resource not found. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The updated @@ -2039,15 +2039,15 @@ func (c *CloudChannelClient) UpdateChannelPartnerLink(ctx context.Context, req * // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// NOT_FOUND: The -// CustomerRepricingConfig -// was not found. +// NOT_FOUND: The +// CustomerRepricingConfig +// was not found. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the @@ -2062,15 +2062,15 @@ func (c *CloudChannelClient) GetCustomerRepricingConfig(ctx context.Context, req // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// NOT_FOUND: The -// CustomerRepricingConfig -// specified does not exist or is not associated with the given account. +// NOT_FOUND: The +// CustomerRepricingConfig +// specified does not exist or is not associated with the given account. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the @@ -2078,13 +2078,13 @@ func (c *CloudChannelClient) GetCustomerRepricingConfig(ctx context.Context, req // resources. The data for each resource is displayed in the ascending order // of: // -// Customer ID +// Customer ID // -// RepricingConfig.EntitlementGranularity.entitlement +// RepricingConfig.EntitlementGranularity.entitlement // -// RepricingConfig.effective_invoice_month +// RepricingConfig.effective_invoice_month // -// CustomerRepricingConfig.update_time +// CustomerRepricingConfig.update_time // // If unsuccessful, returns an error. func (c *CloudChannelClient) ListCustomerRepricingConfigs(ctx context.Context, req *channelpb.ListCustomerRepricingConfigsRequest, opts ...gax.CallOption) *CustomerRepricingConfigIterator { @@ -2103,37 +2103,37 @@ func (c *CloudChannelClient) ListCustomerRepricingConfigs(ctx context.Context, r // // The following restrictions are for creating configs in the current month. // -// This functionality is reserved for recovering from an erroneous config, -// and should not be used for regular business cases. +// This functionality is reserved for recovering from an erroneous config, +// and should not be used for regular business cases. // -// The new config will not modify exports used with other configs. -// Changes to the config may be immediate, but may take up to 24 hours. +// The new config will not modify exports used with other configs. +// Changes to the config may be immediate, but may take up to 24 hours. // -// There is a limit of ten configs for any -// RepricingConfig.EntitlementGranularity.entitlement, -// for any -// RepricingConfig.effective_invoice_month. +// There is a limit of ten configs for any +// RepricingConfig.EntitlementGranularity.entitlement, +// for any +// RepricingConfig.effective_invoice_month. // -// The contained -// CustomerRepricingConfig.repricing_config -// value must be different from the value used in the current config for a -// RepricingConfig.EntitlementGranularity.entitlement. +// The contained +// CustomerRepricingConfig.repricing_config +// value must be different from the value used in the current config for a +// RepricingConfig.EntitlementGranularity.entitlement. // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// INVALID_ARGUMENT: Missing or invalid required parameters in the -// request. Also displays if the updated config is for the current month or -// past months. +// INVALID_ARGUMENT: Missing or invalid required parameters in the +// request. Also displays if the updated config is for the current month or +// past months. // -// NOT_FOUND: The -// CustomerRepricingConfig -// specified does not exist or is not associated with the given account. +// NOT_FOUND: The +// CustomerRepricingConfig +// specified does not exist or is not associated with the given account. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the updated @@ -2156,23 +2156,23 @@ func (c *CloudChannelClient) CreateCustomerRepricingConfig(ctx context.Context, // // When updating a config in the future: // -// This config must already exist. +// This config must already exist. // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// INVALID_ARGUMENT: Missing or invalid required parameters in the -// request. Also displays if the updated config is for the current month or -// past months. +// INVALID_ARGUMENT: Missing or invalid required parameters in the +// request. Also displays if the updated config is for the current month or +// past months. // -// NOT_FOUND: The -// CustomerRepricingConfig -// specified does not exist or is not associated with the given account. +// NOT_FOUND: The +// CustomerRepricingConfig +// specified does not exist or is not associated with the given account. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the updated @@ -2190,18 +2190,18 @@ func (c *CloudChannelClient) UpdateCustomerRepricingConfig(ctx context.Context, // // Possible error codes: // -// PERMISSION_DENIED: The account making the request does not own -// this customer. +// PERMISSION_DENIED: The account making the request does not own +// this customer. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// FAILED_PRECONDITION: The -// CustomerRepricingConfig -// is active or in the past. +// FAILED_PRECONDITION: The +// CustomerRepricingConfig +// is active or in the past. // -// NOT_FOUND: No -// CustomerRepricingConfig -// found for the name in the request. +// NOT_FOUND: No +// CustomerRepricingConfig +// found for the name in the request. func (c *CloudChannelClient) DeleteCustomerRepricingConfig(ctx context.Context, req *channelpb.DeleteCustomerRepricingConfigRequest, opts ...gax.CallOption) error { return c.internalClient.DeleteCustomerRepricingConfig(ctx, req, opts...) } @@ -2211,15 +2211,15 @@ func (c *CloudChannelClient) DeleteCustomerRepricingConfig(ctx context.Context, // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// NOT_FOUND: The -// ChannelPartnerRepricingConfig -// was not found. +// NOT_FOUND: The +// ChannelPartnerRepricingConfig +// was not found. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the @@ -2234,15 +2234,15 @@ func (c *CloudChannelClient) GetChannelPartnerRepricingConfig(ctx context.Contex // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// NOT_FOUND: The -// ChannelPartnerRepricingConfig -// specified does not exist or is not associated with the given account. +// NOT_FOUND: The +// ChannelPartnerRepricingConfig +// specified does not exist or is not associated with the given account. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the @@ -2250,11 +2250,11 @@ func (c *CloudChannelClient) GetChannelPartnerRepricingConfig(ctx context.Contex // resources. The data for each resource is displayed in the ascending order // of: // -// Channel Partner ID +// Channel Partner ID // -// RepricingConfig.effective_invoice_month +// RepricingConfig.effective_invoice_month // -// ChannelPartnerRepricingConfig.update_time +// ChannelPartnerRepricingConfig.update_time // // If unsuccessful, returns an error. func (c *CloudChannelClient) ListChannelPartnerRepricingConfigs(ctx context.Context, req *channelpb.ListChannelPartnerRepricingConfigsRequest, opts ...gax.CallOption) *ChannelPartnerRepricingConfigIterator { @@ -2274,37 +2274,37 @@ func (c *CloudChannelClient) ListChannelPartnerRepricingConfigs(ctx context.Cont // // The following restrictions are for creating configs in the current month. // -// This functionality is reserved for recovering from an erroneous config, -// and should not be used for regular business cases. +// This functionality is reserved for recovering from an erroneous config, +// and should not be used for regular business cases. // -// The new config will not modify exports used with other configs. -// Changes to the config may be immediate, but may take up to 24 hours. +// The new config will not modify exports used with other configs. +// Changes to the config may be immediate, but may take up to 24 hours. // -// There is a limit of ten configs for any ChannelPartner or -// RepricingConfig.EntitlementGranularity.entitlement, -// for any -// RepricingConfig.effective_invoice_month. +// There is a limit of ten configs for any ChannelPartner or +// RepricingConfig.EntitlementGranularity.entitlement, +// for any +// RepricingConfig.effective_invoice_month. // -// The contained -// ChannelPartnerRepricingConfig.repricing_config -// value must be different from the value used in the current config for a -// ChannelPartner. +// The contained +// ChannelPartnerRepricingConfig.repricing_config +// value must be different from the value used in the current config for a +// ChannelPartner. // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// INVALID_ARGUMENT: Missing or invalid required parameters in the -// request. Also displays if the updated config is for the current month or -// past months. +// INVALID_ARGUMENT: Missing or invalid required parameters in the +// request. Also displays if the updated config is for the current month or +// past months. // -// NOT_FOUND: The -// ChannelPartnerRepricingConfig -// specified does not exist or is not associated with the given account. +// NOT_FOUND: The +// ChannelPartnerRepricingConfig +// specified does not exist or is not associated with the given account. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the updated @@ -2327,23 +2327,23 @@ func (c *CloudChannelClient) CreateChannelPartnerRepricingConfig(ctx context.Con // // When updating a config in the future: // -// This config must already exist. +// This config must already exist. // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// INVALID_ARGUMENT: Missing or invalid required parameters in the -// request. Also displays if the updated config is for the current month or -// past months. +// INVALID_ARGUMENT: Missing or invalid required parameters in the +// request. Also displays if the updated config is for the current month or +// past months. // -// NOT_FOUND: The -// ChannelPartnerRepricingConfig -// specified does not exist or is not associated with the given account. +// NOT_FOUND: The +// ChannelPartnerRepricingConfig +// specified does not exist or is not associated with the given account. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the updated @@ -2361,18 +2361,18 @@ func (c *CloudChannelClient) UpdateChannelPartnerRepricingConfig(ctx context.Con // // Possible error codes: // -// PERMISSION_DENIED: The account making the request does not own -// this customer. +// PERMISSION_DENIED: The account making the request does not own +// this customer. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// FAILED_PRECONDITION: The -// ChannelPartnerRepricingConfig -// is active or in the past. +// FAILED_PRECONDITION: The +// ChannelPartnerRepricingConfig +// is active or in the past. // -// NOT_FOUND: No -// ChannelPartnerRepricingConfig -// found for the name in the request. +// NOT_FOUND: No +// ChannelPartnerRepricingConfig +// found for the name in the request. func (c *CloudChannelClient) DeleteChannelPartnerRepricingConfig(ctx context.Context, req *channelpb.DeleteChannelPartnerRepricingConfigRequest, opts ...gax.CallOption) error { return c.internalClient.DeleteChannelPartnerRepricingConfig(ctx, req, opts...) } @@ -2383,11 +2383,11 @@ func (c *CloudChannelClient) DeleteChannelPartnerRepricingConfig(ctx context.Con // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different, or the account doesn’t exist. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different, or the account doesn’t exist. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the SkuGroup resources. @@ -2416,9 +2416,9 @@ func (c *CloudChannelClient) ListSkuGroups(ctx context.Context, req *channelpb.L // resources. The data for each resource is displayed in the ascending order // of: // -// BillableSku.service_display_name +// BillableSku.service_display_name // -// BillableSku.sku_display_name +// BillableSku.sku_display_name // // If unsuccessful, returns an error. func (c *CloudChannelClient) ListSkuGroupBillableSkus(ctx context.Context, req *channelpb.ListSkuGroupBillableSkusRequest, opts ...gax.CallOption) *BillableSkuIterator { @@ -2429,11 +2429,11 @@ func (c *CloudChannelClient) ListSkuGroupBillableSkus(ctx context.Context, req * // // Possible error codes: // -// PERMISSION_DENIED: The entitlement doesn’t belong to the reseller. +// PERMISSION_DENIED: The entitlement doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: Entitlement or offer was not found. +// NOT_FOUND: Entitlement or offer was not found. // // Return value: // The Offer resource. @@ -2445,7 +2445,7 @@ func (c *CloudChannelClient) LookupOffer(ctx context.Context, req *channelpb.Loo // // Possible error codes: // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. func (c *CloudChannelClient) ListProducts(ctx context.Context, req *channelpb.ListProductsRequest, opts ...gax.CallOption) *ProductIterator { return c.internalClient.ListProducts(ctx, req, opts...) } @@ -2454,7 +2454,7 @@ func (c *CloudChannelClient) ListProducts(ctx context.Context, req *channelpb.Li // // Possible error codes: // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. func (c *CloudChannelClient) ListSkus(ctx context.Context, req *channelpb.ListSkusRequest, opts ...gax.CallOption) *SkuIterator { return c.internalClient.ListSkus(ctx, req, opts...) } @@ -2463,42 +2463,42 @@ func (c *CloudChannelClient) ListSkus(ctx context.Context, req *channelpb.ListSk // // Possible error codes: // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. func (c *CloudChannelClient) ListOffers(ctx context.Context, req *channelpb.ListOffersRequest, opts ...gax.CallOption) *OfferIterator { return c.internalClient.ListOffers(ctx, req, opts...) } // ListPurchasableSkus lists the following: // -// SKUs that you can purchase for a customer +// SKUs that you can purchase for a customer // -// SKUs that you can upgrade or downgrade for an entitlement. +// SKUs that you can upgrade or downgrade for an entitlement. // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. func (c *CloudChannelClient) ListPurchasableSkus(ctx context.Context, req *channelpb.ListPurchasableSkusRequest, opts ...gax.CallOption) *PurchasableSkuIterator { return c.internalClient.ListPurchasableSkus(ctx, req, opts...) } // ListPurchasableOffers lists the following: // -// Offers that you can purchase for a customer. +// Offers that you can purchase for a customer. // -// Offers that you can change for an entitlement. +// Offers that you can change for an entitlement. // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The customer doesn’t belong to the reseller +// The customer doesn’t belong to the reseller // -// The reseller is not authorized to transact on this Product. See -// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) +// The reseller is not authorized to transact on this Product. See +// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. func (c *CloudChannelClient) ListPurchasableOffers(ctx context.Context, req *channelpb.ListPurchasableOffersRequest, opts ...gax.CallOption) *PurchasableOfferIterator { return c.internalClient.ListPurchasableOffers(ctx, req, opts...) } @@ -2508,9 +2508,9 @@ func (c *CloudChannelClient) ListPurchasableOffers(ctx context.Context, req *cha // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: // Based on the provided list of SKUs, returns a list of SKU groups that must @@ -2527,17 +2527,17 @@ func (c *CloudChannelClient) QueryEligibleBillingAccounts(ctx context.Context, r // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request and the -// provided reseller account are different, or the impersonated user -// is not a super admin. +// PERMISSION_DENIED: The reseller account making the request and the +// provided reseller account are different, or the impersonated user +// is not a super admin. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The topic name with the registered service email address. @@ -2552,19 +2552,19 @@ func (c *CloudChannelClient) RegisterSubscriber(ctx context.Context, req *channe // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request and the -// provided reseller account are different, or the impersonated user -// is not a super admin. +// PERMISSION_DENIED: The reseller account making the request and the +// provided reseller account are different, or the impersonated user +// is not a super admin. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: The topic resource doesn’t exist. +// NOT_FOUND: The topic resource doesn’t exist. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The topic name that unregistered the service email address. @@ -2579,19 +2579,19 @@ func (c *CloudChannelClient) UnregisterSubscriber(ctx context.Context, req *chan // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request and the -// provided reseller account are different, or the impersonated user -// is not a super admin. +// PERMISSION_DENIED: The reseller account making the request and the +// provided reseller account are different, or the impersonated user +// is not a super admin. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: The topic resource doesn’t exist. +// NOT_FOUND: The topic resource doesn’t exist. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // A list of service email addresses. @@ -2603,19 +2603,19 @@ func (c *CloudChannelClient) ListSubscribers(ctx context.Context, req *channelpb // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request and the -// provided reseller account are different. +// PERMISSION_DENIED: The reseller account making the request and the +// provided reseller account are different. // -// INVALID_ARGUMENT: Missing or invalid required fields in the request. +// INVALID_ARGUMENT: Missing or invalid required fields in the request. // -// NOT_FOUND: The parent resource doesn’t exist. Usually the result of an -// invalid name parameter. +// NOT_FOUND: The parent resource doesn’t exist. Usually the result of an +// invalid name parameter. // -// INTERNAL: Any non-user error related to a technical issue in the backend. -// In this case, contact CloudChannel support. +// INTERNAL: Any non-user error related to a technical issue in the backend. +// In this case, contact CloudChannel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// In this case, contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// In this case, contact Cloud Channel support. // // Return value: // List of EntitlementChanges. @@ -2684,16 +2684,16 @@ type cloudChannelGRPCClient struct { // // CloudChannelService exposes the following resources: // -// Customers: An entity-usually an -// enterprise-managed by a reseller or distributor. +// Customers: An entity-usually an +// enterprise-managed by a reseller or distributor. // -// Entitlements: An entity that -// provides a customer with the means to use a service. Entitlements are created -// or updated as a result of a successful fulfillment. +// Entitlements: An entity that +// provides a customer with the means to use a service. Entitlements are created +// or updated as a result of a successful fulfillment. // -// ChannelPartnerLinks: An -// entity that identifies links between distributors and their indirect -// resellers in a channel. +// ChannelPartnerLinks: An +// entity that identifies links between distributors and their indirect +// resellers in a channel. func NewCloudChannelClient(ctx context.Context, opts ...option.ClientOption) (*CloudChannelClient, error) { clientOpts := defaultCloudChannelGRPCClientOptions() if newCloudChannelClientHook != nil { @@ -2793,16 +2793,16 @@ type cloudChannelRESTClient struct { // // CloudChannelService exposes the following resources: // -// Customers: An entity-usually an -// enterprise-managed by a reseller or distributor. +// Customers: An entity-usually an +// enterprise-managed by a reseller or distributor. // -// Entitlements: An entity that -// provides a customer with the means to use a service. Entitlements are created -// or updated as a result of a successful fulfillment. +// Entitlements: An entity that +// provides a customer with the means to use a service. Entitlements are created +// or updated as a result of a successful fulfillment. // -// ChannelPartnerLinks: An -// entity that identifies links between distributors and their indirect -// resellers in a channel. +// ChannelPartnerLinks: An +// entity that identifies links between distributors and their indirect +// resellers in a channel. func NewCloudChannelRESTClient(ctx context.Context, opts ...option.ClientOption) (*CloudChannelClient, error) { clientOpts := append(defaultCloudChannelRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) @@ -4296,10 +4296,10 @@ func (c *cloudChannelGRPCClient) ListOperations(ctx context.Context, req *longru // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: // List of Customers, or an empty list if @@ -4400,13 +4400,13 @@ func (c *cloudChannelRESTClient) ListCustomers(ctx context.Context, req *channel // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: The customer resource doesn’t exist. Usually the result of an -// invalid name parameter. +// NOT_FOUND: The customer resource doesn’t exist. Usually the result of an +// invalid name parameter. // // Return value: // The Customer resource. @@ -4474,12 +4474,12 @@ func (c *cloudChannelRESTClient) GetCustomer(ctx context.Context, req *channelpb // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// INVALID_VALUE: Invalid domain value in the request. +// INVALID_VALUE: Invalid domain value in the request. // // Return value: // A list of @@ -4560,19 +4560,19 @@ func (c *cloudChannelRESTClient) CheckCloudIdentityAccountsExist(ctx context.Con // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The reseller account making the request is different from the -// reseller account in the API request. +// The reseller account making the request is different from the +// reseller account in the API request. // -// You are not authorized to create a customer. See -// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) +// You are not authorized to create a customer. See +// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) // -// INVALID_ARGUMENT: +// INVALID_ARGUMENT: // -// Required request parameters are missing or invalid. +// Required request parameters are missing or invalid. // -// Domain field value doesn’t match the primary email domain. +// Domain field value doesn’t match the primary email domain. // // Return value: // The newly created Customer resource. @@ -4647,13 +4647,13 @@ func (c *cloudChannelRESTClient) CreateCustomer(ctx context.Context, req *channe // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: No Customer resource found -// for the name in the request. +// NOT_FOUND: No Customer resource found +// for the name in the request. // // Return value: // The updated Customer resource. @@ -4734,15 +4734,15 @@ func (c *cloudChannelRESTClient) UpdateCustomer(ctx context.Context, req *channe // // Possible error codes: // -// PERMISSION_DENIED: The account making the request does not own -// this customer. +// PERMISSION_DENIED: The account making the request does not own +// this customer. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// FAILED_PRECONDITION: The customer has existing entitlements. +// FAILED_PRECONDITION: The customer has existing entitlements. // -// NOT_FOUND: No Customer resource found -// for the name in the request. +// NOT_FOUND: No Customer resource found +// for the name in the request. func (c *cloudChannelRESTClient) DeleteCustomer(ctx context.Context, req *channelpb.DeleteCustomerRequest, opts ...gax.CallOption) error { baseUrl, err := url.Parse(c.endpoint) if err != nil { @@ -4791,21 +4791,21 @@ func (c *cloudChannelRESTClient) DeleteCustomer(ctx context.Context, req *channe // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The reseller account making the request is different from the -// reseller account in the API request. +// The reseller account making the request is different from the +// reseller account in the API request. // -// You are not authorized to import the customer. See -// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) +// You are not authorized to import the customer. See +// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) // -// NOT_FOUND: Cloud Identity doesn’t exist or was deleted. +// NOT_FOUND: Cloud Identity doesn’t exist or was deleted. // -// INVALID_ARGUMENT: Required parameters are missing, or the auth_token is -// expired or invalid. +// INVALID_ARGUMENT: Required parameters are missing, or the auth_token is +// expired or invalid. // -// ALREADY_EXISTS: A customer already exists and has conflicting critical -// fields. Requires an overwrite. +// ALREADY_EXISTS: A customer already exists and has conflicting critical +// fields. Requires an overwrite. // // Return value: // The Customer. @@ -4879,25 +4879,25 @@ func (c *cloudChannelRESTClient) ImportCustomer(ctx context.Context, req *channe // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The customer doesn’t belong to the reseller. +// The customer doesn’t belong to the reseller. // -// You are not authorized to provision cloud identity id. See -// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) +// You are not authorized to provision cloud identity id. See +// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: The customer was not found. +// NOT_FOUND: The customer was not found. // -// ALREADY_EXISTS: The customer’s primary email already exists. Retry -// after changing the customer’s primary contact email. +// ALREADY_EXISTS: The customer’s primary email already exists. Retry +// after changing the customer’s primary contact email. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -4979,9 +4979,9 @@ func (c *cloudChannelRESTClient) ProvisionCloudIdentity(ctx context.Context, req // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: // A list of the customer’s @@ -5083,16 +5083,16 @@ func (c *cloudChannelRESTClient) ListEntitlements(ctx context.Context, req *chan // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The customer doesn’t belong to the reseller and has no auth token. +// The customer doesn’t belong to the reseller and has no auth token. // -// The supplied auth token is invalid. +// The supplied auth token is invalid. // -// The reseller account making the request is different -// from the reseller account in the query. +// The reseller account making the request is different +// from the reseller account in the query. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: // A list of the customer’s @@ -5194,20 +5194,20 @@ func (c *cloudChannelRESTClient) ListTransferableSkus(ctx context.Context, req * // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The customer doesn’t belong to the reseller and has no auth token. +// The customer doesn’t belong to the reseller and has no auth token. // -// The customer provided incorrect reseller information when generating -// auth token. +// The customer provided incorrect reseller information when generating +// auth token. // -// The reseller account making the request is different -// from the reseller account in the query. +// The reseller account making the request is different +// from the reseller account in the query. // -// The reseller is not authorized to transact on this Product. See -// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) +// The reseller is not authorized to transact on this Product. See +// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: // List of TransferableOffer for @@ -5305,11 +5305,11 @@ func (c *cloudChannelRESTClient) ListTransferableOffers(ctx context.Context, req // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: The customer entitlement was not found. +// NOT_FOUND: The customer entitlement was not found. // // Return value: // The requested Entitlement resource. @@ -5376,52 +5376,52 @@ func (c *cloudChannelRESTClient) GetEntitlement(ctx context.Context, req *channe // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The customer doesn’t belong to the reseller. +// The customer doesn’t belong to the reseller. // -// The reseller is not authorized to transact on this Product. See -// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) +// The reseller is not authorized to transact on this Product. See +// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) // -// INVALID_ARGUMENT: +// INVALID_ARGUMENT: // -// Required request parameters are missing or invalid. +// Required request parameters are missing or invalid. // -// There is already a customer entitlement for a SKU from the same -// product family. +// There is already a customer entitlement for a SKU from the same +// product family. // -// INVALID_VALUE: Make sure the OfferId is valid. If it is, contact -// Google Channel support for further troubleshooting. +// INVALID_VALUE: Make sure the OfferId is valid. If it is, contact +// Google Channel support for further troubleshooting. // -// NOT_FOUND: The customer or offer resource was not found. +// NOT_FOUND: The customer or offer resource was not found. // -// ALREADY_EXISTS: +// ALREADY_EXISTS: // -// The SKU was already purchased for the customer. +// The SKU was already purchased for the customer. // -// The customer’s primary email already exists. Retry -// after changing the customer’s primary contact email. +// The customer’s primary email already exists. Retry +// after changing the customer’s primary contact email. // -// CONDITION_NOT_MET or FAILED_PRECONDITION: +// CONDITION_NOT_MET or FAILED_PRECONDITION: // -// The domain required for purchasing a SKU has not been verified. +// The domain required for purchasing a SKU has not been verified. // -// A pre-requisite SKU required to purchase an Add-On SKU is missing. -// For example, Google Workspace Business Starter is required to purchase -// Vault or Drive. +// A pre-requisite SKU required to purchase an Add-On SKU is missing. +// For example, Google Workspace Business Starter is required to purchase +// Vault or Drive. // -// (Developer accounts only) Reseller and resold domain must meet the -// following naming requirements: +// (Developer accounts only) Reseller and resold domain must meet the +// following naming requirements: // -// Domain names must start with goog-test. +// Domain names must start with goog-test. // -// Domain names must include the reseller domain. +// Domain names must include the reseller domain. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -5505,19 +5505,19 @@ func (c *cloudChannelRESTClient) CreateEntitlement(ctx context.Context, req *cha // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. -// For example, the number of seats being changed is greater than the allowed -// number of max seats, or decreasing seats for a commitment based plan. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// For example, the number of seats being changed is greater than the allowed +// number of max seats, or decreasing seats for a commitment based plan. // -// NOT_FOUND: Entitlement resource not found. +// NOT_FOUND: Entitlement resource not found. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -5601,20 +5601,20 @@ func (c *cloudChannelRESTClient) ChangeParameters(ctx context.Context, req *chan // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: Entitlement resource not found. +// NOT_FOUND: Entitlement resource not found. // -// NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a -// commitment plan. Can’t enable or disable renewals for non-commitment plans. +// NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a +// commitment plan. Can’t enable or disable renewals for non-commitment plans. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -5698,17 +5698,17 @@ func (c *cloudChannelRESTClient) ChangeRenewalSettings(ctx context.Context, req // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: Offer or Entitlement resource not found. +// NOT_FOUND: Offer or Entitlement resource not found. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -5793,20 +5793,20 @@ func (c *cloudChannelRESTClient) ChangeOffer(ctx context.Context, req *channelpb // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: Entitlement resource not found. +// NOT_FOUND: Entitlement resource not found. // -// FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for -// entitlement on trial plans. +// FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for +// entitlement on trial plans. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -5889,19 +5889,19 @@ func (c *cloudChannelRESTClient) StartPaidService(ctx context.Context, req *chan // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: Entitlement resource not found. +// NOT_FOUND: Entitlement resource not found. // -// NOT_ACTIVE: Entitlement is not active. +// NOT_ACTIVE: Entitlement is not active. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -5984,24 +5984,24 @@ func (c *cloudChannelRESTClient) SuspendEntitlement(ctx context.Context, req *ch // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// FAILED_PRECONDITION: There are Google Cloud projects linked to the -// Google Cloud entitlement’s Cloud Billing subaccount. +// FAILED_PRECONDITION: There are Google Cloud projects linked to the +// Google Cloud entitlement’s Cloud Billing subaccount. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: Entitlement resource not found. +// NOT_FOUND: Entitlement resource not found. // -// DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace -// add-ons, or entitlements for Google Cloud’s development platform. +// DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace +// add-ons, or entitlements for Google Cloud’s development platform. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -6087,24 +6087,24 @@ func (c *cloudChannelRESTClient) CancelEntitlement(ctx context.Context, req *cha // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: Entitlement resource not found. +// NOT_FOUND: Entitlement resource not found. // -// SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated -// suspensions and entitlements that have accepted the TOS. +// SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated +// suspensions and entitlements that have accepted the TOS. // -// NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE -// state. +// NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE +// state. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -6185,41 +6185,41 @@ func (c *cloudChannelRESTClient) ActivateEntitlement(ctx context.Context, req *c // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The customer doesn’t belong to the reseller. +// The customer doesn’t belong to the reseller. // -// The reseller is not authorized to transact on this Product. See -// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) +// The reseller is not authorized to transact on this Product. See +// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: The customer or offer resource was not found. +// NOT_FOUND: The customer or offer resource was not found. // -// ALREADY_EXISTS: The SKU was already transferred for the customer. +// ALREADY_EXISTS: The SKU was already transferred for the customer. // -// CONDITION_NOT_MET or FAILED_PRECONDITION: +// CONDITION_NOT_MET or FAILED_PRECONDITION: // -// The SKU requires domain verification to transfer, but the domain is -// not verified. +// The SKU requires domain verification to transfer, but the domain is +// not verified. // -// An Add-On SKU (example, Vault or Drive) is missing the -// pre-requisite SKU (example, G Suite Basic). +// An Add-On SKU (example, Vault or Drive) is missing the +// pre-requisite SKU (example, G Suite Basic). // -// (Developer accounts only) Reseller and resold domain must meet the -// following naming requirements: +// (Developer accounts only) Reseller and resold domain must meet the +// following naming requirements: // -// Domain names must start with goog-test. +// Domain names must start with goog-test. // -// Domain names must include the reseller domain. +// Domain names must include the reseller domain. // -// Specify all transferring entitlements. +// Specify all transferring entitlements. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -6300,34 +6300,34 @@ func (c *cloudChannelRESTClient) TransferEntitlements(ctx context.Context, req * // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: The customer or offer resource was not found. +// NOT_FOUND: The customer or offer resource was not found. // -// ALREADY_EXISTS: The SKU was already transferred for the customer. +// ALREADY_EXISTS: The SKU was already transferred for the customer. // -// CONDITION_NOT_MET or FAILED_PRECONDITION: +// CONDITION_NOT_MET or FAILED_PRECONDITION: // -// The SKU requires domain verification to transfer, but the domain is -// not verified. +// The SKU requires domain verification to transfer, but the domain is +// not verified. // -// An Add-On SKU (example, Vault or Drive) is missing the -// pre-requisite SKU (example, G Suite Basic). +// An Add-On SKU (example, Vault or Drive) is missing the +// pre-requisite SKU (example, G Suite Basic). // -// (Developer accounts only) Reseller and resold domain must meet the -// following naming requirements: +// (Developer accounts only) Reseller and resold domain must meet the +// following naming requirements: // -// Domain names must start with goog-test. +// Domain names must start with goog-test. // -// Domain names must include the reseller domain. +// Domain names must include the reseller domain. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -6410,10 +6410,10 @@ func (c *cloudChannelRESTClient) TransferEntitlementsToGoogle(ctx context.Contex // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: // The list of the distributor account’s @@ -6515,13 +6515,13 @@ func (c *cloudChannelRESTClient) ListChannelPartnerLinks(ctx context.Context, re // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: ChannelPartnerLink resource not found because of an -// invalid channel partner link name. +// NOT_FOUND: ChannelPartnerLink resource not found because of an +// invalid channel partner link name. // // Return value: // The ChannelPartnerLink @@ -6597,21 +6597,21 @@ func (c *cloudChannelRESTClient) GetChannelPartnerLink(ctx context.Context, req // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// ALREADY_EXISTS: The ChannelPartnerLink sent in the request already -// exists. +// ALREADY_EXISTS: The ChannelPartnerLink sent in the request already +// exists. // -// NOT_FOUND: No Cloud Identity customer exists for provided domain. +// NOT_FOUND: No Cloud Identity customer exists for provided domain. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The new ChannelPartnerLink @@ -6688,25 +6688,25 @@ func (c *cloudChannelRESTClient) CreateChannelPartnerLink(ctx context.Context, r // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: +// INVALID_ARGUMENT: // -// Required request parameters are missing or invalid. +// Required request parameters are missing or invalid. // -// Link state cannot change from invited to active or suspended. +// Link state cannot change from invited to active or suspended. // -// Cannot send reseller_cloud_identity_id, invite_url, or name in update -// mask. +// Cannot send reseller_cloud_identity_id, invite_url, or name in update +// mask. // -// NOT_FOUND: ChannelPartnerLink resource not found. +// NOT_FOUND: ChannelPartnerLink resource not found. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The updated @@ -6781,15 +6781,15 @@ func (c *cloudChannelRESTClient) UpdateChannelPartnerLink(ctx context.Context, r // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// NOT_FOUND: The -// CustomerRepricingConfig -// was not found. +// NOT_FOUND: The +// CustomerRepricingConfig +// was not found. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the @@ -6859,15 +6859,15 @@ func (c *cloudChannelRESTClient) GetCustomerRepricingConfig(ctx context.Context, // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// NOT_FOUND: The -// CustomerRepricingConfig -// specified does not exist or is not associated with the given account. +// NOT_FOUND: The +// CustomerRepricingConfig +// specified does not exist or is not associated with the given account. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the @@ -6875,13 +6875,13 @@ func (c *cloudChannelRESTClient) GetCustomerRepricingConfig(ctx context.Context, // resources. The data for each resource is displayed in the ascending order // of: // -// Customer ID +// Customer ID // -// RepricingConfig.EntitlementGranularity.entitlement +// RepricingConfig.EntitlementGranularity.entitlement // -// RepricingConfig.effective_invoice_month +// RepricingConfig.effective_invoice_month // -// CustomerRepricingConfig.update_time +// CustomerRepricingConfig.update_time // // If unsuccessful, returns an error. func (c *cloudChannelRESTClient) ListCustomerRepricingConfigs(ctx context.Context, req *channelpb.ListCustomerRepricingConfigsRequest, opts ...gax.CallOption) *CustomerRepricingConfigIterator { @@ -6987,37 +6987,37 @@ func (c *cloudChannelRESTClient) ListCustomerRepricingConfigs(ctx context.Contex // // The following restrictions are for creating configs in the current month. // -// This functionality is reserved for recovering from an erroneous config, -// and should not be used for regular business cases. +// This functionality is reserved for recovering from an erroneous config, +// and should not be used for regular business cases. // -// The new config will not modify exports used with other configs. -// Changes to the config may be immediate, but may take up to 24 hours. +// The new config will not modify exports used with other configs. +// Changes to the config may be immediate, but may take up to 24 hours. // -// There is a limit of ten configs for any -// RepricingConfig.EntitlementGranularity.entitlement, -// for any -// RepricingConfig.effective_invoice_month. +// There is a limit of ten configs for any +// RepricingConfig.EntitlementGranularity.entitlement, +// for any +// RepricingConfig.effective_invoice_month. // -// The contained -// CustomerRepricingConfig.repricing_config -// value must be different from the value used in the current config for a -// RepricingConfig.EntitlementGranularity.entitlement. +// The contained +// CustomerRepricingConfig.repricing_config +// value must be different from the value used in the current config for a +// RepricingConfig.EntitlementGranularity.entitlement. // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// INVALID_ARGUMENT: Missing or invalid required parameters in the -// request. Also displays if the updated config is for the current month or -// past months. +// INVALID_ARGUMENT: Missing or invalid required parameters in the +// request. Also displays if the updated config is for the current month or +// past months. // -// NOT_FOUND: The -// CustomerRepricingConfig -// specified does not exist or is not associated with the given account. +// NOT_FOUND: The +// CustomerRepricingConfig +// specified does not exist or is not associated with the given account. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the updated @@ -7102,23 +7102,23 @@ func (c *cloudChannelRESTClient) CreateCustomerRepricingConfig(ctx context.Conte // // When updating a config in the future: // -// This config must already exist. +// This config must already exist. // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// INVALID_ARGUMENT: Missing or invalid required parameters in the -// request. Also displays if the updated config is for the current month or -// past months. +// INVALID_ARGUMENT: Missing or invalid required parameters in the +// request. Also displays if the updated config is for the current month or +// past months. // -// NOT_FOUND: The -// CustomerRepricingConfig -// specified does not exist or is not associated with the given account. +// NOT_FOUND: The +// CustomerRepricingConfig +// specified does not exist or is not associated with the given account. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the updated @@ -7198,18 +7198,18 @@ func (c *cloudChannelRESTClient) UpdateCustomerRepricingConfig(ctx context.Conte // // Possible error codes: // -// PERMISSION_DENIED: The account making the request does not own -// this customer. +// PERMISSION_DENIED: The account making the request does not own +// this customer. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// FAILED_PRECONDITION: The -// CustomerRepricingConfig -// is active or in the past. +// FAILED_PRECONDITION: The +// CustomerRepricingConfig +// is active or in the past. // -// NOT_FOUND: No -// CustomerRepricingConfig -// found for the name in the request. +// NOT_FOUND: No +// CustomerRepricingConfig +// found for the name in the request. func (c *cloudChannelRESTClient) DeleteCustomerRepricingConfig(ctx context.Context, req *channelpb.DeleteCustomerRepricingConfigRequest, opts ...gax.CallOption) error { baseUrl, err := url.Parse(c.endpoint) if err != nil { @@ -7256,15 +7256,15 @@ func (c *cloudChannelRESTClient) DeleteCustomerRepricingConfig(ctx context.Conte // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// NOT_FOUND: The -// ChannelPartnerRepricingConfig -// was not found. +// NOT_FOUND: The +// ChannelPartnerRepricingConfig +// was not found. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the @@ -7334,15 +7334,15 @@ func (c *cloudChannelRESTClient) GetChannelPartnerRepricingConfig(ctx context.Co // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// NOT_FOUND: The -// ChannelPartnerRepricingConfig -// specified does not exist or is not associated with the given account. +// NOT_FOUND: The +// ChannelPartnerRepricingConfig +// specified does not exist or is not associated with the given account. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the @@ -7350,11 +7350,11 @@ func (c *cloudChannelRESTClient) GetChannelPartnerRepricingConfig(ctx context.Co // resources. The data for each resource is displayed in the ascending order // of: // -// Channel Partner ID +// Channel Partner ID // -// RepricingConfig.effective_invoice_month +// RepricingConfig.effective_invoice_month // -// ChannelPartnerRepricingConfig.update_time +// ChannelPartnerRepricingConfig.update_time // // If unsuccessful, returns an error. func (c *cloudChannelRESTClient) ListChannelPartnerRepricingConfigs(ctx context.Context, req *channelpb.ListChannelPartnerRepricingConfigsRequest, opts ...gax.CallOption) *ChannelPartnerRepricingConfigIterator { @@ -7461,37 +7461,37 @@ func (c *cloudChannelRESTClient) ListChannelPartnerRepricingConfigs(ctx context. // // The following restrictions are for creating configs in the current month. // -// This functionality is reserved for recovering from an erroneous config, -// and should not be used for regular business cases. +// This functionality is reserved for recovering from an erroneous config, +// and should not be used for regular business cases. // -// The new config will not modify exports used with other configs. -// Changes to the config may be immediate, but may take up to 24 hours. +// The new config will not modify exports used with other configs. +// Changes to the config may be immediate, but may take up to 24 hours. // -// There is a limit of ten configs for any ChannelPartner or -// RepricingConfig.EntitlementGranularity.entitlement, -// for any -// RepricingConfig.effective_invoice_month. +// There is a limit of ten configs for any ChannelPartner or +// RepricingConfig.EntitlementGranularity.entitlement, +// for any +// RepricingConfig.effective_invoice_month. // -// The contained -// ChannelPartnerRepricingConfig.repricing_config -// value must be different from the value used in the current config for a -// ChannelPartner. +// The contained +// ChannelPartnerRepricingConfig.repricing_config +// value must be different from the value used in the current config for a +// ChannelPartner. // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// INVALID_ARGUMENT: Missing or invalid required parameters in the -// request. Also displays if the updated config is for the current month or -// past months. +// INVALID_ARGUMENT: Missing or invalid required parameters in the +// request. Also displays if the updated config is for the current month or +// past months. // -// NOT_FOUND: The -// ChannelPartnerRepricingConfig -// specified does not exist or is not associated with the given account. +// NOT_FOUND: The +// ChannelPartnerRepricingConfig +// specified does not exist or is not associated with the given account. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the updated @@ -7576,23 +7576,23 @@ func (c *cloudChannelRESTClient) CreateChannelPartnerRepricingConfig(ctx context // // When updating a config in the future: // -// This config must already exist. +// This config must already exist. // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// INVALID_ARGUMENT: Missing or invalid required parameters in the -// request. Also displays if the updated config is for the current month or -// past months. +// INVALID_ARGUMENT: Missing or invalid required parameters in the +// request. Also displays if the updated config is for the current month or +// past months. // -// NOT_FOUND: The -// ChannelPartnerRepricingConfig -// specified does not exist or is not associated with the given account. +// NOT_FOUND: The +// ChannelPartnerRepricingConfig +// specified does not exist or is not associated with the given account. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the updated @@ -7672,18 +7672,18 @@ func (c *cloudChannelRESTClient) UpdateChannelPartnerRepricingConfig(ctx context // // Possible error codes: // -// PERMISSION_DENIED: The account making the request does not own -// this customer. +// PERMISSION_DENIED: The account making the request does not own +// this customer. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// FAILED_PRECONDITION: The -// ChannelPartnerRepricingConfig -// is active or in the past. +// FAILED_PRECONDITION: The +// ChannelPartnerRepricingConfig +// is active or in the past. // -// NOT_FOUND: No -// ChannelPartnerRepricingConfig -// found for the name in the request. +// NOT_FOUND: No +// ChannelPartnerRepricingConfig +// found for the name in the request. func (c *cloudChannelRESTClient) DeleteChannelPartnerRepricingConfig(ctx context.Context, req *channelpb.DeleteChannelPartnerRepricingConfigRequest, opts ...gax.CallOption) error { baseUrl, err := url.Parse(c.endpoint) if err != nil { @@ -7731,11 +7731,11 @@ func (c *cloudChannelRESTClient) DeleteChannelPartnerRepricingConfig(ctx context // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different, or the account doesn’t exist. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different, or the account doesn’t exist. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the SkuGroup resources. @@ -7848,9 +7848,9 @@ func (c *cloudChannelRESTClient) ListSkuGroups(ctx context.Context, req *channel // resources. The data for each resource is displayed in the ascending order // of: // -// BillableSku.service_display_name +// BillableSku.service_display_name // -// BillableSku.sku_display_name +// BillableSku.sku_display_name // // If unsuccessful, returns an error. func (c *cloudChannelRESTClient) ListSkuGroupBillableSkus(ctx context.Context, req *channelpb.ListSkuGroupBillableSkusRequest, opts ...gax.CallOption) *BillableSkuIterator { @@ -7945,11 +7945,11 @@ func (c *cloudChannelRESTClient) ListSkuGroupBillableSkus(ctx context.Context, r // // Possible error codes: // -// PERMISSION_DENIED: The entitlement doesn’t belong to the reseller. +// PERMISSION_DENIED: The entitlement doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: Entitlement or offer was not found. +// NOT_FOUND: Entitlement or offer was not found. // // Return value: // The Offer resource. @@ -8016,7 +8016,7 @@ func (c *cloudChannelRESTClient) LookupOffer(ctx context.Context, req *channelpb // // Possible error codes: // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. func (c *cloudChannelRESTClient) ListProducts(ctx context.Context, req *channelpb.ListProductsRequest, opts ...gax.CallOption) *ProductIterator { it := &ProductIterator{} req = proto.Clone(req).(*channelpb.ListProductsRequest) @@ -8113,7 +8113,7 @@ func (c *cloudChannelRESTClient) ListProducts(ctx context.Context, req *channelp // // Possible error codes: // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. func (c *cloudChannelRESTClient) ListSkus(ctx context.Context, req *channelpb.ListSkusRequest, opts ...gax.CallOption) *SkuIterator { it := &SkuIterator{} req = proto.Clone(req).(*channelpb.ListSkusRequest) @@ -8210,7 +8210,7 @@ func (c *cloudChannelRESTClient) ListSkus(ctx context.Context, req *channelpb.Li // // Possible error codes: // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. func (c *cloudChannelRESTClient) ListOffers(ctx context.Context, req *channelpb.ListOffersRequest, opts ...gax.CallOption) *OfferIterator { it := &OfferIterator{} req = proto.Clone(req).(*channelpb.ListOffersRequest) @@ -8310,15 +8310,15 @@ func (c *cloudChannelRESTClient) ListOffers(ctx context.Context, req *channelpb. // ListPurchasableSkus lists the following: // -// SKUs that you can purchase for a customer +// SKUs that you can purchase for a customer // -// SKUs that you can upgrade or downgrade for an entitlement. +// SKUs that you can upgrade or downgrade for an entitlement. // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. func (c *cloudChannelRESTClient) ListPurchasableSkus(ctx context.Context, req *channelpb.ListPurchasableSkusRequest, opts ...gax.CallOption) *PurchasableSkuIterator { it := &PurchasableSkuIterator{} req = proto.Clone(req).(*channelpb.ListPurchasableSkusRequest) @@ -8415,20 +8415,20 @@ func (c *cloudChannelRESTClient) ListPurchasableSkus(ctx context.Context, req *c // ListPurchasableOffers lists the following: // -// Offers that you can purchase for a customer. +// Offers that you can purchase for a customer. // -// Offers that you can change for an entitlement. +// Offers that you can change for an entitlement. // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The customer doesn’t belong to the reseller +// The customer doesn’t belong to the reseller // -// The reseller is not authorized to transact on this Product. See -// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) +// The reseller is not authorized to transact on this Product. See +// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. func (c *cloudChannelRESTClient) ListPurchasableOffers(ctx context.Context, req *channelpb.ListPurchasableOffersRequest, opts ...gax.CallOption) *PurchasableOfferIterator { it := &PurchasableOfferIterator{} req = proto.Clone(req).(*channelpb.ListPurchasableOffersRequest) @@ -8536,9 +8536,9 @@ func (c *cloudChannelRESTClient) ListPurchasableOffers(ctx context.Context, req // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: // Based on the provided list of SKUs, returns a list of SKU groups that must @@ -8615,17 +8615,17 @@ func (c *cloudChannelRESTClient) QueryEligibleBillingAccounts(ctx context.Contex // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request and the -// provided reseller account are different, or the impersonated user -// is not a super admin. +// PERMISSION_DENIED: The reseller account making the request and the +// provided reseller account are different, or the impersonated user +// is not a super admin. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The topic name with the registered service email address. @@ -8701,19 +8701,19 @@ func (c *cloudChannelRESTClient) RegisterSubscriber(ctx context.Context, req *ch // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request and the -// provided reseller account are different, or the impersonated user -// is not a super admin. +// PERMISSION_DENIED: The reseller account making the request and the +// provided reseller account are different, or the impersonated user +// is not a super admin. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: The topic resource doesn’t exist. +// NOT_FOUND: The topic resource doesn’t exist. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The topic name that unregistered the service email address. @@ -8789,19 +8789,19 @@ func (c *cloudChannelRESTClient) UnregisterSubscriber(ctx context.Context, req * // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request and the -// provided reseller account are different, or the impersonated user -// is not a super admin. +// PERMISSION_DENIED: The reseller account making the request and the +// provided reseller account are different, or the impersonated user +// is not a super admin. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: The topic resource doesn’t exist. +// NOT_FOUND: The topic resource doesn’t exist. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // A list of service email addresses. @@ -8897,19 +8897,19 @@ func (c *cloudChannelRESTClient) ListSubscribers(ctx context.Context, req *chann // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request and the -// provided reseller account are different. +// PERMISSION_DENIED: The reseller account making the request and the +// provided reseller account are different. // -// INVALID_ARGUMENT: Missing or invalid required fields in the request. +// INVALID_ARGUMENT: Missing or invalid required fields in the request. // -// NOT_FOUND: The parent resource doesn’t exist. Usually the result of an -// invalid name parameter. +// NOT_FOUND: The parent resource doesn’t exist. Usually the result of an +// invalid name parameter. // -// INTERNAL: Any non-user error related to a technical issue in the backend. -// In this case, contact CloudChannel support. +// INTERNAL: Any non-user error related to a technical issue in the backend. +// In this case, contact CloudChannel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// In this case, contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// In this case, contact Cloud Channel support. // // Return value: // List of EntitlementChanges. diff --git a/channel/apiv1/cloud_channel_reports_client.go b/channel/apiv1/cloud_channel_reports_client.go index fdac42d90d2f..9dc438fac17c 100755 --- a/channel/apiv1/cloud_channel_reports_client.go +++ b/channel/apiv1/cloud_channel_reports_client.go @@ -152,18 +152,18 @@ func (c *CloudChannelReportsClient) Connection() *grpc.ClientConn { // // Possible error codes: // -// PERMISSION_DENIED: The user doesn’t have access to this report. +// PERMISSION_DENIED: The user doesn’t have access to this report. // -// INVALID_ARGUMENT: Required request parameters are missing -// or invalid. +// INVALID_ARGUMENT: Required request parameters are missing +// or invalid. // -// NOT_FOUND: The report identifier was not found. +// NOT_FOUND: The report identifier was not found. // -// INTERNAL: Any non-user error related to a technical issue -// in the backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue +// in the backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue -// in the backend. Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue +// in the backend. Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -605,18 +605,18 @@ func (c *cloudChannelReportsGRPCClient) ListOperations(ctx context.Context, req // // Possible error codes: // -// PERMISSION_DENIED: The user doesn’t have access to this report. +// PERMISSION_DENIED: The user doesn’t have access to this report. // -// INVALID_ARGUMENT: Required request parameters are missing -// or invalid. +// INVALID_ARGUMENT: Required request parameters are missing +// or invalid. // -// NOT_FOUND: The report identifier was not found. +// NOT_FOUND: The report identifier was not found. // -// INTERNAL: Any non-user error related to a technical issue -// in the backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue +// in the backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue -// in the backend. Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue +// in the backend. Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. diff --git a/channel/apiv1/doc.go b/channel/apiv1/doc.go index 08dd65c58c3f..3d41fb80fc5c 100755 --- a/channel/apiv1/doc.go +++ b/channel/apiv1/doc.go @@ -21,72 +21,71 @@ // unified resale platform and APIs across all of Google Cloud including GCP, // Workspace, Maps and Chrome. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := channel.NewCloudChannelReportsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := channel.NewCloudChannelReportsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := channel.NewCloudChannelReportsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &channelpb.FetchReportResultsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/channel/apiv1/channelpb#FetchReportResultsRequest. -// } -// it := c.FetchReportResults(ctx, req) -// for { -// resp, err := it.Next() -// if err == iterator.Done { -// break -// } -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// } -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := channel.NewCloudChannelReportsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &channelpb.FetchReportResultsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/channel/apiv1/channelpb#FetchReportResultsRequest. +// } +// it := c.FetchReportResults(ctx, req) +// for { +// resp, err := it.Next() +// if err == iterator.Done { +// break +// } +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// } +// +// Use of Context // // The ctx passed to NewCloudChannelReportsClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/cloudbuild/apiv1/v2/cloud_build_client.go b/cloudbuild/apiv1/v2/cloud_build_client.go index 47f8a478e870..bc3d52f59c86 100755 --- a/cloudbuild/apiv1/v2/cloud_build_client.go +++ b/cloudbuild/apiv1/v2/cloud_build_client.go @@ -446,28 +446,28 @@ func (c *Client) CancelBuild(ctx context.Context, req *cloudbuildpb.CancelBuildR // // For triggered builds: // -// Triggered builds resolve to a precise revision; therefore a retry of a -// triggered build will result in a build that uses the same revision. +// Triggered builds resolve to a precise revision; therefore a retry of a +// triggered build will result in a build that uses the same revision. // // For non-triggered builds that specify RepoSource: // -// If the original build built from the tip of a branch, the retried build -// will build from the tip of that branch, which may not be the same revision -// as the original build. +// If the original build built from the tip of a branch, the retried build +// will build from the tip of that branch, which may not be the same revision +// as the original build. // -// If the original build specified a commit sha or revision ID, the retried -// build will use the identical source. +// If the original build specified a commit sha or revision ID, the retried +// build will use the identical source. // // For builds that specify StorageSource: // -// If the original build pulled source from Cloud Storage without -// specifying the generation of the object, the new build will use the current -// object, which may be different from the original build source. +// If the original build pulled source from Cloud Storage without +// specifying the generation of the object, the new build will use the current +// object, which may be different from the original build source. // -// If the original build pulled source from Cloud Storage and specified the -// generation of the object, the new build will attempt to use the same -// object, which may or may not be available depending on the bucket’s -// lifecycle management settings. +// If the original build pulled source from Cloud Storage and specified the +// generation of the object, the new build will attempt to use the same +// object, which may or may not be available depending on the bucket’s +// lifecycle management settings. func (c *Client) RetryBuild(ctx context.Context, req *cloudbuildpb.RetryBuildRequest, opts ...gax.CallOption) (*RetryBuildOperation, error) { return c.internalClient.RetryBuild(ctx, req, opts...) } @@ -1693,28 +1693,28 @@ func (c *restClient) CancelBuild(ctx context.Context, req *cloudbuildpb.CancelBu // // For triggered builds: // -// Triggered builds resolve to a precise revision; therefore a retry of a -// triggered build will result in a build that uses the same revision. +// Triggered builds resolve to a precise revision; therefore a retry of a +// triggered build will result in a build that uses the same revision. // // For non-triggered builds that specify RepoSource: // -// If the original build built from the tip of a branch, the retried build -// will build from the tip of that branch, which may not be the same revision -// as the original build. +// If the original build built from the tip of a branch, the retried build +// will build from the tip of that branch, which may not be the same revision +// as the original build. // -// If the original build specified a commit sha or revision ID, the retried -// build will use the identical source. +// If the original build specified a commit sha or revision ID, the retried +// build will use the identical source. // // For builds that specify StorageSource: // -// If the original build pulled source from Cloud Storage without -// specifying the generation of the object, the new build will use the current -// object, which may be different from the original build source. +// If the original build pulled source from Cloud Storage without +// specifying the generation of the object, the new build will use the current +// object, which may be different from the original build source. // -// If the original build pulled source from Cloud Storage and specified the -// generation of the object, the new build will attempt to use the same -// object, which may or may not be available depending on the bucket’s -// lifecycle management settings. +// If the original build pulled source from Cloud Storage and specified the +// generation of the object, the new build will attempt to use the same +// object, which may or may not be available depending on the bucket’s +// lifecycle management settings. func (c *restClient) RetryBuild(ctx context.Context, req *cloudbuildpb.RetryBuildRequest, opts ...gax.CallOption) (*RetryBuildOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/cloudbuild/apiv1/v2/cloudbuildpb/cloudbuild.pb.go b/cloudbuild/apiv1/v2/cloudbuildpb/cloudbuild.pb.go index af6ea62964eb..e7359f223e14 100755 --- a/cloudbuild/apiv1/v2/cloudbuildpb/cloudbuild.pb.go +++ b/cloudbuild/apiv1/v2/cloudbuildpb/cloudbuild.pb.go @@ -21,11 +21,8 @@ package cloudbuildpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -2700,16 +2699,16 @@ func (x *ArtifactResult) GetFileHash() []*FileHashes { // Fields can include the following variables, which will be expanded when the // build is created: // -// - $PROJECT_ID: the project ID of the build. -// - $PROJECT_NUMBER: the project number of the build. -// - $LOCATION: the location/region of the build. -// - $BUILD_ID: the autogenerated ID of the build. -// - $REPO_NAME: the source repository name specified by RepoSource. -// - $BRANCH_NAME: the branch name specified by RepoSource. -// - $TAG_NAME: the tag name specified by RepoSource. -// - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or -// resolved from the specified branch or tag. -// - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA. +// - $PROJECT_ID: the project ID of the build. +// - $PROJECT_NUMBER: the project number of the build. +// - $LOCATION: the location/region of the build. +// - $BUILD_ID: the autogenerated ID of the build. +// - $REPO_NAME: the source repository name specified by RepoSource. +// - $BRANCH_NAME: the branch name specified by RepoSource. +// - $TAG_NAME: the tag name specified by RepoSource. +// - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or +// resolved from the specified branch or tag. +// - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA. type Build struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/cloudbuild/apiv1/v2/doc.go b/cloudbuild/apiv1/v2/doc.go index 6bd8ab53d815..eb88d94a8d45 100755 --- a/cloudbuild/apiv1/v2/doc.go +++ b/cloudbuild/apiv1/v2/doc.go @@ -19,71 +19,70 @@ // // Creates and manages builds on Google Cloud Platform. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cloudbuild.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cloudbuild.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cloudbuild.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &cloudbuildpb.ApproveBuildRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb#ApproveBuildRequest. -// } -// op, err := c.ApproveBuild(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cloudbuild.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &cloudbuildpb.ApproveBuildRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb#ApproveBuildRequest. +// } +// op, err := c.ApproveBuild(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/cloudbuild/apiv2/cloudbuildpb/cloudbuild.pb.go b/cloudbuild/apiv2/cloudbuildpb/cloudbuild.pb.go index fb7fcc65c139..52ec64548919 100755 --- a/cloudbuild/apiv2/cloudbuildpb/cloudbuild.pb.go +++ b/cloudbuild/apiv2/cloudbuildpb/cloudbuild.pb.go @@ -21,13 +21,12 @@ package cloudbuildpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudbuild/apiv2/cloudbuildpb/repositories.pb.go b/cloudbuild/apiv2/cloudbuildpb/repositories.pb.go index 85cad88f14a0..6683fafb33bd 100755 --- a/cloudbuild/apiv2/cloudbuildpb/repositories.pb.go +++ b/cloudbuild/apiv2/cloudbuildpb/repositories.pb.go @@ -21,11 +21,8 @@ package cloudbuildpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudbuild/apiv2/doc.go b/cloudbuild/apiv2/doc.go index c02149cce5fa..f8f28ff5499c 100755 --- a/cloudbuild/apiv2/doc.go +++ b/cloudbuild/apiv2/doc.go @@ -19,71 +19,70 @@ // // Creates and manages builds on Google Cloud Platform. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cloudbuild.NewRepositoryManagerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cloudbuild.NewRepositoryManagerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cloudbuild.NewRepositoryManagerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &cloudbuildpb.BatchCreateRepositoriesRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/cloudbuild/apiv2/cloudbuildpb#BatchCreateRepositoriesRequest. -// } -// op, err := c.BatchCreateRepositories(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cloudbuild.NewRepositoryManagerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &cloudbuildpb.BatchCreateRepositoriesRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/cloudbuild/apiv2/cloudbuildpb#BatchCreateRepositoriesRequest. +// } +// op, err := c.BatchCreateRepositories(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewRepositoryManagerClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/clouddms/apiv1/clouddmspb/clouddms.pb.go b/clouddms/apiv1/clouddmspb/clouddms.pb.go index 65d9590dea51..22133f52fc4e 100755 --- a/clouddms/apiv1/clouddmspb/clouddms.pb.go +++ b/clouddms/apiv1/clouddmspb/clouddms.pb.go @@ -21,11 +21,8 @@ package clouddmspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/clouddms/apiv1/clouddmspb/clouddms_resources.pb.go b/clouddms/apiv1/clouddmspb/clouddms_resources.pb.go index 7e001c4b47b3..a7dff290a1b3 100755 --- a/clouddms/apiv1/clouddmspb/clouddms_resources.pb.go +++ b/clouddms/apiv1/clouddmspb/clouddms_resources.pb.go @@ -21,9 +21,6 @@ package clouddmspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -31,6 +28,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/clouddms/apiv1/clouddmspb/conversionworkspace_resources.pb.go b/clouddms/apiv1/clouddmspb/conversionworkspace_resources.pb.go index 03e441c30c2b..877f989ba8d0 100755 --- a/clouddms/apiv1/clouddmspb/conversionworkspace_resources.pb.go +++ b/clouddms/apiv1/clouddmspb/conversionworkspace_resources.pb.go @@ -21,15 +21,14 @@ package clouddmspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/clouddms/apiv1/doc.go b/clouddms/apiv1/doc.go index e47f58e82605..cd46c1ec479b 100755 --- a/clouddms/apiv1/doc.go +++ b/clouddms/apiv1/doc.go @@ -20,71 +20,70 @@ // Manage Cloud Database Migration Service resources on Google Cloud // Platform. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := clouddms.NewDataMigrationClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := clouddms.NewDataMigrationClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := clouddms.NewDataMigrationClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &clouddmspb.ApplyConversionWorkspaceRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/clouddms/apiv1/clouddmspb#ApplyConversionWorkspaceRequest. -// } -// op, err := c.ApplyConversionWorkspace(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := clouddms.NewDataMigrationClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &clouddmspb.ApplyConversionWorkspaceRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/clouddms/apiv1/clouddmspb#ApplyConversionWorkspaceRequest. +// } +// op, err := c.ApplyConversionWorkspace(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewDataMigrationClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/cloudprofiler/apiv2/auxiliary.go b/cloudprofiler/apiv2/auxiliary.go index df6f67759fd7..6412a856b3dd 100755 --- a/cloudprofiler/apiv2/auxiliary.go +++ b/cloudprofiler/apiv2/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package cloudprofiler + +import () diff --git a/cloudprofiler/apiv2/cloudprofilerpb/profiler.pb.go b/cloudprofiler/apiv2/cloudprofilerpb/profiler.pb.go index 692bd27b36e0..137e06a00788 100755 --- a/cloudprofiler/apiv2/cloudprofilerpb/profiler.pb.go +++ b/cloudprofiler/apiv2/cloudprofilerpb/profiler.pb.go @@ -22,9 +22,6 @@ package cloudprofilerpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( @@ -127,6 +126,7 @@ func (ProfileType) EnumDescriptor() ([]byte, []int) { // The deployment field must be populated. The profile_type specifies the list // of profile types supported by the agent. The creation call will hang until a // profile of one of these types needs to be collected. +// type CreateProfileRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/cloudprofiler/apiv2/doc.go b/cloudprofiler/apiv2/doc.go index 630e2855cdd9..d96701c9e7d2 100755 --- a/cloudprofiler/apiv2/doc.go +++ b/cloudprofiler/apiv2/doc.go @@ -19,68 +19,67 @@ // // Manages continuous profiling information. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cloudprofiler.NewProfilerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cloudprofiler.NewProfilerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cloudprofiler.NewProfilerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &cloudprofilerpb.CreateOfflineProfileRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/cloudprofiler/apiv2/cloudprofilerpb#CreateOfflineProfileRequest. -// } -// resp, err := c.CreateOfflineProfile(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cloudprofiler.NewProfilerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &cloudprofilerpb.CreateOfflineProfileRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/cloudprofiler/apiv2/cloudprofilerpb#CreateOfflineProfileRequest. +// } +// resp, err := c.CreateOfflineProfile(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewProfilerClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/cloudprofiler/apiv2/profiler_client.go b/cloudprofiler/apiv2/profiler_client.go index 0160352657da..a23ae6f0cfb8 100755 --- a/cloudprofiler/apiv2/profiler_client.go +++ b/cloudprofiler/apiv2/profiler_client.go @@ -104,9 +104,9 @@ type internalProfilerClient interface { // // General guidelines: // -// Profiles for a single deployment must be created in ascending time order. +// Profiles for a single deployment must be created in ascending time order. // -// Profiles can be created in either online or offline mode, see below. +// Profiles can be created in either online or offline mode, see below. type ProfilerClient struct { // The internal transport-dependent client. internalClient internalProfilerClient @@ -195,9 +195,9 @@ type profilerGRPCClient struct { // // General guidelines: // -// Profiles for a single deployment must be created in ascending time order. +// Profiles for a single deployment must be created in ascending time order. // -// Profiles can be created in either online or offline mode, see below. +// Profiles can be created in either online or offline mode, see below. func NewProfilerClient(ctx context.Context, opts ...option.ClientOption) (*ProfilerClient, error) { clientOpts := defaultProfilerGRPCClientOptions() if newProfilerClientHook != nil { @@ -271,9 +271,9 @@ type profilerRESTClient struct { // // General guidelines: // -// Profiles for a single deployment must be created in ascending time order. +// Profiles for a single deployment must be created in ascending time order. // -// Profiles can be created in either online or offline mode, see below. +// Profiles can be created in either online or offline mode, see below. func NewProfilerRESTClient(ctx context.Context, opts ...option.ClientOption) (*ProfilerClient, error) { clientOpts := append(defaultProfilerRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/cloudtasks/apiv2/cloud_tasks_client.go b/cloudtasks/apiv2/cloud_tasks_client.go index a85a1ce9d174..717a8e90cf0c 100755 --- a/cloudtasks/apiv2/cloud_tasks_client.go +++ b/cloudtasks/apiv2/cloud_tasks_client.go @@ -513,7 +513,7 @@ func (c *Client) ResumeQueue(ctx context.Context, req *cloudtaskspb.ResumeQueueR // Google IAM (at https://cloud.google.com/iam) permission on the specified // resource parent: // -// cloudtasks.queues.getIamPolicy +// cloudtasks.queues.getIamPolicy func (c *Client) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { return c.internalClient.GetIamPolicy(ctx, req, opts...) } @@ -528,7 +528,7 @@ func (c *Client) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyReques // Google IAM (at https://cloud.google.com/iam) permission on the specified // resource parent: // -// cloudtasks.queues.setIamPolicy +// cloudtasks.queues.setIamPolicy func (c *Client) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { return c.internalClient.SetIamPolicy(ctx, req, opts...) } @@ -567,7 +567,7 @@ func (c *Client) GetTask(ctx context.Context, req *cloudtaskspb.GetTaskRequest, // // Tasks cannot be updated after creation; there is no UpdateTask command. // -// The maximum task size is 100KB. +// The maximum task size is 100KB. func (c *Client) CreateTask(ctx context.Context, req *cloudtaskspb.CreateTaskRequest, opts ...gax.CallOption) (*cloudtaskspb.Task, error) { return c.internalClient.CreateTask(ctx, req, opts...) } @@ -1771,7 +1771,7 @@ func (c *restClient) ResumeQueue(ctx context.Context, req *cloudtaskspb.ResumeQu // Google IAM (at https://cloud.google.com/iam) permission on the specified // resource parent: // -// cloudtasks.queues.getIamPolicy +// cloudtasks.queues.getIamPolicy func (c *restClient) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1847,7 +1847,7 @@ func (c *restClient) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRe // Google IAM (at https://cloud.google.com/iam) permission on the specified // resource parent: // -// cloudtasks.queues.setIamPolicy +// cloudtasks.queues.setIamPolicy func (c *restClient) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -2153,7 +2153,7 @@ func (c *restClient) GetTask(ctx context.Context, req *cloudtaskspb.GetTaskReque // // Tasks cannot be updated after creation; there is no UpdateTask command. // -// The maximum task size is 100KB. +// The maximum task size is 100KB. func (c *restClient) CreateTask(ctx context.Context, req *cloudtaskspb.CreateTaskRequest, opts ...gax.CallOption) (*cloudtaskspb.Task, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/cloudtasks/apiv2/cloudtaskspb/cloudtasks.pb.go b/cloudtasks/apiv2/cloudtaskspb/cloudtasks.pb.go index 1d014234c39a..edf0eb0a8ca7 100755 --- a/cloudtasks/apiv2/cloudtaskspb/cloudtasks.pb.go +++ b/cloudtasks/apiv2/cloudtaskspb/cloudtasks.pb.go @@ -21,11 +21,8 @@ package cloudtaskspb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudtasks/apiv2/cloudtaskspb/queue.pb.go b/cloudtasks/apiv2/cloudtaskspb/queue.pb.go index 210562239b3d..761087e1396a 100755 --- a/cloudtasks/apiv2/cloudtaskspb/queue.pb.go +++ b/cloudtasks/apiv2/cloudtaskspb/queue.pb.go @@ -21,14 +21,13 @@ package cloudtaskspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudtasks/apiv2/cloudtaskspb/target.pb.go b/cloudtasks/apiv2/cloudtaskspb/target.pb.go index ebfa02c58cfb..c6f336780e87 100755 --- a/cloudtasks/apiv2/cloudtaskspb/target.pb.go +++ b/cloudtasks/apiv2/cloudtaskspb/target.pb.go @@ -21,12 +21,11 @@ package cloudtaskspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( @@ -119,28 +118,27 @@ func (HttpMethod) EnumDescriptor() ([]byte, []int) { // // * User-specified throttling: [retry // configuration][google.cloud.tasks.v2.Queue.retry_config], +// [rate limits][google.cloud.tasks.v2.Queue.rate_limits], and the [queue's +// state][google.cloud.tasks.v2.Queue.state]. // -// [rate limits][google.cloud.tasks.v2.Queue.rate_limits], and the [queue's -// state][google.cloud.tasks.v2.Queue.state]. -// -// - System throttling: To prevent the worker from overloading, Cloud Tasks may -// temporarily reduce the queue's effective rate. User-specified settings -// will not be changed. +// * System throttling: To prevent the worker from overloading, Cloud Tasks may +// temporarily reduce the queue's effective rate. User-specified settings +// will not be changed. // -// System throttling happens because: +// System throttling happens because: // -// - Cloud Tasks backs off on all errors. Normally the backoff specified in -// [rate limits][google.cloud.tasks.v2.Queue.rate_limits] will be used. But -// if the worker returns `429` (Too Many Requests), `503` (Service -// Unavailable), or the rate of errors is high, Cloud Tasks will use a -// higher backoff rate. The retry specified in the `Retry-After` HTTP -// response header is considered. +// * Cloud Tasks backs off on all errors. Normally the backoff specified in +// [rate limits][google.cloud.tasks.v2.Queue.rate_limits] will be used. But +// if the worker returns `429` (Too Many Requests), `503` (Service +// Unavailable), or the rate of errors is high, Cloud Tasks will use a +// higher backoff rate. The retry specified in the `Retry-After` HTTP +// response header is considered. // -// - To prevent traffic spikes and to smooth sudden increases in traffic, -// dispatches ramp up slowly when the queue is newly created or idle and -// if large numbers of tasks suddenly become available to dispatch (due to -// spikes in create task rates, the queue being unpaused, or many tasks -// that are scheduled at the same time). +// * To prevent traffic spikes and to smooth sudden increases in traffic, +// dispatches ramp up slowly when the queue is newly created or idle and +// if large numbers of tasks suddenly become available to dispatch (due to +// spikes in create task rates, the queue being unpaused, or many tasks +// that are scheduled at the same time). type HttpRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -348,16 +346,17 @@ func (*HttpRequest_OidcToken) isHttpRequest_AuthorizationHeader() {} // construct the URL that the task is delivered to can be set at the queue-level // or task-level: // -// - If [app_engine_routing_override is set on the -// queue][google.cloud.tasks.v2.Queue.app_engine_routing_override], this value -// is used for all tasks in the queue, no matter what the setting is for the -// [task-level -// app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing]. +// * If [app_engine_routing_override is set on the +// queue][google.cloud.tasks.v2.Queue.app_engine_routing_override], this value +// is used for all tasks in the queue, no matter what the setting is for the +// [task-level +// app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing]. +// // // The `url` that the task will be sent to is: // -// - `url =` [host][google.cloud.tasks.v2.AppEngineRouting.host] `+` -// [relative_uri][google.cloud.tasks.v2.AppEngineHttpRequest.relative_uri] +// * `url =` [host][google.cloud.tasks.v2.AppEngineRouting.host] `+` +// [relative_uri][google.cloud.tasks.v2.AppEngineHttpRequest.relative_uri] // // Tasks can be dispatched to secure app handlers, unsecure app handlers, and // URIs restricted with diff --git a/cloudtasks/apiv2/cloudtaskspb/task.pb.go b/cloudtasks/apiv2/cloudtaskspb/task.pb.go index db5c541d2f3e..66c128b3355c 100755 --- a/cloudtasks/apiv2/cloudtaskspb/task.pb.go +++ b/cloudtasks/apiv2/cloudtaskspb/task.pb.go @@ -21,15 +21,14 @@ package cloudtaskspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudtasks/apiv2/doc.go b/cloudtasks/apiv2/doc.go index 8e05b2c44c60..9b59b6d32f06 100755 --- a/cloudtasks/apiv2/doc.go +++ b/cloudtasks/apiv2/doc.go @@ -19,66 +19,65 @@ // // Manages the execution of large numbers of distributed requests. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cloudtasks.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cloudtasks.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cloudtasks.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &cloudtaskspb.CreateQueueRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/cloudtasks/apiv2/cloudtaskspb#CreateQueueRequest. -// } -// resp, err := c.CreateQueue(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cloudtasks.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &cloudtaskspb.CreateQueueRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/cloudtasks/apiv2/cloudtaskspb#CreateQueueRequest. +// } +// resp, err := c.CreateQueue(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/cloudtasks/apiv2beta2/cloud_tasks_client.go b/cloudtasks/apiv2beta2/cloud_tasks_client.go index bbcb03fff12f..79e58a1a16e4 100755 --- a/cloudtasks/apiv2beta2/cloud_tasks_client.go +++ b/cloudtasks/apiv2beta2/cloud_tasks_client.go @@ -571,7 +571,7 @@ func (c *Client) UploadQueueYaml(ctx context.Context, req *cloudtaskspb.UploadQu // Google IAM (at https://cloud.google.com/iam) permission on the specified // resource parent: // -// cloudtasks.queues.getIamPolicy +// cloudtasks.queues.getIamPolicy func (c *Client) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { return c.internalClient.GetIamPolicy(ctx, req, opts...) } @@ -586,7 +586,7 @@ func (c *Client) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyReques // Google IAM (at https://cloud.google.com/iam) permission on the specified // resource parent: // -// cloudtasks.queues.setIamPolicy +// cloudtasks.queues.setIamPolicy func (c *Client) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { return c.internalClient.SetIamPolicy(ctx, req, opts...) } @@ -625,12 +625,12 @@ func (c *Client) GetTask(ctx context.Context, req *cloudtaskspb.GetTaskRequest, // // Tasks cannot be updated after creation; there is no UpdateTask command. // -// For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], -// the maximum task size is -// 100KB. +// For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], +// the maximum task size is +// 100KB. // -// For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum -// task size is 1MB. +// For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum +// task size is 1MB. func (c *Client) CreateTask(ctx context.Context, req *cloudtaskspb.CreateTaskRequest, opts ...gax.CallOption) (*cloudtaskspb.Task, error) { return c.internalClient.CreateTask(ctx, req, opts...) } @@ -2080,7 +2080,7 @@ func (c *restClient) UploadQueueYaml(ctx context.Context, req *cloudtaskspb.Uplo // Google IAM (at https://cloud.google.com/iam) permission on the specified // resource parent: // -// cloudtasks.queues.getIamPolicy +// cloudtasks.queues.getIamPolicy func (c *restClient) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -2156,7 +2156,7 @@ func (c *restClient) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRe // Google IAM (at https://cloud.google.com/iam) permission on the specified // resource parent: // -// cloudtasks.queues.setIamPolicy +// cloudtasks.queues.setIamPolicy func (c *restClient) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -2462,12 +2462,12 @@ func (c *restClient) GetTask(ctx context.Context, req *cloudtaskspb.GetTaskReque // // Tasks cannot be updated after creation; there is no UpdateTask command. // -// For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], -// the maximum task size is -// 100KB. +// For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], +// the maximum task size is +// 100KB. // -// For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum -// task size is 1MB. +// For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum +// task size is 1MB. func (c *restClient) CreateTask(ctx context.Context, req *cloudtaskspb.CreateTaskRequest, opts ...gax.CallOption) (*cloudtaskspb.Task, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/cloudtasks/apiv2beta2/cloudtaskspb/cloudtasks.pb.go b/cloudtasks/apiv2beta2/cloudtaskspb/cloudtasks.pb.go index d44ef6030d9b..cf7baad2304a 100755 --- a/cloudtasks/apiv2beta2/cloudtaskspb/cloudtasks.pb.go +++ b/cloudtasks/apiv2beta2/cloudtaskspb/cloudtasks.pb.go @@ -21,11 +21,8 @@ package cloudtaskspb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudtasks/apiv2beta2/cloudtaskspb/old_target.pb.go b/cloudtasks/apiv2beta2/cloudtaskspb/old_target.pb.go index fb60ac845df7..9e6756c1bd28 100755 --- a/cloudtasks/apiv2beta2/cloudtaskspb/old_target.pb.go +++ b/cloudtasks/apiv2beta2/cloudtaskspb/old_target.pb.go @@ -21,10 +21,9 @@ package cloudtaskspb import ( - reflect "reflect" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/cloudtasks/apiv2beta2/cloudtaskspb/queue.pb.go b/cloudtasks/apiv2beta2/cloudtaskspb/queue.pb.go index 89e79b22c171..1151d8a581ab 100755 --- a/cloudtasks/apiv2beta2/cloudtaskspb/queue.pb.go +++ b/cloudtasks/apiv2beta2/cloudtaskspb/queue.pb.go @@ -21,14 +21,13 @@ package cloudtaskspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudtasks/apiv2beta2/cloudtaskspb/target.pb.go b/cloudtasks/apiv2beta2/cloudtaskspb/target.pb.go index 684982d95186..6e068ef1ee6d 100755 --- a/cloudtasks/apiv2beta2/cloudtaskspb/target.pb.go +++ b/cloudtasks/apiv2beta2/cloudtaskspb/target.pb.go @@ -21,12 +21,11 @@ package cloudtaskspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( @@ -447,17 +446,18 @@ func (x *AppEngineHttpTarget) GetAppEngineRoutingOverride() *AppEngineRouting { // construct the URL that the task is delivered to can be set at the queue-level // or task-level: // -// - If set, -// [app_engine_routing_override][google.cloud.tasks.v2beta2.AppEngineHttpTarget.app_engine_routing_override] -// is used for all tasks in the queue, no matter what the setting -// is for the -// [task-level -// app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. +// * If set, +// [app_engine_routing_override][google.cloud.tasks.v2beta2.AppEngineHttpTarget.app_engine_routing_override] +// is used for all tasks in the queue, no matter what the setting +// is for the +// [task-level +// app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. +// // // The `url` that the task will be sent to is: // -// - `url =` [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] `+` -// [relative_url][google.cloud.tasks.v2beta2.AppEngineHttpRequest.relative_url] +// * `url =` [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] `+` +// [relative_url][google.cloud.tasks.v2beta2.AppEngineHttpRequest.relative_url] // // Tasks can be dispatched to secure app handlers, unsecure app handlers, and // URIs restricted with diff --git a/cloudtasks/apiv2beta2/cloudtaskspb/task.pb.go b/cloudtasks/apiv2beta2/cloudtaskspb/task.pb.go index 94fdcdc55a43..ad376d3c10d2 100755 --- a/cloudtasks/apiv2beta2/cloudtaskspb/task.pb.go +++ b/cloudtasks/apiv2beta2/cloudtaskspb/task.pb.go @@ -21,14 +21,13 @@ package cloudtaskspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudtasks/apiv2beta2/doc.go b/cloudtasks/apiv2beta2/doc.go index 35af1b9614da..13c1e04fe6ce 100755 --- a/cloudtasks/apiv2beta2/doc.go +++ b/cloudtasks/apiv2beta2/doc.go @@ -19,66 +19,65 @@ // // Manages the execution of large numbers of distributed requests. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cloudtasks.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cloudtasks.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cloudtasks.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &cloudtaskspb.AcknowledgeTaskRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/cloudtasks/apiv2beta2/cloudtaskspb#AcknowledgeTaskRequest. -// } -// err = c.AcknowledgeTask(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cloudtasks.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &cloudtaskspb.AcknowledgeTaskRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/cloudtasks/apiv2beta2/cloudtaskspb#AcknowledgeTaskRequest. +// } +// err = c.AcknowledgeTask(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/cloudtasks/apiv2beta3/cloud_tasks_client.go b/cloudtasks/apiv2beta3/cloud_tasks_client.go index 18dde73c880f..be4bab95dbf3 100755 --- a/cloudtasks/apiv2beta3/cloud_tasks_client.go +++ b/cloudtasks/apiv2beta3/cloud_tasks_client.go @@ -522,7 +522,7 @@ func (c *Client) ResumeQueue(ctx context.Context, req *cloudtaskspb.ResumeQueueR // Google IAM (at https://cloud.google.com/iam) permission on the specified // resource parent: // -// cloudtasks.queues.getIamPolicy +// cloudtasks.queues.getIamPolicy func (c *Client) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { return c.internalClient.GetIamPolicy(ctx, req, opts...) } @@ -537,7 +537,7 @@ func (c *Client) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyReques // Google IAM (at https://cloud.google.com/iam) permission on the specified // resource parent: // -// cloudtasks.queues.setIamPolicy +// cloudtasks.queues.setIamPolicy func (c *Client) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { return c.internalClient.SetIamPolicy(ctx, req, opts...) } @@ -576,7 +576,7 @@ func (c *Client) GetTask(ctx context.Context, req *cloudtaskspb.GetTaskRequest, // // Tasks cannot be updated after creation; there is no UpdateTask command. // -// The maximum task size is 100KB. +// The maximum task size is 100KB. func (c *Client) CreateTask(ctx context.Context, req *cloudtaskspb.CreateTaskRequest, opts ...gax.CallOption) (*cloudtaskspb.Task, error) { return c.internalClient.CreateTask(ctx, req, opts...) } @@ -1829,7 +1829,7 @@ func (c *restClient) ResumeQueue(ctx context.Context, req *cloudtaskspb.ResumeQu // Google IAM (at https://cloud.google.com/iam) permission on the specified // resource parent: // -// cloudtasks.queues.getIamPolicy +// cloudtasks.queues.getIamPolicy func (c *restClient) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1905,7 +1905,7 @@ func (c *restClient) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRe // Google IAM (at https://cloud.google.com/iam) permission on the specified // resource parent: // -// cloudtasks.queues.setIamPolicy +// cloudtasks.queues.setIamPolicy func (c *restClient) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -2211,7 +2211,7 @@ func (c *restClient) GetTask(ctx context.Context, req *cloudtaskspb.GetTaskReque // // Tasks cannot be updated after creation; there is no UpdateTask command. // -// The maximum task size is 100KB. +// The maximum task size is 100KB. func (c *restClient) CreateTask(ctx context.Context, req *cloudtaskspb.CreateTaskRequest, opts ...gax.CallOption) (*cloudtaskspb.Task, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/cloudtasks/apiv2beta3/cloudtaskspb/cloudtasks.pb.go b/cloudtasks/apiv2beta3/cloudtaskspb/cloudtasks.pb.go index 60eac9f1591a..d3961361581d 100755 --- a/cloudtasks/apiv2beta3/cloudtaskspb/cloudtasks.pb.go +++ b/cloudtasks/apiv2beta3/cloudtaskspb/cloudtasks.pb.go @@ -21,11 +21,8 @@ package cloudtaskspb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudtasks/apiv2beta3/cloudtaskspb/queue.pb.go b/cloudtasks/apiv2beta3/cloudtaskspb/queue.pb.go index d69b4fe58524..e0999552044b 100755 --- a/cloudtasks/apiv2beta3/cloudtaskspb/queue.pb.go +++ b/cloudtasks/apiv2beta3/cloudtaskspb/queue.pb.go @@ -21,14 +21,13 @@ package cloudtaskspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudtasks/apiv2beta3/cloudtaskspb/target.pb.go b/cloudtasks/apiv2beta3/cloudtaskspb/target.pb.go index a27f06f12841..aa420f83aed0 100755 --- a/cloudtasks/apiv2beta3/cloudtaskspb/target.pb.go +++ b/cloudtasks/apiv2beta3/cloudtaskspb/target.pb.go @@ -21,11 +21,10 @@ package cloudtaskspb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( @@ -694,28 +693,27 @@ func (*HttpTarget_OidcToken) isHttpTarget_AuthorizationHeader() {} // // * User-specified throttling: [retry // configuration][google.cloud.tasks.v2beta3.Queue.retry_config], +// [rate limits][google.cloud.tasks.v2beta3.Queue.rate_limits], and the +// [queue's state][google.cloud.tasks.v2beta3.Queue.state]. // -// [rate limits][google.cloud.tasks.v2beta3.Queue.rate_limits], and the -// [queue's state][google.cloud.tasks.v2beta3.Queue.state]. -// -// - System throttling: To prevent the worker from overloading, Cloud Tasks may -// temporarily reduce the queue's effective rate. User-specified settings -// will not be changed. +// * System throttling: To prevent the worker from overloading, Cloud Tasks may +// temporarily reduce the queue's effective rate. User-specified settings +// will not be changed. // -// System throttling happens because: +// System throttling happens because: // -// - Cloud Tasks backs off on all errors. Normally the backoff specified in -// [rate limits][google.cloud.tasks.v2beta3.Queue.rate_limits] will be used. -// But if the worker returns `429` (Too Many Requests), `503` (Service -// Unavailable), or the rate of errors is high, Cloud Tasks will use a -// higher backoff rate. The retry specified in the `Retry-After` HTTP -// response header is considered. +// * Cloud Tasks backs off on all errors. Normally the backoff specified in +// [rate limits][google.cloud.tasks.v2beta3.Queue.rate_limits] will be used. +// But if the worker returns `429` (Too Many Requests), `503` (Service +// Unavailable), or the rate of errors is high, Cloud Tasks will use a +// higher backoff rate. The retry specified in the `Retry-After` HTTP +// response header is considered. // -// - To prevent traffic spikes and to smooth sudden increases in traffic, -// dispatches ramp up slowly when the queue is newly created or idle and -// if large numbers of tasks suddenly become available to dispatch (due to -// spikes in create task rates, the queue being unpaused, or many tasks -// that are scheduled at the same time). +// * To prevent traffic spikes and to smooth sudden increases in traffic, +// dispatches ramp up slowly when the queue is newly created or idle and +// if large numbers of tasks suddenly become available to dispatch (due to +// spikes in create task rates, the queue being unpaused, or many tasks +// that are scheduled at the same time). type HttpRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -998,17 +996,18 @@ func (x *AppEngineHttpQueue) GetAppEngineRoutingOverride() *AppEngineRouting { // construct the URL that the task is delivered to can be set at the queue-level // or task-level: // -// - If set, -// [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override] -// is used for all tasks in the queue, no matter what the setting -// is for the -// [task-level -// app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. +// * If set, +// [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override] +// is used for all tasks in the queue, no matter what the setting +// is for the +// [task-level +// app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. +// // // The `url` that the task will be sent to is: // -// - `url =` [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] `+` -// [relative_uri][google.cloud.tasks.v2beta3.AppEngineHttpRequest.relative_uri] +// * `url =` [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] `+` +// [relative_uri][google.cloud.tasks.v2beta3.AppEngineHttpRequest.relative_uri] // // Tasks can be dispatched to secure app handlers, unsecure app handlers, and // URIs restricted with diff --git a/cloudtasks/apiv2beta3/cloudtaskspb/task.pb.go b/cloudtasks/apiv2beta3/cloudtaskspb/task.pb.go index b1d95d9a45aa..dd71eefc0a4a 100755 --- a/cloudtasks/apiv2beta3/cloudtaskspb/task.pb.go +++ b/cloudtasks/apiv2beta3/cloudtaskspb/task.pb.go @@ -21,15 +21,14 @@ package cloudtaskspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/cloudtasks/apiv2beta3/doc.go b/cloudtasks/apiv2beta3/doc.go index 38fab1be457d..ac4f09f67f7f 100755 --- a/cloudtasks/apiv2beta3/doc.go +++ b/cloudtasks/apiv2beta3/doc.go @@ -19,68 +19,67 @@ // // Manages the execution of large numbers of distributed requests. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cloudtasks.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cloudtasks.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cloudtasks.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &cloudtaskspb.BufferTaskRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/cloudtasks/apiv2beta3/cloudtaskspb#BufferTaskRequest. -// } -// resp, err := c.BufferTask(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cloudtasks.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &cloudtaskspb.BufferTaskRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/cloudtasks/apiv2beta3/cloudtaskspb#BufferTaskRequest. +// } +// resp, err := c.BufferTask(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/commerce/consumer/procurement/apiv1/doc.go b/commerce/consumer/procurement/apiv1/doc.go index 9d562f426538..17d6e48fe334 100755 --- a/commerce/consumer/procurement/apiv1/doc.go +++ b/commerce/consumer/procurement/apiv1/doc.go @@ -19,68 +19,67 @@ // // Enables consumers to procure products served by Cloud Marketplace platform // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := procurement.NewConsumerProcurementClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := procurement.NewConsumerProcurementClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := procurement.NewConsumerProcurementClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &procurementpb.GetOrderRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/commerce/consumer/procurement/apiv1/procurementpb#GetOrderRequest. -// } -// resp, err := c.GetOrder(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := procurement.NewConsumerProcurementClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &procurementpb.GetOrderRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/commerce/consumer/procurement/apiv1/procurementpb#GetOrderRequest. +// } +// resp, err := c.GetOrder(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewConsumerProcurementClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/commerce/consumer/procurement/apiv1/procurementpb/order.pb.go b/commerce/consumer/procurement/apiv1/procurementpb/order.pb.go index 6ea5bb6f4465..d24bb4be011c 100755 --- a/commerce/consumer/procurement/apiv1/procurementpb/order.pb.go +++ b/commerce/consumer/procurement/apiv1/procurementpb/order.pb.go @@ -21,13 +21,12 @@ package procurementpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/commerce/consumer/procurement/apiv1/procurementpb/procurement_service.pb.go b/commerce/consumer/procurement/apiv1/procurementpb/procurement_service.pb.go index 051545b28b22..957b545b0d1e 100755 --- a/commerce/consumer/procurement/apiv1/procurementpb/procurement_service.pb.go +++ b/commerce/consumer/procurement/apiv1/procurementpb/procurement_service.pb.go @@ -21,17 +21,16 @@ package procurementpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/compute/apiv1/accelerator_types_client.go b/compute/apiv1/accelerator_types_client.go index 1fe3855ebc99..515526a8b462 100755 --- a/compute/apiv1/accelerator_types_client.go +++ b/compute/apiv1/accelerator_types_client.go @@ -101,7 +101,7 @@ type internalAcceleratorTypesClient interface { // AcceleratorTypesClient is a client for interacting with Google Compute Engine API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// # Services +// Services // // The AcceleratorTypes API. type AcceleratorTypesClient struct { @@ -167,7 +167,7 @@ type acceleratorTypesRESTClient struct { // NewAcceleratorTypesRESTClient creates a new accelerator types rest client. // -// # Services +// Services // // The AcceleratorTypes API. func NewAcceleratorTypesRESTClient(ctx context.Context, opts ...option.ClientOption) (*AcceleratorTypesClient, error) { diff --git a/compute/apiv1/computepb/compute.pb.go b/compute/apiv1/computepb/compute.pb.go index 72aeec771af2..faba3ad995ba 100755 --- a/compute/apiv1/computepb/compute.pb.go +++ b/compute/apiv1/computepb/compute.pb.go @@ -28,9 +28,6 @@ package computepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" _ "google.golang.org/genproto/googleapis/cloud/extendedops" grpc "google.golang.org/grpc" @@ -38,6 +35,8 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( @@ -3285,6 +3284,7 @@ func (DiskInstantiationConfig_InstantiateFrom) EnumDescriptor() ([]byte, []int) return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{257, 0} } +// type DiskResourceStatusAsyncReplicationStatus_State int32 const ( @@ -4031,6 +4031,7 @@ func (ForwardingRule_NetworkTier) EnumDescriptor() ([]byte, []int) { return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{303, 3} } +// type ForwardingRule_PscConnectionStatus int32 const ( @@ -4724,6 +4725,7 @@ func (HealthStatus_HealthState) EnumDescriptor() ([]byte, []int) { return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{465, 0} } +// type HealthStatus_WeightError int32 const ( @@ -8514,6 +8516,7 @@ func (Network_NetworkFirewallPolicyEnforcementOrder) EnumDescriptor() ([]byte, [ return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{791, 0} } +// type NetworkAttachment_ConnectionPreference int32 const ( @@ -9104,6 +9107,7 @@ func (NetworkPeering_State) EnumDescriptor() ([]byte, []int) { return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{816, 1} } +// type NetworkPerformanceConfig_TotalEgressBandwidthTier int32 const ( @@ -9319,6 +9323,7 @@ func (NodeGroup_MaintenancePolicy) EnumDescriptor() ([]byte, []int) { return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{824, 0} } +// type NodeGroup_Status int32 const ( @@ -9489,6 +9494,7 @@ func (NodeGroupNode_CpuOvercommitType) EnumDescriptor() ([]byte, []int) { return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{829, 0} } +// type NodeGroupNode_Status int32 const ( @@ -12035,6 +12041,7 @@ func (RouterBgp_AdvertiseMode) EnumDescriptor() ([]byte, []int) { return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{1026, 0} } +// type RouterBgp_AdvertisedGroups int32 const ( @@ -12134,6 +12141,7 @@ func (RouterBgpPeer_AdvertiseMode) EnumDescriptor() ([]byte, []int) { return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{1027, 0} } +// type RouterBgpPeer_AdvertisedGroups int32 const ( @@ -12454,6 +12462,7 @@ func (RouterNat_AutoNetworkTier) EnumDescriptor() ([]byte, []int) { return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{1033, 0} } +// type RouterNat_EndpointTypes int32 const ( @@ -12673,6 +12682,7 @@ func (RouterNatLogConfig_Filter) EnumDescriptor() ([]byte, []int) { return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{1034, 0} } +// type RouterNatSubnetworkToNat_SourceIpRangesToNat int32 const ( @@ -13711,6 +13721,7 @@ func (SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig_RuleVisibili return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{1060, 0} } +// type SecurityPolicyAdvancedOptionsConfig_JsonParsing int32 const ( @@ -13761,6 +13772,7 @@ func (SecurityPolicyAdvancedOptionsConfig_JsonParsing) EnumDescriptor() ([]byte, return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{1061, 0} } +// type SecurityPolicyAdvancedOptionsConfig_LogLevel int32 const ( @@ -13811,6 +13823,7 @@ func (SecurityPolicyAdvancedOptionsConfig_LogLevel) EnumDescriptor() ([]byte, [] return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{1061, 1} } +// type SecurityPolicyDdosProtectionConfig_DdosProtection int32 const ( @@ -14164,6 +14177,7 @@ func (SecurityPolicyRuleRedirectOptions_Type) EnumDescriptor() ([]byte, []int) { return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{1078, 0} } +// type ServerBinding_Type int32 const ( @@ -15433,6 +15447,7 @@ func (SubnetworkLogConfig_Metadata) EnumDescriptor() ([]byte, []int) { return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{1212, 1} } +// type Subsetting_Policy int32 const ( @@ -16194,6 +16209,7 @@ func (UpdateInstanceRequest_MostDisruptiveAllowedAction) EnumDescriptor() ([]byt return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{1300, 1} } +// type UrlMapsValidateRequest_LoadBalancingSchemes int32 const ( @@ -17141,6 +17157,7 @@ func (Zone_Status) EnumDescriptor() ([]byte, []int) { return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{1360, 0} } +// // Messages // // A request message for InstanceGroupManagers.AbandonInstances. See the method description for details. @@ -17492,6 +17509,7 @@ func (x *AcceleratorType) GetZone() string { return "" } +// type AcceleratorTypeAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -17688,6 +17706,7 @@ func (x *AcceleratorTypeList) GetWarning() *Warning { return nil } +// type AcceleratorTypesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -17745,6 +17764,7 @@ func (x *AcceleratorTypesScopedList) GetWarning() *Warning { return nil } +// type Accelerators struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -19663,6 +19683,7 @@ func (x *Address) GetUsers() []string { return nil } +// type AddressAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -19859,6 +19880,7 @@ func (x *AddressList) GetWarning() *Warning { return nil } +// type AddressesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -24371,6 +24393,7 @@ func (x *AllocationResourceStatusSpecificSKUAllocation) GetSourceInstanceTemplat return "" } +// type AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -24599,6 +24622,7 @@ func (x *AllocationSpecificSKUReservation) GetSourceInstanceTemplate() string { return "" } +// type Allowed struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -25817,6 +25841,7 @@ func (x *Autoscaler) GetZone() string { return "" } +// type AutoscalerAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -26013,6 +26038,7 @@ func (x *AutoscalerList) GetWarning() *Warning { return nil } +// type AutoscalerStatusDetails struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -26071,6 +26097,7 @@ func (x *AutoscalerStatusDetails) GetType() string { return "" } +// type AutoscalersScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -28207,6 +28234,7 @@ func (x *BackendServiceFailoverPolicy) GetFailoverRatio() float32 { return 0 } +// type BackendServiceGroupHealth struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -28684,6 +28712,7 @@ func (x *BackendServiceLogConfig) GetSampleRate() float32 { return 0 } +// type BackendServiceReference struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -28731,6 +28760,7 @@ func (x *BackendServiceReference) GetBackendService() string { return "" } +// type BackendServicesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -28788,6 +28818,7 @@ func (x *BackendServicesScopedList) GetWarning() *Warning { return nil } +// type BfdPacket struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -29106,6 +29137,7 @@ func (x *BfdStatus) GetUptimeMs() int64 { return 0 } +// type BfdStatusPacketCounts struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -29762,6 +29794,7 @@ func (x *BulkInsertRegionInstanceRequest) GetRequestId() string { return "" } +// type CacheInvalidationRule struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -30458,6 +30491,7 @@ func (x *Commitment) GetType() string { return "" } +// type CommitmentAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -30654,6 +30688,7 @@ func (x *CommitmentList) GetWarning() *Warning { return nil } +// type CommitmentsScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -31492,6 +31527,7 @@ func (x *CreateSnapshotRegionDiskRequest) GetSnapshotResource() *Snapshot { return nil } +// type CustomerEncryptionKey struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -31576,6 +31612,7 @@ func (x *CustomerEncryptionKey) GetSha256() string { return "" } +// type CustomerEncryptionKeyProtectedDisk struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -31633,6 +31670,7 @@ func (x *CustomerEncryptionKeyProtectedDisk) GetSource() string { return "" } +// type Data struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -37875,6 +37913,7 @@ func (*DeleteZoneOperationResponse) Descriptor() ([]byte, []int) { return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{244} } +// type Denied struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -38903,6 +38942,7 @@ func (x *Disk) GetZone() string { return "" } +// type DiskAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -39005,6 +39045,7 @@ func (x *DiskAggregatedList) GetWarning() *Warning { return nil } +// type DiskAsyncReplication struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -39080,6 +39121,7 @@ func (x *DiskAsyncReplication) GetDiskId() string { return "" } +// type DiskAsyncReplicationList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -39298,6 +39340,7 @@ func (x *DiskList) GetWarning() *Warning { return nil } +// type DiskMoveRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -39404,6 +39447,7 @@ func (x *DiskParams) GetResourceManagerTags() map[string]string { return nil } +// type DiskResourceStatus struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -39460,6 +39504,7 @@ func (x *DiskResourceStatus) GetAsyncSecondaryDisks() map[string]*DiskResourceSt return nil } +// type DiskResourceStatusAsyncReplicationStatus struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -39648,6 +39693,7 @@ func (x *DiskType) GetZone() string { return "" } +// type DiskTypeAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -39844,6 +39890,7 @@ func (x *DiskTypeList) GetWarning() *Warning { return nil } +// type DiskTypesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -39901,6 +39948,7 @@ func (x *DiskTypesScopedList) GetWarning() *Warning { return nil } +// type DisksAddResourcePoliciesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -39949,6 +39997,7 @@ func (x *DisksAddResourcePoliciesRequest) GetResourcePolicies() []string { return nil } +// type DisksRemoveResourcePoliciesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -39997,6 +40046,7 @@ func (x *DisksRemoveResourcePoliciesRequest) GetResourcePolicies() []string { return nil } +// type DisksResizeRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -40045,6 +40095,7 @@ func (x *DisksResizeRequest) GetSizeGb() int64 { return 0 } +// type DisksScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -40102,6 +40153,7 @@ func (x *DisksScopedList) GetWarning() *Warning { return nil } +// type DisksStartAsyncReplicationRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -40248,6 +40300,7 @@ func (x *DisplayDevice) GetEnableDisplay() bool { return false } +// type DistributionPolicy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -40306,6 +40359,7 @@ func (x *DistributionPolicy) GetZones() []*DistributionPolicyZoneConfiguration { return nil } +// type DistributionPolicyZoneConfiguration struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -40586,6 +40640,7 @@ func (x *Error) GetErrors() []*Errors { return nil } +// type ErrorDetails struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -40724,6 +40779,7 @@ func (x *ErrorInfo) GetReason() string { return "" } +// type Errors struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -40799,6 +40855,7 @@ func (x *Errors) GetMessage() string { return "" } +// type ExchangedPeeringRoute struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -40884,6 +40941,7 @@ func (x *ExchangedPeeringRoute) GetType() string { return "" } +// type ExchangedPeeringRoutesList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -41429,6 +41487,7 @@ func (x *ExternalVpnGatewayList) GetWarning() *Warning { return nil } +// type FileContentBuffer struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -41852,6 +41911,7 @@ func (x *FirewallLogConfig) GetMetadata() string { return "" } +// type FirewallPoliciesListAssociationsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -42084,6 +42144,7 @@ func (x *FirewallPolicy) GetShortName() string { return "" } +// type FirewallPolicyAssociation struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -42168,6 +42229,7 @@ func (x *FirewallPolicyAssociation) GetShortName() string { return "" } +// type FirewallPolicyList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -42558,6 +42620,7 @@ func (x *FirewallPolicyRuleMatcher) GetSrcThreatIntelligences() []string { return nil } +// type FirewallPolicyRuleMatcherLayer4Config struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -42615,6 +42678,7 @@ func (x *FirewallPolicyRuleMatcherLayer4Config) GetPorts() []string { return nil } +// type FirewallPolicyRuleSecureTag struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -43091,6 +43155,7 @@ func (x *ForwardingRule) GetTarget() string { return "" } +// type ForwardingRuleAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -43287,6 +43352,7 @@ func (x *ForwardingRuleList) GetWarning() *Warning { return nil } +// type ForwardingRuleReference struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -43401,6 +43467,7 @@ func (x *ForwardingRuleServiceDirectoryRegistration) GetServiceDirectoryRegion() return "" } +// type ForwardingRulesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -43458,6 +43525,7 @@ func (x *ForwardingRulesScopedList) GetWarning() *Warning { return nil } +// type GRPCHealthCheck struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -52290,6 +52358,7 @@ func (x *GetZoneRequest) GetZone() string { return "" } +// type GlobalAddressesMoveRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -52347,6 +52416,7 @@ func (x *GlobalAddressesMoveRequest) GetDestinationAddress() string { return "" } +// type GlobalNetworkEndpointGroupsAttachEndpointsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -52395,6 +52465,7 @@ func (x *GlobalNetworkEndpointGroupsAttachEndpointsRequest) GetNetworkEndpoints( return nil } +// type GlobalNetworkEndpointGroupsDetachEndpointsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -52443,6 +52514,7 @@ func (x *GlobalNetworkEndpointGroupsDetachEndpointsRequest) GetNetworkEndpoints( return nil } +// type GlobalOrganizationSetPolicyRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -52509,6 +52581,7 @@ func (x *GlobalOrganizationSetPolicyRequest) GetPolicy() *Policy { return nil } +// type GlobalSetLabelsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -52566,6 +52639,7 @@ func (x *GlobalSetLabelsRequest) GetLabels() map[string]string { return nil } +// type GlobalSetPolicyRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -52891,6 +52965,7 @@ func (x *GuestOsFeature) GetType() string { return "" } +// type HTTP2HealthCheck struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -52995,6 +53070,7 @@ func (x *HTTP2HealthCheck) GetResponse() string { return "" } +// type HTTPHealthCheck struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -53099,6 +53175,7 @@ func (x *HTTPHealthCheck) GetResponse() string { return "" } +// type HTTPSHealthCheck struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -53797,6 +53874,7 @@ func (x *HealthCheckServiceReference) GetHealthCheckService() string { return "" } +// type HealthCheckServicesList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -53890,6 +53968,7 @@ func (x *HealthCheckServicesList) GetWarning() *Warning { return nil } +// type HealthChecksAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -53992,6 +54071,7 @@ func (x *HealthChecksAggregatedList) GetWarning() *Warning { return nil } +// type HealthChecksScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -54049,6 +54129,7 @@ func (x *HealthChecksScopedList) GetWarning() *Warning { return nil } +// type HealthStatus struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -54170,6 +54251,7 @@ func (x *HealthStatus) GetWeightError() string { return "" } +// type HealthStatusForNetworkEndpoint struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -55096,6 +55178,7 @@ func (x *HttpRetryPolicy) GetRetryConditions() []string { return nil } +// type HttpRouteAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -55753,6 +55836,7 @@ func (x *Image) GetStorageLocations() []string { return nil } +// type ImageFamilyView struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -61725,6 +61809,7 @@ func (x *Instance) GetZone() string { return "" } +// type InstanceAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -61827,6 +61912,7 @@ func (x *InstanceAggregatedList) GetWarning() *Warning { return nil } +// type InstanceConsumptionData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -61884,6 +61970,7 @@ func (x *InstanceConsumptionData) GetInstance() string { return "" } +// type InstanceConsumptionInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -62116,6 +62203,7 @@ func (x *InstanceGroup) GetZone() string { return "" } +// type InstanceGroupAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -62569,6 +62657,7 @@ func (x *InstanceGroupManager) GetZone() string { return "" } +// type InstanceGroupManagerActionsSummary struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -62725,6 +62814,7 @@ func (x *InstanceGroupManagerActionsSummary) GetVerifying() int32 { return 0 } +// type InstanceGroupManagerAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -62827,6 +62917,7 @@ func (x *InstanceGroupManagerAggregatedList) GetWarning() *Warning { return nil } +// type InstanceGroupManagerAutoHealingPolicy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -62884,6 +62975,7 @@ func (x *InstanceGroupManagerAutoHealingPolicy) GetInitialDelaySec() int32 { return 0 } +// type InstanceGroupManagerInstanceLifecyclePolicy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -63027,6 +63119,7 @@ func (x *InstanceGroupManagerList) GetWarning() *Warning { return nil } +// type InstanceGroupManagerStatus struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -63102,6 +63195,7 @@ func (x *InstanceGroupManagerStatus) GetVersionTarget() *InstanceGroupManagerSta return nil } +// type InstanceGroupManagerStatusStateful struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -63159,6 +63253,7 @@ func (x *InstanceGroupManagerStatusStateful) GetPerInstanceConfigs() *InstanceGr return nil } +// type InstanceGroupManagerStatusStatefulPerInstanceConfigs struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -63207,6 +63302,7 @@ func (x *InstanceGroupManagerStatusStatefulPerInstanceConfigs) GetAllEffective() return false } +// type InstanceGroupManagerStatusVersionTarget struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -63255,6 +63351,7 @@ func (x *InstanceGroupManagerStatusVersionTarget) GetIsReached() bool { return false } +// type InstanceGroupManagerUpdatePolicy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -63362,6 +63459,7 @@ func (x *InstanceGroupManagerUpdatePolicy) GetType() string { return "" } +// type InstanceGroupManagerVersion struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -63428,6 +63526,7 @@ func (x *InstanceGroupManagerVersion) GetTargetSize() *FixedOrPercent { return nil } +// type InstanceGroupManagersAbandonInstancesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -63603,6 +63702,7 @@ func (x *InstanceGroupManagersCreateInstancesRequest) GetInstances() []*PerInsta return nil } +// type InstanceGroupManagersDeleteInstancesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -63709,6 +63809,7 @@ func (x *InstanceGroupManagersDeletePerInstanceConfigsReq) GetNames() []string { return nil } +// type InstanceGroupManagersListErrorsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -63766,6 +63867,7 @@ func (x *InstanceGroupManagersListErrorsResponse) GetNextPageToken() string { return "" } +// type InstanceGroupManagersListManagedInstancesResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -63823,6 +63925,7 @@ func (x *InstanceGroupManagersListManagedInstancesResponse) GetNextPageToken() s return "" } +// type InstanceGroupManagersListPerInstanceConfigsResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -63938,6 +64041,7 @@ func (x *InstanceGroupManagersPatchPerInstanceConfigsReq) GetPerInstanceConfigs( return nil } +// type InstanceGroupManagersRecreateInstancesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -63986,6 +64090,7 @@ func (x *InstanceGroupManagersRecreateInstancesRequest) GetInstances() []string return nil } +// type InstanceGroupManagersScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -64043,6 +64148,7 @@ func (x *InstanceGroupManagersScopedList) GetWarning() *Warning { return nil } +// type InstanceGroupManagersSetInstanceTemplateRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -64091,6 +64197,7 @@ func (x *InstanceGroupManagersSetInstanceTemplateRequest) GetInstanceTemplate() return "" } +// type InstanceGroupManagersSetTargetPoolsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -64197,6 +64304,7 @@ func (x *InstanceGroupManagersUpdatePerInstanceConfigsReq) GetPerInstanceConfigs return nil } +// type InstanceGroupsAddInstancesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -64245,6 +64353,7 @@ func (x *InstanceGroupsAddInstancesRequest) GetInstances() []*InstanceReference return nil } +// type InstanceGroupsListInstances struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -64338,6 +64447,7 @@ func (x *InstanceGroupsListInstances) GetWarning() *Warning { return nil } +// type InstanceGroupsListInstancesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -64387,6 +64497,7 @@ func (x *InstanceGroupsListInstancesRequest) GetInstanceState() string { return "" } +// type InstanceGroupsRemoveInstancesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -64435,6 +64546,7 @@ func (x *InstanceGroupsRemoveInstancesRequest) GetInstances() []*InstanceReferen return nil } +// type InstanceGroupsScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -64492,6 +64604,7 @@ func (x *InstanceGroupsScopedList) GetWarning() *Warning { return nil } +// type InstanceGroupsSetNamedPortsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -64737,6 +64850,7 @@ func (x *InstanceListReferrers) GetWarning() *Warning { return nil } +// type InstanceManagedByIgmError struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -64803,6 +64917,7 @@ func (x *InstanceManagedByIgmError) GetTimestamp() string { return "" } +// type InstanceManagedByIgmErrorInstanceActionDetails struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -64870,6 +64985,7 @@ func (x *InstanceManagedByIgmErrorInstanceActionDetails) GetVersion() *ManagedIn return nil } +// type InstanceManagedByIgmErrorManagedInstanceError struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -64927,6 +65043,7 @@ func (x *InstanceManagedByIgmErrorManagedInstanceError) GetMessage() string { return "" } +// type InstanceMoveRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -65033,6 +65150,7 @@ func (x *InstanceParams) GetResourceManagerTags() map[string]string { return nil } +// type InstanceProperties struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -65263,6 +65381,7 @@ func (x *InstanceProperties) GetTags() *Tags { return nil } +// type InstanceReference struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -65629,6 +65748,7 @@ func (x *InstanceTemplateList) GetWarning() *Warning { return nil } +// type InstanceTemplatesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -65686,6 +65806,7 @@ func (x *InstanceTemplatesScopedList) GetWarning() *Warning { return nil } +// type InstanceWithNamedPorts struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -65753,6 +65874,7 @@ func (x *InstanceWithNamedPorts) GetStatus() string { return "" } +// type InstancesAddResourcePoliciesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -65801,6 +65923,7 @@ func (x *InstancesAddResourcePoliciesRequest) GetResourcePolicies() []string { return nil } +// type InstancesGetEffectiveFirewallsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -65858,6 +65981,7 @@ func (x *InstancesGetEffectiveFirewallsResponse) GetFirewalls() []*Firewall { return nil } +// type InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -65943,6 +66067,7 @@ func (x *InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy) GetType( return "" } +// type InstancesRemoveResourcePoliciesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -65991,6 +66116,7 @@ func (x *InstancesRemoveResourcePoliciesRequest) GetResourcePolicies() []string return nil } +// type InstancesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -66048,6 +66174,7 @@ func (x *InstancesScopedList) GetWarning() *Warning { return nil } +// type InstancesSetLabelsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -66104,6 +66231,7 @@ func (x *InstancesSetLabelsRequest) GetLabels() map[string]string { return nil } +// type InstancesSetMachineResourcesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -66152,6 +66280,7 @@ func (x *InstancesSetMachineResourcesRequest) GetGuestAccelerators() []*Accelera return nil } +// type InstancesSetMachineTypeRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -66200,6 +66329,7 @@ func (x *InstancesSetMachineTypeRequest) GetMachineType() string { return "" } +// type InstancesSetMinCpuPlatformRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -66248,6 +66378,7 @@ func (x *InstancesSetMinCpuPlatformRequest) GetMinCpuPlatform() string { return "" } +// type InstancesSetNameRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -66305,6 +66436,7 @@ func (x *InstancesSetNameRequest) GetName() string { return "" } +// type InstancesSetServiceAccountRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -66362,6 +66494,7 @@ func (x *InstancesSetServiceAccountRequest) GetScopes() []string { return nil } +// type InstancesStartWithEncryptionKeyRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -67153,6 +67286,7 @@ func (x *InterconnectAttachment) GetVlanTag8021Q() int32 { return 0 } +// type InterconnectAttachmentAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -67255,6 +67389,7 @@ func (x *InterconnectAttachmentAggregatedList) GetWarning() *Warning { return nil } +// type InterconnectAttachmentConfigurationConstraints struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -67313,6 +67448,7 @@ func (x *InterconnectAttachmentConfigurationConstraints) GetBgpPeerAsnRanges() [ return nil } +// type InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -67578,6 +67714,7 @@ func (x *InterconnectAttachmentPrivateInfo) GetTag8021Q() uint32 { return 0 } +// type InterconnectAttachmentsScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -67847,6 +67984,7 @@ func (x *InterconnectDiagnosticsARPEntry) GetMacAddress() string { return "" } +// type InterconnectDiagnosticsLinkLACPStatus struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -67914,6 +68052,7 @@ func (x *InterconnectDiagnosticsLinkLACPStatus) GetState() string { return "" } +// type InterconnectDiagnosticsLinkOpticalPower struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -67972,6 +68111,7 @@ func (x *InterconnectDiagnosticsLinkOpticalPower) GetValue() float32 { return 0 } +// type InterconnectDiagnosticsLinkStatus struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -68854,6 +68994,7 @@ func (x *InterconnectRemoteLocation) GetStatus() string { return "" } +// type InterconnectRemoteLocationConstraints struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -68922,6 +69063,7 @@ func (x *InterconnectRemoteLocationConstraints) GetSubnetLengthRange() *Intercon return nil } +// type InterconnectRemoteLocationConstraintsSubnetLengthRange struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -69071,6 +69213,7 @@ func (x *InterconnectRemoteLocationList) GetWarning() *Warning { return nil } +// type InterconnectRemoteLocationPermittedConnections struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -69552,6 +69695,7 @@ func (x *LicenseCode) GetTransferable() bool { return false } +// type LicenseCodeLicenseAlias struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -69676,6 +69820,7 @@ func (x *LicenseResourceCommitment) GetLicense() string { return "" } +// type LicenseResourceRequirements struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -69733,6 +69878,7 @@ func (x *LicenseResourceRequirements) GetMinMemoryMb() int32 { return 0 } +// type LicensesListResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -80287,6 +80433,7 @@ func (x *ListZonesRequest) GetReturnPartialSuccess() bool { return false } +// type LocalDisk struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -80470,6 +80617,7 @@ func (x *LocationPolicy) GetTargetShape() string { return "" } +// type LocationPolicyLocation struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -81350,6 +81498,7 @@ func (x *MachineType) GetZone() string { return "" } +// type MachineTypeAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -81546,6 +81695,7 @@ func (x *MachineTypeList) GetWarning() *Warning { return nil } +// type MachineTypesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -81726,6 +81876,7 @@ func (x *ManagedInstance) GetVersion() *ManagedInstanceVersion { return nil } +// type ManagedInstanceInstanceHealth struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -81784,6 +81935,7 @@ func (x *ManagedInstanceInstanceHealth) GetHealthCheck() string { return "" } +// type ManagedInstanceLastAttempt struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -81832,6 +81984,7 @@ func (x *ManagedInstanceLastAttempt) GetErrors() *Errors { return nil } +// type ManagedInstanceVersion struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -83051,6 +83204,7 @@ func (x *NetworkAttachmentConnectedEndpoint) GetSubnetwork() string { return "" } +// type NetworkAttachmentList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -83143,6 +83297,7 @@ func (x *NetworkAttachmentList) GetWarning() *Warning { return nil } +// type NetworkAttachmentsScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -83330,6 +83485,7 @@ func (x *NetworkEdgeSecurityService) GetSelfLinkWithId() string { return "" } +// type NetworkEdgeSecurityServiceAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -83440,6 +83596,7 @@ func (x *NetworkEdgeSecurityServiceAggregatedList) GetWarning() *Warning { return nil } +// type NetworkEdgeSecurityServicesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -83793,6 +83950,7 @@ func (x *NetworkEndpointGroup) GetZone() string { return "" } +// type NetworkEndpointGroupAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -84087,6 +84245,7 @@ func (x *NetworkEndpointGroupCloudRun) GetUrlMask() string { return "" } +// type NetworkEndpointGroupList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -84248,6 +84407,7 @@ func (x *NetworkEndpointGroupPscData) GetPscConnectionStatus() string { return "" } +// type NetworkEndpointGroupsAttachEndpointsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -84296,6 +84456,7 @@ func (x *NetworkEndpointGroupsAttachEndpointsRequest) GetNetworkEndpoints() []*N return nil } +// type NetworkEndpointGroupsDetachEndpointsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -84344,6 +84505,7 @@ func (x *NetworkEndpointGroupsDetachEndpointsRequest) GetNetworkEndpoints() []*N return nil } +// type NetworkEndpointGroupsListEndpointsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -84393,6 +84555,7 @@ func (x *NetworkEndpointGroupsListEndpointsRequest) GetHealthStatus() string { return "" } +// type NetworkEndpointGroupsListNetworkEndpoints struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -84477,6 +84640,7 @@ func (x *NetworkEndpointGroupsListNetworkEndpoints) GetWarning() *Warning { return nil } +// type NetworkEndpointGroupsScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -84534,6 +84698,7 @@ func (x *NetworkEndpointGroupsScopedList) GetWarning() *Warning { return nil } +// type NetworkEndpointWithHealthStatus struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -85022,6 +85187,7 @@ func (x *NetworkPeering) GetStateDetails() string { return "" } +// type NetworkPerformanceConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -85121,6 +85287,7 @@ func (x *NetworkRoutingConfig) GetRoutingMode() string { return "" } +// type NetworksAddPeeringRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -85196,6 +85363,7 @@ func (x *NetworksAddPeeringRequest) GetPeerNetwork() string { return "" } +// type NetworksGetEffectiveFirewallsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -85253,6 +85421,7 @@ func (x *NetworksGetEffectiveFirewallsResponse) GetFirewalls() []*Firewall { return nil } +// type NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -85338,6 +85507,7 @@ func (x *NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy) GetType() return "" } +// type NetworksRemovePeeringRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -85386,6 +85556,7 @@ func (x *NetworksRemovePeeringRequest) GetName() string { return "" } +// type NetworksUpdatePeeringRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -85617,6 +85788,7 @@ func (x *NodeGroup) GetZone() string { return "" } +// type NodeGroupAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -85719,6 +85891,7 @@ func (x *NodeGroupAggregatedList) GetWarning() *Warning { return nil } +// type NodeGroupAutoscalingPolicy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -85938,6 +86111,7 @@ func (x *NodeGroupMaintenanceWindow) GetStartTime() string { return "" } +// type NodeGroupNode struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -86096,6 +86270,7 @@ func (x *NodeGroupNode) GetTotalResources() *InstanceConsumptionInfo { return nil } +// type NodeGroupsAddNodesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -86144,6 +86319,7 @@ func (x *NodeGroupsAddNodesRequest) GetAdditionalNodeCount() int32 { return 0 } +// type NodeGroupsDeleteNodesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -86192,6 +86368,7 @@ func (x *NodeGroupsDeleteNodesRequest) GetNodes() []string { return nil } +// type NodeGroupsListNodes struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -86285,6 +86462,7 @@ func (x *NodeGroupsListNodes) GetWarning() *Warning { return nil } +// type NodeGroupsScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -86342,6 +86520,7 @@ func (x *NodeGroupsScopedList) GetWarning() *Warning { return nil } +// type NodeGroupsSetNodeTemplateRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -86390,6 +86569,7 @@ func (x *NodeGroupsSetNodeTemplateRequest) GetNodeTemplate() string { return "" } +// type NodeGroupsSimulateMaintenanceEventRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -86622,6 +86802,7 @@ func (x *NodeTemplate) GetStatusMessage() string { return "" } +// type NodeTemplateAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -86818,6 +86999,7 @@ func (x *NodeTemplateList) GetWarning() *Warning { return nil } +// type NodeTemplateNodeTypeFlexibility struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -86881,6 +87063,7 @@ func (x *NodeTemplateNodeTypeFlexibility) GetMemory() string { return "" } +// type NodeTemplatesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -87086,6 +87269,7 @@ func (x *NodeType) GetZone() string { return "" } +// type NodeTypeAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -87282,6 +87466,7 @@ func (x *NodeTypeList) GetWarning() *Warning { return nil } +// type NodeTypesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -87536,6 +87721,7 @@ func (x *NotificationEndpointGrpcSettings) GetRetryDurationSec() uint32 { return 0 } +// type NotificationEndpointList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -87885,6 +88071,7 @@ func (x *Operation) GetZone() string { return "" } +// type OperationAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -88081,6 +88268,7 @@ func (x *OperationList) GetWarning() *Warning { return nil } +// type OperationsScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -88634,6 +88822,7 @@ func (x *PacketMirroringAggregatedList) GetWarning() *Warning { return nil } +// type PacketMirroringFilter struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -88701,6 +88890,7 @@ func (x *PacketMirroringFilter) GetDirection() string { return "" } +// type PacketMirroringForwardingRuleInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -88852,6 +89042,7 @@ func (x *PacketMirroringList) GetWarning() *Warning { return nil } +// type PacketMirroringMirroredResourceInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -88918,6 +89109,7 @@ func (x *PacketMirroringMirroredResourceInfo) GetTags() []string { return nil } +// type PacketMirroringMirroredResourceInfoInstanceInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -88975,6 +89167,7 @@ func (x *PacketMirroringMirroredResourceInfoInstanceInfo) GetUrl() string { return "" } +// type PacketMirroringMirroredResourceInfoSubnetInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -89032,6 +89225,7 @@ func (x *PacketMirroringMirroredResourceInfoSubnetInfo) GetUrl() string { return "" } +// type PacketMirroringNetworkInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -89089,6 +89283,7 @@ func (x *PacketMirroringNetworkInfo) GetUrl() string { return "" } +// type PacketMirroringsScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -93108,6 +93303,7 @@ func (x *PathRule) GetUrlRedirect() *HttpRedirectAction { return nil } +// type PerInstanceConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -93277,6 +93473,7 @@ func (x *Policy) GetVersion() int32 { return 0 } +// type PreconfiguredWafSet struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -93383,6 +93580,7 @@ func (x *PreservedState) GetMetadata() map[string]string { return nil } +// type PreservedStatePreservedDisk struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -93696,6 +93894,7 @@ func (x *Project) GetXpnProjectStatus() string { return "" } +// type ProjectsDisableXpnResourceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -93744,6 +93943,7 @@ func (x *ProjectsDisableXpnResourceRequest) GetXpnResource() *XpnResourceId { return nil } +// type ProjectsEnableXpnResourceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -93792,6 +93992,7 @@ func (x *ProjectsEnableXpnResourceRequest) GetXpnResource() *XpnResourceId { return nil } +// type ProjectsGetXpnResources struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -93858,6 +94059,7 @@ func (x *ProjectsGetXpnResources) GetResources() []*XpnResourceId { return nil } +// type ProjectsListXpnHostsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -93906,6 +94108,7 @@ func (x *ProjectsListXpnHostsRequest) GetOrganization() string { return "" } +// type ProjectsSetDefaultNetworkTierRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -94104,6 +94307,7 @@ func (x *PublicAdvertisedPrefix) GetStatus() string { return "" } +// type PublicAdvertisedPrefixList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -94440,6 +94644,7 @@ func (x *PublicDelegatedPrefix) GetStatus() string { return "" } +// type PublicDelegatedPrefixAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -94542,6 +94747,7 @@ func (x *PublicDelegatedPrefixAggregatedList) GetWarning() *Warning { return nil } +// type PublicDelegatedPrefixList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -94739,6 +94945,7 @@ func (x *PublicDelegatedPrefixPublicDelegatedSubPrefix) GetStatus() string { return "" } +// type PublicDelegatedPrefixesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -95422,6 +95629,7 @@ func (x *Region) GetZones() []string { return nil } +// type RegionAddressesMoveRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -95573,6 +95781,7 @@ func (x *RegionAutoscalerList) GetWarning() *Warning { return nil } +// type RegionDiskTypeList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -95666,6 +95875,7 @@ func (x *RegionDiskTypeList) GetWarning() *Warning { return nil } +// type RegionDisksAddResourcePoliciesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -95714,6 +95924,7 @@ func (x *RegionDisksAddResourcePoliciesRequest) GetResourcePolicies() []string { return nil } +// type RegionDisksRemoveResourcePoliciesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -95762,6 +95973,7 @@ func (x *RegionDisksRemoveResourcePoliciesRequest) GetResourcePolicies() []strin return nil } +// type RegionDisksResizeRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -95810,6 +96022,7 @@ func (x *RegionDisksResizeRequest) GetSizeGb() int64 { return 0 } +// type RegionDisksStartAsyncReplicationRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -96193,6 +96406,7 @@ func (x *RegionInstanceGroupManagerUpdateInstanceConfigReq) GetPerInstanceConfig return nil } +// type RegionInstanceGroupManagersAbandonInstancesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -96368,6 +96582,7 @@ func (x *RegionInstanceGroupManagersCreateInstancesRequest) GetInstances() []*Pe return nil } +// type RegionInstanceGroupManagersDeleteInstancesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -96425,6 +96640,7 @@ func (x *RegionInstanceGroupManagersDeleteInstancesRequest) GetSkipInstancesOnVa return false } +// type RegionInstanceGroupManagersListErrorsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -96482,6 +96698,7 @@ func (x *RegionInstanceGroupManagersListErrorsResponse) GetNextPageToken() strin return "" } +// type RegionInstanceGroupManagersListInstanceConfigsResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -96548,6 +96765,7 @@ func (x *RegionInstanceGroupManagersListInstanceConfigsResp) GetWarning() *Warni return nil } +// type RegionInstanceGroupManagersListInstancesResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -96605,6 +96823,7 @@ func (x *RegionInstanceGroupManagersListInstancesResponse) GetNextPageToken() st return "" } +// type RegionInstanceGroupManagersRecreateRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -96653,6 +96872,7 @@ func (x *RegionInstanceGroupManagersRecreateRequest) GetInstances() []string { return nil } +// type RegionInstanceGroupManagersSetTargetPoolsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -96710,6 +96930,7 @@ func (x *RegionInstanceGroupManagersSetTargetPoolsRequest) GetTargetPools() []st return nil } +// type RegionInstanceGroupManagersSetTemplateRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -96758,6 +96979,7 @@ func (x *RegionInstanceGroupManagersSetTemplateRequest) GetInstanceTemplate() st return "" } +// type RegionInstanceGroupsListInstances struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -96851,6 +97073,7 @@ func (x *RegionInstanceGroupsListInstances) GetWarning() *Warning { return nil } +// type RegionInstanceGroupsListInstancesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -96909,6 +97132,7 @@ func (x *RegionInstanceGroupsListInstancesRequest) GetPortName() string { return "" } +// type RegionInstanceGroupsSetNamedPortsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -97060,6 +97284,7 @@ func (x *RegionList) GetWarning() *Warning { return nil } +// type RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -97117,6 +97342,7 @@ func (x *RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse) GetFirewall return nil } +// type RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -97194,6 +97420,7 @@ func (x *RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFire return "" } +// type RegionSetLabelsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -97251,6 +97478,7 @@ func (x *RegionSetLabelsRequest) GetLabels() map[string]string { return nil } +// type RegionSetPolicyRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -97317,6 +97545,7 @@ func (x *RegionSetPolicyRequest) GetPolicy() *Policy { return nil } +// type RegionTargetHttpsProxiesSetSslCertificatesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -97365,6 +97594,7 @@ func (x *RegionTargetHttpsProxiesSetSslCertificatesRequest) GetSslCertificates() return nil } +// type RegionUrlMapsValidateRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -98918,6 +99148,7 @@ func (x *ReservationAggregatedList) GetWarning() *Warning { return nil } +// type ReservationList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -99011,6 +99242,7 @@ func (x *ReservationList) GetWarning() *Warning { return nil } +// type ReservationsResizeRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -99059,6 +99291,7 @@ func (x *ReservationsResizeRequest) GetSpecificSkuCount() int64 { return 0 } +// type ReservationsScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -99685,6 +99918,7 @@ func (x *ResourceCommitment) GetType() string { return "" } +// type ResourceGroupReference struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -99733,6 +99967,7 @@ func (x *ResourceGroupReference) GetGroup() string { return "" } +// type ResourcePoliciesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -100432,6 +100667,7 @@ func (x *ResourcePolicyInstanceSchedulePolicySchedule) GetSchedule() string { return "" } +// type ResourcePolicyList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -100582,6 +100818,7 @@ func (x *ResourcePolicyResourceStatus) GetInstanceSchedulePolicy() *ResourcePoli return nil } +// type ResourcePolicyResourceStatusInstanceSchedulePolicyStatus struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -100954,6 +101191,7 @@ func (x *ResourcePolicyWeeklyCycle) GetDayOfWeeks() []*ResourcePolicyWeeklyCycle return nil } +// type ResourcePolicyWeeklyCycleDayOfWeek struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -101386,6 +101624,7 @@ func (x *Route) GetWarnings() []*Warnings { return nil } +// type RouteAsPath struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -101865,6 +102104,7 @@ func (x *RouterAggregatedList) GetWarning() *Warning { return nil } +// type RouterBgp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -101951,6 +102191,7 @@ func (x *RouterBgp) GetKeepaliveInterval() uint32 { return 0 } +// type RouterBgpPeer struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -102165,6 +102406,7 @@ func (x *RouterBgpPeer) GetRouterApplianceInstance() string { return "" } +// type RouterBgpPeerBfd struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -102241,6 +102483,7 @@ func (x *RouterBgpPeerBfd) GetSessionInitializationMode() string { return "" } +// type RouterBgpPeerCustomLearnedIpRange struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -102289,6 +102532,7 @@ func (x *RouterBgpPeerCustomLearnedIpRange) GetRange() string { return "" } +// type RouterInterface struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -102495,6 +102739,7 @@ func (x *RouterList) GetWarning() *Warning { return nil } +// type RouterMd5AuthenticationKey struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -102825,6 +103070,7 @@ func (x *RouterNatLogConfig) GetFilter() string { return "" } +// type RouterNatRule struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -102900,6 +103146,7 @@ func (x *RouterNatRule) GetRuleNumber() uint32 { return 0 } +// type RouterNatRuleAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -103025,6 +103272,7 @@ func (x *RouterNatSubnetworkToNat) GetSourceIpRangesToNat() []string { return nil } +// type RouterStatus struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -103107,6 +103355,7 @@ func (x *RouterStatus) GetNetwork() string { return "" } +// type RouterStatusBgpPeerStatus struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -103506,6 +103755,7 @@ func (x *RouterStatusNatStatusNatRuleStatus) GetRuleNumber() int32 { return 0 } +// type RouterStatusResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -103562,6 +103812,7 @@ func (x *RouterStatusResponse) GetResult() *RouterStatus { return nil } +// type RoutersPreviewResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -103610,6 +103861,7 @@ func (x *RoutersPreviewResponse) GetResource() *Router { return nil } +// type RoutersScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -103771,6 +104023,7 @@ func (x *Rule) GetPermissions() []string { return nil } +// type SSLHealthCheck struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -104141,6 +104394,7 @@ func (x *SavedDisk) GetStorageBytesStatus() string { return "" } +// type ScalingScheduleStatus struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -104400,6 +104654,7 @@ func (x *SchedulingNodeAffinity) GetValues() []string { return nil } +// type ScratchDisks struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -104506,6 +104761,7 @@ func (x *Screenshot) GetKind() string { return "" } +// type SecurityPoliciesAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -104616,6 +104872,7 @@ func (x *SecurityPoliciesAggregatedList) GetWarning() *Warning { return nil } +// type SecurityPoliciesListPreconfiguredExpressionSetsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -104663,6 +104920,7 @@ func (x *SecurityPoliciesListPreconfiguredExpressionSetsResponse) GetPreconfigur return nil } +// type SecurityPoliciesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -104720,6 +104978,7 @@ func (x *SecurityPoliciesScopedList) GetWarning() *Warning { return nil } +// type SecurityPoliciesWafConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -105056,6 +105315,7 @@ func (x *SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig) GetRuleV return "" } +// type SecurityPolicyAdvancedOptionsConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -105124,6 +105384,7 @@ func (x *SecurityPolicyAdvancedOptionsConfig) GetLogLevel() string { return "" } +// type SecurityPolicyAdvancedOptionsConfigJsonCustomConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -105172,6 +105433,7 @@ func (x *SecurityPolicyAdvancedOptionsConfigJsonCustomConfig) GetContentTypes() return nil } +// type SecurityPolicyDdosProtectionConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -105221,6 +105483,7 @@ func (x *SecurityPolicyDdosProtectionConfig) GetDdosProtection() string { return "" } +// type SecurityPolicyList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -105305,6 +105568,7 @@ func (x *SecurityPolicyList) GetWarning() *Warning { return nil } +// type SecurityPolicyRecaptchaOptionsConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -105353,6 +105617,7 @@ func (x *SecurityPolicyRecaptchaOptionsConfig) GetRedirectSiteKey() string { return "" } +// type SecurityPolicyReference struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -105530,6 +105795,7 @@ func (x *SecurityPolicyRule) GetRedirectOptions() *SecurityPolicyRuleRedirectOpt return nil } +// type SecurityPolicyRuleHttpHeaderAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -105578,6 +105844,7 @@ func (x *SecurityPolicyRuleHttpHeaderAction) GetRequestHeadersToAdds() []*Securi return nil } +// type SecurityPolicyRuleHttpHeaderActionHttpHeaderOption struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -105703,6 +105970,7 @@ func (x *SecurityPolicyRuleMatcher) GetVersionedExpr() string { return "" } +// type SecurityPolicyRuleMatcherConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -105751,6 +106019,7 @@ func (x *SecurityPolicyRuleMatcherConfig) GetSrcIpRanges() []string { return nil } +// type SecurityPolicyRulePreconfiguredWafConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -105799,6 +106068,7 @@ func (x *SecurityPolicyRulePreconfiguredWafConfig) GetExclusions() []*SecurityPo return nil } +// type SecurityPolicyRulePreconfiguredWafConfigExclusion struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -105892,6 +106162,7 @@ func (x *SecurityPolicyRulePreconfiguredWafConfigExclusion) GetTargetRuleSet() s return "" } +// type SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -105950,6 +106221,7 @@ func (x *SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams) GetVal() return "" } +// type SecurityPolicyRuleRateLimitOptions struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -106071,6 +106343,7 @@ func (x *SecurityPolicyRuleRateLimitOptions) GetRateLimitThreshold() *SecurityPo return nil } +// type SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -106129,6 +106402,7 @@ func (x *SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig) GetEnforceOnKeyTy return "" } +// type SecurityPolicyRuleRateLimitOptionsThreshold struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -106186,6 +106460,7 @@ func (x *SecurityPolicyRuleRateLimitOptionsThreshold) GetIntervalSec() int32 { return 0 } +// type SecurityPolicyRuleRedirectOptions struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -106493,6 +106768,7 @@ func (x *SerialPortOutput) GetStart() int64 { return 0 } +// type ServerBinding struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -106992,6 +107268,7 @@ func (x *ServiceAttachmentConnectedEndpoint) GetStatus() string { return "" } +// type ServiceAttachmentConsumerProjectLimit struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -107058,6 +107335,7 @@ func (x *ServiceAttachmentConsumerProjectLimit) GetProjectIdOrNum() string { return "" } +// type ServiceAttachmentList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -107151,6 +107429,7 @@ func (x *ServiceAttachmentList) GetWarning() *Warning { return nil } +// type ServiceAttachmentsScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -114399,6 +114678,7 @@ func (x *SnapshotList) GetWarning() *Warning { return nil } +// type SourceDiskEncryptionKey struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -114839,6 +115119,7 @@ func (x *SslCertificate) GetType() string { return "" } +// type SslCertificateAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -115161,6 +115442,7 @@ func (x *SslCertificateSelfManagedSslCertificate) GetPrivateKey() string { return "" } +// type SslCertificatesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -115218,6 +115500,7 @@ func (x *SslCertificatesScopedList) GetWarning() *Warning { return nil } +// type SslPoliciesAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -115328,6 +115611,7 @@ func (x *SslPoliciesAggregatedList) GetWarning() *Warning { return nil } +// type SslPoliciesList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -115421,6 +115705,7 @@ func (x *SslPoliciesList) GetWarning() *Warning { return nil } +// type SslPoliciesListAvailableFeaturesResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -115468,6 +115753,7 @@ func (x *SslPoliciesListAvailableFeaturesResponse) GetFeatures() []string { return nil } +// type SslPoliciesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -115684,6 +115970,7 @@ func (x *SslPolicy) GetWarnings() []*Warnings { return nil } +// type SslPolicyReference struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -116063,6 +116350,7 @@ func (x *StartWithEncryptionKeyInstanceRequest) GetZone() string { return "" } +// type StatefulPolicy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -116159,6 +116447,7 @@ func (x *StatefulPolicyPreservedState) GetDisks() map[string]*StatefulPolicyPres return nil } +// type StatefulPolicyPreservedStateDiskDevice struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -116859,6 +117148,7 @@ func (x *Subnetwork) GetState() string { return "" } +// type SubnetworkAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -117209,6 +117499,7 @@ func (x *SubnetworkSecondaryRange) GetRangeName() string { return "" } +// type SubnetworksExpandIpCidrRangeRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -117257,6 +117548,7 @@ func (x *SubnetworksExpandIpCidrRangeRequest) GetIpCidrRange() string { return "" } +// type SubnetworksScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -117314,6 +117606,7 @@ func (x *SubnetworksScopedList) GetWarning() *Warning { return nil } +// type SubnetworksSetPrivateIpGoogleAccessRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -117563,6 +117856,7 @@ func (x *SwitchToCustomModeNetworkRequest) GetRequestId() string { return "" } +// type TCPHealthCheck struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -117846,6 +118140,7 @@ func (x *TargetGrpcProxy) GetValidateForProxyless() bool { return false } +// type TargetGrpcProxyList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -117939,6 +118234,7 @@ func (x *TargetGrpcProxyList) GetWarning() *Warning { return nil } +// type TargetHttpProxiesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -118135,6 +118431,7 @@ func (x *TargetHttpProxy) GetUrlMap() string { return "" } +// type TargetHttpProxyAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -118322,6 +118619,7 @@ func (x *TargetHttpProxyList) GetWarning() *Warning { return nil } +// type TargetHttpsProxiesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -118379,6 +118677,7 @@ func (x *TargetHttpsProxiesScopedList) GetWarning() *Warning { return nil } +// type TargetHttpsProxiesSetCertificateMapRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -118427,6 +118726,7 @@ func (x *TargetHttpsProxiesSetCertificateMapRequest) GetCertificateMap() string return "" } +// type TargetHttpsProxiesSetQuicOverrideRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -118476,6 +118776,7 @@ func (x *TargetHttpsProxiesSetQuicOverrideRequest) GetQuicOverride() string { return "" } +// type TargetHttpsProxiesSetSslCertificatesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -118718,6 +119019,7 @@ func (x *TargetHttpsProxy) GetUrlMap() string { return "" } +// type TargetHttpsProxyAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -119045,6 +119347,7 @@ func (x *TargetInstance) GetZone() string { return "" } +// type TargetInstanceAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -119241,6 +119544,7 @@ func (x *TargetInstanceList) GetWarning() *Warning { return nil } +// type TargetInstancesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -119447,6 +119751,7 @@ func (x *TargetPool) GetSessionAffinity() string { return "" } +// type TargetPoolAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -119549,6 +119854,7 @@ func (x *TargetPoolAggregatedList) GetWarning() *Warning { return nil } +// type TargetPoolInstanceHealth struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -119699,6 +120005,7 @@ func (x *TargetPoolList) GetWarning() *Warning { return nil } +// type TargetPoolsAddHealthCheckRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -119747,6 +120054,7 @@ func (x *TargetPoolsAddHealthCheckRequest) GetHealthChecks() []*HealthCheckRefer return nil } +// type TargetPoolsAddInstanceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -119795,6 +120103,7 @@ func (x *TargetPoolsAddInstanceRequest) GetInstances() []*InstanceReference { return nil } +// type TargetPoolsRemoveHealthCheckRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -119843,6 +120152,7 @@ func (x *TargetPoolsRemoveHealthCheckRequest) GetHealthChecks() []*HealthCheckRe return nil } +// type TargetPoolsRemoveInstanceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -119891,6 +120201,7 @@ func (x *TargetPoolsRemoveInstanceRequest) GetInstances() []*InstanceReference { return nil } +// type TargetPoolsScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -119948,6 +120259,7 @@ func (x *TargetPoolsScopedList) GetWarning() *Warning { return nil } +// type TargetReference struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -119995,6 +120307,7 @@ func (x *TargetReference) GetTarget() string { return "" } +// type TargetSslProxiesSetBackendServiceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -120043,6 +120356,7 @@ func (x *TargetSslProxiesSetBackendServiceRequest) GetService() string { return "" } +// type TargetSslProxiesSetCertificateMapRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -120091,6 +120405,7 @@ func (x *TargetSslProxiesSetCertificateMapRequest) GetCertificateMap() string { return "" } +// type TargetSslProxiesSetProxyHeaderRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -120140,6 +120455,7 @@ func (x *TargetSslProxiesSetProxyHeaderRequest) GetProxyHeader() string { return "" } +// type TargetSslProxiesSetSslCertificatesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -120422,6 +120738,7 @@ func (x *TargetSslProxyList) GetWarning() *Warning { return nil } +// type TargetTcpProxiesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -120479,6 +120796,7 @@ func (x *TargetTcpProxiesScopedList) GetWarning() *Warning { return nil } +// type TargetTcpProxiesSetBackendServiceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -120527,6 +120845,7 @@ func (x *TargetTcpProxiesSetBackendServiceRequest) GetService() string { return "" } +// type TargetTcpProxiesSetProxyHeaderRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -120707,6 +121026,7 @@ func (x *TargetTcpProxy) GetService() string { return "" } +// type TargetTcpProxyAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -121061,6 +121381,7 @@ func (x *TargetVpnGateway) GetTunnels() []string { return nil } +// type TargetVpnGatewayAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -121257,6 +121578,7 @@ func (x *TargetVpnGatewayList) GetWarning() *Warning { return nil } +// type TargetVpnGatewaysScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -121314,6 +121636,7 @@ func (x *TargetVpnGatewaysScopedList) GetWarning() *Warning { return nil } +// type TestFailure struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -123092,6 +123415,7 @@ func (x *TestIamPermissionsVpnGatewayRequest) GetTestPermissionsRequestResource( return nil } +// type TestPermissionsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -123140,6 +123464,7 @@ func (x *TestPermissionsRequest) GetPermissions() []string { return nil } +// type TestPermissionsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -123188,6 +123513,7 @@ func (x *TestPermissionsResponse) GetPermissions() []string { return nil } +// type Uint128 struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -125519,6 +125845,7 @@ func (x *UrlMapList) GetWarning() *Warning { return nil } +// type UrlMapReference struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -125801,6 +126128,7 @@ func (x *UrlMapValidationResult) GetTestPassed() bool { return false } +// type UrlMapsAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -125903,6 +126231,7 @@ func (x *UrlMapsAggregatedList) GetWarning() *Warning { return nil } +// type UrlMapsScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -125960,6 +126289,7 @@ func (x *UrlMapsScopedList) GetWarning() *Warning { return nil } +// type UrlMapsValidateRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -126018,6 +126348,7 @@ func (x *UrlMapsValidateRequest) GetResource() *UrlMap { return nil } +// type UrlMapsValidateResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -126324,6 +126655,7 @@ func (x *UsableSubnetworkSecondaryRange) GetRangeName() string { return "" } +// type UsableSubnetworksAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -127106,6 +127438,7 @@ func (x *VpnGateway) GetVpnInterfaces() []*VpnGatewayVpnGatewayInterface { return nil } +// type VpnGatewayAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -127302,6 +127635,7 @@ func (x *VpnGatewayList) GetWarning() *Warning { return nil } +// type VpnGatewayStatus struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -127620,6 +127954,7 @@ func (x *VpnGatewayVpnGatewayInterface) GetIpAddress() string { return "" } +// type VpnGatewaysGetStatusResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -127667,6 +128002,7 @@ func (x *VpnGatewaysGetStatusResponse) GetResult() *VpnGatewayStatus { return nil } +// type VpnGatewaysScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -127981,6 +128317,7 @@ func (x *VpnTunnel) GetVpnGatewayInterface() int32 { return 0 } +// type VpnTunnelAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -128177,6 +128514,7 @@ func (x *VpnTunnelList) GetWarning() *Warning { return nil } +// type VpnTunnelsScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -128234,6 +128572,7 @@ func (x *VpnTunnelsScopedList) GetWarning() *Warning { return nil } +// type WafExpressionSet struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -128300,6 +128639,7 @@ func (x *WafExpressionSet) GetId() string { return "" } +// type WafExpressionSetExpression struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -128617,6 +128957,7 @@ func (x *Warning) GetMessage() string { return "" } +// type Warnings struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -128751,6 +129092,7 @@ func (x *WeightedBackendService) GetWeight() uint32 { return 0 } +// type XpnHostList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -129137,6 +129479,7 @@ func (x *ZoneList) GetWarning() *Warning { return nil } +// type ZoneSetLabelsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -129194,6 +129537,7 @@ func (x *ZoneSetLabelsRequest) GetLabels() map[string]string { return nil } +// type ZoneSetPolicyRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/compute/apiv1/doc.go b/compute/apiv1/doc.go index 997dcaa80794..f5d24d70160e 100755 --- a/compute/apiv1/doc.go +++ b/compute/apiv1/doc.go @@ -17,72 +17,71 @@ // Package compute is an auto-generated package for the // Google Compute Engine API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := compute.NewAcceleratorTypesClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := compute.NewAcceleratorTypesClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := compute.NewAcceleratorTypesRESTClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &computepb.AggregatedListAcceleratorTypesRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/compute/apiv1/computepb#AggregatedListAcceleratorTypesRequest. -// } -// it := c.AggregatedList(ctx, req) -// for { -// resp, err := it.Next() -// if err == iterator.Done { -// break -// } -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// } -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := compute.NewAcceleratorTypesRESTClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &computepb.AggregatedListAcceleratorTypesRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/compute/apiv1/computepb#AggregatedListAcceleratorTypesRequest. +// } +// it := c.AggregatedList(ctx, req) +// for { +// resp, err := it.Next() +// if err == iterator.Done { +// break +// } +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// } +// +// Use of Context // // The ctx passed to NewAcceleratorTypesClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/confidentialcomputing/apiv1/confidentialcomputingpb/service.pb.go b/confidentialcomputing/apiv1/confidentialcomputingpb/service.pb.go index 2a3c116b5e9b..d5e1b0ae15f3 100755 --- a/confidentialcomputing/apiv1/confidentialcomputingpb/service.pb.go +++ b/confidentialcomputing/apiv1/confidentialcomputingpb/service.pb.go @@ -22,9 +22,6 @@ package confidentialcomputingpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/confidentialcomputing/apiv1/doc.go b/confidentialcomputing/apiv1/doc.go index 72b137591b97..eb4e4b3b4fab 100755 --- a/confidentialcomputing/apiv1/doc.go +++ b/confidentialcomputing/apiv1/doc.go @@ -19,66 +19,65 @@ // // Attestation verifier for Confidential Space. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := confidentialcomputing.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := confidentialcomputing.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := confidentialcomputing.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &confidentialcomputingpb.CreateChallengeRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/confidentialcomputing/apiv1/confidentialcomputingpb#CreateChallengeRequest. -// } -// resp, err := c.CreateChallenge(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := confidentialcomputing.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &confidentialcomputingpb.CreateChallengeRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/confidentialcomputing/apiv1/confidentialcomputingpb#CreateChallengeRequest. +// } +// resp, err := c.CreateChallenge(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/confidentialcomputing/apiv1alpha1/confidentialcomputingpb/service.pb.go b/confidentialcomputing/apiv1alpha1/confidentialcomputingpb/service.pb.go index 624ff36a40f3..265dbb942a79 100755 --- a/confidentialcomputing/apiv1alpha1/confidentialcomputingpb/service.pb.go +++ b/confidentialcomputing/apiv1alpha1/confidentialcomputingpb/service.pb.go @@ -22,9 +22,6 @@ package confidentialcomputingpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/confidentialcomputing/apiv1alpha1/doc.go b/confidentialcomputing/apiv1alpha1/doc.go index 8486d8be1048..8b4f38344e07 100755 --- a/confidentialcomputing/apiv1alpha1/doc.go +++ b/confidentialcomputing/apiv1alpha1/doc.go @@ -17,68 +17,67 @@ // Package confidentialcomputing is an auto-generated package for the // Confidential Computing API. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := confidentialcomputing.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := confidentialcomputing.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := confidentialcomputing.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &confidentialcomputingpb.CreateChallengeRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/confidentialcomputing/apiv1alpha1/confidentialcomputingpb#CreateChallengeRequest. -// } -// resp, err := c.CreateChallenge(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := confidentialcomputing.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &confidentialcomputingpb.CreateChallengeRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/confidentialcomputing/apiv1alpha1/confidentialcomputingpb#CreateChallengeRequest. +// } +// resp, err := c.CreateChallenge(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/config/apiv1/configpb/config.pb.go b/config/apiv1/configpb/config.pb.go index d62913dfad76..3dae1bad01dd 100755 --- a/config/apiv1/configpb/config.pb.go +++ b/config/apiv1/configpb/config.pb.go @@ -21,11 +21,8 @@ package configpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/config/apiv1/doc.go b/config/apiv1/doc.go index 621bc35cef10..9436212c7a0f 100755 --- a/config/apiv1/doc.go +++ b/config/apiv1/doc.go @@ -19,73 +19,72 @@ // // Creates and manages Google Cloud Platform resources and infrastructure. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := config.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := config.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := config.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &configpb.CreateDeploymentRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/config/apiv1/configpb#CreateDeploymentRequest. -// } -// op, err := c.CreateDeployment(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := config.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &configpb.CreateDeploymentRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/config/apiv1/configpb#CreateDeploymentRequest. +// } +// op, err := c.CreateDeployment(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/contactcenterinsights/apiv1/contactcenterinsightspb/contact_center_insights.pb.go b/contactcenterinsights/apiv1/contactcenterinsightspb/contact_center_insights.pb.go index a8ffcd115e94..13cdb61f1265 100755 --- a/contactcenterinsights/apiv1/contactcenterinsightspb/contact_center_insights.pb.go +++ b/contactcenterinsights/apiv1/contactcenterinsightspb/contact_center_insights.pb.go @@ -21,11 +21,8 @@ package contactcenterinsightspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/contactcenterinsights/apiv1/contactcenterinsightspb/resources.pb.go b/contactcenterinsights/apiv1/contactcenterinsightspb/resources.pb.go index 25f7f0855846..622e468549b9 100755 --- a/contactcenterinsights/apiv1/contactcenterinsightspb/resources.pb.go +++ b/contactcenterinsights/apiv1/contactcenterinsightspb/resources.pb.go @@ -21,14 +21,13 @@ package contactcenterinsightspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/contactcenterinsights/apiv1/doc.go b/contactcenterinsights/apiv1/doc.go index 41b4c91a8ab0..a9dcb11c0a58 100755 --- a/contactcenterinsights/apiv1/doc.go +++ b/contactcenterinsights/apiv1/doc.go @@ -17,71 +17,70 @@ // Package contactcenterinsights is an auto-generated package for the // Contact Center AI Insights API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := contactcenterinsights.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := contactcenterinsights.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := contactcenterinsights.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &contactcenterinsightspb.BulkAnalyzeConversationsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/contactcenterinsights/apiv1/contactcenterinsightspb#BulkAnalyzeConversationsRequest. -// } -// op, err := c.BulkAnalyzeConversations(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := contactcenterinsights.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &contactcenterinsightspb.BulkAnalyzeConversationsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/contactcenterinsights/apiv1/contactcenterinsightspb#BulkAnalyzeConversationsRequest. +// } +// op, err := c.BulkAnalyzeConversations(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/container/apiv1/containerpb/cluster_service.pb.go b/container/apiv1/containerpb/cluster_service.pb.go index 9259de7135ca..a8fef26458bb 100755 --- a/container/apiv1/containerpb/cluster_service.pb.go +++ b/container/apiv1/containerpb/cluster_service.pb.go @@ -22,9 +22,6 @@ package containerpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" code "google.golang.org/genproto/googleapis/rpc/code" status "google.golang.org/genproto/googleapis/rpc/status" @@ -37,6 +34,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/container/apiv1/doc.go b/container/apiv1/doc.go index 92427e09188e..46dd9f1bd9b2 100755 --- a/container/apiv1/doc.go +++ b/container/apiv1/doc.go @@ -20,64 +20,63 @@ // Builds and manages container-based applications, powered by the open // source Kubernetes technology. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := container.NewClusterManagerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := container.NewClusterManagerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := container.NewClusterManagerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &containerpb.CancelOperationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/container/apiv1/containerpb#CancelOperationRequest. -// } -// err = c.CancelOperation(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := container.NewClusterManagerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &containerpb.CancelOperationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/container/apiv1/containerpb#CancelOperationRequest. +// } +// err = c.CancelOperation(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// Use of Context // // The ctx passed to NewClusterManagerClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/containeranalysis/apiv1beta1/containeranalysispb/containeranalysis.pb.go b/containeranalysis/apiv1beta1/containeranalysispb/containeranalysis.pb.go index 9d9bef659711..3db50825a5cd 100755 --- a/containeranalysis/apiv1beta1/containeranalysispb/containeranalysis.pb.go +++ b/containeranalysis/apiv1beta1/containeranalysispb/containeranalysis.pb.go @@ -21,17 +21,16 @@ package containeranalysispb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/containeranalysis/apiv1beta1/doc.go b/containeranalysis/apiv1beta1/doc.go index 996a3fb9b8af..cf1cf28797a2 100755 --- a/containeranalysis/apiv1beta1/doc.go +++ b/containeranalysis/apiv1beta1/doc.go @@ -20,68 +20,67 @@ // An implementation of the Grafeas API, which stores, and enables querying // and retrieval of critical metadata about all of your software artifacts. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := containeranalysis.NewContainerAnalysisV1Beta1Client(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := containeranalysis.NewContainerAnalysisV1Beta1Client(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := containeranalysis.NewContainerAnalysisV1Beta1Client(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &containeranalysispb.ExportSBOMRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb#ExportSBOMRequest. -// } -// resp, err := c.ExportSBOM(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := containeranalysis.NewContainerAnalysisV1Beta1Client(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &containeranalysispb.ExportSBOMRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb#ExportSBOMRequest. +// } +// resp, err := c.ExportSBOM(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewContainerAnalysisV1Beta1Client is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/datacatalog/apiv1/data_catalog_client.go b/datacatalog/apiv1/data_catalog_client.go index 2e45d8efedc3..6f47f0cfa4fd 100755 --- a/datacatalog/apiv1/data_catalog_client.go +++ b/datacatalog/apiv1/data_catalog_client.go @@ -1153,11 +1153,11 @@ func (c *Client) SearchCatalog(ctx context.Context, req *datacatalogpb.SearchCat // Data Catalog automatically creates entry groups with names that start with // the @ symbol for the following resources: // -// BigQuery entries (@bigquery) +// BigQuery entries (@bigquery) // -// Pub/Sub topics (@pubsub) +// Pub/Sub topics (@pubsub) // -// Dataproc Metastore services (@dataproc_metastore_{SERVICE_NAME_HASH}) +// Dataproc Metastore services (@dataproc_metastore_{SERVICE_NAME_HASH}) // // You can create your own entry groups for Cloud Storage fileset entries // and custom entries together with the corresponding IAM policies. @@ -1370,11 +1370,11 @@ func (c *Client) DeleteTagTemplateField(ctx context.Context, req *datacatalogpb. // CreateTag creates a tag and assigns it to: // -// An Entry if the method name is -// projects.locations.entryGroups.entries.tags.create. +// An Entry if the method name is +// projects.locations.entryGroups.entries.tags.create. // -// Or EntryGroupif the method -// name is projects.locations.entryGroups.tags.create. +// Or EntryGroupif the method +// name is projects.locations.entryGroups.tags.create. // // Note: The project identified by the parent parameter for the [tag] // (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters (at https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)) @@ -1442,9 +1442,9 @@ func (c *Client) UnstarEntry(ctx context.Context, req *datacatalogpb.UnstarEntry // // Supported resources are: // -// Tag templates +// Tag templates // -// Entry groups +// Entry groups // // Note: This method sets policies only within Data Catalog and can’t be // used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any @@ -1452,10 +1452,10 @@ func (c *Client) UnstarEntry(ctx context.Context, req *datacatalogpb.UnstarEntry // // To call this method, you must have the following Google IAM permissions: // -// datacatalog.tagTemplates.setIamPolicy to set policies on tag -// templates. +// datacatalog.tagTemplates.setIamPolicy to set policies on tag +// templates. // -// datacatalog.entryGroups.setIamPolicy to set policies on entry groups. +// datacatalog.entryGroups.setIamPolicy to set policies on entry groups. func (c *Client) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { return c.internalClient.SetIamPolicy(ctx, req, opts...) } @@ -1464,26 +1464,26 @@ func (c *Client) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyReques // // May return: // -// ANOT_FOUND error if the resource doesn’t exist or you don’t have the -// permission to view it. +// ANOT_FOUND error if the resource doesn’t exist or you don’t have the +// permission to view it. // -// An empty policy if the resource exists but doesn’t have a set policy. +// An empty policy if the resource exists but doesn’t have a set policy. // // Supported resources are: // -// Tag templates +// Tag templates // -// Entry groups +// Entry groups // // Note: This method doesn’t get policies from Google Cloud Platform // resources ingested into Data Catalog. // // To call this method, you must have the following Google IAM permissions: // -// datacatalog.tagTemplates.getIamPolicy to get policies on tag -// templates. +// datacatalog.tagTemplates.getIamPolicy to get policies on tag +// templates. // -// datacatalog.entryGroups.getIamPolicy to get policies on entry groups. +// datacatalog.entryGroups.getIamPolicy to get policies on entry groups. func (c *Client) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { return c.internalClient.GetIamPolicy(ctx, req, opts...) } @@ -1494,9 +1494,9 @@ func (c *Client) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyReques // // Supported resources are: // -// Tag templates +// Tag templates // -// Entry groups +// Entry groups // // Note: This method gets policies only within Data Catalog and can’t be // used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any @@ -2633,11 +2633,11 @@ func (c *restClient) SearchCatalog(ctx context.Context, req *datacatalogpb.Searc // Data Catalog automatically creates entry groups with names that start with // the @ symbol for the following resources: // -// BigQuery entries (@bigquery) +// BigQuery entries (@bigquery) // -// Pub/Sub topics (@pubsub) +// Pub/Sub topics (@pubsub) // -// Dataproc Metastore services (@dataproc_metastore_{SERVICE_NAME_HASH}) +// Dataproc Metastore services (@dataproc_metastore_{SERVICE_NAME_HASH}) // // You can create your own entry groups for Cloud Storage fileset entries // and custom entries together with the corresponding IAM policies. @@ -4139,11 +4139,11 @@ func (c *restClient) DeleteTagTemplateField(ctx context.Context, req *datacatalo // CreateTag creates a tag and assigns it to: // -// An Entry if the method name is -// projects.locations.entryGroups.entries.tags.create. +// An Entry if the method name is +// projects.locations.entryGroups.entries.tags.create. // -// Or EntryGroupif the method -// name is projects.locations.entryGroups.tags.create. +// Or EntryGroupif the method +// name is projects.locations.entryGroups.tags.create. // // Note: The project identified by the parent parameter for the [tag] // (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters (at https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)) @@ -4617,9 +4617,9 @@ func (c *restClient) UnstarEntry(ctx context.Context, req *datacatalogpb.UnstarE // // Supported resources are: // -// Tag templates +// Tag templates // -// Entry groups +// Entry groups // // Note: This method sets policies only within Data Catalog and can’t be // used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any @@ -4627,10 +4627,10 @@ func (c *restClient) UnstarEntry(ctx context.Context, req *datacatalogpb.UnstarE // // To call this method, you must have the following Google IAM permissions: // -// datacatalog.tagTemplates.setIamPolicy to set policies on tag -// templates. +// datacatalog.tagTemplates.setIamPolicy to set policies on tag +// templates. // -// datacatalog.entryGroups.setIamPolicy to set policies on entry groups. +// datacatalog.entryGroups.setIamPolicy to set policies on entry groups. func (c *restClient) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -4695,26 +4695,26 @@ func (c *restClient) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRe // // May return: // -// ANOT_FOUND error if the resource doesn’t exist or you don’t have the -// permission to view it. +// ANOT_FOUND error if the resource doesn’t exist or you don’t have the +// permission to view it. // -// An empty policy if the resource exists but doesn’t have a set policy. +// An empty policy if the resource exists but doesn’t have a set policy. // // Supported resources are: // -// Tag templates +// Tag templates // -// Entry groups +// Entry groups // // Note: This method doesn’t get policies from Google Cloud Platform // resources ingested into Data Catalog. // // To call this method, you must have the following Google IAM permissions: // -// datacatalog.tagTemplates.getIamPolicy to get policies on tag -// templates. +// datacatalog.tagTemplates.getIamPolicy to get policies on tag +// templates. // -// datacatalog.entryGroups.getIamPolicy to get policies on entry groups. +// datacatalog.entryGroups.getIamPolicy to get policies on entry groups. func (c *restClient) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -4781,9 +4781,9 @@ func (c *restClient) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRe // // Supported resources are: // -// Tag templates +// Tag templates // -// Entry groups +// Entry groups // // Note: This method gets policies only within Data Catalog and can’t be // used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any diff --git a/datacatalog/apiv1/datacatalogpb/bigquery.pb.go b/datacatalog/apiv1/datacatalogpb/bigquery.pb.go index 82cc3df0606b..ef81f83796ab 100755 --- a/datacatalog/apiv1/datacatalogpb/bigquery.pb.go +++ b/datacatalog/apiv1/datacatalogpb/bigquery.pb.go @@ -21,12 +21,11 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/common.pb.go b/datacatalog/apiv1/datacatalogpb/common.pb.go index 72a7da87dcb5..0c2204ac975c 100755 --- a/datacatalog/apiv1/datacatalogpb/common.pb.go +++ b/datacatalog/apiv1/datacatalogpb/common.pb.go @@ -21,12 +21,11 @@ package datacatalogpb 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" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/data_source.pb.go b/datacatalog/apiv1/datacatalogpb/data_source.pb.go index b9ccd63dfe53..c09a16ad0de2 100755 --- a/datacatalog/apiv1/datacatalogpb/data_source.pb.go +++ b/datacatalog/apiv1/datacatalogpb/data_source.pb.go @@ -21,12 +21,11 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/datacatalog.pb.go b/datacatalog/apiv1/datacatalogpb/datacatalog.pb.go index dfbcf80d7ef3..47c6e51b2e2a 100755 --- a/datacatalog/apiv1/datacatalogpb/datacatalog.pb.go +++ b/datacatalog/apiv1/datacatalogpb/datacatalog.pb.go @@ -21,12 +21,9 @@ package datacatalogpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/dataplex_spec.pb.go b/datacatalog/apiv1/datacatalogpb/dataplex_spec.pb.go index 3d3ec0ec73e2..c51faacfd942 100755 --- a/datacatalog/apiv1/datacatalogpb/dataplex_spec.pb.go +++ b/datacatalog/apiv1/datacatalogpb/dataplex_spec.pb.go @@ -21,11 +21,10 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/dump_content.pb.go b/datacatalog/apiv1/datacatalogpb/dump_content.pb.go index b21430a1944c..c0788bca73c0 100755 --- a/datacatalog/apiv1/datacatalogpb/dump_content.pb.go +++ b/datacatalog/apiv1/datacatalogpb/dump_content.pb.go @@ -21,12 +21,11 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/gcs_fileset_spec.pb.go b/datacatalog/apiv1/datacatalogpb/gcs_fileset_spec.pb.go index 7286790db803..ce40a9bdecc7 100755 --- a/datacatalog/apiv1/datacatalogpb/gcs_fileset_spec.pb.go +++ b/datacatalog/apiv1/datacatalogpb/gcs_fileset_spec.pb.go @@ -21,12 +21,11 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/physical_schema.pb.go b/datacatalog/apiv1/datacatalogpb/physical_schema.pb.go index 7e01e86676e3..260937a71186 100755 --- a/datacatalog/apiv1/datacatalogpb/physical_schema.pb.go +++ b/datacatalog/apiv1/datacatalogpb/physical_schema.pb.go @@ -21,11 +21,10 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/policytagmanager.pb.go b/datacatalog/apiv1/datacatalogpb/policytagmanager.pb.go index 3e7463b31823..bb9917d3bf43 100755 --- a/datacatalog/apiv1/datacatalogpb/policytagmanager.pb.go +++ b/datacatalog/apiv1/datacatalogpb/policytagmanager.pb.go @@ -21,11 +21,8 @@ package datacatalogpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( @@ -101,14 +100,12 @@ func (Taxonomy_PolicyType) EnumDescriptor() ([]byte, []int) { // // ``` // + PII -// - Account number -// - Age -// - SSN -// - Zipcode -// +// + Account number +// + Age +// + SSN +// + Zipcode // + Financials -// - Revenue -// +// + Revenue // ``` // // A "data origin" taxonomy might contain the following policy tags: @@ -242,10 +239,9 @@ func (x *Taxonomy) GetService() *Taxonomy_Service { // // ``` // + Geolocation -// - LatLong -// - City -// - ZipCode -// +// + LatLong +// + City +// + ZipCode // ``` // // Where the "Geolocation" policy tag contains three children. diff --git a/datacatalog/apiv1/datacatalogpb/policytagmanagerserialization.pb.go b/datacatalog/apiv1/datacatalogpb/policytagmanagerserialization.pb.go index 1ba2bc51d94f..93a933498198 100755 --- a/datacatalog/apiv1/datacatalogpb/policytagmanagerserialization.pb.go +++ b/datacatalog/apiv1/datacatalogpb/policytagmanagerserialization.pb.go @@ -22,15 +22,14 @@ package datacatalogpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/schema.pb.go b/datacatalog/apiv1/datacatalogpb/schema.pb.go index 4d063c855462..8f3b60122887 100755 --- a/datacatalog/apiv1/datacatalogpb/schema.pb.go +++ b/datacatalog/apiv1/datacatalogpb/schema.pb.go @@ -21,12 +21,11 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/search.pb.go b/datacatalog/apiv1/datacatalogpb/search.pb.go index 77c6f728a321..36c517a910b4 100755 --- a/datacatalog/apiv1/datacatalogpb/search.pb.go +++ b/datacatalog/apiv1/datacatalogpb/search.pb.go @@ -21,13 +21,12 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/table_spec.pb.go b/datacatalog/apiv1/datacatalogpb/table_spec.pb.go index 60d4e41ca0ee..34d1f589c090 100755 --- a/datacatalog/apiv1/datacatalogpb/table_spec.pb.go +++ b/datacatalog/apiv1/datacatalogpb/table_spec.pb.go @@ -21,12 +21,11 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/tags.pb.go b/datacatalog/apiv1/datacatalogpb/tags.pb.go index e3935fdc102e..6530eeb0ef9f 100755 --- a/datacatalog/apiv1/datacatalogpb/tags.pb.go +++ b/datacatalog/apiv1/datacatalogpb/tags.pb.go @@ -21,13 +21,12 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -415,9 +414,7 @@ func (*TagField_RichtextValue) isTagField_Kind() {} // A tag template defines a tag that can have one or more typed fields. // // The template is used to create tags that are attached to Google Cloud -// -// resources. [Tag template roles] -// +// resources. [Tag template roles] // (https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles) // provide permissions to create, edit, and use the template. For example, // see the [TagTemplate User] diff --git a/datacatalog/apiv1/datacatalogpb/timestamps.pb.go b/datacatalog/apiv1/datacatalogpb/timestamps.pb.go index 6b2a44be8327..dca26411845d 100755 --- a/datacatalog/apiv1/datacatalogpb/timestamps.pb.go +++ b/datacatalog/apiv1/datacatalogpb/timestamps.pb.go @@ -21,13 +21,12 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/usage.pb.go b/datacatalog/apiv1/datacatalogpb/usage.pb.go index f33eb9f9f1c6..87cd1e316d0d 100755 --- a/datacatalog/apiv1/datacatalogpb/usage.pb.go +++ b/datacatalog/apiv1/datacatalogpb/usage.pb.go @@ -21,13 +21,12 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -41,12 +40,12 @@ const ( // // Usage statistics have the following limitations: // -// - Only BigQuery tables have them. -// - They only include BigQuery query jobs. -// - They might be underestimated because wildcard table references -// are not yet counted. For more information, see -// [Querying multiple tables using a wildcard table] -// (https://cloud.google.com/bigquery/docs/querying-wildcard-tables) +// - Only BigQuery tables have them. +// - They only include BigQuery query jobs. +// - They might be underestimated because wildcard table references +// are not yet counted. For more information, see +// [Querying multiple tables using a wildcard table] +// (https://cloud.google.com/bigquery/docs/querying-wildcard-tables) type UsageStats struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/datacatalog/apiv1/doc.go b/datacatalog/apiv1/doc.go index 8d8975d871b1..a06c49097e0d 100755 --- a/datacatalog/apiv1/doc.go +++ b/datacatalog/apiv1/doc.go @@ -20,66 +20,65 @@ // A fully managed and highly scalable data discovery and metadata management // service. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datacatalog.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datacatalog.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datacatalog.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &datacatalogpb.CreateEntryRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/datacatalog/apiv1/datacatalogpb#CreateEntryRequest. -// } -// resp, err := c.CreateEntry(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datacatalog.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &datacatalogpb.CreateEntryRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/datacatalog/apiv1/datacatalogpb#CreateEntryRequest. +// } +// resp, err := c.CreateEntry(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/datacatalog/apiv1/policy_tag_manager_client.go b/datacatalog/apiv1/policy_tag_manager_client.go index a180d6edbd15..27a67ae784c7 100755 --- a/datacatalog/apiv1/policy_tag_manager_client.go +++ b/datacatalog/apiv1/policy_tag_manager_client.go @@ -274,12 +274,12 @@ func (c *PolicyTagManagerClient) CreatePolicyTag(ctx context.Context, req *datac // DeletePolicyTag deletes a policy tag together with the following: // -// All of its descendant policy tags, if any +// All of its descendant policy tags, if any // -// Policies associated with the policy tag and its descendants +// Policies associated with the policy tag and its descendants // -// References from BigQuery table schema of the policy tag and its -// descendants +// References from BigQuery table schema of the policy tag and its +// descendants func (c *PolicyTagManagerClient) DeletePolicyTag(ctx context.Context, req *datacatalogpb.DeletePolicyTagRequest, opts ...gax.CallOption) error { return c.internalClient.DeletePolicyTag(ctx, req, opts...) } @@ -1251,12 +1251,12 @@ func (c *policyTagManagerRESTClient) CreatePolicyTag(ctx context.Context, req *d // DeletePolicyTag deletes a policy tag together with the following: // -// All of its descendant policy tags, if any +// All of its descendant policy tags, if any // -// Policies associated with the policy tag and its descendants +// Policies associated with the policy tag and its descendants // -// References from BigQuery table schema of the policy tag and its -// descendants +// References from BigQuery table schema of the policy tag and its +// descendants func (c *policyTagManagerRESTClient) DeletePolicyTag(ctx context.Context, req *datacatalogpb.DeletePolicyTagRequest, opts ...gax.CallOption) error { baseUrl, err := url.Parse(c.endpoint) if err != nil { diff --git a/datacatalog/apiv1/policy_tag_manager_serialization_client.go b/datacatalog/apiv1/policy_tag_manager_serialization_client.go index 400ce6f272c6..62f814f313cc 100755 --- a/datacatalog/apiv1/policy_tag_manager_serialization_client.go +++ b/datacatalog/apiv1/policy_tag_manager_serialization_client.go @@ -161,13 +161,13 @@ func (c *PolicyTagManagerSerializationClient) Connection() *grpc.ClientConn { // // This operation automatically does the following: // -// Deletes the existing policy tags that are missing from the -// SerializedPolicyTag. +// Deletes the existing policy tags that are missing from the +// SerializedPolicyTag. // -// Creates policy tags that don’t have resource names. They are considered -// new. +// Creates policy tags that don’t have resource names. They are considered +// new. // -// Updates policy tags with valid resources names accordingly. +// Updates policy tags with valid resources names accordingly. func (c *PolicyTagManagerSerializationClient) ReplaceTaxonomy(ctx context.Context, req *datacatalogpb.ReplaceTaxonomyRequest, opts ...gax.CallOption) (*datacatalogpb.Taxonomy, error) { return c.internalClient.ReplaceTaxonomy(ctx, req, opts...) } @@ -517,13 +517,13 @@ func (c *policyTagManagerSerializationGRPCClient) ListOperations(ctx context.Con // // This operation automatically does the following: // -// Deletes the existing policy tags that are missing from the -// SerializedPolicyTag. +// Deletes the existing policy tags that are missing from the +// SerializedPolicyTag. // -// Creates policy tags that don’t have resource names. They are considered -// new. +// Creates policy tags that don’t have resource names. They are considered +// new. // -// Updates policy tags with valid resources names accordingly. +// Updates policy tags with valid resources names accordingly. func (c *policyTagManagerSerializationRESTClient) ReplaceTaxonomy(ctx context.Context, req *datacatalogpb.ReplaceTaxonomyRequest, opts ...gax.CallOption) (*datacatalogpb.Taxonomy, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/datacatalog/apiv1beta1/data_catalog_client.go b/datacatalog/apiv1beta1/data_catalog_client.go index c86cdc10c09c..809dff3348da 100755 --- a/datacatalog/apiv1beta1/data_catalog_client.go +++ b/datacatalog/apiv1beta1/data_catalog_client.go @@ -1142,22 +1142,22 @@ func (c *Client) ListTags(ctx context.Context, req *datacatalogpb.ListTagsReques // policy. // Supported resources are: // -// Tag templates. +// Tag templates. // -// Entries. +// Entries. // -// Entry groups. -// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub -// and any external Google Cloud Platform resources synced to Data Catalog. +// Entry groups. +// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub +// and any external Google Cloud Platform resources synced to Data Catalog. // // Callers must have following Google IAM permission // -// datacatalog.tagTemplates.setIamPolicy to set policies on tag -// templates. +// datacatalog.tagTemplates.setIamPolicy to set policies on tag +// templates. // -// datacatalog.entries.setIamPolicy to set policies on entries. +// datacatalog.entries.setIamPolicy to set policies on entries. // -// datacatalog.entryGroups.setIamPolicy to set policies on entry groups. +// datacatalog.entryGroups.setIamPolicy to set policies on entry groups. func (c *Client) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { return c.internalClient.SetIamPolicy(ctx, req, opts...) } @@ -1168,22 +1168,22 @@ func (c *Client) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyReques // // Supported resources are: // -// Tag templates. +// Tag templates. // -// Entries. +// Entries. // -// Entry groups. -// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub -// and any external Google Cloud Platform resources synced to Data Catalog. +// Entry groups. +// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub +// and any external Google Cloud Platform resources synced to Data Catalog. // // Callers must have following Google IAM permission // -// datacatalog.tagTemplates.getIamPolicy to get policies on tag -// templates. +// datacatalog.tagTemplates.getIamPolicy to get policies on tag +// templates. // -// datacatalog.entries.getIamPolicy to get policies on entries. +// datacatalog.entries.getIamPolicy to get policies on entries. // -// datacatalog.entryGroups.getIamPolicy to get policies on entry groups. +// datacatalog.entryGroups.getIamPolicy to get policies on entry groups. func (c *Client) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { return c.internalClient.GetIamPolicy(ctx, req, opts...) } @@ -1194,13 +1194,13 @@ func (c *Client) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyReques // // Supported resources are: // -// Tag templates. +// Tag templates. // -// Entries. +// Entries. // -// Entry groups. -// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub -// and any external Google Cloud Platform resources synced to Data Catalog. +// Entry groups. +// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub +// and any external Google Cloud Platform resources synced to Data Catalog. // // A caller is not required to have Google IAM permission to make this // request. @@ -3645,22 +3645,22 @@ func (c *restClient) ListTags(ctx context.Context, req *datacatalogpb.ListTagsRe // policy. // Supported resources are: // -// Tag templates. +// Tag templates. // -// Entries. +// Entries. // -// Entry groups. -// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub -// and any external Google Cloud Platform resources synced to Data Catalog. +// Entry groups. +// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub +// and any external Google Cloud Platform resources synced to Data Catalog. // // Callers must have following Google IAM permission // -// datacatalog.tagTemplates.setIamPolicy to set policies on tag -// templates. +// datacatalog.tagTemplates.setIamPolicy to set policies on tag +// templates. // -// datacatalog.entries.setIamPolicy to set policies on entries. +// datacatalog.entries.setIamPolicy to set policies on entries. // -// datacatalog.entryGroups.setIamPolicy to set policies on entry groups. +// datacatalog.entryGroups.setIamPolicy to set policies on entry groups. func (c *restClient) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -3727,22 +3727,22 @@ func (c *restClient) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRe // // Supported resources are: // -// Tag templates. +// Tag templates. // -// Entries. +// Entries. // -// Entry groups. -// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub -// and any external Google Cloud Platform resources synced to Data Catalog. +// Entry groups. +// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub +// and any external Google Cloud Platform resources synced to Data Catalog. // // Callers must have following Google IAM permission // -// datacatalog.tagTemplates.getIamPolicy to get policies on tag -// templates. +// datacatalog.tagTemplates.getIamPolicy to get policies on tag +// templates. // -// datacatalog.entries.getIamPolicy to get policies on entries. +// datacatalog.entries.getIamPolicy to get policies on entries. // -// datacatalog.entryGroups.getIamPolicy to get policies on entry groups. +// datacatalog.entryGroups.getIamPolicy to get policies on entry groups. func (c *restClient) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -3809,13 +3809,13 @@ func (c *restClient) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRe // // Supported resources are: // -// Tag templates. +// Tag templates. // -// Entries. +// Entries. // -// Entry groups. -// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub -// and any external Google Cloud Platform resources synced to Data Catalog. +// Entry groups. +// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub +// and any external Google Cloud Platform resources synced to Data Catalog. // // A caller is not required to have Google IAM permission to make this // request. diff --git a/datacatalog/apiv1beta1/datacatalogpb/common.pb.go b/datacatalog/apiv1beta1/datacatalogpb/common.pb.go index 869093b37333..46f29db731e7 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/common.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/common.pb.go @@ -21,11 +21,10 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/datacatalog.pb.go b/datacatalog/apiv1beta1/datacatalogpb/datacatalog.pb.go index 6d83699015e6..88de74a10168 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/datacatalog.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/datacatalog.pb.go @@ -21,11 +21,8 @@ package datacatalogpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/gcs_fileset_spec.pb.go b/datacatalog/apiv1beta1/datacatalogpb/gcs_fileset_spec.pb.go index c125ec6d407d..25e5d8010225 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/gcs_fileset_spec.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/gcs_fileset_spec.pb.go @@ -21,12 +21,11 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/policytagmanager.pb.go b/datacatalog/apiv1beta1/datacatalogpb/policytagmanager.pb.go index 0002f988cb78..406b54194dc1 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/policytagmanager.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/policytagmanager.pb.go @@ -21,11 +21,8 @@ package datacatalogpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/policytagmanagerserialization.pb.go b/datacatalog/apiv1beta1/datacatalogpb/policytagmanagerserialization.pb.go index d22f4bd42fad..79047761eaa1 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/policytagmanagerserialization.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/policytagmanagerserialization.pb.go @@ -22,15 +22,14 @@ package datacatalogpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/schema.pb.go b/datacatalog/apiv1beta1/datacatalogpb/schema.pb.go index e3a475971318..1052cc8979ad 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/schema.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/schema.pb.go @@ -21,12 +21,11 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/search.pb.go b/datacatalog/apiv1beta1/datacatalogpb/search.pb.go index ebac1e142d82..af2f4d4d980a 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/search.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/search.pb.go @@ -21,13 +21,12 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/table_spec.pb.go b/datacatalog/apiv1beta1/datacatalogpb/table_spec.pb.go index a937ad68f541..ed30bb6de332 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/table_spec.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/table_spec.pb.go @@ -21,12 +21,11 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/tags.pb.go b/datacatalog/apiv1beta1/datacatalogpb/tags.pb.go index 871266c0d48b..ca6daa35d2b5 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/tags.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/tags.pb.go @@ -21,13 +21,12 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/timestamps.pb.go b/datacatalog/apiv1beta1/datacatalogpb/timestamps.pb.go index 6634021c08c4..a7d1a11186c9 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/timestamps.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/timestamps.pb.go @@ -21,13 +21,12 @@ package datacatalogpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/usage.pb.go b/datacatalog/apiv1beta1/datacatalogpb/usage.pb.go index fe8db4f3a01f..31fb428b0516 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/usage.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/usage.pb.go @@ -21,12 +21,11 @@ package datacatalogpb 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" + reflect "reflect" + sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/doc.go b/datacatalog/apiv1beta1/doc.go index dec9da7469b7..17a729241246 100755 --- a/datacatalog/apiv1beta1/doc.go +++ b/datacatalog/apiv1beta1/doc.go @@ -20,68 +20,67 @@ // A fully managed and highly scalable data discovery and metadata management // service. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datacatalog.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datacatalog.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datacatalog.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &datacatalogpb.CreateEntryRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/datacatalog/apiv1beta1/datacatalogpb#CreateEntryRequest. -// } -// resp, err := c.CreateEntry(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datacatalog.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &datacatalogpb.CreateEntryRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/datacatalog/apiv1beta1/datacatalogpb#CreateEntryRequest. +// } +// resp, err := c.CreateEntry(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/datacatalog/lineage/apiv1/doc.go b/datacatalog/lineage/apiv1/doc.go index 1133ffb102bb..6bb53e7033a7 100755 --- a/datacatalog/lineage/apiv1/doc.go +++ b/datacatalog/lineage/apiv1/doc.go @@ -17,72 +17,71 @@ // Package lineage is an auto-generated package for the // Data Lineage API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := lineage.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := lineage.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := lineage.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &lineagepb.BatchSearchLinkProcessesRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/datacatalog/lineage/apiv1/lineagepb#BatchSearchLinkProcessesRequest. -// } -// it := c.BatchSearchLinkProcesses(ctx, req) -// for { -// resp, err := it.Next() -// if err == iterator.Done { -// break -// } -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// } -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := lineage.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &lineagepb.BatchSearchLinkProcessesRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/datacatalog/lineage/apiv1/lineagepb#BatchSearchLinkProcessesRequest. +// } +// it := c.BatchSearchLinkProcesses(ctx, req) +// for { +// resp, err := it.Next() +// if err == iterator.Done { +// break +// } +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// } +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/datacatalog/lineage/apiv1/lineagepb/lineage.pb.go b/datacatalog/lineage/apiv1/lineagepb/lineage.pb.go index cb41d02c16a2..4095b7294531 100755 --- a/datacatalog/lineage/apiv1/lineagepb/lineage.pb.go +++ b/datacatalog/lineage/apiv1/lineagepb/lineage.pb.go @@ -21,11 +21,8 @@ package lineagepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataflow/apiv1beta3/dataflowpb/environment.pb.go b/dataflow/apiv1beta3/dataflowpb/environment.pb.go index 09bc2ffdf17b..3a88ed119988 100755 --- a/dataflow/apiv1beta3/dataflowpb/environment.pb.go +++ b/dataflow/apiv1beta3/dataflowpb/environment.pb.go @@ -21,14 +21,13 @@ package dataflowpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataflow/apiv1beta3/dataflowpb/jobs.pb.go b/dataflow/apiv1beta3/dataflowpb/jobs.pb.go index 371a1df71202..2b9c1a0f59b3 100755 --- a/dataflow/apiv1beta3/dataflowpb/jobs.pb.go +++ b/dataflow/apiv1beta3/dataflowpb/jobs.pb.go @@ -22,9 +22,6 @@ package dataflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -1890,19 +1889,19 @@ func (*DisplayData_BoolValue) isDisplayData_Value() {} // Here's an example of a sequence of steps which together implement a // Map-Reduce job: // -// - Read a collection of data from some source, parsing the +// * Read a collection of data from some source, parsing the // collection's elements. // -// - Validate the elements. +// * Validate the elements. // -// - Apply a user-defined function to map each element to some value +// * Apply a user-defined function to map each element to some value // and extract an element-specific key value. // -// - Group elements with the same key into a single element with +// * Group elements with the same key into a single element with // that key, transforming a multiply-keyed collection into a // uniquely-keyed collection. // -// - Write the elements out to some data sink. +// * Write the elements out to some data sink. // // Note that the Cloud Dataflow service may be used to run many different // types of jobs, not just Map-Reduce. diff --git a/dataflow/apiv1beta3/dataflowpb/messages.pb.go b/dataflow/apiv1beta3/dataflowpb/messages.pb.go index e97175546ac9..3e0aa2ea0e23 100755 --- a/dataflow/apiv1beta3/dataflowpb/messages.pb.go +++ b/dataflow/apiv1beta3/dataflowpb/messages.pb.go @@ -22,9 +22,6 @@ package dataflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataflow/apiv1beta3/dataflowpb/metrics.pb.go b/dataflow/apiv1beta3/dataflowpb/metrics.pb.go index 19f01f86a519..e60cca76de1e 100755 --- a/dataflow/apiv1beta3/dataflowpb/metrics.pb.go +++ b/dataflow/apiv1beta3/dataflowpb/metrics.pb.go @@ -22,9 +22,6 @@ package dataflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataflow/apiv1beta3/dataflowpb/snapshots.pb.go b/dataflow/apiv1beta3/dataflowpb/snapshots.pb.go index 2a69a2af64ba..8634ee501651 100755 --- a/dataflow/apiv1beta3/dataflowpb/snapshots.pb.go +++ b/dataflow/apiv1beta3/dataflowpb/snapshots.pb.go @@ -22,9 +22,6 @@ package dataflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataflow/apiv1beta3/dataflowpb/streaming.pb.go b/dataflow/apiv1beta3/dataflowpb/streaming.pb.go index 7549d6228073..17c8b4db6cc9 100755 --- a/dataflow/apiv1beta3/dataflowpb/streaming.pb.go +++ b/dataflow/apiv1beta3/dataflowpb/streaming.pb.go @@ -21,11 +21,10 @@ package dataflowpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataflow/apiv1beta3/dataflowpb/templates.pb.go b/dataflow/apiv1beta3/dataflowpb/templates.pb.go index defc58b15f7d..70b41ab89d1b 100755 --- a/dataflow/apiv1beta3/dataflowpb/templates.pb.go +++ b/dataflow/apiv1beta3/dataflowpb/templates.pb.go @@ -22,9 +22,6 @@ package dataflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -32,6 +29,8 @@ import ( status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataflow/apiv1beta3/doc.go b/dataflow/apiv1beta3/doc.go index 3294c45b941d..182f059e6a75 100755 --- a/dataflow/apiv1beta3/doc.go +++ b/dataflow/apiv1beta3/doc.go @@ -19,68 +19,67 @@ // // Manages Google Cloud Dataflow projects on Google Cloud Platform. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dataflow.NewSnapshotsV1Beta3Client(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dataflow.NewSnapshotsV1Beta3Client(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dataflow.NewSnapshotsV1Beta3Client(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &dataflowpb.DeleteSnapshotRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/dataflow/apiv1beta3/dataflowpb#DeleteSnapshotRequest. -// } -// resp, err := c.DeleteSnapshot(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dataflow.NewSnapshotsV1Beta3Client(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &dataflowpb.DeleteSnapshotRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/dataflow/apiv1beta3/dataflowpb#DeleteSnapshotRequest. +// } +// resp, err := c.DeleteSnapshot(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewSnapshotsV1Beta3Client is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/dataform/apiv1alpha2/dataformpb/dataform.pb.go b/dataform/apiv1alpha2/dataformpb/dataform.pb.go index 01427d957682..c32c9417eb81 100755 --- a/dataform/apiv1alpha2/dataformpb/dataform.pb.go +++ b/dataform/apiv1alpha2/dataformpb/dataform.pb.go @@ -22,9 +22,6 @@ package dataformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" interval "google.golang.org/genproto/googleapis/type/interval" grpc "google.golang.org/grpc" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataform/apiv1alpha2/doc.go b/dataform/apiv1alpha2/doc.go index 5afb3da3fed5..8a0c2d0c9afd 100755 --- a/dataform/apiv1alpha2/doc.go +++ b/dataform/apiv1alpha2/doc.go @@ -17,66 +17,65 @@ // Package dataform is an auto-generated package for the // Dataform API. // -// NOTE: This package is in alpha. It is not stable, and is likely to change. +// NOTE: This package is in alpha. It is not stable, and is likely to change. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dataform.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dataform.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dataform.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &dataformpb.CancelWorkflowInvocationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/dataform/apiv1alpha2/dataformpb#CancelWorkflowInvocationRequest. -// } -// err = c.CancelWorkflowInvocation(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dataform.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &dataformpb.CancelWorkflowInvocationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/dataform/apiv1alpha2/dataformpb#CancelWorkflowInvocationRequest. +// } +// err = c.CancelWorkflowInvocation(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/dataform/apiv1beta1/dataformpb/dataform.pb.go b/dataform/apiv1beta1/dataformpb/dataform.pb.go index 71f679811543..fb1b19f181b4 100755 --- a/dataform/apiv1beta1/dataformpb/dataform.pb.go +++ b/dataform/apiv1beta1/dataformpb/dataform.pb.go @@ -22,9 +22,6 @@ package dataformpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" interval "google.golang.org/genproto/googleapis/type/interval" @@ -36,6 +33,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataform/apiv1beta1/doc.go b/dataform/apiv1beta1/doc.go index 12da0bd8ea00..1b1587b5c101 100755 --- a/dataform/apiv1beta1/doc.go +++ b/dataform/apiv1beta1/doc.go @@ -20,66 +20,65 @@ // Service to develop, version control, and operationalize SQL pipelines in // BigQuery. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dataform.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dataform.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dataform.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &dataformpb.CancelWorkflowInvocationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/dataform/apiv1beta1/dataformpb#CancelWorkflowInvocationRequest. -// } -// err = c.CancelWorkflowInvocation(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dataform.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &dataformpb.CancelWorkflowInvocationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/dataform/apiv1beta1/dataformpb#CancelWorkflowInvocationRequest. +// } +// err = c.CancelWorkflowInvocation(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/datafusion/apiv1/datafusionpb/datafusion.pb.go b/datafusion/apiv1/datafusionpb/datafusion.pb.go index 5d444c12992f..9c7c1eafcd72 100755 --- a/datafusion/apiv1/datafusionpb/datafusion.pb.go +++ b/datafusion/apiv1/datafusionpb/datafusion.pb.go @@ -21,11 +21,8 @@ package datafusionpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datafusion/apiv1/doc.go b/datafusion/apiv1/doc.go index 11af7a9c2a23..ff76c284f7d7 100755 --- a/datafusion/apiv1/doc.go +++ b/datafusion/apiv1/doc.go @@ -25,71 +25,70 @@ // prepare, blend, transfer and transform data without having to wrestle with // infrastructure. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datafusion.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datafusion.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datafusion.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &datafusionpb.CreateInstanceRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/datafusion/apiv1/datafusionpb#CreateInstanceRequest. -// } -// op, err := c.CreateInstance(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datafusion.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &datafusionpb.CreateInstanceRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/datafusion/apiv1/datafusionpb#CreateInstanceRequest. +// } +// op, err := c.CreateInstance(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/datalabeling/apiv1beta1/datalabelingpb/annotation.pb.go b/datalabeling/apiv1beta1/datalabelingpb/annotation.pb.go index 8b28407a570b..63756b90d902 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/annotation.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/annotation.pb.go @@ -22,12 +22,11 @@ package datalabelingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/datalabelingpb/annotation_spec_set.pb.go b/datalabeling/apiv1beta1/datalabelingpb/annotation_spec_set.pb.go index a4f54364ee72..f213060c9496 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/annotation_spec_set.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/annotation_spec_set.pb.go @@ -22,12 +22,11 @@ package datalabelingpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/datalabelingpb/data_labeling_service.pb.go b/datalabeling/apiv1beta1/datalabelingpb/data_labeling_service.pb.go index 15eb1a04b3c7..d2142b26b6ca 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/data_labeling_service.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/data_labeling_service.pb.go @@ -22,11 +22,8 @@ package datalabelingpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/datalabelingpb/data_payloads.pb.go b/datalabeling/apiv1beta1/datalabelingpb/data_payloads.pb.go index f33415b49d14..ecde4bbf4312 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/data_payloads.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/data_payloads.pb.go @@ -22,12 +22,11 @@ package datalabelingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/datalabelingpb/dataset.pb.go b/datalabeling/apiv1beta1/datalabelingpb/dataset.pb.go index 4d32b78956ab..5dbc0674b632 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/dataset.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/dataset.pb.go @@ -22,13 +22,12 @@ package datalabelingpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/datalabelingpb/evaluation.pb.go b/datalabeling/apiv1beta1/datalabelingpb/evaluation.pb.go index ff60041cf348..5bef13c92316 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/evaluation.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/evaluation.pb.go @@ -22,13 +22,12 @@ package datalabelingpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/datalabelingpb/evaluation_job.pb.go b/datalabeling/apiv1beta1/datalabelingpb/evaluation_job.pb.go index f5000ea6e3ec..62d86f873ccf 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/evaluation_job.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/evaluation_job.pb.go @@ -22,14 +22,13 @@ package datalabelingpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/datalabelingpb/human_annotation_config.pb.go b/datalabeling/apiv1beta1/datalabelingpb/human_annotation_config.pb.go index d9a082e48706..4d78d0f39851 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/human_annotation_config.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/human_annotation_config.pb.go @@ -22,13 +22,12 @@ package datalabelingpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/datalabelingpb/instruction.pb.go b/datalabeling/apiv1beta1/datalabelingpb/instruction.pb.go index 1a219f139e48..7e79d1baa4b5 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/instruction.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/instruction.pb.go @@ -22,13 +22,12 @@ package datalabelingpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/datalabelingpb/operations.pb.go b/datalabeling/apiv1beta1/datalabelingpb/operations.pb.go index d4f6c9de59a4..92267751ba65 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/operations.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/operations.pb.go @@ -22,13 +22,12 @@ package datalabelingpb import ( - reflect "reflect" - sync "sync" - status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/doc.go b/datalabeling/apiv1beta1/doc.go index 73297d486ee4..5184f6d41ec4 100755 --- a/datalabeling/apiv1beta1/doc.go +++ b/datalabeling/apiv1beta1/doc.go @@ -19,68 +19,67 @@ // // Public API for Google Cloud AI Data Labeling Service. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datalabeling.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datalabeling.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datalabeling.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &datalabelingpb.CreateAnnotationSpecSetRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb#CreateAnnotationSpecSetRequest. -// } -// resp, err := c.CreateAnnotationSpecSet(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datalabeling.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &datalabelingpb.CreateAnnotationSpecSetRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb#CreateAnnotationSpecSetRequest. +// } +// resp, err := c.CreateAnnotationSpecSet(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/dataplex/apiv1/dataplexpb/analyze.pb.go b/dataplex/apiv1/dataplexpb/analyze.pb.go index 607ca238d47e..4105092b150c 100755 --- a/dataplex/apiv1/dataplexpb/analyze.pb.go +++ b/dataplex/apiv1/dataplexpb/analyze.pb.go @@ -21,14 +21,13 @@ package dataplexpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/content.pb.go b/dataplex/apiv1/dataplexpb/content.pb.go index a40c25d39e63..344187f61c68 100755 --- a/dataplex/apiv1/dataplexpb/content.pb.go +++ b/dataplex/apiv1/dataplexpb/content.pb.go @@ -21,11 +21,8 @@ package dataplexpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/data_profile.pb.go b/dataplex/apiv1/dataplexpb/data_profile.pb.go index fb8ba97ef8dd..97f02f0201b3 100755 --- a/dataplex/apiv1/dataplexpb/data_profile.pb.go +++ b/dataplex/apiv1/dataplexpb/data_profile.pb.go @@ -21,12 +21,11 @@ package dataplexpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/data_quality.pb.go b/dataplex/apiv1/dataplexpb/data_quality.pb.go index 3cba28e94e6f..c12f1cbc7f8b 100755 --- a/dataplex/apiv1/dataplexpb/data_quality.pb.go +++ b/dataplex/apiv1/dataplexpb/data_quality.pb.go @@ -21,12 +21,11 @@ package dataplexpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/data_taxonomy.pb.go b/dataplex/apiv1/dataplexpb/data_taxonomy.pb.go index e235b81f7d22..7e99a6e21423 100755 --- a/dataplex/apiv1/dataplexpb/data_taxonomy.pb.go +++ b/dataplex/apiv1/dataplexpb/data_taxonomy.pb.go @@ -21,11 +21,8 @@ package dataplexpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -188,10 +187,9 @@ func (x *DataTaxonomy) GetClassCount() int32 { // ``` // PII // - ResourceAccessSpec : -// - readers :foo@bar.com +// - readers :foo@bar.com // - DataAccessSpec : -// - readers :bar@foo.com -// +// - readers :bar@foo.com // ``` type DataAttribute struct { state protoimpl.MessageState diff --git a/dataplex/apiv1/dataplexpb/datascans.pb.go b/dataplex/apiv1/dataplexpb/datascans.pb.go index 0a2729fb4152..8f40a87907d8 100755 --- a/dataplex/apiv1/dataplexpb/datascans.pb.go +++ b/dataplex/apiv1/dataplexpb/datascans.pb.go @@ -21,11 +21,8 @@ package dataplexpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -1032,11 +1031,11 @@ func (x *ListDataScanJobsResponse) GetNextPageToken() string { // // For example: // -// - Data Quality: generates queries based on the rules and runs against the -// data to get data quality check results. -// - Data Profile: analyzes the data in table(s) and generates insights about -// the structure, content and relationships (such as null percent, -// cardinality, min/max/mean, etc). +// * Data Quality: generates queries based on the rules and runs against the +// data to get data quality check results. +// * Data Profile: analyzes the data in table(s) and generates insights about +// the structure, content and relationships (such as null percent, +// cardinality, min/max/mean, etc). type DataScan struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/dataplex/apiv1/dataplexpb/logs.pb.go b/dataplex/apiv1/dataplexpb/logs.pb.go index e3c2684be9bb..7ba45da22b4f 100755 --- a/dataplex/apiv1/dataplexpb/logs.pb.go +++ b/dataplex/apiv1/dataplexpb/logs.pb.go @@ -21,14 +21,13 @@ package dataplexpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/metadata.pb.go b/dataplex/apiv1/dataplexpb/metadata.pb.go index 27d4945d4852..18f46d1777a6 100755 --- a/dataplex/apiv1/dataplexpb/metadata.pb.go +++ b/dataplex/apiv1/dataplexpb/metadata.pb.go @@ -22,9 +22,6 @@ package dataplexpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/processing.pb.go b/dataplex/apiv1/dataplexpb/processing.pb.go index 1b70572bd309..8cc9d410b0c3 100755 --- a/dataplex/apiv1/dataplexpb/processing.pb.go +++ b/dataplex/apiv1/dataplexpb/processing.pb.go @@ -21,12 +21,11 @@ package dataplexpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/resources.pb.go b/dataplex/apiv1/dataplexpb/resources.pb.go index 173d5d784b7b..185d256585df 100755 --- a/dataplex/apiv1/dataplexpb/resources.pb.go +++ b/dataplex/apiv1/dataplexpb/resources.pb.go @@ -21,14 +21,13 @@ package dataplexpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/security.pb.go b/dataplex/apiv1/dataplexpb/security.pb.go index 2d610561ab62..edd16e3e06d0 100755 --- a/dataplex/apiv1/dataplexpb/security.pb.go +++ b/dataplex/apiv1/dataplexpb/security.pb.go @@ -21,12 +21,11 @@ package dataplexpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/service.pb.go b/dataplex/apiv1/dataplexpb/service.pb.go index 14d47f6c8b10..47de677b5b80 100755 --- a/dataplex/apiv1/dataplexpb/service.pb.go +++ b/dataplex/apiv1/dataplexpb/service.pb.go @@ -21,11 +21,8 @@ package dataplexpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/tasks.pb.go b/dataplex/apiv1/dataplexpb/tasks.pb.go index d7729ad14458..da1c9a7ef93d 100755 --- a/dataplex/apiv1/dataplexpb/tasks.pb.go +++ b/dataplex/apiv1/dataplexpb/tasks.pb.go @@ -21,14 +21,13 @@ package dataplexpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataplex/apiv1/doc.go b/dataplex/apiv1/doc.go index 31a6c8430046..5994ee7448bf 100755 --- a/dataplex/apiv1/doc.go +++ b/dataplex/apiv1/doc.go @@ -19,66 +19,65 @@ // // Dataplex API is used to manage the lifecycle of data lakes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dataplex.NewContentClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dataplex.NewContentClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dataplex.NewContentClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &dataplexpb.CreateContentRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/dataplex/apiv1/dataplexpb#CreateContentRequest. -// } -// resp, err := c.CreateContent(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dataplex.NewContentClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &dataplexpb.CreateContentRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/dataplex/apiv1/dataplexpb#CreateContentRequest. +// } +// resp, err := c.CreateContent(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewContentClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/dataproc/apiv1/dataprocpb/autoscaling_policies.pb.go b/dataproc/apiv1/dataprocpb/autoscaling_policies.pb.go index 4968f9318398..354e3297828c 100755 --- a/dataproc/apiv1/dataprocpb/autoscaling_policies.pb.go +++ b/dataproc/apiv1/dataprocpb/autoscaling_policies.pb.go @@ -22,9 +22,6 @@ package dataprocpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataproc/apiv1/dataprocpb/batches.pb.go b/dataproc/apiv1/dataprocpb/batches.pb.go index f2ed422c6387..c32f49061c69 100755 --- a/dataproc/apiv1/dataprocpb/batches.pb.go +++ b/dataproc/apiv1/dataprocpb/batches.pb.go @@ -21,11 +21,8 @@ package dataprocpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataproc/apiv1/dataprocpb/clusters.pb.go b/dataproc/apiv1/dataprocpb/clusters.pb.go index 18cd5509a5d6..7836ce24dcb5 100755 --- a/dataproc/apiv1/dataprocpb/clusters.pb.go +++ b/dataproc/apiv1/dataprocpb/clusters.pb.go @@ -21,11 +21,8 @@ package dataprocpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" interval "google.golang.org/genproto/googleapis/type/interval" grpc "google.golang.org/grpc" @@ -38,6 +35,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" _ "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataproc/apiv1/dataprocpb/jobs.pb.go b/dataproc/apiv1/dataprocpb/jobs.pb.go index 7004976355d9..ac450001b767 100755 --- a/dataproc/apiv1/dataprocpb/jobs.pb.go +++ b/dataproc/apiv1/dataprocpb/jobs.pb.go @@ -21,11 +21,8 @@ package dataprocpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataproc/apiv1/dataprocpb/node_groups.pb.go b/dataproc/apiv1/dataprocpb/node_groups.pb.go index 50be24fbfe67..739a3505a2f7 100755 --- a/dataproc/apiv1/dataprocpb/node_groups.pb.go +++ b/dataproc/apiv1/dataprocpb/node_groups.pb.go @@ -21,11 +21,8 @@ package dataprocpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataproc/apiv1/dataprocpb/operations.pb.go b/dataproc/apiv1/dataprocpb/operations.pb.go index 83f078f4a4bb..7bd509b872ce 100755 --- a/dataproc/apiv1/dataprocpb/operations.pb.go +++ b/dataproc/apiv1/dataprocpb/operations.pb.go @@ -21,13 +21,12 @@ package dataprocpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataproc/apiv1/dataprocpb/shared.pb.go b/dataproc/apiv1/dataprocpb/shared.pb.go index dd26e88a0f87..08d3c3ac7f5b 100755 --- a/dataproc/apiv1/dataprocpb/shared.pb.go +++ b/dataproc/apiv1/dataprocpb/shared.pb.go @@ -21,14 +21,13 @@ package dataprocpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataproc/apiv1/dataprocpb/workflow_templates.pb.go b/dataproc/apiv1/dataprocpb/workflow_templates.pb.go index fc5d6f30ea32..3bb214a80bfc 100755 --- a/dataproc/apiv1/dataprocpb/workflow_templates.pb.go +++ b/dataproc/apiv1/dataprocpb/workflow_templates.pb.go @@ -21,11 +21,8 @@ package dataprocpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataproc/apiv1/doc.go b/dataproc/apiv1/doc.go index fa3dd5ef717a..a2f7fd9f6a18 100755 --- a/dataproc/apiv1/doc.go +++ b/dataproc/apiv1/doc.go @@ -19,66 +19,65 @@ // // Manages Hadoop-based clusters and jobs on Google Cloud Platform. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dataproc.NewAutoscalingPolicyClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dataproc.NewAutoscalingPolicyClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dataproc.NewAutoscalingPolicyClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &dataprocpb.CreateAutoscalingPolicyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/dataproc/v2/apiv1/dataprocpb#CreateAutoscalingPolicyRequest. -// } -// resp, err := c.CreateAutoscalingPolicy(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dataproc.NewAutoscalingPolicyClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &dataprocpb.CreateAutoscalingPolicyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/dataproc/v2/apiv1/dataprocpb#CreateAutoscalingPolicyRequest. +// } +// resp, err := c.CreateAutoscalingPolicy(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewAutoscalingPolicyClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/dataqna/apiv1alpha/auxiliary.go b/dataqna/apiv1alpha/auxiliary.go index 5d35bd513228..411d22aad261 100755 --- a/dataqna/apiv1alpha/auxiliary.go +++ b/dataqna/apiv1alpha/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package dataqna + +import () diff --git a/dataqna/apiv1alpha/dataqnapb/annotated_string.pb.go b/dataqna/apiv1alpha/dataqnapb/annotated_string.pb.go index eeddfada214b..e0c404d8f3b6 100755 --- a/dataqna/apiv1alpha/dataqnapb/annotated_string.pb.go +++ b/dataqna/apiv1alpha/dataqnapb/annotated_string.pb.go @@ -21,11 +21,10 @@ package dataqnapb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( @@ -109,9 +108,9 @@ func (AnnotatedString_SemanticMarkupType) EnumDescriptor() ([]byte, []int) { // // User Query: // -// top countries by population in Africa +// top countries by population in Africa // -// 0 4 14 17 28 31 37 +// 0 4 14 17 28 31 37 // // Table Data: // @@ -122,16 +121,13 @@ func (AnnotatedString_SemanticMarkupType) EnumDescriptor() ([]byte, []int) { // text_formatted = `"top countries by population in Africa"` // // html_formatted = -// -// `"top countries by population in Africa"` +// `"top countries by population in Africa"` // // ``` // markups = [ -// -// {DIMENSION, 4, 12}, // 'countries' -// {METRIC, 17, 26}, // 'population' -// {FILTER, 31, 36} // 'Africa' -// +// {DIMENSION, 4, 12}, // 'countries' +// {METRIC, 17, 26}, // 'population' +// {FILTER, 31, 36} // 'Africa' // ] // ``` // diff --git a/dataqna/apiv1alpha/dataqnapb/auto_suggestion_service.pb.go b/dataqna/apiv1alpha/dataqnapb/auto_suggestion_service.pb.go index 0e7ea5cbd1fd..7e0ed32c7263 100755 --- a/dataqna/apiv1alpha/dataqnapb/auto_suggestion_service.pb.go +++ b/dataqna/apiv1alpha/dataqnapb/auto_suggestion_service.pb.go @@ -22,15 +22,14 @@ package dataqnapb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( @@ -366,21 +365,19 @@ func (x *SuggestQueriesResponse) GetSuggestions() []*Suggestion { // user query: `top products` // // ``` +// annotated_suggestion { +// text_formatted = "top product_group" +// html_formatted = "top product_group" +// markups { +// {type: TEXT, start_char_index: 0, length: 3} +// {type: DIMENSION, start_char_index: 4, length: 13} +// } +// } // -// annotated_suggestion { -// text_formatted = "top product_group" -// html_formatted = "top product_group" -// markups { -// {type: TEXT, start_char_index: 0, length: 3} -// {type: DIMENSION, start_char_index: 4, length: 13} -// } -// } -// -// query_matches { -// { start_char_index: 0, length: 3 } -// { start_char_index: 4, length: 7} -// } -// +// query_matches { +// { start_char_index: 0, length: 3 } +// { start_char_index: 4, length: 7} +// } // ``` type SuggestionInfo_MatchInfo struct { state protoimpl.MessageState diff --git a/dataqna/apiv1alpha/dataqnapb/question.pb.go b/dataqna/apiv1alpha/dataqnapb/question.pb.go index b13022a03cdd..f373ff9d3a5b 100755 --- a/dataqna/apiv1alpha/dataqnapb/question.pb.go +++ b/dataqna/apiv1alpha/dataqnapb/question.pb.go @@ -21,15 +21,14 @@ package dataqnapb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataqna/apiv1alpha/dataqnapb/question_service.pb.go b/dataqna/apiv1alpha/dataqnapb/question_service.pb.go index 1251276534a6..540fbb4cbd32 100755 --- a/dataqna/apiv1alpha/dataqnapb/question_service.pb.go +++ b/dataqna/apiv1alpha/dataqnapb/question_service.pb.go @@ -22,9 +22,6 @@ package dataqnapb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataqna/apiv1alpha/dataqnapb/user_feedback.pb.go b/dataqna/apiv1alpha/dataqnapb/user_feedback.pb.go index 225b2f5612b5..1d778ba97b0c 100755 --- a/dataqna/apiv1alpha/dataqnapb/user_feedback.pb.go +++ b/dataqna/apiv1alpha/dataqnapb/user_feedback.pb.go @@ -21,12 +21,11 @@ package dataqnapb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dataqna/apiv1alpha/doc.go b/dataqna/apiv1alpha/doc.go index d9e78f59e018..c1e1c77ae214 100755 --- a/dataqna/apiv1alpha/doc.go +++ b/dataqna/apiv1alpha/doc.go @@ -20,68 +20,67 @@ // Data QnA is a natural language question and answer service for BigQuery // data. // -// NOTE: This package is in alpha. It is not stable, and is likely to change. +// NOTE: This package is in alpha. It is not stable, and is likely to change. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dataqna.NewAutoSuggestionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dataqna.NewAutoSuggestionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dataqna.NewAutoSuggestionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &dataqnapb.SuggestQueriesRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/dataqna/apiv1alpha/dataqnapb#SuggestQueriesRequest. -// } -// resp, err := c.SuggestQueries(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dataqna.NewAutoSuggestionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &dataqnapb.SuggestQueriesRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/dataqna/apiv1alpha/dataqnapb#SuggestQueriesRequest. +// } +// resp, err := c.SuggestQueries(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewAutoSuggestionClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/datastore/admin/apiv1/adminpb/datastore_admin.pb.go b/datastore/admin/apiv1/adminpb/datastore_admin.pb.go index 1562e4feab73..280b2f069a24 100755 --- a/datastore/admin/apiv1/adminpb/datastore_admin.pb.go +++ b/datastore/admin/apiv1/adminpb/datastore_admin.pb.go @@ -21,11 +21,8 @@ package adminpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -748,24 +747,19 @@ func (x *ImportEntitiesMetadata) GetInputUrl() string { // Example usage: // // Entire project: -// -// kinds=[], namespace_ids=[] +// kinds=[], namespace_ids=[] // // Kinds Foo and Bar in all namespaces: -// -// kinds=['Foo', 'Bar'], namespace_ids=[] +// kinds=['Foo', 'Bar'], namespace_ids=[] // // Kinds Foo and Bar only in the default namespace: -// -// kinds=['Foo', 'Bar'], namespace_ids=[''] +// kinds=['Foo', 'Bar'], namespace_ids=[''] // // Kinds Foo and Bar in both the default and Baz namespaces: -// -// kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz'] +// kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz'] // // The entire Baz namespace: -// -// kinds=[], namespace_ids=['Baz'] +// kinds=[], namespace_ids=['Baz'] type EntityFilter struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/datastore/admin/apiv1/adminpb/index.pb.go b/datastore/admin/apiv1/adminpb/index.pb.go index b7c6a8a73335..8d7ac2a28d6f 100755 --- a/datastore/admin/apiv1/adminpb/index.pb.go +++ b/datastore/admin/apiv1/adminpb/index.pb.go @@ -21,12 +21,11 @@ package adminpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datastore/admin/apiv1/adminpb/migration.pb.go b/datastore/admin/apiv1/adminpb/migration.pb.go index 0528a8502e8b..0bc7ef8dcdb0 100755 --- a/datastore/admin/apiv1/adminpb/migration.pb.go +++ b/datastore/admin/apiv1/adminpb/migration.pb.go @@ -21,11 +21,10 @@ package adminpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/datastore/admin/apiv1/datastore_admin_client.go b/datastore/admin/apiv1/datastore_admin_client.go index ed259fa9cdf6..4dc083fecd48 100755 --- a/datastore/admin/apiv1/datastore_admin_client.go +++ b/datastore/admin/apiv1/datastore_admin_client.go @@ -187,7 +187,7 @@ type internalDatastoreAdminClient interface { // DatastoreAdminClient is a client for interacting with Cloud Datastore API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// # Google Cloud Datastore Admin API +// Google Cloud Datastore Admin API // // The Datastore Admin API provides several admin services for Cloud Datastore. // @@ -202,46 +202,46 @@ type internalDatastoreAdminClient interface { // // Export/Import Service: // -// The Export/Import service provides the ability to copy all or a subset of -// entities to/from Google Cloud Storage. +// The Export/Import service provides the ability to copy all or a subset of +// entities to/from Google Cloud Storage. // -// Exported data may be imported into Cloud Datastore for any Google Cloud -// Platform project. It is not restricted to the export source project. It is -// possible to export from one project and then import into another. +// Exported data may be imported into Cloud Datastore for any Google Cloud +// Platform project. It is not restricted to the export source project. It is +// possible to export from one project and then import into another. // -// Exported data can also be loaded into Google BigQuery for analysis. +// Exported data can also be loaded into Google BigQuery for analysis. // -// Exports and imports are performed asynchronously. An Operation resource is -// created for each export/import. The state (including any errors encountered) -// of the export/import may be queried via the Operation resource. +// Exports and imports are performed asynchronously. An Operation resource is +// created for each export/import. The state (including any errors encountered) +// of the export/import may be queried via the Operation resource. // // Index Service: // -// The index service manages Cloud Datastore composite indexes. +// The index service manages Cloud Datastore composite indexes. // -// Index creation and deletion are performed asynchronously. -// An Operation resource is created for each such asynchronous operation. -// The state of the operation (including any errors encountered) -// may be queried via the Operation resource. +// Index creation and deletion are performed asynchronously. +// An Operation resource is created for each such asynchronous operation. +// The state of the operation (including any errors encountered) +// may be queried via the Operation resource. // // Operation Service: // -// The Operations collection provides a record of actions performed for the -// specified project (including any operations in progress). Operations are not -// created directly but through calls on other collections or resources. +// The Operations collection provides a record of actions performed for the +// specified project (including any operations in progress). Operations are not +// created directly but through calls on other collections or resources. // -// An operation that is not yet done may be cancelled. The request to cancel -// is asynchronous and the operation may continue to run for some time after the -// request to cancel is made. +// An operation that is not yet done may be cancelled. The request to cancel +// is asynchronous and the operation may continue to run for some time after the +// request to cancel is made. // -// An operation that is done may be deleted so that it is no longer listed as -// part of the Operation collection. +// An operation that is done may be deleted so that it is no longer listed as +// part of the Operation collection. // -// ListOperations returns all pending operations, but not completed -// operations. +// ListOperations returns all pending operations, but not completed +// operations. // -// Operations are created by service DatastoreAdmin, but are accessed via -// service google.longrunning.Operations. +// Operations are created by service DatastoreAdmin, but are accessed via +// service google.longrunning.Operations. type DatastoreAdminClient struct { // The internal transport-dependent client. internalClient internalDatastoreAdminClient @@ -415,7 +415,7 @@ type datastoreAdminGRPCClient struct { // NewDatastoreAdminClient creates a new datastore admin client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// # Google Cloud Datastore Admin API +// Google Cloud Datastore Admin API // // The Datastore Admin API provides several admin services for Cloud Datastore. // @@ -430,46 +430,46 @@ type datastoreAdminGRPCClient struct { // // Export/Import Service: // -// The Export/Import service provides the ability to copy all or a subset of -// entities to/from Google Cloud Storage. +// The Export/Import service provides the ability to copy all or a subset of +// entities to/from Google Cloud Storage. // -// Exported data may be imported into Cloud Datastore for any Google Cloud -// Platform project. It is not restricted to the export source project. It is -// possible to export from one project and then import into another. +// Exported data may be imported into Cloud Datastore for any Google Cloud +// Platform project. It is not restricted to the export source project. It is +// possible to export from one project and then import into another. // -// Exported data can also be loaded into Google BigQuery for analysis. +// Exported data can also be loaded into Google BigQuery for analysis. // -// Exports and imports are performed asynchronously. An Operation resource is -// created for each export/import. The state (including any errors encountered) -// of the export/import may be queried via the Operation resource. +// Exports and imports are performed asynchronously. An Operation resource is +// created for each export/import. The state (including any errors encountered) +// of the export/import may be queried via the Operation resource. // // Index Service: // -// The index service manages Cloud Datastore composite indexes. +// The index service manages Cloud Datastore composite indexes. // -// Index creation and deletion are performed asynchronously. -// An Operation resource is created for each such asynchronous operation. -// The state of the operation (including any errors encountered) -// may be queried via the Operation resource. +// Index creation and deletion are performed asynchronously. +// An Operation resource is created for each such asynchronous operation. +// The state of the operation (including any errors encountered) +// may be queried via the Operation resource. // // Operation Service: // -// The Operations collection provides a record of actions performed for the -// specified project (including any operations in progress). Operations are not -// created directly but through calls on other collections or resources. +// The Operations collection provides a record of actions performed for the +// specified project (including any operations in progress). Operations are not +// created directly but through calls on other collections or resources. // -// An operation that is not yet done may be cancelled. The request to cancel -// is asynchronous and the operation may continue to run for some time after the -// request to cancel is made. +// An operation that is not yet done may be cancelled. The request to cancel +// is asynchronous and the operation may continue to run for some time after the +// request to cancel is made. // -// An operation that is done may be deleted so that it is no longer listed as -// part of the Operation collection. +// An operation that is done may be deleted so that it is no longer listed as +// part of the Operation collection. // -// ListOperations returns all pending operations, but not completed -// operations. +// ListOperations returns all pending operations, but not completed +// operations. // -// Operations are created by service DatastoreAdmin, but are accessed via -// service google.longrunning.Operations. +// Operations are created by service DatastoreAdmin, but are accessed via +// service google.longrunning.Operations. func NewDatastoreAdminClient(ctx context.Context, opts ...option.ClientOption) (*DatastoreAdminClient, error) { clientOpts := defaultDatastoreAdminGRPCClientOptions() if newDatastoreAdminClientHook != nil { @@ -555,7 +555,7 @@ type datastoreAdminRESTClient struct { // NewDatastoreAdminRESTClient creates a new datastore admin rest client. // -// # Google Cloud Datastore Admin API +// Google Cloud Datastore Admin API // // The Datastore Admin API provides several admin services for Cloud Datastore. // @@ -570,46 +570,46 @@ type datastoreAdminRESTClient struct { // // Export/Import Service: // -// The Export/Import service provides the ability to copy all or a subset of -// entities to/from Google Cloud Storage. +// The Export/Import service provides the ability to copy all or a subset of +// entities to/from Google Cloud Storage. // -// Exported data may be imported into Cloud Datastore for any Google Cloud -// Platform project. It is not restricted to the export source project. It is -// possible to export from one project and then import into another. +// Exported data may be imported into Cloud Datastore for any Google Cloud +// Platform project. It is not restricted to the export source project. It is +// possible to export from one project and then import into another. // -// Exported data can also be loaded into Google BigQuery for analysis. +// Exported data can also be loaded into Google BigQuery for analysis. // -// Exports and imports are performed asynchronously. An Operation resource is -// created for each export/import. The state (including any errors encountered) -// of the export/import may be queried via the Operation resource. +// Exports and imports are performed asynchronously. An Operation resource is +// created for each export/import. The state (including any errors encountered) +// of the export/import may be queried via the Operation resource. // // Index Service: // -// The index service manages Cloud Datastore composite indexes. +// The index service manages Cloud Datastore composite indexes. // -// Index creation and deletion are performed asynchronously. -// An Operation resource is created for each such asynchronous operation. -// The state of the operation (including any errors encountered) -// may be queried via the Operation resource. +// Index creation and deletion are performed asynchronously. +// An Operation resource is created for each such asynchronous operation. +// The state of the operation (including any errors encountered) +// may be queried via the Operation resource. // // Operation Service: // -// The Operations collection provides a record of actions performed for the -// specified project (including any operations in progress). Operations are not -// created directly but through calls on other collections or resources. +// The Operations collection provides a record of actions performed for the +// specified project (including any operations in progress). Operations are not +// created directly but through calls on other collections or resources. // -// An operation that is not yet done may be cancelled. The request to cancel -// is asynchronous and the operation may continue to run for some time after the -// request to cancel is made. +// An operation that is not yet done may be cancelled. The request to cancel +// is asynchronous and the operation may continue to run for some time after the +// request to cancel is made. // -// An operation that is done may be deleted so that it is no longer listed as -// part of the Operation collection. +// An operation that is done may be deleted so that it is no longer listed as +// part of the Operation collection. // -// ListOperations returns all pending operations, but not completed -// operations. +// ListOperations returns all pending operations, but not completed +// operations. // -// Operations are created by service DatastoreAdmin, but are accessed via -// service google.longrunning.Operations. +// Operations are created by service DatastoreAdmin, but are accessed via +// service google.longrunning.Operations. func NewDatastoreAdminRESTClient(ctx context.Context, opts ...option.ClientOption) (*DatastoreAdminClient, error) { clientOpts := append(defaultDatastoreAdminRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/datastore/admin/apiv1/doc.go b/datastore/admin/apiv1/doc.go index 57d7191b2c8a..002374aac692 100755 --- a/datastore/admin/apiv1/doc.go +++ b/datastore/admin/apiv1/doc.go @@ -20,71 +20,70 @@ // Accesses the schemaless NoSQL database to provide fully managed, robust, // scalable storage for your application. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := admin.NewDatastoreAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := admin.NewDatastoreAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := admin.NewDatastoreAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &adminpb.CreateIndexRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/datastore/admin/apiv1/adminpb#CreateIndexRequest. -// } -// op, err := c.CreateIndex(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := admin.NewDatastoreAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &adminpb.CreateIndexRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/datastore/admin/apiv1/adminpb#CreateIndexRequest. +// } +// op, err := c.CreateIndex(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewDatastoreAdminClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/datastream/apiv1/datastreampb/datastream.pb.go b/datastream/apiv1/datastreampb/datastream.pb.go index 008d34911b3c..875729bff6f1 100755 --- a/datastream/apiv1/datastreampb/datastream.pb.go +++ b/datastream/apiv1/datastreampb/datastream.pb.go @@ -21,11 +21,8 @@ package datastreampb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datastream/apiv1/datastreampb/datastream_resources.pb.go b/datastream/apiv1/datastreampb/datastream_resources.pb.go index f75bd921742d..6c790fd7a7a5 100755 --- a/datastream/apiv1/datastreampb/datastream_resources.pb.go +++ b/datastream/apiv1/datastreampb/datastream_resources.pb.go @@ -21,14 +21,13 @@ package datastreampb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datastream/apiv1/doc.go b/datastream/apiv1/doc.go index cc6069f7c175..9e6dd38ba610 100755 --- a/datastream/apiv1/doc.go +++ b/datastream/apiv1/doc.go @@ -17,71 +17,70 @@ // Package datastream is an auto-generated package for the // Datastream API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datastream.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datastream.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datastream.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &datastreampb.CreateConnectionProfileRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/datastream/apiv1/datastreampb#CreateConnectionProfileRequest. -// } -// op, err := c.CreateConnectionProfile(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datastream.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &datastreampb.CreateConnectionProfileRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/datastream/apiv1/datastreampb#CreateConnectionProfileRequest. +// } +// op, err := c.CreateConnectionProfile(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/datastream/apiv1alpha1/datastreampb/datastream.pb.go b/datastream/apiv1alpha1/datastreampb/datastream.pb.go index 8d4126a1a2a1..577ca3036400 100755 --- a/datastream/apiv1alpha1/datastreampb/datastream.pb.go +++ b/datastream/apiv1alpha1/datastreampb/datastream.pb.go @@ -21,11 +21,8 @@ package datastreampb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datastream/apiv1alpha1/datastreampb/datastream_resources.pb.go b/datastream/apiv1alpha1/datastreampb/datastream_resources.pb.go index 56abd2a9baea..99859b18c714 100755 --- a/datastream/apiv1alpha1/datastreampb/datastream_resources.pb.go +++ b/datastream/apiv1alpha1/datastreampb/datastream_resources.pb.go @@ -21,14 +21,13 @@ package datastreampb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/datastream/apiv1alpha1/doc.go b/datastream/apiv1alpha1/doc.go index 501e9a2ce006..e654dc08a019 100755 --- a/datastream/apiv1alpha1/doc.go +++ b/datastream/apiv1alpha1/doc.go @@ -17,73 +17,72 @@ // Package datastream is an auto-generated package for the // Datastream API. // -// NOTE: This package is in alpha. It is not stable, and is likely to change. +// NOTE: This package is in alpha. It is not stable, and is likely to change. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datastream.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datastream.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datastream.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &datastreampb.CreateConnectionProfileRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/datastream/apiv1alpha1/datastreampb#CreateConnectionProfileRequest. -// } -// op, err := c.CreateConnectionProfile(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datastream.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &datastreampb.CreateConnectionProfileRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/datastream/apiv1alpha1/datastreampb#CreateConnectionProfileRequest. +// } +// op, err := c.CreateConnectionProfile(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/deploy/apiv1/deploypb/automation_payload.pb.go b/deploy/apiv1/deploypb/automation_payload.pb.go index bf1b5c377c24..7df6aa614c22 100755 --- a/deploy/apiv1/deploypb/automation_payload.pb.go +++ b/deploy/apiv1/deploypb/automation_payload.pb.go @@ -21,11 +21,10 @@ package deploypb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/deploy/apiv1/deploypb/automationrun_payload.pb.go b/deploy/apiv1/deploypb/automationrun_payload.pb.go index 3150bca61fe7..49c95ddb9371 100755 --- a/deploy/apiv1/deploypb/automationrun_payload.pb.go +++ b/deploy/apiv1/deploypb/automationrun_payload.pb.go @@ -21,11 +21,10 @@ package deploypb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/deploy/apiv1/deploypb/cloud_deploy.pb.go b/deploy/apiv1/deploypb/cloud_deploy.pb.go index 2fefa42db985..f30c004005e5 100755 --- a/deploy/apiv1/deploypb/cloud_deploy.pb.go +++ b/deploy/apiv1/deploypb/cloud_deploy.pb.go @@ -21,11 +21,8 @@ package deploypb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/deploy/apiv1/deploypb/deliverypipeline_notification_payload.pb.go b/deploy/apiv1/deploypb/deliverypipeline_notification_payload.pb.go index 9bc3d2b48094..039d16ad708e 100755 --- a/deploy/apiv1/deploypb/deliverypipeline_notification_payload.pb.go +++ b/deploy/apiv1/deploypb/deliverypipeline_notification_payload.pb.go @@ -21,11 +21,10 @@ package deploypb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/deploy/apiv1/deploypb/jobrun_notification_payload.pb.go b/deploy/apiv1/deploypb/jobrun_notification_payload.pb.go index 5d4568f63d51..ce11337bd629 100755 --- a/deploy/apiv1/deploypb/jobrun_notification_payload.pb.go +++ b/deploy/apiv1/deploypb/jobrun_notification_payload.pb.go @@ -21,11 +21,10 @@ package deploypb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/deploy/apiv1/deploypb/log_enums.pb.go b/deploy/apiv1/deploypb/log_enums.pb.go index f6825556393c..a94af6ec3e30 100755 --- a/deploy/apiv1/deploypb/log_enums.pb.go +++ b/deploy/apiv1/deploypb/log_enums.pb.go @@ -21,11 +21,10 @@ package deploypb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/deploy/apiv1/deploypb/release_notification_payload.pb.go b/deploy/apiv1/deploypb/release_notification_payload.pb.go index a16ac9c6c831..5ea04ae0e186 100755 --- a/deploy/apiv1/deploypb/release_notification_payload.pb.go +++ b/deploy/apiv1/deploypb/release_notification_payload.pb.go @@ -21,11 +21,10 @@ package deploypb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/deploy/apiv1/deploypb/release_render_payload.pb.go b/deploy/apiv1/deploypb/release_render_payload.pb.go index dae0717a5d0b..309615243f5b 100755 --- a/deploy/apiv1/deploypb/release_render_payload.pb.go +++ b/deploy/apiv1/deploypb/release_render_payload.pb.go @@ -21,11 +21,10 @@ package deploypb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/deploy/apiv1/deploypb/rollout_notification_payload.pb.go b/deploy/apiv1/deploypb/rollout_notification_payload.pb.go index f42080afa0d4..5e1871ea5753 100755 --- a/deploy/apiv1/deploypb/rollout_notification_payload.pb.go +++ b/deploy/apiv1/deploypb/rollout_notification_payload.pb.go @@ -21,11 +21,10 @@ package deploypb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/deploy/apiv1/deploypb/rollout_update_payload.pb.go b/deploy/apiv1/deploypb/rollout_update_payload.pb.go index d3a977688639..da9f8c100925 100755 --- a/deploy/apiv1/deploypb/rollout_update_payload.pb.go +++ b/deploy/apiv1/deploypb/rollout_update_payload.pb.go @@ -21,11 +21,10 @@ package deploypb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/deploy/apiv1/deploypb/target_notification_payload.pb.go b/deploy/apiv1/deploypb/target_notification_payload.pb.go index 9a4dc05c8cd2..eca6bf8b7f0c 100755 --- a/deploy/apiv1/deploypb/target_notification_payload.pb.go +++ b/deploy/apiv1/deploypb/target_notification_payload.pb.go @@ -21,11 +21,10 @@ package deploypb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/deploy/apiv1/doc.go b/deploy/apiv1/doc.go index dbd3b3c160be..c0e985da0c0b 100755 --- a/deploy/apiv1/doc.go +++ b/deploy/apiv1/doc.go @@ -17,66 +17,65 @@ // Package deploy is an auto-generated package for the // Cloud Deploy API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := deploy.NewCloudDeployClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := deploy.NewCloudDeployClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := deploy.NewCloudDeployClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &deploypb.AbandonReleaseRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/deploy/apiv1/deploypb#AbandonReleaseRequest. -// } -// resp, err := c.AbandonRelease(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := deploy.NewCloudDeployClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &deploypb.AbandonReleaseRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/deploy/apiv1/deploypb#AbandonReleaseRequest. +// } +// resp, err := c.AbandonRelease(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewCloudDeployClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/dialogflow/apiv2/agents_client.go b/dialogflow/apiv2/agents_client.go index 7699c7566380..84f89edf956a 100755 --- a/dialogflow/apiv2/agents_client.go +++ b/dialogflow/apiv2/agents_client.go @@ -404,11 +404,11 @@ func (c *AgentsClient) SearchAgents(ctx context.Context, req *dialogflowpb.Searc // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -429,11 +429,11 @@ func (c *AgentsClient) TrainAgentOperation(name string) *TrainAgentOperation { // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ExportAgentResponse +// response: +// ExportAgentResponse func (c *AgentsClient) ExportAgent(ctx context.Context, req *dialogflowpb.ExportAgentRequest, opts ...gax.CallOption) (*ExportAgentOperation, error) { return c.internalClient.ExportAgent(ctx, req, opts...) } @@ -460,11 +460,11 @@ func (c *AgentsClient) ExportAgentOperation(name string) *ExportAgentOperation { // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // The operation only tracks when importing is complete, not when it is done // training. @@ -496,11 +496,11 @@ func (c *AgentsClient) ImportAgentOperation(name string) *ImportAgentOperation { // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // The operation only tracks when restoring is complete, not when it is done // training. @@ -1343,11 +1343,11 @@ func (c *agentsRESTClient) SearchAgents(ctx context.Context, req *dialogflowpb.S // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1427,11 +1427,11 @@ func (c *agentsRESTClient) TrainAgent(ctx context.Context, req *dialogflowpb.Tra // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ExportAgentResponse +// response: +// ExportAgentResponse func (c *agentsRESTClient) ExportAgent(ctx context.Context, req *dialogflowpb.ExportAgentRequest, opts ...gax.CallOption) (*ExportAgentOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1517,11 +1517,11 @@ func (c *agentsRESTClient) ExportAgent(ctx context.Context, req *dialogflowpb.Ex // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // The operation only tracks when importing is complete, not when it is done // training. @@ -1612,11 +1612,11 @@ func (c *agentsRESTClient) ImportAgent(ctx context.Context, req *dialogflowpb.Im // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // The operation only tracks when restoring is complete, not when it is done // training. diff --git a/dialogflow/apiv2/conversation_datasets_client.go b/dialogflow/apiv2/conversation_datasets_client.go index 473664c92bc4..a9da1fd2b2e0 100755 --- a/dialogflow/apiv2/conversation_datasets_client.go +++ b/dialogflow/apiv2/conversation_datasets_client.go @@ -276,11 +276,11 @@ func (c *ConversationDatasetsClient) Connection() *grpc.ClientConn { // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// CreateConversationDatasetOperationMetadata +// metadata: +// CreateConversationDatasetOperationMetadata // -// response: -// ConversationDataset +// response: +// ConversationDataset func (c *ConversationDatasetsClient) CreateConversationDataset(ctx context.Context, req *dialogflowpb.CreateConversationDatasetRequest, opts ...gax.CallOption) (*CreateConversationDatasetOperation, error) { return c.internalClient.CreateConversationDataset(ctx, req, opts...) } @@ -308,11 +308,11 @@ func (c *ConversationDatasetsClient) ListConversationDatasets(ctx context.Contex // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// DeleteConversationDatasetOperationMetadata +// metadata: +// DeleteConversationDatasetOperationMetadata // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *ConversationDatasetsClient) DeleteConversationDataset(ctx context.Context, req *dialogflowpb.DeleteConversationDatasetRequest, opts ...gax.CallOption) (*DeleteConversationDatasetOperation, error) { return c.internalClient.DeleteConversationDataset(ctx, req, opts...) } @@ -331,11 +331,11 @@ func (c *ConversationDatasetsClient) DeleteConversationDatasetOperation(name str // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// ImportConversationDataOperationMetadata +// metadata: +// ImportConversationDataOperationMetadata // -// response: -// ImportConversationDataOperationResponse +// response: +// ImportConversationDataOperationResponse func (c *ConversationDatasetsClient) ImportConversationData(ctx context.Context, req *dialogflowpb.ImportConversationDataRequest, opts ...gax.CallOption) (*ImportConversationDataOperation, error) { return c.internalClient.ImportConversationData(ctx, req, opts...) } @@ -826,11 +826,11 @@ func (c *conversationDatasetsGRPCClient) ListOperations(ctx context.Context, req // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// CreateConversationDatasetOperationMetadata +// metadata: +// CreateConversationDatasetOperationMetadata // -// response: -// ConversationDataset +// response: +// ConversationDataset func (c *conversationDatasetsRESTClient) CreateConversationDataset(ctx context.Context, req *dialogflowpb.CreateConversationDatasetRequest, opts ...gax.CallOption) (*CreateConversationDatasetOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetConversationDataset() @@ -1057,11 +1057,11 @@ func (c *conversationDatasetsRESTClient) ListConversationDatasets(ctx context.Co // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// DeleteConversationDatasetOperationMetadata +// metadata: +// DeleteConversationDatasetOperationMetadata // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *conversationDatasetsRESTClient) DeleteConversationDataset(ctx context.Context, req *dialogflowpb.DeleteConversationDatasetRequest, opts ...gax.CallOption) (*DeleteConversationDatasetOperation, error) { baseUrl, err := url.Parse(c.endpoint) if err != nil { @@ -1133,11 +1133,11 @@ func (c *conversationDatasetsRESTClient) DeleteConversationDataset(ctx context.C // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// ImportConversationDataOperationMetadata +// metadata: +// ImportConversationDataOperationMetadata // -// response: -// ImportConversationDataOperationResponse +// response: +// ImportConversationDataOperationResponse func (c *conversationDatasetsRESTClient) ImportConversationData(ctx context.Context, req *dialogflowpb.ImportConversationDataRequest, opts ...gax.CallOption) (*ImportConversationDataOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/dialogflow/apiv2/conversation_models_client.go b/dialogflow/apiv2/conversation_models_client.go index c054dd4249b6..daecdc0356ad 100755 --- a/dialogflow/apiv2/conversation_models_client.go +++ b/dialogflow/apiv2/conversation_models_client.go @@ -375,11 +375,11 @@ func (c *ConversationModelsClient) Connection() *grpc.ClientConn { // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// CreateConversationModelOperationMetadata +// metadata: +// CreateConversationModelOperationMetadata // -// response: -// ConversationModel +// response: +// ConversationModel func (c *ConversationModelsClient) CreateConversationModel(ctx context.Context, req *dialogflowpb.CreateConversationModelRequest, opts ...gax.CallOption) (*CreateConversationModelOperation, error) { return c.internalClient.CreateConversationModel(ctx, req, opts...) } @@ -406,11 +406,11 @@ func (c *ConversationModelsClient) ListConversationModels(ctx context.Context, r // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// DeleteConversationModelOperationMetadata +// metadata: +// DeleteConversationModelOperationMetadata // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *ConversationModelsClient) DeleteConversationModel(ctx context.Context, req *dialogflowpb.DeleteConversationModelRequest, opts ...gax.CallOption) (*DeleteConversationModelOperation, error) { return c.internalClient.DeleteConversationModel(ctx, req, opts...) } @@ -430,11 +430,11 @@ func (c *ConversationModelsClient) DeleteConversationModelOperation(name string) // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// DeployConversationModelOperationMetadata +// metadata: +// DeployConversationModelOperationMetadata // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *ConversationModelsClient) DeployConversationModel(ctx context.Context, req *dialogflowpb.DeployConversationModelRequest, opts ...gax.CallOption) (*DeployConversationModelOperation, error) { return c.internalClient.DeployConversationModel(ctx, req, opts...) } @@ -448,18 +448,18 @@ func (c *ConversationModelsClient) DeployConversationModelOperation(name string) // UndeployConversationModel undeploys a model. If the model is not deployed this method has no effect. // If the model is currently being used: // -// For article suggestion, article suggestion will fallback to the default -// model if model is undeployed. +// For article suggestion, article suggestion will fallback to the default +// model if model is undeployed. // // This method is a long-running // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// UndeployConversationModelOperationMetadata +// metadata: +// UndeployConversationModelOperationMetadata // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *ConversationModelsClient) UndeployConversationModel(ctx context.Context, req *dialogflowpb.UndeployConversationModelRequest, opts ...gax.CallOption) (*UndeployConversationModelOperation, error) { return c.internalClient.UndeployConversationModel(ctx, req, opts...) } @@ -1069,11 +1069,11 @@ func (c *conversationModelsGRPCClient) ListOperations(ctx context.Context, req * // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// CreateConversationModelOperationMetadata +// metadata: +// CreateConversationModelOperationMetadata // -// response: -// ConversationModel +// response: +// ConversationModel func (c *conversationModelsRESTClient) CreateConversationModel(ctx context.Context, req *dialogflowpb.CreateConversationModelRequest, opts ...gax.CallOption) (*CreateConversationModelOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetConversationModel() @@ -1299,11 +1299,11 @@ func (c *conversationModelsRESTClient) ListConversationModels(ctx context.Contex // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// DeleteConversationModelOperationMetadata +// metadata: +// DeleteConversationModelOperationMetadata // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *conversationModelsRESTClient) DeleteConversationModel(ctx context.Context, req *dialogflowpb.DeleteConversationModelRequest, opts ...gax.CallOption) (*DeleteConversationModelOperation, error) { baseUrl, err := url.Parse(c.endpoint) if err != nil { @@ -1376,11 +1376,11 @@ func (c *conversationModelsRESTClient) DeleteConversationModel(ctx context.Conte // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// DeployConversationModelOperationMetadata +// metadata: +// DeployConversationModelOperationMetadata // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *conversationModelsRESTClient) DeployConversationModel(ctx context.Context, req *dialogflowpb.DeployConversationModelRequest, opts ...gax.CallOption) (*DeployConversationModelOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1453,18 +1453,18 @@ func (c *conversationModelsRESTClient) DeployConversationModel(ctx context.Conte // UndeployConversationModel undeploys a model. If the model is not deployed this method has no effect. // If the model is currently being used: // -// For article suggestion, article suggestion will fallback to the default -// model if model is undeployed. +// For article suggestion, article suggestion will fallback to the default +// model if model is undeployed. // // This method is a long-running // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// UndeployConversationModelOperationMetadata +// metadata: +// UndeployConversationModelOperationMetadata // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *conversationModelsRESTClient) UndeployConversationModel(ctx context.Context, req *dialogflowpb.UndeployConversationModelRequest, opts ...gax.CallOption) (*UndeployConversationModelOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/dialogflow/apiv2/conversation_profiles_client.go b/dialogflow/apiv2/conversation_profiles_client.go index 8c220f1f6b06..8949df7dbb52 100755 --- a/dialogflow/apiv2/conversation_profiles_client.go +++ b/dialogflow/apiv2/conversation_profiles_client.go @@ -361,11 +361,11 @@ func (c *ConversationProfilesClient) DeleteConversationProfile(ctx context.Conte // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// SetSuggestionFeatureConfigOperationMetadata +// metadata: +// SetSuggestionFeatureConfigOperationMetadata // -// response: -// ConversationProfile +// response: +// ConversationProfile // // If a long running operation to add or update suggestion feature // config for the same conversation profile, participant role and suggestion @@ -388,11 +388,11 @@ func (c *ConversationProfilesClient) SetSuggestionFeatureConfigOperation(name st // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// ClearSuggestionFeatureConfigOperationMetadata +// metadata: +// ClearSuggestionFeatureConfigOperationMetadata // -// response: -// ConversationProfile +// response: +// ConversationProfile func (c *ConversationProfilesClient) ClearSuggestionFeatureConfig(ctx context.Context, req *dialogflowpb.ClearSuggestionFeatureConfigRequest, opts ...gax.CallOption) (*ClearSuggestionFeatureConfigOperation, error) { return c.internalClient.ClearSuggestionFeatureConfig(ctx, req, opts...) } @@ -1254,11 +1254,11 @@ func (c *conversationProfilesRESTClient) DeleteConversationProfile(ctx context.C // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// SetSuggestionFeatureConfigOperationMetadata +// metadata: +// SetSuggestionFeatureConfigOperationMetadata // -// response: -// ConversationProfile +// response: +// ConversationProfile // // If a long running operation to add or update suggestion feature // config for the same conversation profile, participant role and suggestion @@ -1340,11 +1340,11 @@ func (c *conversationProfilesRESTClient) SetSuggestionFeatureConfig(ctx context. // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// ClearSuggestionFeatureConfigOperationMetadata +// metadata: +// ClearSuggestionFeatureConfigOperationMetadata // -// response: -// ConversationProfile +// response: +// ConversationProfile func (c *conversationProfilesRESTClient) ClearSuggestionFeatureConfig(ctx context.Context, req *dialogflowpb.ClearSuggestionFeatureConfigRequest, opts ...gax.CallOption) (*ClearSuggestionFeatureConfigOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/dialogflow/apiv2/dialogflowpb/agent.pb.go b/dialogflow/apiv2/dialogflowpb/agent.pb.go index 72ad7bf6e44a..03d4ae2eeeb4 100755 --- a/dialogflow/apiv2/dialogflowpb/agent.pb.go +++ b/dialogflow/apiv2/dialogflowpb/agent.pb.go @@ -21,11 +21,8 @@ package dialogflowpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( @@ -225,6 +224,7 @@ func (Agent_Tier) EnumDescriptor() ([]byte, []int) { // // For more information about agents, see the // [Agent guide](https://cloud.google.com/dialogflow/docs/agents-overview). +// type Agent struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/dialogflow/apiv2/dialogflowpb/answer_record.pb.go b/dialogflow/apiv2/dialogflowpb/answer_record.pb.go index 78b1661f2c4d..29fa25d8ae53 100755 --- a/dialogflow/apiv2/dialogflowpb/answer_record.pb.go +++ b/dialogflow/apiv2/dialogflowpb/answer_record.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -278,16 +277,14 @@ func (AgentAssistantFeedback_DocumentEfficiency) EnumDescriptor() ([]byte, []int // // A typical workflow for customers provide feedback to an answer is: // -// 1. For human agent assistant, customers get suggestion via ListSuggestions -// API. Together with the answers, -// [AnswerRecord.name][google.cloud.dialogflow.v2.AnswerRecord.name] are -// returned to the customers. -// 2. The customer uses the -// +// 1. For human agent assistant, customers get suggestion via ListSuggestions +// API. Together with the answers, +// [AnswerRecord.name][google.cloud.dialogflow.v2.AnswerRecord.name] are +// returned to the customers. +// 2. The customer uses the // [AnswerRecord.name][google.cloud.dialogflow.v2.AnswerRecord.name] to call the -// -// [UpdateAnswerRecord][] method to send feedback about a specific answer -// that they believe is wrong. +// [UpdateAnswerRecord][] method to send feedback about a specific answer +// that they believe is wrong. type AnswerRecord struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/dialogflow/apiv2/dialogflowpb/audio_config.pb.go b/dialogflow/apiv2/dialogflowpb/audio_config.pb.go index deb1efd8d5e9..e09e45bc5d23 100755 --- a/dialogflow/apiv2/dialogflowpb/audio_config.pb.go +++ b/dialogflow/apiv2/dialogflowpb/audio_config.pb.go @@ -21,13 +21,12 @@ package dialogflowpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/context.pb.go b/dialogflow/apiv2/dialogflowpb/context.pb.go index bad7cd9ff0a9..c57e9b005598 100755 --- a/dialogflow/apiv2/dialogflowpb/context.pb.go +++ b/dialogflow/apiv2/dialogflowpb/context.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/conversation.pb.go b/dialogflow/apiv2/dialogflowpb/conversation.pb.go index 5d3a3a2b788e..4ed613843708 100755 --- a/dialogflow/apiv2/dialogflowpb/conversation.pb.go +++ b/dialogflow/apiv2/dialogflowpb/conversation.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/conversation_dataset.pb.go b/dialogflow/apiv2/dialogflowpb/conversation_dataset.pb.go index 89032eba04c2..7a461ace6eb7 100755 --- a/dialogflow/apiv2/dialogflowpb/conversation_dataset.pb.go +++ b/dialogflow/apiv2/dialogflowpb/conversation_dataset.pb.go @@ -21,11 +21,8 @@ package dialogflowpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/conversation_event.pb.go b/dialogflow/apiv2/dialogflowpb/conversation_event.pb.go index 628c0d6d0fc7..28958ccbdf86 100755 --- a/dialogflow/apiv2/dialogflowpb/conversation_event.pb.go +++ b/dialogflow/apiv2/dialogflowpb/conversation_event.pb.go @@ -21,12 +21,11 @@ package dialogflowpb import ( - reflect "reflect" - sync "sync" - status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/conversation_model.pb.go b/dialogflow/apiv2/dialogflowpb/conversation_model.pb.go index 4faa335ab572..b54dd4a3c1c7 100755 --- a/dialogflow/apiv2/dialogflowpb/conversation_model.pb.go +++ b/dialogflow/apiv2/dialogflowpb/conversation_model.pb.go @@ -21,11 +21,8 @@ package dialogflowpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/conversation_profile.pb.go b/dialogflow/apiv2/dialogflowpb/conversation_profile.pb.go index 8bf8c778db82..cda00d5c4a6a 100755 --- a/dialogflow/apiv2/dialogflowpb/conversation_profile.pb.go +++ b/dialogflow/apiv2/dialogflowpb/conversation_profile.pb.go @@ -21,11 +21,8 @@ package dialogflowpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/document.pb.go b/dialogflow/apiv2/dialogflowpb/document.pb.go index b6880ca27c16..80e8b636176c 100755 --- a/dialogflow/apiv2/dialogflowpb/document.pb.go +++ b/dialogflow/apiv2/dialogflowpb/document.pb.go @@ -21,11 +21,8 @@ package dialogflowpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/entity_type.pb.go b/dialogflow/apiv2/dialogflowpb/entity_type.pb.go index fe592c8811f7..87a4576c5eb2 100755 --- a/dialogflow/apiv2/dialogflowpb/entity_type.pb.go +++ b/dialogflow/apiv2/dialogflowpb/entity_type.pb.go @@ -21,11 +21,8 @@ package dialogflowpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/environment.pb.go b/dialogflow/apiv2/dialogflowpb/environment.pb.go index bd42decd373c..4aa304910315 100755 --- a/dialogflow/apiv2/dialogflowpb/environment.pb.go +++ b/dialogflow/apiv2/dialogflowpb/environment.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/fulfillment.pb.go b/dialogflow/apiv2/dialogflowpb/fulfillment.pb.go index b362660b5024..7d3e1c0b1cb1 100755 --- a/dialogflow/apiv2/dialogflowpb/fulfillment.pb.go +++ b/dialogflow/apiv2/dialogflowpb/fulfillment.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/gcs.pb.go b/dialogflow/apiv2/dialogflowpb/gcs.pb.go index 0d9f0ba96839..6c74c04400eb 100755 --- a/dialogflow/apiv2/dialogflowpb/gcs.pb.go +++ b/dialogflow/apiv2/dialogflowpb/gcs.pb.go @@ -21,12 +21,11 @@ package dialogflowpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/human_agent_assistant_event.pb.go b/dialogflow/apiv2/dialogflowpb/human_agent_assistant_event.pb.go index cf748feb4fb9..88417b021f64 100755 --- a/dialogflow/apiv2/dialogflowpb/human_agent_assistant_event.pb.go +++ b/dialogflow/apiv2/dialogflowpb/human_agent_assistant_event.pb.go @@ -21,11 +21,10 @@ package dialogflowpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/intent.pb.go b/dialogflow/apiv2/dialogflowpb/intent.pb.go index 48aca8d8193b..6fcea9816ca2 100755 --- a/dialogflow/apiv2/dialogflowpb/intent.pb.go +++ b/dialogflow/apiv2/dialogflowpb/intent.pb.go @@ -21,11 +21,8 @@ package dialogflowpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/knowledge_base.pb.go b/dialogflow/apiv2/dialogflowpb/knowledge_base.pb.go index ffc43d7a7bd8..ac17c088a942 100755 --- a/dialogflow/apiv2/dialogflowpb/knowledge_base.pb.go +++ b/dialogflow/apiv2/dialogflowpb/knowledge_base.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/participant.pb.go b/dialogflow/apiv2/dialogflowpb/participant.pb.go index 5ec23bae6faa..7cbf32912941 100755 --- a/dialogflow/apiv2/dialogflowpb/participant.pb.go +++ b/dialogflow/apiv2/dialogflowpb/participant.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -1084,7 +1083,7 @@ func (x *AnalyzeContentResponse) GetDtmfParameters() *DtmfParameters { // // Multiple request messages should be sent in order: // -// 1. The first message must contain +// 1. The first message must contain // [participant][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.participant], // [config][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.config] // and optionally @@ -1097,27 +1096,26 @@ func (x *AnalyzeContentResponse) GetDtmfParameters() *DtmfParameters { // 2. If // [config][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.config] in // the first message +// was set to +// [audio_config][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.audio_config], +// all subsequent messages must contain +// [input_audio][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.input_audio] +// to continue with Speech recognition. However, note that: // -// was set to -// [audio_config][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.audio_config], -// all subsequent messages must contain -// [input_audio][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.input_audio] -// to continue with Speech recognition. However, note that: -// -// * Dialogflow will bill you for the audio so far. -// * Dialogflow discards all Speech recognition results in favor of the -// text input. +// * Dialogflow will bill you for the audio so far. +// * Dialogflow discards all Speech recognition results in favor of the +// text input. // -// 3. If -// [StreamingAnalyzeContentRequest.config][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.config] -// in the first message was set -// to -// [StreamingAnalyzeContentRequest.text_config][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.text_config], -// then the second message must contain only -// [input_text][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.input_text]. -// Moreover, you must not send more than two messages. +// 3. If +// [StreamingAnalyzeContentRequest.config][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.config] +// in the first message was set +// to +// [StreamingAnalyzeContentRequest.text_config][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.text_config], +// then the second message must contain only +// [input_text][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.input_text]. +// Moreover, you must not send more than two messages. // -// After you sent all input, you must half-close or abort the request stream. +// After you sent all input, you must half-close or abort the request stream. type StreamingAnalyzeContentRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1379,12 +1377,12 @@ func (*StreamingAnalyzeContentRequest_InputDtmf) isStreamingAnalyzeContentReques // // Multiple response messages can be returned in order: // -// 1. If the input was set to streaming audio, the first one or more messages +// 1. If the input was set to streaming audio, the first one or more messages // contain `recognition_result`. Each `recognition_result` represents a more // complete transcript of what the user said. The last `recognition_result` // has `is_final` set to `true`. // -// 2. In virtual agent stage: if `enable_partial_automated_agent_reply` is +// 2. In virtual agent stage: if `enable_partial_automated_agent_reply` is // true, the following N (currently 1 <= N <= 4) messages // contain `automated_agent_reply` and optionally `reply_audio` // returned by the virtual agent. The first (N-1) diff --git a/dialogflow/apiv2/dialogflowpb/session.pb.go b/dialogflow/apiv2/dialogflowpb/session.pb.go index c63925ba74fd..78b1def647e3 100755 --- a/dialogflow/apiv2/dialogflowpb/session.pb.go +++ b/dialogflow/apiv2/dialogflowpb/session.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" latlng "google.golang.org/genproto/googleapis/type/latlng" @@ -36,6 +33,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( @@ -835,33 +834,30 @@ func (x *QueryResult) GetSentimentAnalysisResult() *SentimentAnalysisResult { // // 1. The first message must contain // [session][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.session], -// -// [query_input][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.query_input] -// plus optionally -// [query_params][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.query_params]. -// If the client wants to receive an audio response, it should also contain -// [output_audio_config][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.output_audio_config]. -// The message must not contain -// [input_audio][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.input_audio]. -// +// [query_input][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.query_input] +// plus optionally +// [query_params][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.query_params]. +// If the client wants to receive an audio response, it should also contain +// [output_audio_config][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.output_audio_config]. +// The message must not contain +// [input_audio][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.input_audio]. // 2. If // [query_input][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.query_input] // was set to +// [query_input.audio_config][google.cloud.dialogflow.v2.InputAudioConfig], +// all subsequent messages must contain +// [input_audio][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.input_audio] +// to continue with Speech recognition. If you decide to rather detect an +// intent from text input after you already started Speech recognition, +// please send a message with +// [query_input.text][google.cloud.dialogflow.v2.QueryInput.text]. // -// [query_input.audio_config][google.cloud.dialogflow.v2.InputAudioConfig], -// all subsequent messages must contain -// [input_audio][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.input_audio] -// to continue with Speech recognition. If you decide to rather detect an -// intent from text input after you already started Speech recognition, -// please send a message with -// [query_input.text][google.cloud.dialogflow.v2.QueryInput.text]. -// -// However, note that: +// However, note that: // -// * Dialogflow will bill you for the audio duration so far. -// * Dialogflow discards all Speech recognition results in favor of the -// input text. -// * Dialogflow will use the language code from the first message. +// * Dialogflow will bill you for the audio duration so far. +// * Dialogflow discards all Speech recognition results in favor of the +// input text. +// * Dialogflow will use the language code from the first message. // // After you sent all input, you must half-close or abort the request stream. type StreamingDetectIntentRequest struct { @@ -1238,14 +1234,14 @@ func (x *CloudConversationDebuggingInfo) GetClientHalfCloseStreamingTimeOffset() // // Multiple response messages can be returned in order: // -// 1. If the `StreamingDetectIntentRequest.input_audio` field was +// 1. If the `StreamingDetectIntentRequest.input_audio` field was // set, the `recognition_result` field is populated for one // or more messages. // See the // [StreamingRecognitionResult][google.cloud.dialogflow.v2.StreamingRecognitionResult] // message for details about the result message sequence. // -// 2. The next message contains `response_id`, `query_result` +// 2. The next message contains `response_id`, `query_result` // and optionally `webhook_status` if a WebHook was called. type StreamingDetectIntentResponse struct { state protoimpl.MessageState diff --git a/dialogflow/apiv2/dialogflowpb/session_entity_type.pb.go b/dialogflow/apiv2/dialogflowpb/session_entity_type.pb.go index f2e97af4f3e6..44c20f75def0 100755 --- a/dialogflow/apiv2/dialogflowpb/session_entity_type.pb.go +++ b/dialogflow/apiv2/dialogflowpb/session_entity_type.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/validation_result.pb.go b/dialogflow/apiv2/dialogflowpb/validation_result.pb.go index fb72d28191f0..fcf8c6f040ad 100755 --- a/dialogflow/apiv2/dialogflowpb/validation_result.pb.go +++ b/dialogflow/apiv2/dialogflowpb/validation_result.pb.go @@ -21,11 +21,10 @@ package dialogflowpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/version.pb.go b/dialogflow/apiv2/dialogflowpb/version.pb.go index 8a3f61348627..d4b6d9157ca1 100755 --- a/dialogflow/apiv2/dialogflowpb/version.pb.go +++ b/dialogflow/apiv2/dialogflowpb/version.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/webhook.pb.go b/dialogflow/apiv2/dialogflowpb/webhook.pb.go index 3a628eeb7ab5..c80cdcd05f28 100755 --- a/dialogflow/apiv2/dialogflowpb/webhook.pb.go +++ b/dialogflow/apiv2/dialogflowpb/webhook.pb.go @@ -21,12 +21,11 @@ package dialogflowpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2/doc.go b/dialogflow/apiv2/doc.go index 077f694a7fde..1b543c24daeb 100755 --- a/dialogflow/apiv2/doc.go +++ b/dialogflow/apiv2/doc.go @@ -20,64 +20,63 @@ // Builds conversational interfaces (for example, chatbots, and voice-powered // apps and devices). // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dialogflow.NewAgentsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dialogflow.NewAgentsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dialogflow.NewAgentsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &dialogflowpb.DeleteAgentRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/dialogflow/apiv2/dialogflowpb#DeleteAgentRequest. -// } -// err = c.DeleteAgent(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dialogflow.NewAgentsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &dialogflowpb.DeleteAgentRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/dialogflow/apiv2/dialogflowpb#DeleteAgentRequest. +// } +// err = c.DeleteAgent(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// Use of Context // // The ctx passed to NewAgentsClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/dialogflow/apiv2/documents_client.go b/dialogflow/apiv2/documents_client.go index 7b7bdfab4079..ae70d89a8370 100755 --- a/dialogflow/apiv2/documents_client.go +++ b/dialogflow/apiv2/documents_client.go @@ -362,10 +362,10 @@ func (c *DocumentsClient) GetDocument(ctx context.Context, req *dialogflowpb.Get // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: Document +// response: Document func (c *DocumentsClient) CreateDocument(ctx context.Context, req *dialogflowpb.CreateDocumentRequest, opts ...gax.CallOption) (*CreateDocumentOperation, error) { return c.internalClient.CreateDocument(ctx, req, opts...) } @@ -384,11 +384,11 @@ func (c *DocumentsClient) CreateDocumentOperation(name string) *CreateDocumentOp // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: -// ImportDocumentsResponse +// response: +// ImportDocumentsResponse func (c *DocumentsClient) ImportDocuments(ctx context.Context, req *dialogflowpb.ImportDocumentsRequest, opts ...gax.CallOption) (*ImportDocumentsOperation, error) { return c.internalClient.ImportDocuments(ctx, req, opts...) } @@ -405,11 +405,11 @@ func (c *DocumentsClient) ImportDocumentsOperation(name string) *ImportDocuments // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *DocumentsClient) DeleteDocument(ctx context.Context, req *dialogflowpb.DeleteDocumentRequest, opts ...gax.CallOption) (*DeleteDocumentOperation, error) { return c.internalClient.DeleteDocument(ctx, req, opts...) } @@ -426,10 +426,10 @@ func (c *DocumentsClient) DeleteDocumentOperation(name string) *DeleteDocumentOp // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: Document +// response: Document func (c *DocumentsClient) UpdateDocument(ctx context.Context, req *dialogflowpb.UpdateDocumentRequest, opts ...gax.CallOption) (*UpdateDocumentOperation, error) { return c.internalClient.UpdateDocument(ctx, req, opts...) } @@ -449,10 +449,10 @@ func (c *DocumentsClient) UpdateDocumentOperation(name string) *UpdateDocumentOp // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: Document +// response: Document // // Note: The projects.agent.knowledgeBases.documents resource is deprecated; // only use projects.knowledgeBases.documents. @@ -473,10 +473,10 @@ func (c *DocumentsClient) ReloadDocumentOperation(name string) *ReloadDocumentOp // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: Document +// response: Document func (c *DocumentsClient) ExportDocument(ctx context.Context, req *dialogflowpb.ExportDocumentRequest, opts ...gax.CallOption) (*ExportDocumentOperation, error) { return c.internalClient.ExportDocument(ctx, req, opts...) } @@ -1175,10 +1175,10 @@ func (c *documentsRESTClient) GetDocument(ctx context.Context, req *dialogflowpb // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: Document +// response: Document func (c *documentsRESTClient) CreateDocument(ctx context.Context, req *dialogflowpb.CreateDocumentRequest, opts ...gax.CallOption) (*CreateDocumentOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetDocument() @@ -1257,11 +1257,11 @@ func (c *documentsRESTClient) CreateDocument(ctx context.Context, req *dialogflo // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: -// ImportDocumentsResponse +// response: +// ImportDocumentsResponse func (c *documentsRESTClient) ImportDocuments(ctx context.Context, req *dialogflowpb.ImportDocumentsRequest, opts ...gax.CallOption) (*ImportDocumentsOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1337,11 +1337,11 @@ func (c *documentsRESTClient) ImportDocuments(ctx context.Context, req *dialogfl // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *documentsRESTClient) DeleteDocument(ctx context.Context, req *dialogflowpb.DeleteDocumentRequest, opts ...gax.CallOption) (*DeleteDocumentOperation, error) { baseUrl, err := url.Parse(c.endpoint) if err != nil { @@ -1411,10 +1411,10 @@ func (c *documentsRESTClient) DeleteDocument(ctx context.Context, req *dialogflo // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: Document +// response: Document func (c *documentsRESTClient) UpdateDocument(ctx context.Context, req *dialogflowpb.UpdateDocumentRequest, opts ...gax.CallOption) (*UpdateDocumentOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetDocument() @@ -1501,10 +1501,10 @@ func (c *documentsRESTClient) UpdateDocument(ctx context.Context, req *dialogflo // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: Document +// response: Document // // Note: The projects.agent.knowledgeBases.documents resource is deprecated; // only use projects.knowledgeBases.documents. @@ -1584,10 +1584,10 @@ func (c *documentsRESTClient) ReloadDocument(ctx context.Context, req *dialogflo // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: Document +// response: Document func (c *documentsRESTClient) ExportDocument(ctx context.Context, req *dialogflowpb.ExportDocumentRequest, opts ...gax.CallOption) (*ExportDocumentOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/dialogflow/apiv2/entity_types_client.go b/dialogflow/apiv2/entity_types_client.go index 3a1a3bcf9d19..09924f756779 100755 --- a/dialogflow/apiv2/entity_types_client.go +++ b/dialogflow/apiv2/entity_types_client.go @@ -437,11 +437,11 @@ func (c *EntityTypesClient) DeleteEntityType(ctx context.Context, req *dialogflo // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// BatchUpdateEntityTypesResponse +// response: +// BatchUpdateEntityTypesResponse // // Note: You should always train an agent prior to sending it queries. See the // training @@ -462,11 +462,11 @@ func (c *EntityTypesClient) BatchUpdateEntityTypesOperation(name string) *BatchU // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -487,11 +487,11 @@ func (c *EntityTypesClient) BatchDeleteEntityTypesOperation(name string) *BatchD // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -514,11 +514,11 @@ func (c *EntityTypesClient) BatchCreateEntitiesOperation(name string) *BatchCrea // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -539,11 +539,11 @@ func (c *EntityTypesClient) BatchUpdateEntitiesOperation(name string) *BatchUpda // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1478,11 +1478,11 @@ func (c *entityTypesRESTClient) DeleteEntityType(ctx context.Context, req *dialo // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// BatchUpdateEntityTypesResponse +// response: +// BatchUpdateEntityTypesResponse // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1562,11 +1562,11 @@ func (c *entityTypesRESTClient) BatchUpdateEntityTypes(ctx context.Context, req // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1646,11 +1646,11 @@ func (c *entityTypesRESTClient) BatchDeleteEntityTypes(ctx context.Context, req // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1732,11 +1732,11 @@ func (c *entityTypesRESTClient) BatchCreateEntities(ctx context.Context, req *di // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1816,11 +1816,11 @@ func (c *entityTypesRESTClient) BatchUpdateEntities(ctx context.Context, req *di // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training diff --git a/dialogflow/apiv2/intents_client.go b/dialogflow/apiv2/intents_client.go index 10287eb104c2..9943bd6a7957 100755 --- a/dialogflow/apiv2/intents_client.go +++ b/dialogflow/apiv2/intents_client.go @@ -359,11 +359,11 @@ func (c *IntentsClient) DeleteIntent(ctx context.Context, req *dialogflowpb.Dele // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// BatchUpdateIntentsResponse +// response: +// BatchUpdateIntentsResponse // // Note: You should always train an agent prior to sending it queries. See the // training @@ -384,11 +384,11 @@ func (c *IntentsClient) BatchUpdateIntentsOperation(name string) *BatchUpdateInt // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1275,11 +1275,11 @@ func (c *intentsRESTClient) DeleteIntent(ctx context.Context, req *dialogflowpb. // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// BatchUpdateIntentsResponse +// response: +// BatchUpdateIntentsResponse // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1359,11 +1359,11 @@ func (c *intentsRESTClient) BatchUpdateIntents(ctx context.Context, req *dialogf // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training diff --git a/dialogflow/apiv2beta1/agents_client.go b/dialogflow/apiv2beta1/agents_client.go index 2ca624cdd741..f84f7bef3852 100755 --- a/dialogflow/apiv2beta1/agents_client.go +++ b/dialogflow/apiv2beta1/agents_client.go @@ -403,11 +403,11 @@ func (c *AgentsClient) SearchAgents(ctx context.Context, req *dialogflowpb.Searc // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -428,11 +428,11 @@ func (c *AgentsClient) TrainAgentOperation(name string) *TrainAgentOperation { // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ExportAgentResponse +// response: +// ExportAgentResponse func (c *AgentsClient) ExportAgent(ctx context.Context, req *dialogflowpb.ExportAgentRequest, opts ...gax.CallOption) (*ExportAgentOperation, error) { return c.internalClient.ExportAgent(ctx, req, opts...) } @@ -459,11 +459,11 @@ func (c *AgentsClient) ExportAgentOperation(name string) *ExportAgentOperation { // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // The operation only tracks when importing is complete, not when it is done // training. @@ -495,11 +495,11 @@ func (c *AgentsClient) ImportAgentOperation(name string) *ImportAgentOperation { // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // The operation only tracks when restoring is complete, not when it is done // training. @@ -1341,11 +1341,11 @@ func (c *agentsRESTClient) SearchAgents(ctx context.Context, req *dialogflowpb.S // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1425,11 +1425,11 @@ func (c *agentsRESTClient) TrainAgent(ctx context.Context, req *dialogflowpb.Tra // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ExportAgentResponse +// response: +// ExportAgentResponse func (c *agentsRESTClient) ExportAgent(ctx context.Context, req *dialogflowpb.ExportAgentRequest, opts ...gax.CallOption) (*ExportAgentOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1515,11 +1515,11 @@ func (c *agentsRESTClient) ExportAgent(ctx context.Context, req *dialogflowpb.Ex // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // The operation only tracks when importing is complete, not when it is done // training. @@ -1610,11 +1610,11 @@ func (c *agentsRESTClient) ImportAgent(ctx context.Context, req *dialogflowpb.Im // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // The operation only tracks when restoring is complete, not when it is done // training. diff --git a/dialogflow/apiv2beta1/conversation_profiles_client.go b/dialogflow/apiv2beta1/conversation_profiles_client.go index dc2683b37056..4d6339c18e96 100755 --- a/dialogflow/apiv2beta1/conversation_profiles_client.go +++ b/dialogflow/apiv2beta1/conversation_profiles_client.go @@ -361,11 +361,11 @@ func (c *ConversationProfilesClient) DeleteConversationProfile(ctx context.Conte // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// SetSuggestionFeatureConfigOperationMetadata +// metadata: +// SetSuggestionFeatureConfigOperationMetadata // -// response: -// ConversationProfile +// response: +// ConversationProfile // // If a long running operation to add or update suggestion feature // config for the same conversation profile, participant role and suggestion @@ -388,11 +388,11 @@ func (c *ConversationProfilesClient) SetSuggestionFeatureConfigOperation(name st // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// ClearSuggestionFeatureConfigOperationMetadata +// metadata: +// ClearSuggestionFeatureConfigOperationMetadata // -// response: -// ConversationProfile +// response: +// ConversationProfile func (c *ConversationProfilesClient) ClearSuggestionFeatureConfig(ctx context.Context, req *dialogflowpb.ClearSuggestionFeatureConfigRequest, opts ...gax.CallOption) (*ClearSuggestionFeatureConfigOperation, error) { return c.internalClient.ClearSuggestionFeatureConfig(ctx, req, opts...) } @@ -1254,11 +1254,11 @@ func (c *conversationProfilesRESTClient) DeleteConversationProfile(ctx context.C // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// SetSuggestionFeatureConfigOperationMetadata +// metadata: +// SetSuggestionFeatureConfigOperationMetadata // -// response: -// ConversationProfile +// response: +// ConversationProfile // // If a long running operation to add or update suggestion feature // config for the same conversation profile, participant role and suggestion @@ -1340,11 +1340,11 @@ func (c *conversationProfilesRESTClient) SetSuggestionFeatureConfig(ctx context. // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// ClearSuggestionFeatureConfigOperationMetadata +// metadata: +// ClearSuggestionFeatureConfigOperationMetadata // -// response: -// ConversationProfile +// response: +// ConversationProfile func (c *conversationProfilesRESTClient) ClearSuggestionFeatureConfig(ctx context.Context, req *dialogflowpb.ClearSuggestionFeatureConfigRequest, opts ...gax.CallOption) (*ClearSuggestionFeatureConfigOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/dialogflow/apiv2beta1/dialogflowpb/agent.pb.go b/dialogflow/apiv2beta1/dialogflowpb/agent.pb.go index a0dcff4c7e3f..d0247995c9ef 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/agent.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/agent.pb.go @@ -21,11 +21,8 @@ package dialogflowpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( @@ -225,6 +224,7 @@ func (Agent_Tier) EnumDescriptor() ([]byte, []int) { // // For more information about agents, see the // [Agent guide](https://cloud.google.com/dialogflow/docs/agents-overview). +// type Agent struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/dialogflow/apiv2beta1/dialogflowpb/answer_record.pb.go b/dialogflow/apiv2beta1/dialogflowpb/answer_record.pb.go index 7504afc2f56f..cb012af38eb6 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/answer_record.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/answer_record.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -278,17 +277,15 @@ func (AgentAssistantFeedback_DocumentEfficiency) EnumDescriptor() ([]byte, []int // // A typical workflow for customers provide feedback to an answer is: // -// 1. For human agent assistant, customers get suggestion via ListSuggestions -// API. Together with the answers, -// [AnswerRecord.name][google.cloud.dialogflow.v2beta1.AnswerRecord.name] are -// returned to the customers. -// 2. The customer uses the -// +// 1. For human agent assistant, customers get suggestion via ListSuggestions +// API. Together with the answers, +// [AnswerRecord.name][google.cloud.dialogflow.v2beta1.AnswerRecord.name] are +// returned to the customers. +// 2. The customer uses the // [AnswerRecord.name][google.cloud.dialogflow.v2beta1.AnswerRecord.name] to // call the -// -// [UpdateAnswerRecord][] method to send feedback about a specific answer -// that they believe is wrong. +// [UpdateAnswerRecord][] method to send feedback about a specific answer +// that they believe is wrong. type AnswerRecord struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/dialogflow/apiv2beta1/dialogflowpb/audio_config.pb.go b/dialogflow/apiv2beta1/dialogflowpb/audio_config.pb.go index ba377a654818..1af24327b661 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/audio_config.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/audio_config.pb.go @@ -21,13 +21,12 @@ package dialogflowpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( @@ -631,13 +630,13 @@ func (x *SpeechWordInfo) GetConfidence() float32 { // as soon as it starts playing back the audio from the previous response. The // playback is modeled into two phases: // -// - No barge-in phase: which goes first and during which speech detection -// should not be carried out. +// * No barge-in phase: which goes first and during which speech detection +// should not be carried out. // -// - Barge-in phase: which follows the no barge-in phase and during which -// the API starts speech detection and may inform the client that an utterance -// has been detected. Note that no-speech event is not expected in this -// phase. +// * Barge-in phase: which follows the no barge-in phase and during which +// the API starts speech detection and may inform the client that an utterance +// has been detected. Note that no-speech event is not expected in this +// phase. // // The client provides this configuration in terms of the durations of those // two phases. The durations are measured in terms of the audio length fromt the @@ -649,14 +648,10 @@ func (x *SpeechWordInfo) GetConfidence() float32 { // --> Time // // without speech detection | utterance only | utterance or no-speech event -// -// | | -// +-------------+ | +------------+ | +---------------+ -// +// | | +// +-------------+ | +------------+ | +---------------+ // ----------+ no barge-in +-|-+ barge-in +-|-+ normal period +----------- -// -// +-------------+ | +------------+ | +---------------+ -// +// +-------------+ | +------------+ | +---------------+ // ``` // // No-speech event is a response with END_OF_UTTERANCE without any transcript diff --git a/dialogflow/apiv2beta1/dialogflowpb/context.pb.go b/dialogflow/apiv2beta1/dialogflowpb/context.pb.go index f2a48bd76c21..f53bf00628da 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/context.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/context.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/conversation.pb.go b/dialogflow/apiv2beta1/dialogflowpb/conversation.pb.go index 307fecb0a931..598c22b77df9 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/conversation.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/conversation.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/conversation_event.pb.go b/dialogflow/apiv2beta1/dialogflowpb/conversation_event.pb.go index 3a300d717f03..6d7a92d41aab 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/conversation_event.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/conversation_event.pb.go @@ -21,12 +21,11 @@ package dialogflowpb import ( - reflect "reflect" - sync "sync" - status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/conversation_profile.pb.go b/dialogflow/apiv2beta1/dialogflowpb/conversation_profile.pb.go index 2de4e80677a7..c4490e44be29 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/conversation_profile.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/conversation_profile.pb.go @@ -21,11 +21,8 @@ package dialogflowpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/document.pb.go b/dialogflow/apiv2beta1/dialogflowpb/document.pb.go index 12cc54ecb66f..a198ed49143e 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/document.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/document.pb.go @@ -21,11 +21,8 @@ package dialogflowpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/entity_type.pb.go b/dialogflow/apiv2beta1/dialogflowpb/entity_type.pb.go index d89756fd49e7..88fca9c8991a 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/entity_type.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/entity_type.pb.go @@ -21,11 +21,8 @@ package dialogflowpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/environment.pb.go b/dialogflow/apiv2beta1/dialogflowpb/environment.pb.go index b6df275e4899..a58f4afe2e7a 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/environment.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/environment.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/fulfillment.pb.go b/dialogflow/apiv2beta1/dialogflowpb/fulfillment.pb.go index 9ec5aa43e983..348878757188 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/fulfillment.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/fulfillment.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/gcs.pb.go b/dialogflow/apiv2beta1/dialogflowpb/gcs.pb.go index 7aebcd7951e2..16dc49990c70 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/gcs.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/gcs.pb.go @@ -21,12 +21,11 @@ package dialogflowpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/human_agent_assistant_event.pb.go b/dialogflow/apiv2beta1/dialogflowpb/human_agent_assistant_event.pb.go index 6a1ef634a7b5..ec3d47e396a9 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/human_agent_assistant_event.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/human_agent_assistant_event.pb.go @@ -21,11 +21,10 @@ package dialogflowpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/intent.pb.go b/dialogflow/apiv2beta1/dialogflowpb/intent.pb.go index 5186a6a742e8..86238d052abb 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/intent.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/intent.pb.go @@ -21,11 +21,8 @@ package dialogflowpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( @@ -4789,14 +4788,14 @@ func (x *Intent_Message_CarouselSelect_Item) GetImage() *Intent_Message_Image { // Rich Business Messaging (RBM) Media displayed in Cards // The following media-types are currently supported: // -// # Image Types +// Image Types // // * image/jpeg // * image/jpg' // * image/gif // * image/png // -// # Video Types +// Video Types // // * video/h263 // * video/m4v diff --git a/dialogflow/apiv2beta1/dialogflowpb/knowledge_base.pb.go b/dialogflow/apiv2beta1/dialogflowpb/knowledge_base.pb.go index a1a0a18d0250..4237a20eed01 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/knowledge_base.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/knowledge_base.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/participant.pb.go b/dialogflow/apiv2beta1/dialogflowpb/participant.pb.go index fa2cef7177a7..f51690b7b8e1 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/participant.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/participant.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -1854,7 +1853,7 @@ func (x *InputTextConfig) GetLanguageCode() string { // // Multiple request messages should be sent in order: // -// 1. The first message must contain +// 1. The first message must contain // [participant][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.participant], // [config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config] // and optionally @@ -1867,32 +1866,31 @@ func (x *InputTextConfig) GetLanguageCode() string { // 2. If // [config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config] // in the first message +// was set to +// [audio_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.audio_config], +// all subsequent messages must contain +// [input_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_audio] +// to continue with Speech recognition. If you decide to rather analyze text +// input after you already started Speech recognition, please send a message +// with +// [StreamingAnalyzeContentRequest.input_text][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_text]. // -// was set to -// [audio_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.audio_config], -// all subsequent messages must contain -// [input_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_audio] -// to continue with Speech recognition. If you decide to rather analyze text -// input after you already started Speech recognition, please send a message -// with -// [StreamingAnalyzeContentRequest.input_text][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_text]. -// -// However, note that: +// However, note that: // -// * Dialogflow will bill you for the audio so far. -// * Dialogflow discards all Speech recognition results in favor of the -// text input. +// * Dialogflow will bill you for the audio so far. +// * Dialogflow discards all Speech recognition results in favor of the +// text input. // -// 3. If -// [StreamingAnalyzeContentRequest.config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config] -// in the first message was set -// to -// [StreamingAnalyzeContentRequest.text_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.text_config], -// then the second message must contain only -// [input_text][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_text]. -// Moreover, you must not send more than two messages. +// 3. If +// [StreamingAnalyzeContentRequest.config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config] +// in the first message was set +// to +// [StreamingAnalyzeContentRequest.text_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.text_config], +// then the second message must contain only +// [input_text][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_text]. +// Moreover, you must not send more than two messages. // -// After you sent all input, you must half-close or abort the request stream. +// After you sent all input, you must half-close or abort the request stream. type StreamingAnalyzeContentRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2176,12 +2174,12 @@ func (*StreamingAnalyzeContentRequest_InputDtmf) isStreamingAnalyzeContentReques // // Multiple response messages can be returned in order: // -// 1. If the input was set to streaming audio, the first one or more messages +// 1. If the input was set to streaming audio, the first one or more messages // contain `recognition_result`. Each `recognition_result` represents a more // complete transcript of what the user said. The last `recognition_result` // has `is_final` set to `true`. // -// 2. In virtual agent stage: if `enable_partial_automated_agent_reply` is +// 2. In virtual agent stage: if `enable_partial_automated_agent_reply` is // true, the following N (currently 1 <= N <= 4) messages // contain `automated_agent_reply` and optionally `reply_audio` // returned by the virtual agent. The first (N-1) @@ -4445,10 +4443,10 @@ func (x *ResponseMessage_Text) GetText() []string { // // You may set this, for example: // -// - In the entry fulfillment of a CX Page if entering the page indicates -// something went extremely wrong in the conversation. -// - In a webhook response when you determine that the customer issue can only -// be handled by a human. +// * In the entry fulfillment of a CX Page if entering the page indicates +// something went extremely wrong in the conversation. +// * In a webhook response when you determine that the customer issue can only +// be handled by a human. type ResponseMessage_LiveAgentHandoff struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/dialogflow/apiv2beta1/dialogflowpb/session.pb.go b/dialogflow/apiv2beta1/dialogflowpb/session.pb.go index 1533f74a9eb0..4645e6679766 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/session.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/session.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" latlng "google.golang.org/genproto/googleapis/type/latlng" @@ -36,6 +33,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( @@ -1021,33 +1020,30 @@ func (x *KnowledgeAnswers) GetAnswers() []*KnowledgeAnswers_Answer { // // 1. The first message must contain // [session][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.session], -// -// [query_input][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_input] -// plus optionally -// [query_params][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_params]. -// If the client wants to receive an audio response, it should also contain -// [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]. -// The message must not contain -// [input_audio][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.input_audio]. -// +// [query_input][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_input] +// plus optionally +// [query_params][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_params]. +// If the client wants to receive an audio response, it should also contain +// [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]. +// The message must not contain +// [input_audio][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.input_audio]. // 2. If // [query_input][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_input] // was set to +// [query_input.audio_config][google.cloud.dialogflow.v2beta1.InputAudioConfig], +// all subsequent messages must contain +// [input_audio][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.input_audio] +// to continue with Speech recognition. If you decide to rather detect an +// intent from text input after you already started Speech recognition, +// please send a message with +// [query_input.text][google.cloud.dialogflow.v2beta1.QueryInput.text]. // -// [query_input.audio_config][google.cloud.dialogflow.v2beta1.InputAudioConfig], -// all subsequent messages must contain -// [input_audio][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.input_audio] -// to continue with Speech recognition. If you decide to rather detect an -// intent from text input after you already started Speech recognition, -// please send a message with -// [query_input.text][google.cloud.dialogflow.v2beta1.QueryInput.text]. -// -// However, note that: +// However, note that: // -// * Dialogflow will bill you for the audio duration so far. -// * Dialogflow discards all Speech recognition results in favor of the -// input text. -// * Dialogflow will use the language code from the first message. +// * Dialogflow will bill you for the audio duration so far. +// * Dialogflow discards all Speech recognition results in favor of the +// input text. +// * Dialogflow will use the language code from the first message. // // After you sent all input, you must half-close or abort the request stream. type StreamingDetectIntentRequest struct { @@ -1431,18 +1427,18 @@ func (x *CloudConversationDebuggingInfo) GetClientHalfCloseStreamingTimeOffset() // // Multiple response messages can be returned in order: // -// 1. If the `StreamingDetectIntentRequest.input_audio` field was +// 1. If the `StreamingDetectIntentRequest.input_audio` field was // set, the `recognition_result` field is populated for one // or more messages. // See the // [StreamingRecognitionResult][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult] // message for details about the result message sequence. // -// 2. The next message contains `response_id`, `query_result`, +// 2. The next message contains `response_id`, `query_result`, // `alternative_query_results` and optionally `webhook_status` if a WebHook // was called. // -// 3. If `output_audio_config` was specified in the request or agent-level +// 3. If `output_audio_config` was specified in the request or agent-level // speech synthesizer is configured, all subsequent messages contain // `output_audio` and `output_audio_config`. type StreamingDetectIntentResponse struct { diff --git a/dialogflow/apiv2beta1/dialogflowpb/session_entity_type.pb.go b/dialogflow/apiv2beta1/dialogflowpb/session_entity_type.pb.go index 6877947237c8..358c28c01493 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/session_entity_type.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/session_entity_type.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/validation_result.pb.go b/dialogflow/apiv2beta1/dialogflowpb/validation_result.pb.go index a8728a5c682b..6ba96aa82a99 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/validation_result.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/validation_result.pb.go @@ -21,11 +21,10 @@ package dialogflowpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/version.pb.go b/dialogflow/apiv2beta1/dialogflowpb/version.pb.go index a9c87e70b9c0..c8facdf59f1c 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/version.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/version.pb.go @@ -22,9 +22,6 @@ package dialogflowpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/webhook.pb.go b/dialogflow/apiv2beta1/dialogflowpb/webhook.pb.go index 737fbfc3bf7e..421b9a9ba1d0 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/webhook.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/webhook.pb.go @@ -21,12 +21,11 @@ package dialogflowpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/doc.go b/dialogflow/apiv2beta1/doc.go index 0ca428b141e1..740d6fe08047 100755 --- a/dialogflow/apiv2beta1/doc.go +++ b/dialogflow/apiv2beta1/doc.go @@ -20,66 +20,65 @@ // Builds conversational interfaces (for example, chatbots, and voice-powered // apps and devices). // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dialogflow.NewAgentsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dialogflow.NewAgentsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dialogflow.NewAgentsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &dialogflowpb.DeleteAgentRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/dialogflow/apiv2beta1/dialogflowpb#DeleteAgentRequest. -// } -// err = c.DeleteAgent(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dialogflow.NewAgentsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &dialogflowpb.DeleteAgentRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/dialogflow/apiv2beta1/dialogflowpb#DeleteAgentRequest. +// } +// err = c.DeleteAgent(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// Use of Context // // The ctx passed to NewAgentsClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/dialogflow/apiv2beta1/documents_client.go b/dialogflow/apiv2beta1/documents_client.go index 77b869d6fab9..d428e5b1fdce 100755 --- a/dialogflow/apiv2beta1/documents_client.go +++ b/dialogflow/apiv2beta1/documents_client.go @@ -342,10 +342,10 @@ func (c *DocumentsClient) GetDocument(ctx context.Context, req *dialogflowpb.Get // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: Document +// response: Document // // Note: The projects.agent.knowledgeBases.documents resource is deprecated; // only use projects.knowledgeBases.documents. @@ -367,11 +367,11 @@ func (c *DocumentsClient) CreateDocumentOperation(name string) *CreateDocumentOp // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: -// ImportDocumentsResponse +// response: +// ImportDocumentsResponse func (c *DocumentsClient) ImportDocuments(ctx context.Context, req *dialogflowpb.ImportDocumentsRequest, opts ...gax.CallOption) (*ImportDocumentsOperation, error) { return c.internalClient.ImportDocuments(ctx, req, opts...) } @@ -388,11 +388,11 @@ func (c *DocumentsClient) ImportDocumentsOperation(name string) *ImportDocuments // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: The projects.agent.knowledgeBases.documents resource is deprecated; // only use projects.knowledgeBases.documents. @@ -412,10 +412,10 @@ func (c *DocumentsClient) DeleteDocumentOperation(name string) *DeleteDocumentOp // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: Document +// response: Document // // Note: The projects.agent.knowledgeBases.documents resource is deprecated; // only use projects.knowledgeBases.documents. @@ -441,10 +441,10 @@ func (c *DocumentsClient) UpdateDocumentOperation(name string) *UpdateDocumentOp // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: Document +// response: Document // // Note: The projects.agent.knowledgeBases.documents resource is deprecated; // only use projects.knowledgeBases.documents. @@ -1132,10 +1132,10 @@ func (c *documentsRESTClient) GetDocument(ctx context.Context, req *dialogflowpb // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: Document +// response: Document // // Note: The projects.agent.knowledgeBases.documents resource is deprecated; // only use projects.knowledgeBases.documents. @@ -1220,11 +1220,11 @@ func (c *documentsRESTClient) CreateDocument(ctx context.Context, req *dialogflo // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: -// ImportDocumentsResponse +// response: +// ImportDocumentsResponse func (c *documentsRESTClient) ImportDocuments(ctx context.Context, req *dialogflowpb.ImportDocumentsRequest, opts ...gax.CallOption) (*ImportDocumentsOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1300,11 +1300,11 @@ func (c *documentsRESTClient) ImportDocuments(ctx context.Context, req *dialogfl // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: The projects.agent.knowledgeBases.documents resource is deprecated; // only use projects.knowledgeBases.documents. @@ -1377,10 +1377,10 @@ func (c *documentsRESTClient) DeleteDocument(ctx context.Context, req *dialogflo // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: Document +// response: Document // // Note: The projects.agent.knowledgeBases.documents resource is deprecated; // only use projects.knowledgeBases.documents. @@ -1473,10 +1473,10 @@ func (c *documentsRESTClient) UpdateDocument(ctx context.Context, req *dialogflo // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: Document +// response: Document // // Note: The projects.agent.knowledgeBases.documents resource is deprecated; // only use projects.knowledgeBases.documents. diff --git a/dialogflow/apiv2beta1/entity_types_client.go b/dialogflow/apiv2beta1/entity_types_client.go index c5d4f2a108fb..85785c5a6bd5 100755 --- a/dialogflow/apiv2beta1/entity_types_client.go +++ b/dialogflow/apiv2beta1/entity_types_client.go @@ -438,11 +438,11 @@ func (c *EntityTypesClient) DeleteEntityType(ctx context.Context, req *dialogflo // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// BatchUpdateEntityTypesResponse +// response: +// BatchUpdateEntityTypesResponse // // Note: You should always train an agent prior to sending it queries. See the // training @@ -463,11 +463,11 @@ func (c *EntityTypesClient) BatchUpdateEntityTypesOperation(name string) *BatchU // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -488,11 +488,11 @@ func (c *EntityTypesClient) BatchDeleteEntityTypesOperation(name string) *BatchD // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -519,11 +519,11 @@ func (c *EntityTypesClient) BatchCreateEntitiesOperation(name string) *BatchCrea // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *EntityTypesClient) BatchUpdateEntities(ctx context.Context, req *dialogflowpb.BatchUpdateEntitiesRequest, opts ...gax.CallOption) (*BatchUpdateEntitiesOperation, error) { return c.internalClient.BatchUpdateEntities(ctx, req, opts...) } @@ -540,11 +540,11 @@ func (c *EntityTypesClient) BatchUpdateEntitiesOperation(name string) *BatchUpda // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1481,11 +1481,11 @@ func (c *entityTypesRESTClient) DeleteEntityType(ctx context.Context, req *dialo // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// BatchUpdateEntityTypesResponse +// response: +// BatchUpdateEntityTypesResponse // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1565,11 +1565,11 @@ func (c *entityTypesRESTClient) BatchUpdateEntityTypes(ctx context.Context, req // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1649,11 +1649,11 @@ func (c *entityTypesRESTClient) BatchDeleteEntityTypes(ctx context.Context, req // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1739,11 +1739,11 @@ func (c *entityTypesRESTClient) BatchCreateEntities(ctx context.Context, req *di // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *entityTypesRESTClient) BatchUpdateEntities(ctx context.Context, req *dialogflowpb.BatchUpdateEntitiesRequest, opts ...gax.CallOption) (*BatchUpdateEntitiesOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1819,11 +1819,11 @@ func (c *entityTypesRESTClient) BatchUpdateEntities(ctx context.Context, req *di // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training diff --git a/dialogflow/apiv2beta1/intents_client.go b/dialogflow/apiv2beta1/intents_client.go index e54a7e0175d7..a26d54613df4 100755 --- a/dialogflow/apiv2beta1/intents_client.go +++ b/dialogflow/apiv2beta1/intents_client.go @@ -359,11 +359,11 @@ func (c *IntentsClient) DeleteIntent(ctx context.Context, req *dialogflowpb.Dele // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// BatchUpdateIntentsResponse +// response: +// BatchUpdateIntentsResponse // // Note: You should always train an agent prior to sending it queries. See the // training @@ -384,11 +384,11 @@ func (c *IntentsClient) BatchUpdateIntentsOperation(name string) *BatchUpdateInt // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1275,11 +1275,11 @@ func (c *intentsRESTClient) DeleteIntent(ctx context.Context, req *dialogflowpb. // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// BatchUpdateIntentsResponse +// response: +// BatchUpdateIntentsResponse // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1359,11 +1359,11 @@ func (c *intentsRESTClient) BatchUpdateIntents(ctx context.Context, req *dialogf // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training diff --git a/dialogflow/cx/apiv3/agents_client.go b/dialogflow/cx/apiv3/agents_client.go index 398d6867d2ec..8a0afc4188ea 100755 --- a/dialogflow/cx/apiv3/agents_client.go +++ b/dialogflow/cx/apiv3/agents_client.go @@ -455,11 +455,11 @@ func (c *AgentsClient) DeleteAgent(ctx context.Context, req *cxpb.DeleteAgentReq // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ExportAgentResponse +// response: +// ExportAgentResponse func (c *AgentsClient) ExportAgent(ctx context.Context, req *cxpb.ExportAgentRequest, opts ...gax.CallOption) (*ExportAgentOperation, error) { return c.internalClient.ExportAgent(ctx, req, opts...) } @@ -479,11 +479,11 @@ func (c *AgentsClient) ExportAgentOperation(name string) *ExportAgentOperation { // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train flows prior to sending them queries. See the // training @@ -1437,11 +1437,11 @@ func (c *agentsRESTClient) DeleteAgent(ctx context.Context, req *cxpb.DeleteAgen // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ExportAgentResponse +// response: +// ExportAgentResponse func (c *agentsRESTClient) ExportAgent(ctx context.Context, req *cxpb.ExportAgentRequest, opts ...gax.CallOption) (*ExportAgentOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1520,11 +1520,11 @@ func (c *agentsRESTClient) ExportAgent(ctx context.Context, req *cxpb.ExportAgen // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train flows prior to sending them queries. See the // training diff --git a/dialogflow/cx/apiv3/cxpb/advanced_settings.pb.go b/dialogflow/cx/apiv3/cxpb/advanced_settings.pb.go index 54d05c482e19..845ab53d942b 100755 --- a/dialogflow/cx/apiv3/cxpb/advanced_settings.pb.go +++ b/dialogflow/cx/apiv3/cxpb/advanced_settings.pb.go @@ -21,12 +21,11 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/agent.pb.go b/dialogflow/cx/apiv3/cxpb/agent.pb.go index c387a2bc4379..d47bd1632e5b 100755 --- a/dialogflow/cx/apiv3/cxpb/agent.pb.go +++ b/dialogflow/cx/apiv3/cxpb/agent.pb.go @@ -21,11 +21,8 @@ package cxpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/audio_config.pb.go b/dialogflow/cx/apiv3/cxpb/audio_config.pb.go index c029fc1ac97c..f20b62951fc7 100755 --- a/dialogflow/cx/apiv3/cxpb/audio_config.pb.go +++ b/dialogflow/cx/apiv3/cxpb/audio_config.pb.go @@ -21,13 +21,12 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( @@ -442,13 +441,13 @@ func (x *SpeechWordInfo) GetConfidence() float32 { // as soon as it starts playing back the audio from the previous response. The // playback is modeled into two phases: // -// - No barge-in phase: which goes first and during which speech detection -// should not be carried out. +// * No barge-in phase: which goes first and during which speech detection +// should not be carried out. // -// - Barge-in phase: which follows the no barge-in phase and during which -// the API starts speech detection and may inform the client that an utterance -// has been detected. Note that no-speech event is not expected in this -// phase. +// * Barge-in phase: which follows the no barge-in phase and during which +// the API starts speech detection and may inform the client that an utterance +// has been detected. Note that no-speech event is not expected in this +// phase. // // The client provides this configuration in terms of the durations of those // two phases. The durations are measured in terms of the audio length from the diff --git a/dialogflow/cx/apiv3/cxpb/changelog.pb.go b/dialogflow/cx/apiv3/cxpb/changelog.pb.go index f79c5e9b9607..2c479a7fd1b0 100755 --- a/dialogflow/cx/apiv3/cxpb/changelog.pb.go +++ b/dialogflow/cx/apiv3/cxpb/changelog.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/data_store_connection.pb.go b/dialogflow/cx/apiv3/cxpb/data_store_connection.pb.go index 1b8448466d0c..bce40b28de87 100755 --- a/dialogflow/cx/apiv3/cxpb/data_store_connection.pb.go +++ b/dialogflow/cx/apiv3/cxpb/data_store_connection.pb.go @@ -21,11 +21,10 @@ package cxpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/deployment.pb.go b/dialogflow/cx/apiv3/cxpb/deployment.pb.go index 591e9a287c61..15b4d5f34ef6 100755 --- a/dialogflow/cx/apiv3/cxpb/deployment.pb.go +++ b/dialogflow/cx/apiv3/cxpb/deployment.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/entity_type.pb.go b/dialogflow/cx/apiv3/cxpb/entity_type.pb.go index 94da4cef7688..6f6bad1c321a 100755 --- a/dialogflow/cx/apiv3/cxpb/entity_type.pb.go +++ b/dialogflow/cx/apiv3/cxpb/entity_type.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( @@ -165,18 +164,18 @@ func (EntityType_AutoExpansionMode) EnumDescriptor() ([]byte, []int) { // // There are three types of entities: // -// - **System** - entities that are defined by the Dialogflow API for common +// * **System** - entities that are defined by the Dialogflow API for common // data types such as date, time, currency, and so on. A system entity is // represented by the `EntityType` type. // -// - **Custom** - entities that are defined by you that represent +// * **Custom** - entities that are defined by you that represent // actionable data that is meaningful to your application. For example, // you could define a `pizza.sauce` entity for red or white pizza sauce, // a `pizza.cheese` entity for the different types of cheese on a pizza, // a `pizza.topping` entity for different toppings, and so on. A custom // entity is represented by the `EntityType` type. // -// - **User** - entities that are built for an individual user such as +// * **User** - entities that are built for an individual user such as // favorites, preferences, playlists, and so on. A user entity is // represented by the // [SessionEntityType][google.cloud.dialogflow.cx.v3.SessionEntityType] diff --git a/dialogflow/cx/apiv3/cxpb/environment.pb.go b/dialogflow/cx/apiv3/cxpb/environment.pb.go index 399453cfcbaa..1d86473090ce 100755 --- a/dialogflow/cx/apiv3/cxpb/environment.pb.go +++ b/dialogflow/cx/apiv3/cxpb/environment.pb.go @@ -21,11 +21,8 @@ package cxpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/experiment.pb.go b/dialogflow/cx/apiv3/cxpb/experiment.pb.go index afff43a5e5fb..660489a9b0d2 100755 --- a/dialogflow/cx/apiv3/cxpb/experiment.pb.go +++ b/dialogflow/cx/apiv3/cxpb/experiment.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/flow.pb.go b/dialogflow/cx/apiv3/cxpb/flow.pb.go index 2869284882a5..3384b8ba8eeb 100755 --- a/dialogflow/cx/apiv3/cxpb/flow.pb.go +++ b/dialogflow/cx/apiv3/cxpb/flow.pb.go @@ -21,11 +21,8 @@ package cxpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/fulfillment.pb.go b/dialogflow/cx/apiv3/cxpb/fulfillment.pb.go index 521df7eed377..6b420b32398a 100755 --- a/dialogflow/cx/apiv3/cxpb/fulfillment.pb.go +++ b/dialogflow/cx/apiv3/cxpb/fulfillment.pb.go @@ -21,13 +21,12 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( @@ -39,9 +38,9 @@ const ( // A fulfillment can do one or more of the following actions at the same time: // -// - Generate rich message responses. -// - Set parameter values. -// - Call the webhook. +// * Generate rich message responses. +// * Set parameter values. +// * Call the webhook. // // Fulfillments can be called at various stages in the // [Page][google.cloud.dialogflow.cx.v3.Page] or diff --git a/dialogflow/cx/apiv3/cxpb/gcs.pb.go b/dialogflow/cx/apiv3/cxpb/gcs.pb.go index c73bdd515dfe..c25089bf8435 100755 --- a/dialogflow/cx/apiv3/cxpb/gcs.pb.go +++ b/dialogflow/cx/apiv3/cxpb/gcs.pb.go @@ -21,12 +21,11 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/generative_settings.pb.go b/dialogflow/cx/apiv3/cxpb/generative_settings.pb.go index 920b5d43eb88..4a1228060f62 100755 --- a/dialogflow/cx/apiv3/cxpb/generative_settings.pb.go +++ b/dialogflow/cx/apiv3/cxpb/generative_settings.pb.go @@ -21,12 +21,11 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/import_strategy.pb.go b/dialogflow/cx/apiv3/cxpb/import_strategy.pb.go index 9d08ec717da4..71a8eaec21e2 100755 --- a/dialogflow/cx/apiv3/cxpb/import_strategy.pb.go +++ b/dialogflow/cx/apiv3/cxpb/import_strategy.pb.go @@ -21,11 +21,10 @@ package cxpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/inline.pb.go b/dialogflow/cx/apiv3/cxpb/inline.pb.go index 598e48b9e11d..7748609f04c4 100755 --- a/dialogflow/cx/apiv3/cxpb/inline.pb.go +++ b/dialogflow/cx/apiv3/cxpb/inline.pb.go @@ -21,12 +21,11 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/intent.pb.go b/dialogflow/cx/apiv3/cxpb/intent.pb.go index 181c18138226..aae05eeac19a 100755 --- a/dialogflow/cx/apiv3/cxpb/intent.pb.go +++ b/dialogflow/cx/apiv3/cxpb/intent.pb.go @@ -21,11 +21,8 @@ package cxpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/page.pb.go b/dialogflow/cx/apiv3/cxpb/page.pb.go index 404b285e80ff..33c01863ad36 100755 --- a/dialogflow/cx/apiv3/cxpb/page.pb.go +++ b/dialogflow/cx/apiv3/cxpb/page.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/response_message.pb.go b/dialogflow/cx/apiv3/cxpb/response_message.pb.go index c7742ea6e85d..a977ad079f57 100755 --- a/dialogflow/cx/apiv3/cxpb/response_message.pb.go +++ b/dialogflow/cx/apiv3/cxpb/response_message.pb.go @@ -21,13 +21,12 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( @@ -105,15 +104,15 @@ func (ResponseMessage_ResponseType) EnumDescriptor() ([]byte, []int) { // Response messages are also used for output audio synthesis. The approach is // as follows: // -// - If at least one OutputAudioText response is present, then all -// OutputAudioText responses are linearly concatenated, and the result is used -// for output audio synthesis. -// - If the OutputAudioText responses are a mixture of text and SSML, then the -// concatenated result is treated as SSML; otherwise, the result is treated as -// either text or SSML as appropriate. The agent designer should ideally use -// either text or SSML consistently throughout the bot design. -// - Otherwise, all Text responses are linearly concatenated, and the result is -// used for output audio synthesis. +// * If at least one OutputAudioText response is present, then all +// OutputAudioText responses are linearly concatenated, and the result is used +// for output audio synthesis. +// * If the OutputAudioText responses are a mixture of text and SSML, then the +// concatenated result is treated as SSML; otherwise, the result is treated as +// either text or SSML as appropriate. The agent designer should ideally use +// either text or SSML consistently throughout the bot design. +// * Otherwise, all Text responses are linearly concatenated, and the result is +// used for output audio synthesis. // // This approach allows for more sophisticated user experience scenarios, where // the text displayed to the user may differ from what is heard. @@ -428,11 +427,10 @@ func (x *ResponseMessage_Text) GetAllowPlaybackInterruption() bool { // * In the // [entry_fulfillment][google.cloud.dialogflow.cx.v3.Page.entry_fulfillment] // of a [Page][google.cloud.dialogflow.cx.v3.Page] if -// -// entering the page indicates something went extremely wrong in the -// conversation. -// - In a webhook response when you determine that the customer issue can only -// be handled by a human. +// entering the page indicates something went extremely wrong in the +// conversation. +// * In a webhook response when you determine that the customer issue can only +// be handled by a human. type ResponseMessage_LiveAgentHandoff struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -495,10 +493,9 @@ func (x *ResponseMessage_LiveAgentHandoff) GetMetadata() *structpb.Struct { // * In the // [entry_fulfillment][google.cloud.dialogflow.cx.v3.Page.entry_fulfillment] // of a [Page][google.cloud.dialogflow.cx.v3.Page] if -// -// entering the page indicates that the conversation succeeded. -// - In a webhook response when you determine that you handled the customer -// issue. +// entering the page indicates that the conversation succeeded. +// * In a webhook response when you determine that you handled the customer +// issue. type ResponseMessage_ConversationSuccess struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/dialogflow/cx/apiv3/cxpb/safety_settings.pb.go b/dialogflow/cx/apiv3/cxpb/safety_settings.pb.go index 744b67afa86c..2c9ebdbc46c6 100755 --- a/dialogflow/cx/apiv3/cxpb/safety_settings.pb.go +++ b/dialogflow/cx/apiv3/cxpb/safety_settings.pb.go @@ -21,12 +21,11 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/security_settings.pb.go b/dialogflow/cx/apiv3/cxpb/security_settings.pb.go index d6dc37a688cb..fc2c022df74c 100755 --- a/dialogflow/cx/apiv3/cxpb/security_settings.pb.go +++ b/dialogflow/cx/apiv3/cxpb/security_settings.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/session.pb.go b/dialogflow/cx/apiv3/cxpb/session.pb.go index 3f4e87edf78c..ff6dcdae6693 100755 --- a/dialogflow/cx/apiv3/cxpb/session.pb.go +++ b/dialogflow/cx/apiv3/cxpb/session.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" latlng "google.golang.org/genproto/googleapis/type/latlng" @@ -36,6 +33,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( @@ -634,7 +633,7 @@ func (x *DetectIntentResponse) GetAllowCancellation() bool { // // Multiple request messages should be sent in order: // -// 1. The first message must contain +// 1. The first message must contain // [session][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.session], // [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] // plus optionally @@ -645,21 +644,20 @@ func (x *DetectIntentResponse) GetAllowCancellation() bool { // 2. If // [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] // was set to +// [query_input.audio.config][google.cloud.dialogflow.cx.v3.AudioInput.config], +// all subsequent messages must contain +// [query_input.audio.audio][google.cloud.dialogflow.cx.v3.AudioInput.audio] +// to continue with Speech recognition. If you decide to rather detect an +// intent from text input after you already started Speech recognition, +// please send a message with +// [query_input.text][google.cloud.dialogflow.cx.v3.QueryInput.text]. // -// [query_input.audio.config][google.cloud.dialogflow.cx.v3.AudioInput.config], -// all subsequent messages must contain -// [query_input.audio.audio][google.cloud.dialogflow.cx.v3.AudioInput.audio] -// to continue with Speech recognition. If you decide to rather detect an -// intent from text input after you already started Speech recognition, -// please send a message with -// [query_input.text][google.cloud.dialogflow.cx.v3.QueryInput.text]. -// -// However, note that: +// However, note that: // -// * Dialogflow will bill you for the audio duration so far. -// * Dialogflow discards all Speech recognition results in favor of the -// input text. -// * Dialogflow will use the language code from the first message. +// * Dialogflow will bill you for the audio duration so far. +// * Dialogflow discards all Speech recognition results in favor of the +// input text. +// * Dialogflow will use the language code from the first message. // // After you sent all input, you must half-close or abort the request stream. type StreamingDetectIntentRequest struct { @@ -996,7 +994,7 @@ func (x *CloudConversationDebuggingInfo) GetClientHalfCloseStreamingTimeOffset() // The first (N-1) responses set either the `recognition_result` or // `detect_intent_response` field, depending on the request: // -// - If the `StreamingDetectIntentRequest.query_input.audio` field was +// * If the `StreamingDetectIntentRequest.query_input.audio` field was // set, and the `StreamingDetectIntentRequest.enable_partial_response` // field was false, the `recognition_result` field is populated for each // of the (N-1) responses. @@ -1004,7 +1002,7 @@ func (x *CloudConversationDebuggingInfo) GetClientHalfCloseStreamingTimeOffset() // [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult] // message for details about the result message sequence. // -// - If the `StreamingDetectIntentRequest.enable_partial_response` field was +// * If the `StreamingDetectIntentRequest.enable_partial_response` field was // true, the `detect_intent_response` field is populated for each // of the (N-1) responses, where 1 <= N <= 4. // These responses set the diff --git a/dialogflow/cx/apiv3/cxpb/session_entity_type.pb.go b/dialogflow/cx/apiv3/cxpb/session_entity_type.pb.go index 3202d7caa81e..a81f77c024c2 100755 --- a/dialogflow/cx/apiv3/cxpb/session_entity_type.pb.go +++ b/dialogflow/cx/apiv3/cxpb/session_entity_type.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/test_case.pb.go b/dialogflow/cx/apiv3/cxpb/test_case.pb.go index 38f08b54ab12..805d59c44ff6 100755 --- a/dialogflow/cx/apiv3/cxpb/test_case.pb.go +++ b/dialogflow/cx/apiv3/cxpb/test_case.pb.go @@ -21,11 +21,8 @@ package cxpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/transition_route_group.pb.go b/dialogflow/cx/apiv3/cxpb/transition_route_group.pb.go index 9c46419fe275..9f26a1636928 100755 --- a/dialogflow/cx/apiv3/cxpb/transition_route_group.pb.go +++ b/dialogflow/cx/apiv3/cxpb/transition_route_group.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/validation_message.pb.go b/dialogflow/cx/apiv3/cxpb/validation_message.pb.go index 8a9212829a83..35a35a0c19f9 100755 --- a/dialogflow/cx/apiv3/cxpb/validation_message.pb.go +++ b/dialogflow/cx/apiv3/cxpb/validation_message.pb.go @@ -21,11 +21,10 @@ package cxpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/version.pb.go b/dialogflow/cx/apiv3/cxpb/version.pb.go index 345e0de80bb5..2236a6335b2d 100755 --- a/dialogflow/cx/apiv3/cxpb/version.pb.go +++ b/dialogflow/cx/apiv3/cxpb/version.pb.go @@ -21,11 +21,8 @@ package cxpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/webhook.pb.go b/dialogflow/cx/apiv3/cxpb/webhook.pb.go index 7def99c95e6c..3de8183a14ab 100755 --- a/dialogflow/cx/apiv3/cxpb/webhook.pb.go +++ b/dialogflow/cx/apiv3/cxpb/webhook.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/doc.go b/dialogflow/cx/apiv3/doc.go index 925709f3a5bb..817b247edc1a 100755 --- a/dialogflow/cx/apiv3/doc.go +++ b/dialogflow/cx/apiv3/doc.go @@ -20,66 +20,65 @@ // Builds conversational interfaces (for example, chatbots, and voice-powered // apps and devices). // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cx.NewPagesClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cx.NewPagesClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cx.NewPagesClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &cxpb.CreatePageRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/dialogflow/cx/apiv3/cxpb#CreatePageRequest. -// } -// resp, err := c.CreatePage(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cx.NewPagesClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &cxpb.CreatePageRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/dialogflow/cx/apiv3/cxpb#CreatePageRequest. +// } +// resp, err := c.CreatePage(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewPagesClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/dialogflow/cx/apiv3/environments_client.go b/dialogflow/cx/apiv3/environments_client.go index 7f5ff112fa65..0f919e871c1d 100755 --- a/dialogflow/cx/apiv3/environments_client.go +++ b/dialogflow/cx/apiv3/environments_client.go @@ -388,10 +388,10 @@ func (c *EnvironmentsClient) GetEnvironment(ctx context.Context, req *cxpb.GetEn // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: Environment +// response: Environment func (c *EnvironmentsClient) CreateEnvironment(ctx context.Context, req *cxpb.CreateEnvironmentRequest, opts ...gax.CallOption) (*CreateEnvironmentOperation, error) { return c.internalClient.CreateEnvironment(ctx, req, opts...) } @@ -409,10 +409,10 @@ func (c *EnvironmentsClient) CreateEnvironmentOperation(name string) *CreateEnvi // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: Environment +// response: Environment func (c *EnvironmentsClient) UpdateEnvironment(ctx context.Context, req *cxpb.UpdateEnvironmentRequest, opts ...gax.CallOption) (*UpdateEnvironmentOperation, error) { return c.internalClient.UpdateEnvironment(ctx, req, opts...) } @@ -442,11 +442,11 @@ func (c *EnvironmentsClient) LookupEnvironmentHistory(ctx context.Context, req * // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// RunContinuousTestMetadata +// metadata: +// RunContinuousTestMetadata // -// response: -// RunContinuousTestResponse +// response: +// RunContinuousTestResponse func (c *EnvironmentsClient) RunContinuousTest(ctx context.Context, req *cxpb.RunContinuousTestRequest, opts ...gax.CallOption) (*RunContinuousTestOperation, error) { return c.internalClient.RunContinuousTest(ctx, req, opts...) } @@ -469,11 +469,11 @@ func (c *EnvironmentsClient) ListContinuousTestResults(ctx context.Context, req // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// DeployFlowMetadata +// metadata: +// DeployFlowMetadata // -// response: -// DeployFlowResponse +// response: +// DeployFlowResponse func (c *EnvironmentsClient) DeployFlow(ctx context.Context, req *cxpb.DeployFlowRequest, opts ...gax.CallOption) (*DeployFlowOperation, error) { return c.internalClient.DeployFlow(ctx, req, opts...) } @@ -1238,10 +1238,10 @@ func (c *environmentsRESTClient) GetEnvironment(ctx context.Context, req *cxpb.G // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: Environment +// response: Environment func (c *environmentsRESTClient) CreateEnvironment(ctx context.Context, req *cxpb.CreateEnvironmentRequest, opts ...gax.CallOption) (*CreateEnvironmentOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetEnvironment() @@ -1319,10 +1319,10 @@ func (c *environmentsRESTClient) CreateEnvironment(ctx context.Context, req *cxp // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: Environment +// response: Environment func (c *environmentsRESTClient) UpdateEnvironment(ctx context.Context, req *cxpb.UpdateEnvironmentRequest, opts ...gax.CallOption) (*UpdateEnvironmentOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetEnvironment() @@ -1540,11 +1540,11 @@ func (c *environmentsRESTClient) LookupEnvironmentHistory(ctx context.Context, r // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// RunContinuousTestMetadata +// metadata: +// RunContinuousTestMetadata // -// response: -// RunContinuousTestResponse +// response: +// RunContinuousTestResponse func (c *environmentsRESTClient) RunContinuousTest(ctx context.Context, req *cxpb.RunContinuousTestRequest, opts ...gax.CallOption) (*RunContinuousTestOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1710,11 +1710,11 @@ func (c *environmentsRESTClient) ListContinuousTestResults(ctx context.Context, // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// DeployFlowMetadata +// metadata: +// DeployFlowMetadata // -// response: -// DeployFlowResponse +// response: +// DeployFlowResponse func (c *environmentsRESTClient) DeployFlow(ctx context.Context, req *cxpb.DeployFlowRequest, opts ...gax.CallOption) (*DeployFlowOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/dialogflow/cx/apiv3/flows_client.go b/dialogflow/cx/apiv3/flows_client.go index 9485b21a0546..0a82f205d1cd 100755 --- a/dialogflow/cx/apiv3/flows_client.go +++ b/dialogflow/cx/apiv3/flows_client.go @@ -432,11 +432,11 @@ func (c *FlowsClient) UpdateFlow(ctx context.Context, req *cxpb.UpdateFlowReques // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train a flow prior to sending it queries. See the // training @@ -470,11 +470,11 @@ func (c *FlowsClient) GetFlowValidationResult(ctx context.Context, req *cxpb.Get // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ImportFlowResponse +// response: +// ImportFlowResponse // // Note: You should always train a flow prior to sending it queries. See the // training @@ -495,11 +495,11 @@ func (c *FlowsClient) ImportFlowOperation(name string) *ImportFlowOperation { // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ExportFlowResponse +// response: +// ExportFlowResponse // // Note that resources (e.g. intents, entities, webhooks) that the flow // references will also be exported. @@ -1429,11 +1429,11 @@ func (c *flowsRESTClient) UpdateFlow(ctx context.Context, req *cxpb.UpdateFlowRe // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train a flow prior to sending it queries. See the // training @@ -1645,11 +1645,11 @@ func (c *flowsRESTClient) GetFlowValidationResult(ctx context.Context, req *cxpb // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ImportFlowResponse +// response: +// ImportFlowResponse // // Note: You should always train a flow prior to sending it queries. See the // training @@ -1729,11 +1729,11 @@ func (c *flowsRESTClient) ImportFlow(ctx context.Context, req *cxpb.ImportFlowRe // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ExportFlowResponse +// response: +// ExportFlowResponse // // Note that resources (e.g. intents, entities, webhooks) that the flow // references will also be exported. diff --git a/dialogflow/cx/apiv3/intents_client.go b/dialogflow/cx/apiv3/intents_client.go index 94b53464468c..d7c3f597725e 100755 --- a/dialogflow/cx/apiv3/intents_client.go +++ b/dialogflow/cx/apiv3/intents_client.go @@ -359,11 +359,11 @@ func (c *IntentsClient) DeleteIntent(ctx context.Context, req *cxpb.DeleteIntent // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ImportIntentsMetadata +// metadata: +// ImportIntentsMetadata // -// response: -// ImportIntentsResponse +// response: +// ImportIntentsResponse func (c *IntentsClient) ImportIntents(ctx context.Context, req *cxpb.ImportIntentsRequest, opts ...gax.CallOption) (*ImportIntentsOperation, error) { return c.internalClient.ImportIntents(ctx, req, opts...) } @@ -380,11 +380,11 @@ func (c *IntentsClient) ImportIntentsOperation(name string) *ImportIntentsOperat // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ExportIntentsMetadata +// metadata: +// ExportIntentsMetadata // -// response: -// ExportIntentsResponse +// response: +// ExportIntentsResponse func (c *IntentsClient) ExportIntents(ctx context.Context, req *cxpb.ExportIntentsRequest, opts ...gax.CallOption) (*ExportIntentsOperation, error) { return c.internalClient.ExportIntents(ctx, req, opts...) } @@ -1258,11 +1258,11 @@ func (c *intentsRESTClient) DeleteIntent(ctx context.Context, req *cxpb.DeleteIn // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ImportIntentsMetadata +// metadata: +// ImportIntentsMetadata // -// response: -// ImportIntentsResponse +// response: +// ImportIntentsResponse func (c *intentsRESTClient) ImportIntents(ctx context.Context, req *cxpb.ImportIntentsRequest, opts ...gax.CallOption) (*ImportIntentsOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1338,11 +1338,11 @@ func (c *intentsRESTClient) ImportIntents(ctx context.Context, req *cxpb.ImportI // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ExportIntentsMetadata +// metadata: +// ExportIntentsMetadata // -// response: -// ExportIntentsResponse +// response: +// ExportIntentsResponse func (c *intentsRESTClient) ExportIntents(ctx context.Context, req *cxpb.ExportIntentsRequest, opts ...gax.CallOption) (*ExportIntentsOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/dialogflow/cx/apiv3/test_cases_client.go b/dialogflow/cx/apiv3/test_cases_client.go index f00a9ab9e641..7b23a2da5790 100755 --- a/dialogflow/cx/apiv3/test_cases_client.go +++ b/dialogflow/cx/apiv3/test_cases_client.go @@ -475,11 +475,11 @@ func (c *TestCasesClient) UpdateTestCase(ctx context.Context, req *cxpb.UpdateTe // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// RunTestCaseMetadata +// metadata: +// RunTestCaseMetadata // -// response: -// RunTestCaseResponse +// response: +// RunTestCaseResponse func (c *TestCasesClient) RunTestCase(ctx context.Context, req *cxpb.RunTestCaseRequest, opts ...gax.CallOption) (*RunTestCaseOperation, error) { return c.internalClient.RunTestCase(ctx, req, opts...) } @@ -496,11 +496,11 @@ func (c *TestCasesClient) RunTestCaseOperation(name string) *RunTestCaseOperatio // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// BatchRunTestCasesMetadata +// metadata: +// BatchRunTestCasesMetadata // -// response: -// BatchRunTestCasesResponse +// response: +// BatchRunTestCasesResponse func (c *TestCasesClient) BatchRunTestCases(ctx context.Context, req *cxpb.BatchRunTestCasesRequest, opts ...gax.CallOption) (*BatchRunTestCasesOperation, error) { return c.internalClient.BatchRunTestCases(ctx, req, opts...) } @@ -524,11 +524,11 @@ func (c *TestCasesClient) CalculateCoverage(ctx context.Context, req *cxpb.Calcu // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ImportTestCasesMetadata +// metadata: +// ImportTestCasesMetadata // -// response: -// ImportTestCasesResponse +// response: +// ImportTestCasesResponse func (c *TestCasesClient) ImportTestCases(ctx context.Context, req *cxpb.ImportTestCasesRequest, opts ...gax.CallOption) (*ImportTestCasesOperation, error) { return c.internalClient.ImportTestCases(ctx, req, opts...) } @@ -546,11 +546,11 @@ func (c *TestCasesClient) ImportTestCasesOperation(name string) *ImportTestCases // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ExportTestCasesMetadata +// metadata: +// ExportTestCasesMetadata // -// response: -// ExportTestCasesResponse +// response: +// ExportTestCasesResponse func (c *TestCasesClient) ExportTestCases(ctx context.Context, req *cxpb.ExportTestCasesRequest, opts ...gax.CallOption) (*ExportTestCasesOperation, error) { return c.internalClient.ExportTestCases(ctx, req, opts...) } @@ -1541,11 +1541,11 @@ func (c *testCasesRESTClient) UpdateTestCase(ctx context.Context, req *cxpb.Upda // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// RunTestCaseMetadata +// metadata: +// RunTestCaseMetadata // -// response: -// RunTestCaseResponse +// response: +// RunTestCaseResponse func (c *testCasesRESTClient) RunTestCase(ctx context.Context, req *cxpb.RunTestCaseRequest, opts ...gax.CallOption) (*RunTestCaseOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1621,11 +1621,11 @@ func (c *testCasesRESTClient) RunTestCase(ctx context.Context, req *cxpb.RunTest // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// BatchRunTestCasesMetadata +// metadata: +// BatchRunTestCasesMetadata // -// response: -// BatchRunTestCasesResponse +// response: +// BatchRunTestCasesResponse func (c *testCasesRESTClient) BatchRunTestCases(ctx context.Context, req *cxpb.BatchRunTestCasesRequest, opts ...gax.CallOption) (*BatchRunTestCasesOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1764,11 +1764,11 @@ func (c *testCasesRESTClient) CalculateCoverage(ctx context.Context, req *cxpb.C // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ImportTestCasesMetadata +// metadata: +// ImportTestCasesMetadata // -// response: -// ImportTestCasesResponse +// response: +// ImportTestCasesResponse func (c *testCasesRESTClient) ImportTestCases(ctx context.Context, req *cxpb.ImportTestCasesRequest, opts ...gax.CallOption) (*ImportTestCasesOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1845,11 +1845,11 @@ func (c *testCasesRESTClient) ImportTestCases(ctx context.Context, req *cxpb.Imp // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ExportTestCasesMetadata +// metadata: +// ExportTestCasesMetadata // -// response: -// ExportTestCasesResponse +// response: +// ExportTestCasesResponse func (c *testCasesRESTClient) ExportTestCases(ctx context.Context, req *cxpb.ExportTestCasesRequest, opts ...gax.CallOption) (*ExportTestCasesOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/dialogflow/cx/apiv3/versions_client.go b/dialogflow/cx/apiv3/versions_client.go index 04b8cf0821ae..e34ad3626773 100755 --- a/dialogflow/cx/apiv3/versions_client.go +++ b/dialogflow/cx/apiv3/versions_client.go @@ -334,10 +334,10 @@ func (c *VersionsClient) GetVersion(ctx context.Context, req *cxpb.GetVersionReq // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// CreateVersionOperationMetadata +// metadata: +// CreateVersionOperationMetadata // -// response: Version +// response: Version func (c *VersionsClient) CreateVersion(ctx context.Context, req *cxpb.CreateVersionRequest, opts ...gax.CallOption) (*CreateVersionOperation, error) { return c.internalClient.CreateVersion(ctx, req, opts...) } @@ -364,11 +364,11 @@ func (c *VersionsClient) DeleteVersion(ctx context.Context, req *cxpb.DeleteVers // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *VersionsClient) LoadVersion(ctx context.Context, req *cxpb.LoadVersionRequest, opts ...gax.CallOption) (*LoadVersionOperation, error) { return c.internalClient.LoadVersion(ctx, req, opts...) } @@ -1039,10 +1039,10 @@ func (c *versionsRESTClient) GetVersion(ctx context.Context, req *cxpb.GetVersio // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// CreateVersionOperationMetadata +// metadata: +// CreateVersionOperationMetadata // -// response: Version +// response: Version func (c *versionsRESTClient) CreateVersion(ctx context.Context, req *cxpb.CreateVersionRequest, opts ...gax.CallOption) (*CreateVersionOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetVersion() @@ -1235,11 +1235,11 @@ func (c *versionsRESTClient) DeleteVersion(ctx context.Context, req *cxpb.Delete // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *versionsRESTClient) LoadVersion(ctx context.Context, req *cxpb.LoadVersionRequest, opts ...gax.CallOption) (*LoadVersionOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/dialogflow/cx/apiv3beta1/agents_client.go b/dialogflow/cx/apiv3beta1/agents_client.go index aebc24658dd5..1555808d2b3e 100755 --- a/dialogflow/cx/apiv3beta1/agents_client.go +++ b/dialogflow/cx/apiv3beta1/agents_client.go @@ -455,11 +455,11 @@ func (c *AgentsClient) DeleteAgent(ctx context.Context, req *cxpb.DeleteAgentReq // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ExportAgentResponse +// response: +// ExportAgentResponse func (c *AgentsClient) ExportAgent(ctx context.Context, req *cxpb.ExportAgentRequest, opts ...gax.CallOption) (*ExportAgentOperation, error) { return c.internalClient.ExportAgent(ctx, req, opts...) } @@ -479,11 +479,11 @@ func (c *AgentsClient) ExportAgentOperation(name string) *ExportAgentOperation { // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train a flow prior to sending it queries. See the // training @@ -1437,11 +1437,11 @@ func (c *agentsRESTClient) DeleteAgent(ctx context.Context, req *cxpb.DeleteAgen // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ExportAgentResponse +// response: +// ExportAgentResponse func (c *agentsRESTClient) ExportAgent(ctx context.Context, req *cxpb.ExportAgentRequest, opts ...gax.CallOption) (*ExportAgentOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1520,11 +1520,11 @@ func (c *agentsRESTClient) ExportAgent(ctx context.Context, req *cxpb.ExportAgen // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train a flow prior to sending it queries. See the // training diff --git a/dialogflow/cx/apiv3beta1/cxpb/advanced_settings.pb.go b/dialogflow/cx/apiv3beta1/cxpb/advanced_settings.pb.go index 8307eb542d90..cab1daea3f1a 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/advanced_settings.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/advanced_settings.pb.go @@ -21,12 +21,11 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/agent.pb.go b/dialogflow/cx/apiv3beta1/cxpb/agent.pb.go index 984c9f54d26c..f80119c86a00 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/agent.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/agent.pb.go @@ -21,11 +21,8 @@ package cxpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/audio_config.pb.go b/dialogflow/cx/apiv3beta1/cxpb/audio_config.pb.go index 5853a753fbd6..6afc42f5480b 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/audio_config.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/audio_config.pb.go @@ -21,13 +21,12 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( @@ -442,13 +441,13 @@ func (x *SpeechWordInfo) GetConfidence() float32 { // as soon as it starts playing back the audio from the previous response. The // playback is modeled into two phases: // -// - No barge-in phase: which goes first and during which speech detection -// should not be carried out. +// * No barge-in phase: which goes first and during which speech detection +// should not be carried out. // -// - Barge-in phase: which follows the no barge-in phase and during which -// the API starts speech detection and may inform the client that an utterance -// has been detected. Note that no-speech event is not expected in this -// phase. +// * Barge-in phase: which follows the no barge-in phase and during which +// the API starts speech detection and may inform the client that an utterance +// has been detected. Note that no-speech event is not expected in this +// phase. // // The client provides this configuration in terms of the durations of those // two phases. The durations are measured in terms of the audio length from the diff --git a/dialogflow/cx/apiv3beta1/cxpb/changelog.pb.go b/dialogflow/cx/apiv3beta1/cxpb/changelog.pb.go index a5a598f75cde..f586c925b22d 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/changelog.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/changelog.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/data_store_connection.pb.go b/dialogflow/cx/apiv3beta1/cxpb/data_store_connection.pb.go index 2a0e1da81e46..9e633a39f75b 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/data_store_connection.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/data_store_connection.pb.go @@ -21,11 +21,10 @@ package cxpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/deployment.pb.go b/dialogflow/cx/apiv3beta1/cxpb/deployment.pb.go index 320890521e09..b5f741584eb8 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/deployment.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/deployment.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/entity_type.pb.go b/dialogflow/cx/apiv3beta1/cxpb/entity_type.pb.go index f60e5f39e366..de04cb2d0c64 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/entity_type.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/entity_type.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( @@ -165,18 +164,18 @@ func (EntityType_AutoExpansionMode) EnumDescriptor() ([]byte, []int) { // // There are three types of entities: // -// - **System** - entities that are defined by the Dialogflow API for common +// * **System** - entities that are defined by the Dialogflow API for common // data types such as date, time, currency, and so on. A system entity is // represented by the `EntityType` type. // -// - **Custom** - entities that are defined by you that represent +// * **Custom** - entities that are defined by you that represent // actionable data that is meaningful to your application. For example, // you could define a `pizza.sauce` entity for red or white pizza sauce, // a `pizza.cheese` entity for the different types of cheese on a pizza, // a `pizza.topping` entity for different toppings, and so on. A custom // entity is represented by the `EntityType` type. // -// - **User** - entities that are built for an individual user such as +// * **User** - entities that are built for an individual user such as // favorites, preferences, playlists, and so on. A user entity is // represented by the // [SessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityType] diff --git a/dialogflow/cx/apiv3beta1/cxpb/environment.pb.go b/dialogflow/cx/apiv3beta1/cxpb/environment.pb.go index 25ebb2ae3b75..3c23bec37d92 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/environment.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/environment.pb.go @@ -21,11 +21,8 @@ package cxpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/experiment.pb.go b/dialogflow/cx/apiv3beta1/cxpb/experiment.pb.go index 684e57c8ac21..3fadea24a7a2 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/experiment.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/experiment.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/flow.pb.go b/dialogflow/cx/apiv3beta1/cxpb/flow.pb.go index 58379a109386..56a2d3f5300f 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/flow.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/flow.pb.go @@ -21,11 +21,8 @@ package cxpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/fulfillment.pb.go b/dialogflow/cx/apiv3beta1/cxpb/fulfillment.pb.go index 849db0215b9b..7e38a37c7661 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/fulfillment.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/fulfillment.pb.go @@ -21,13 +21,12 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( @@ -39,9 +38,9 @@ const ( // A fulfillment can do one or more of the following actions at the same time: // -// - Generate rich message responses. -// - Set parameter values. -// - Call the webhook. +// * Generate rich message responses. +// * Set parameter values. +// * Call the webhook. // // Fulfillments can be called at various stages in the // [Page][google.cloud.dialogflow.cx.v3beta1.Page] or diff --git a/dialogflow/cx/apiv3beta1/cxpb/gcs.pb.go b/dialogflow/cx/apiv3beta1/cxpb/gcs.pb.go index f0c34fca92b6..07e6b309a131 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/gcs.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/gcs.pb.go @@ -21,12 +21,11 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/generative_settings.pb.go b/dialogflow/cx/apiv3beta1/cxpb/generative_settings.pb.go index 32b825b883e2..010375c5dafb 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/generative_settings.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/generative_settings.pb.go @@ -21,12 +21,11 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/import_strategy.pb.go b/dialogflow/cx/apiv3beta1/cxpb/import_strategy.pb.go index 2a7eb8e2836b..a1ed95e02fe2 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/import_strategy.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/import_strategy.pb.go @@ -21,11 +21,10 @@ package cxpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/inline.pb.go b/dialogflow/cx/apiv3beta1/cxpb/inline.pb.go index 004ad55b5c3e..875d8ad5dd56 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/inline.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/inline.pb.go @@ -21,12 +21,11 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/intent.pb.go b/dialogflow/cx/apiv3beta1/cxpb/intent.pb.go index a4462e1acc8d..9e6d1526c702 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/intent.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/intent.pb.go @@ -21,11 +21,8 @@ package cxpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/page.pb.go b/dialogflow/cx/apiv3beta1/cxpb/page.pb.go index ed206ccf1dd3..433a35a06028 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/page.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/page.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/response_message.pb.go b/dialogflow/cx/apiv3beta1/cxpb/response_message.pb.go index 9d3294faf576..14b16c22d793 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/response_message.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/response_message.pb.go @@ -21,13 +21,12 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( @@ -42,15 +41,15 @@ const ( // Response messages are also used for output audio synthesis. The approach is // as follows: // -// - If at least one OutputAudioText response is present, then all -// OutputAudioText responses are linearly concatenated, and the result is used -// for output audio synthesis. -// - If the OutputAudioText responses are a mixture of text and SSML, then the -// concatenated result is treated as SSML; otherwise, the result is treated as -// either text or SSML as appropriate. The agent designer should ideally use -// either text or SSML consistently throughout the bot design. -// - Otherwise, all Text responses are linearly concatenated, and the result is -// used for output audio synthesis. +// * If at least one OutputAudioText response is present, then all +// OutputAudioText responses are linearly concatenated, and the result is used +// for output audio synthesis. +// * If the OutputAudioText responses are a mixture of text and SSML, then the +// concatenated result is treated as SSML; otherwise, the result is treated as +// either text or SSML as appropriate. The agent designer should ideally use +// either text or SSML consistently throughout the bot design. +// * Otherwise, all Text responses are linearly concatenated, and the result is +// used for output audio synthesis. // // This approach allows for more sophisticated user experience scenarios, where // the text displayed to the user may differ from what is heard. @@ -356,11 +355,10 @@ func (x *ResponseMessage_Text) GetAllowPlaybackInterruption() bool { // * In the // [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment] // of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if -// -// entering the page indicates something went extremely wrong in the -// conversation. -// - In a webhook response when you determine that the customer issue can only -// be handled by a human. +// entering the page indicates something went extremely wrong in the +// conversation. +// * In a webhook response when you determine that the customer issue can only +// be handled by a human. type ResponseMessage_LiveAgentHandoff struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -423,10 +421,9 @@ func (x *ResponseMessage_LiveAgentHandoff) GetMetadata() *structpb.Struct { // * In the // [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment] // of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if -// -// entering the page indicates that the conversation succeeded. -// - In a webhook response when you determine that you handled the customer -// issue. +// entering the page indicates that the conversation succeeded. +// * In a webhook response when you determine that you handled the customer +// issue. type ResponseMessage_ConversationSuccess struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/dialogflow/cx/apiv3beta1/cxpb/safety_settings.pb.go b/dialogflow/cx/apiv3beta1/cxpb/safety_settings.pb.go index fbcf297d0257..754f36836b59 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/safety_settings.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/safety_settings.pb.go @@ -21,12 +21,11 @@ package cxpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/security_settings.pb.go b/dialogflow/cx/apiv3beta1/cxpb/security_settings.pb.go index e8b2e7827b58..037e80859a56 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/security_settings.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/security_settings.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/session.pb.go b/dialogflow/cx/apiv3beta1/cxpb/session.pb.go index cf34f4b0d666..ae4615930230 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/session.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/session.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" latlng "google.golang.org/genproto/googleapis/type/latlng" @@ -36,6 +33,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( @@ -634,7 +633,7 @@ func (x *DetectIntentResponse) GetAllowCancellation() bool { // // Multiple request messages should be sent in order: // -// 1. The first message must contain +// 1. The first message must contain // [session][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.session], // [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input] // plus optionally @@ -645,21 +644,20 @@ func (x *DetectIntentResponse) GetAllowCancellation() bool { // 2. If // [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input] // was set to +// [query_input.audio.config][google.cloud.dialogflow.cx.v3beta1.AudioInput.config], +// all subsequent messages must contain +// [query_input.audio.audio][google.cloud.dialogflow.cx.v3beta1.AudioInput.audio] +// to continue with Speech recognition. If you decide to rather detect an +// intent from text input after you already started Speech recognition, +// please send a message with +// [query_input.text][google.cloud.dialogflow.cx.v3beta1.QueryInput.text]. // -// [query_input.audio.config][google.cloud.dialogflow.cx.v3beta1.AudioInput.config], -// all subsequent messages must contain -// [query_input.audio.audio][google.cloud.dialogflow.cx.v3beta1.AudioInput.audio] -// to continue with Speech recognition. If you decide to rather detect an -// intent from text input after you already started Speech recognition, -// please send a message with -// [query_input.text][google.cloud.dialogflow.cx.v3beta1.QueryInput.text]. -// -// However, note that: +// However, note that: // -// * Dialogflow will bill you for the audio duration so far. -// * Dialogflow discards all Speech recognition results in favor of the -// input text. -// * Dialogflow will use the language code from the first message. +// * Dialogflow will bill you for the audio duration so far. +// * Dialogflow discards all Speech recognition results in favor of the +// input text. +// * Dialogflow will use the language code from the first message. // // After you sent all input, you must half-close or abort the request stream. type StreamingDetectIntentRequest struct { @@ -996,7 +994,7 @@ func (x *CloudConversationDebuggingInfo) GetClientHalfCloseStreamingTimeOffset() // The first (N-1) responses set either the `recognition_result` or // `detect_intent_response` field, depending on the request: // -// - If the `StreamingDetectIntentRequest.query_input.audio` field was +// * If the `StreamingDetectIntentRequest.query_input.audio` field was // set, and the `StreamingDetectIntentRequest.enable_partial_response` // field was false, the `recognition_result` field is populated for each // of the (N-1) responses. @@ -1004,7 +1002,7 @@ func (x *CloudConversationDebuggingInfo) GetClientHalfCloseStreamingTimeOffset() // [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult] // message for details about the result message sequence. // -// - If the `StreamingDetectIntentRequest.enable_partial_response` field was +// * If the `StreamingDetectIntentRequest.enable_partial_response` field was // true, the `detect_intent_response` field is populated for each // of the (N-1) responses, where 1 <= N <= 4. // These responses set the diff --git a/dialogflow/cx/apiv3beta1/cxpb/session_entity_type.pb.go b/dialogflow/cx/apiv3beta1/cxpb/session_entity_type.pb.go index 15cde8488837..4e56400eac2e 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/session_entity_type.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/session_entity_type.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/test_case.pb.go b/dialogflow/cx/apiv3beta1/cxpb/test_case.pb.go index 35f399743457..8f44aa458a19 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/test_case.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/test_case.pb.go @@ -21,11 +21,8 @@ package cxpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/transition_route_group.pb.go b/dialogflow/cx/apiv3beta1/cxpb/transition_route_group.pb.go index ddc25d04e072..94de62a553ca 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/transition_route_group.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/transition_route_group.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/validation_message.pb.go b/dialogflow/cx/apiv3beta1/cxpb/validation_message.pb.go index d0308ee9207a..9522b668abf6 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/validation_message.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/validation_message.pb.go @@ -21,11 +21,10 @@ package cxpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/version.pb.go b/dialogflow/cx/apiv3beta1/cxpb/version.pb.go index f0f9da85f29e..f18401e79166 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/version.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/version.pb.go @@ -21,11 +21,8 @@ package cxpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/webhook.pb.go b/dialogflow/cx/apiv3beta1/cxpb/webhook.pb.go index bd53ca9b09dd..46841565cc4b 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/webhook.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/webhook.pb.go @@ -22,9 +22,6 @@ package cxpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/doc.go b/dialogflow/cx/apiv3beta1/doc.go index d85654fa4350..9d1b69eccb0b 100755 --- a/dialogflow/cx/apiv3beta1/doc.go +++ b/dialogflow/cx/apiv3beta1/doc.go @@ -20,68 +20,67 @@ // Builds conversational interfaces (for example, chatbots, and voice-powered // apps and devices). // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cx.NewPagesClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cx.NewPagesClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cx.NewPagesClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &cxpb.CreatePageRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/dialogflow/cx/apiv3beta1/cxpb#CreatePageRequest. -// } -// resp, err := c.CreatePage(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cx.NewPagesClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &cxpb.CreatePageRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/dialogflow/cx/apiv3beta1/cxpb#CreatePageRequest. +// } +// resp, err := c.CreatePage(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewPagesClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/dialogflow/cx/apiv3beta1/environments_client.go b/dialogflow/cx/apiv3beta1/environments_client.go index 3754e5dca223..d2de981427c8 100755 --- a/dialogflow/cx/apiv3beta1/environments_client.go +++ b/dialogflow/cx/apiv3beta1/environments_client.go @@ -388,10 +388,10 @@ func (c *EnvironmentsClient) GetEnvironment(ctx context.Context, req *cxpb.GetEn // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: Environment +// response: Environment func (c *EnvironmentsClient) CreateEnvironment(ctx context.Context, req *cxpb.CreateEnvironmentRequest, opts ...gax.CallOption) (*CreateEnvironmentOperation, error) { return c.internalClient.CreateEnvironment(ctx, req, opts...) } @@ -409,10 +409,10 @@ func (c *EnvironmentsClient) CreateEnvironmentOperation(name string) *CreateEnvi // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: Environment +// response: Environment func (c *EnvironmentsClient) UpdateEnvironment(ctx context.Context, req *cxpb.UpdateEnvironmentRequest, opts ...gax.CallOption) (*UpdateEnvironmentOperation, error) { return c.internalClient.UpdateEnvironment(ctx, req, opts...) } @@ -442,11 +442,11 @@ func (c *EnvironmentsClient) LookupEnvironmentHistory(ctx context.Context, req * // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// RunContinuousTestMetadata +// metadata: +// RunContinuousTestMetadata // -// response: -// RunContinuousTestResponse +// response: +// RunContinuousTestResponse func (c *EnvironmentsClient) RunContinuousTest(ctx context.Context, req *cxpb.RunContinuousTestRequest, opts ...gax.CallOption) (*RunContinuousTestOperation, error) { return c.internalClient.RunContinuousTest(ctx, req, opts...) } @@ -469,11 +469,11 @@ func (c *EnvironmentsClient) ListContinuousTestResults(ctx context.Context, req // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// DeployFlowMetadata +// metadata: +// DeployFlowMetadata // -// response: -// DeployFlowResponse +// response: +// DeployFlowResponse func (c *EnvironmentsClient) DeployFlow(ctx context.Context, req *cxpb.DeployFlowRequest, opts ...gax.CallOption) (*DeployFlowOperation, error) { return c.internalClient.DeployFlow(ctx, req, opts...) } @@ -1238,10 +1238,10 @@ func (c *environmentsRESTClient) GetEnvironment(ctx context.Context, req *cxpb.G // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: Environment +// response: Environment func (c *environmentsRESTClient) CreateEnvironment(ctx context.Context, req *cxpb.CreateEnvironmentRequest, opts ...gax.CallOption) (*CreateEnvironmentOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetEnvironment() @@ -1319,10 +1319,10 @@ func (c *environmentsRESTClient) CreateEnvironment(ctx context.Context, req *cxp // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: Environment +// response: Environment func (c *environmentsRESTClient) UpdateEnvironment(ctx context.Context, req *cxpb.UpdateEnvironmentRequest, opts ...gax.CallOption) (*UpdateEnvironmentOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetEnvironment() @@ -1540,11 +1540,11 @@ func (c *environmentsRESTClient) LookupEnvironmentHistory(ctx context.Context, r // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// RunContinuousTestMetadata +// metadata: +// RunContinuousTestMetadata // -// response: -// RunContinuousTestResponse +// response: +// RunContinuousTestResponse func (c *environmentsRESTClient) RunContinuousTest(ctx context.Context, req *cxpb.RunContinuousTestRequest, opts ...gax.CallOption) (*RunContinuousTestOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1710,11 +1710,11 @@ func (c *environmentsRESTClient) ListContinuousTestResults(ctx context.Context, // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// DeployFlowMetadata +// metadata: +// DeployFlowMetadata // -// response: -// DeployFlowResponse +// response: +// DeployFlowResponse func (c *environmentsRESTClient) DeployFlow(ctx context.Context, req *cxpb.DeployFlowRequest, opts ...gax.CallOption) (*DeployFlowOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/dialogflow/cx/apiv3beta1/flows_client.go b/dialogflow/cx/apiv3beta1/flows_client.go index cd2e71d7088f..1ac5fad5534e 100755 --- a/dialogflow/cx/apiv3beta1/flows_client.go +++ b/dialogflow/cx/apiv3beta1/flows_client.go @@ -432,11 +432,11 @@ func (c *FlowsClient) UpdateFlow(ctx context.Context, req *cxpb.UpdateFlowReques // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train a flow prior to sending it queries. See the // training @@ -470,11 +470,11 @@ func (c *FlowsClient) GetFlowValidationResult(ctx context.Context, req *cxpb.Get // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ImportFlowResponse +// response: +// ImportFlowResponse // // Note: You should always train a flow prior to sending it queries. See the // training @@ -495,11 +495,11 @@ func (c *FlowsClient) ImportFlowOperation(name string) *ImportFlowOperation { // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ExportFlowResponse +// response: +// ExportFlowResponse // // Note that resources (e.g. intents, entities, webhooks) that the flow // references will also be exported. @@ -1429,11 +1429,11 @@ func (c *flowsRESTClient) UpdateFlow(ctx context.Context, req *cxpb.UpdateFlowRe // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train a flow prior to sending it queries. See the // training @@ -1645,11 +1645,11 @@ func (c *flowsRESTClient) GetFlowValidationResult(ctx context.Context, req *cxpb // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ImportFlowResponse +// response: +// ImportFlowResponse // // Note: You should always train a flow prior to sending it queries. See the // training @@ -1729,11 +1729,11 @@ func (c *flowsRESTClient) ImportFlow(ctx context.Context, req *cxpb.ImportFlowRe // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ExportFlowResponse +// response: +// ExportFlowResponse // // Note that resources (e.g. intents, entities, webhooks) that the flow // references will also be exported. diff --git a/dialogflow/cx/apiv3beta1/intents_client.go b/dialogflow/cx/apiv3beta1/intents_client.go index 51fa74b48834..196a3900752d 100755 --- a/dialogflow/cx/apiv3beta1/intents_client.go +++ b/dialogflow/cx/apiv3beta1/intents_client.go @@ -359,11 +359,11 @@ func (c *IntentsClient) DeleteIntent(ctx context.Context, req *cxpb.DeleteIntent // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ImportIntentsMetadata +// metadata: +// ImportIntentsMetadata // -// response: -// ImportIntentsResponse +// response: +// ImportIntentsResponse func (c *IntentsClient) ImportIntents(ctx context.Context, req *cxpb.ImportIntentsRequest, opts ...gax.CallOption) (*ImportIntentsOperation, error) { return c.internalClient.ImportIntents(ctx, req, opts...) } @@ -380,11 +380,11 @@ func (c *IntentsClient) ImportIntentsOperation(name string) *ImportIntentsOperat // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ExportIntentsMetadata +// metadata: +// ExportIntentsMetadata // -// response: -// ExportIntentsResponse +// response: +// ExportIntentsResponse func (c *IntentsClient) ExportIntents(ctx context.Context, req *cxpb.ExportIntentsRequest, opts ...gax.CallOption) (*ExportIntentsOperation, error) { return c.internalClient.ExportIntents(ctx, req, opts...) } @@ -1258,11 +1258,11 @@ func (c *intentsRESTClient) DeleteIntent(ctx context.Context, req *cxpb.DeleteIn // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ImportIntentsMetadata +// metadata: +// ImportIntentsMetadata // -// response: -// ImportIntentsResponse +// response: +// ImportIntentsResponse func (c *intentsRESTClient) ImportIntents(ctx context.Context, req *cxpb.ImportIntentsRequest, opts ...gax.CallOption) (*ImportIntentsOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1338,11 +1338,11 @@ func (c *intentsRESTClient) ImportIntents(ctx context.Context, req *cxpb.ImportI // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ExportIntentsMetadata +// metadata: +// ExportIntentsMetadata // -// response: -// ExportIntentsResponse +// response: +// ExportIntentsResponse func (c *intentsRESTClient) ExportIntents(ctx context.Context, req *cxpb.ExportIntentsRequest, opts ...gax.CallOption) (*ExportIntentsOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/dialogflow/cx/apiv3beta1/test_cases_client.go b/dialogflow/cx/apiv3beta1/test_cases_client.go index 90bfa932700d..bf9fad54467c 100755 --- a/dialogflow/cx/apiv3beta1/test_cases_client.go +++ b/dialogflow/cx/apiv3beta1/test_cases_client.go @@ -476,11 +476,11 @@ func (c *TestCasesClient) UpdateTestCase(ctx context.Context, req *cxpb.UpdateTe // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// RunTestCaseMetadata +// metadata: +// RunTestCaseMetadata // -// response: -// RunTestCaseResponse +// response: +// RunTestCaseResponse func (c *TestCasesClient) RunTestCase(ctx context.Context, req *cxpb.RunTestCaseRequest, opts ...gax.CallOption) (*RunTestCaseOperation, error) { return c.internalClient.RunTestCase(ctx, req, opts...) } @@ -497,11 +497,11 @@ func (c *TestCasesClient) RunTestCaseOperation(name string) *RunTestCaseOperatio // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// BatchRunTestCasesMetadata +// metadata: +// BatchRunTestCasesMetadata // -// response: -// BatchRunTestCasesResponse +// response: +// BatchRunTestCasesResponse func (c *TestCasesClient) BatchRunTestCases(ctx context.Context, req *cxpb.BatchRunTestCasesRequest, opts ...gax.CallOption) (*BatchRunTestCasesOperation, error) { return c.internalClient.BatchRunTestCases(ctx, req, opts...) } @@ -525,11 +525,11 @@ func (c *TestCasesClient) CalculateCoverage(ctx context.Context, req *cxpb.Calcu // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ImportTestCasesMetadata +// metadata: +// ImportTestCasesMetadata // -// response: -// ImportTestCasesResponse +// response: +// ImportTestCasesResponse func (c *TestCasesClient) ImportTestCases(ctx context.Context, req *cxpb.ImportTestCasesRequest, opts ...gax.CallOption) (*ImportTestCasesOperation, error) { return c.internalClient.ImportTestCases(ctx, req, opts...) } @@ -547,11 +547,11 @@ func (c *TestCasesClient) ImportTestCasesOperation(name string) *ImportTestCases // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ExportTestCasesMetadata +// metadata: +// ExportTestCasesMetadata // -// response: -// ExportTestCasesResponse +// response: +// ExportTestCasesResponse func (c *TestCasesClient) ExportTestCases(ctx context.Context, req *cxpb.ExportTestCasesRequest, opts ...gax.CallOption) (*ExportTestCasesOperation, error) { return c.internalClient.ExportTestCases(ctx, req, opts...) } @@ -1544,11 +1544,11 @@ func (c *testCasesRESTClient) UpdateTestCase(ctx context.Context, req *cxpb.Upda // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// RunTestCaseMetadata +// metadata: +// RunTestCaseMetadata // -// response: -// RunTestCaseResponse +// response: +// RunTestCaseResponse func (c *testCasesRESTClient) RunTestCase(ctx context.Context, req *cxpb.RunTestCaseRequest, opts ...gax.CallOption) (*RunTestCaseOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1624,11 +1624,11 @@ func (c *testCasesRESTClient) RunTestCase(ctx context.Context, req *cxpb.RunTest // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// BatchRunTestCasesMetadata +// metadata: +// BatchRunTestCasesMetadata // -// response: -// BatchRunTestCasesResponse +// response: +// BatchRunTestCasesResponse func (c *testCasesRESTClient) BatchRunTestCases(ctx context.Context, req *cxpb.BatchRunTestCasesRequest, opts ...gax.CallOption) (*BatchRunTestCasesOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1767,11 +1767,11 @@ func (c *testCasesRESTClient) CalculateCoverage(ctx context.Context, req *cxpb.C // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ImportTestCasesMetadata +// metadata: +// ImportTestCasesMetadata // -// response: -// ImportTestCasesResponse +// response: +// ImportTestCasesResponse func (c *testCasesRESTClient) ImportTestCases(ctx context.Context, req *cxpb.ImportTestCasesRequest, opts ...gax.CallOption) (*ImportTestCasesOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1848,11 +1848,11 @@ func (c *testCasesRESTClient) ImportTestCases(ctx context.Context, req *cxpb.Imp // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ExportTestCasesMetadata +// metadata: +// ExportTestCasesMetadata // -// response: -// ExportTestCasesResponse +// response: +// ExportTestCasesResponse func (c *testCasesRESTClient) ExportTestCases(ctx context.Context, req *cxpb.ExportTestCasesRequest, opts ...gax.CallOption) (*ExportTestCasesOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/dialogflow/cx/apiv3beta1/versions_client.go b/dialogflow/cx/apiv3beta1/versions_client.go index d538277a7cfd..4a5f6a84b8c5 100755 --- a/dialogflow/cx/apiv3beta1/versions_client.go +++ b/dialogflow/cx/apiv3beta1/versions_client.go @@ -335,10 +335,10 @@ func (c *VersionsClient) GetVersion(ctx context.Context, req *cxpb.GetVersionReq // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// CreateVersionOperationMetadata +// metadata: +// CreateVersionOperationMetadata // -// response: Version +// response: Version func (c *VersionsClient) CreateVersion(ctx context.Context, req *cxpb.CreateVersionRequest, opts ...gax.CallOption) (*CreateVersionOperation, error) { return c.internalClient.CreateVersion(ctx, req, opts...) } @@ -367,11 +367,11 @@ func (c *VersionsClient) DeleteVersion(ctx context.Context, req *cxpb.DeleteVers // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *VersionsClient) LoadVersion(ctx context.Context, req *cxpb.LoadVersionRequest, opts ...gax.CallOption) (*LoadVersionOperation, error) { return c.internalClient.LoadVersion(ctx, req, opts...) } @@ -1043,10 +1043,10 @@ func (c *versionsRESTClient) GetVersion(ctx context.Context, req *cxpb.GetVersio // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// CreateVersionOperationMetadata +// metadata: +// CreateVersionOperationMetadata // -// response: Version +// response: Version func (c *versionsRESTClient) CreateVersion(ctx context.Context, req *cxpb.CreateVersionRequest, opts ...gax.CallOption) (*CreateVersionOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetVersion() @@ -1241,11 +1241,11 @@ func (c *versionsRESTClient) DeleteVersion(ctx context.Context, req *cxpb.Delete // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *versionsRESTClient) LoadVersion(ctx context.Context, req *cxpb.LoadVersionRequest, opts ...gax.CallOption) (*LoadVersionOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/discoveryengine/apiv1/discoveryenginepb/common.pb.go b/discoveryengine/apiv1/discoveryenginepb/common.pb.go index 3bec6d880177..3819a70de0a1 100755 --- a/discoveryengine/apiv1/discoveryenginepb/common.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/common.pb.go @@ -21,12 +21,11 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/completion_service.pb.go b/discoveryengine/apiv1/discoveryenginepb/completion_service.pb.go index b003724f43d7..6a9a3cc65b52 100755 --- a/discoveryengine/apiv1/discoveryenginepb/completion_service.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/completion_service.pb.go @@ -22,15 +22,14 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/conversation.pb.go b/discoveryengine/apiv1/discoveryenginepb/conversation.pb.go index f325a6bfde7f..2e9e961fdc11 100755 --- a/discoveryengine/apiv1/discoveryenginepb/conversation.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/conversation.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/conversational_search_service.pb.go b/discoveryengine/apiv1/discoveryenginepb/conversational_search_service.pb.go index 41bd9258f750..9420f79602c7 100755 --- a/discoveryengine/apiv1/discoveryenginepb/conversational_search_service.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/conversational_search_service.pb.go @@ -22,9 +22,6 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/document.pb.go b/discoveryengine/apiv1/discoveryenginepb/document.pb.go index 4c4c02c279dd..208a61f2754f 100755 --- a/discoveryengine/apiv1/discoveryenginepb/document.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/document.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/document_service.pb.go b/discoveryengine/apiv1/discoveryenginepb/document_service.pb.go index ffaf460b087e..504deffcc93a 100755 --- a/discoveryengine/apiv1/discoveryenginepb/document_service.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/document_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/import_config.pb.go b/discoveryengine/apiv1/discoveryenginepb/import_config.pb.go index f99c94152bd0..6b055a259cd1 100755 --- a/discoveryengine/apiv1/discoveryenginepb/import_config.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/import_config.pb.go @@ -21,15 +21,14 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" date "google.golang.org/genproto/googleapis/type/date" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/purge_config.pb.go b/discoveryengine/apiv1/discoveryenginepb/purge_config.pb.go index 5372a0f52752..807bb1fdf02e 100755 --- a/discoveryengine/apiv1/discoveryenginepb/purge_config.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/purge_config.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/schema.pb.go b/discoveryengine/apiv1/discoveryenginepb/schema.pb.go index 2f32553a2e79..1d6cd1a318a7 100755 --- a/discoveryengine/apiv1/discoveryenginepb/schema.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/schema.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/schema_service.pb.go b/discoveryengine/apiv1/discoveryenginepb/schema_service.pb.go index b3a058587f91..0413173d44e8 100755 --- a/discoveryengine/apiv1/discoveryenginepb/schema_service.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/schema_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/search_service.pb.go b/discoveryengine/apiv1/discoveryenginepb/search_service.pb.go index 64a8b5954042..090aa19f3498 100755 --- a/discoveryengine/apiv1/discoveryenginepb/search_service.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/search_service.pb.go @@ -22,9 +22,6 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/user_event.pb.go b/discoveryengine/apiv1/discoveryenginepb/user_event.pb.go index 358ec5b206b1..91ab462090fe 100755 --- a/discoveryengine/apiv1/discoveryenginepb/user_event.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/user_event.pb.go @@ -21,14 +21,13 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/user_event_service.pb.go b/discoveryengine/apiv1/discoveryenginepb/user_event_service.pb.go index 6ef64deb1a21..9e9c3328a479 100755 --- a/discoveryengine/apiv1/discoveryenginepb/user_event_service.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/user_event_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1/doc.go b/discoveryengine/apiv1/doc.go index c2bb724aa9b3..16ed220a589b 100755 --- a/discoveryengine/apiv1/doc.go +++ b/discoveryengine/apiv1/doc.go @@ -19,66 +19,65 @@ // // Discovery Engine API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := discoveryengine.NewCompletionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := discoveryengine.NewCompletionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := discoveryengine.NewCompletionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &discoveryenginepb.CompleteQueryRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/discoveryengine/apiv1/discoveryenginepb#CompleteQueryRequest. -// } -// resp, err := c.CompleteQuery(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := discoveryengine.NewCompletionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &discoveryenginepb.CompleteQueryRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/discoveryengine/apiv1/discoveryenginepb#CompleteQueryRequest. +// } +// resp, err := c.CompleteQuery(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewCompletionClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/discoveryengine/apiv1beta/discoveryenginepb/common.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/common.pb.go index d36a1da28d7f..d4e2337544fe 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/common.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/common.pb.go @@ -21,12 +21,11 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/completion_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/completion_service.pb.go index c80c54696ab7..8f26ee046cea 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/completion_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/completion_service.pb.go @@ -22,15 +22,14 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/conversation.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/conversation.pb.go index 24b49ebb0138..b8ee8facb63b 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/conversation.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/conversation.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/conversational_search_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/conversational_search_service.pb.go index 8cb08a6f4594..d9263e2e3adb 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/conversational_search_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/conversational_search_service.pb.go @@ -22,9 +22,6 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/document.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/document.pb.go index 6037e2471d32..9773160fe56a 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/document.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/document.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/document_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/document_service.pb.go index 1c51bc401efc..46fd14c7ec5a 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/document_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/document_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/import_config.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/import_config.pb.go index caf8711a7093..3077549a6f42 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/import_config.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/import_config.pb.go @@ -21,15 +21,14 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" date "google.golang.org/genproto/googleapis/type/date" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/purge_config.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/purge_config.pb.go index 170d3ec65ae9..3f910b526724 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/purge_config.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/purge_config.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/recommendation_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/recommendation_service.pb.go index 6914c94e2d0e..c7982139001c 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/recommendation_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/recommendation_service.pb.go @@ -22,9 +22,6 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/schema.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/schema.pb.go index 79ae22f83ec7..c3c7453add16 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/schema.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/schema.pb.go @@ -21,13 +21,12 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/schema_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/schema_service.pb.go index c5285d196cb9..cb9e36c4949f 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/schema_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/schema_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/search_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/search_service.pb.go index 13d00e2f0879..7d9059deb66f 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/search_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/search_service.pb.go @@ -22,9 +22,6 @@ package discoveryenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/user_event.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/user_event.pb.go index eb7383b1d0f0..1a31c2a82376 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/user_event.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/user_event.pb.go @@ -21,14 +21,13 @@ package discoveryenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/user_event_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/user_event_service.pb.go index f3c24df35658..21205969dc43 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/user_event_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/user_event_service.pb.go @@ -21,11 +21,8 @@ package discoveryenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/doc.go b/discoveryengine/apiv1beta/doc.go index baf9abfb0f37..5577ad8ece98 100755 --- a/discoveryengine/apiv1beta/doc.go +++ b/discoveryengine/apiv1beta/doc.go @@ -19,68 +19,67 @@ // // Discovery Engine API. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := discoveryengine.NewCompletionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := discoveryengine.NewCompletionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := discoveryengine.NewCompletionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &discoveryenginepb.CompleteQueryRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/discoveryengine/apiv1beta/discoveryenginepb#CompleteQueryRequest. -// } -// resp, err := c.CompleteQuery(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := discoveryengine.NewCompletionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &discoveryenginepb.CompleteQueryRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/discoveryengine/apiv1beta/discoveryenginepb#CompleteQueryRequest. +// } +// resp, err := c.CompleteQuery(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewCompletionClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/dlp/apiv2/dlppb/dlp.pb.go b/dlp/apiv2/dlppb/dlp.pb.go index fdeffaae1fc6..5bec52d3141e 100755 --- a/dlp/apiv2/dlppb/dlp.pb.go +++ b/dlp/apiv2/dlppb/dlp.pb.go @@ -22,9 +22,6 @@ package dlppb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" date "google.golang.org/genproto/googleapis/type/date" @@ -39,6 +36,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -19212,11 +19211,9 @@ func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiId } // A KMapEstimationHistogramBucket message with the following values: -// -// min_anonymity: 3 -// max_anonymity: 5 -// frequency: 42 -// +// min_anonymity: 3 +// max_anonymity: 5 +// frequency: 42 // means that there are 42 records whose quasi-identifier values correspond // to 3, 4 or 5 people in the overlying population. An important particular // case is when min_anonymity = max_anonymity = 1: the frequency field then @@ -19375,11 +19372,9 @@ func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenc // A DeltaPresenceEstimationHistogramBucket message with the following // values: -// -// min_probability: 0.1 -// max_probability: 0.2 -// frequency: 42 -// +// min_probability: 0.1 +// max_probability: 0.2 +// frequency: 42 // means that there are 42 records for which δ is in [0.1, 0.2). An // important particular case is when min_probability = max_probability = 1: // then, every individual who shares this quasi-identifier combination is in diff --git a/dlp/apiv2/dlppb/storage.pb.go b/dlp/apiv2/dlppb/storage.pb.go index 3a2cd94d43e4..e04114695267 100755 --- a/dlp/apiv2/dlppb/storage.pb.go +++ b/dlp/apiv2/dlppb/storage.pb.go @@ -21,13 +21,12 @@ package dlppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/dlp/apiv2/doc.go b/dlp/apiv2/doc.go index d439e97ecd25..7e0839e3e106 100755 --- a/dlp/apiv2/doc.go +++ b/dlp/apiv2/doc.go @@ -21,66 +21,65 @@ // privacy-sensitive fragments in text, images, and Google Cloud Platform // storage repositories. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dlp.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dlp.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dlp.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &dlppb.ActivateJobTriggerRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/dlp/apiv2/dlppb#ActivateJobTriggerRequest. -// } -// resp, err := c.ActivateJobTrigger(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dlp.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &dlppb.ActivateJobTriggerRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/dlp/apiv2/dlppb#ActivateJobTriggerRequest. +// } +// resp, err := c.ActivateJobTrigger(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/documentai/apiv1/doc.go b/documentai/apiv1/doc.go index d82e2c22a50d..a100c883e8ea 100755 --- a/documentai/apiv1/doc.go +++ b/documentai/apiv1/doc.go @@ -21,71 +21,70 @@ // semi-structured documents using state-of-the-art Google AI such as natural // language, computer vision, translation, and AutoML. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := documentai.NewDocumentProcessorClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := documentai.NewDocumentProcessorClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := documentai.NewDocumentProcessorClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &documentaipb.BatchProcessRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/documentai/apiv1/documentaipb#BatchProcessRequest. -// } -// op, err := c.BatchProcessDocuments(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := documentai.NewDocumentProcessorClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &documentaipb.BatchProcessRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/documentai/apiv1/documentaipb#BatchProcessRequest. +// } +// op, err := c.BatchProcessDocuments(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewDocumentProcessorClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/documentai/apiv1/documentaipb/barcode.pb.go b/documentai/apiv1/documentaipb/barcode.pb.go index b34b93051ba4..bb99be294363 100755 --- a/documentai/apiv1/documentaipb/barcode.pb.go +++ b/documentai/apiv1/documentaipb/barcode.pb.go @@ -21,11 +21,10 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1/documentaipb/document.pb.go b/documentai/apiv1/documentaipb/document.pb.go index e7bf2338e80a..1687d8e5d43d 100755 --- a/documentai/apiv1/documentaipb/document.pb.go +++ b/documentai/apiv1/documentaipb/document.pb.go @@ -21,9 +21,6 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" color "google.golang.org/genproto/googleapis/type/color" @@ -34,6 +31,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1/documentaipb/document_io.pb.go b/documentai/apiv1/documentaipb/document_io.pb.go index 9489a68c6524..d9bac9f2a20f 100755 --- a/documentai/apiv1/documentaipb/document_io.pb.go +++ b/documentai/apiv1/documentaipb/document_io.pb.go @@ -21,12 +21,11 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1/documentaipb/document_processor_service.pb.go b/documentai/apiv1/documentaipb/document_processor_service.pb.go index fe4fefec7d8b..0545a33f7e7f 100755 --- a/documentai/apiv1/documentaipb/document_processor_service.pb.go +++ b/documentai/apiv1/documentaipb/document_processor_service.pb.go @@ -21,11 +21,8 @@ package documentaipb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1/documentaipb/document_schema.pb.go b/documentai/apiv1/documentaipb/document_schema.pb.go index e789a22b9953..23a455d59c07 100755 --- a/documentai/apiv1/documentaipb/document_schema.pb.go +++ b/documentai/apiv1/documentaipb/document_schema.pb.go @@ -21,11 +21,10 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1/documentaipb/evaluation.pb.go b/documentai/apiv1/documentaipb/evaluation.pb.go index f558bb1ba255..60c2e42bb76d 100755 --- a/documentai/apiv1/documentaipb/evaluation.pb.go +++ b/documentai/apiv1/documentaipb/evaluation.pb.go @@ -21,13 +21,12 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1/documentaipb/geometry.pb.go b/documentai/apiv1/documentaipb/geometry.pb.go index d045a995d59b..4bf77f218dc8 100755 --- a/documentai/apiv1/documentaipb/geometry.pb.go +++ b/documentai/apiv1/documentaipb/geometry.pb.go @@ -21,11 +21,10 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1/documentaipb/operation_metadata.pb.go b/documentai/apiv1/documentaipb/operation_metadata.pb.go index a9c2606d953a..73ba80ab884b 100755 --- a/documentai/apiv1/documentaipb/operation_metadata.pb.go +++ b/documentai/apiv1/documentaipb/operation_metadata.pb.go @@ -21,12 +21,11 @@ package documentaipb 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" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1/documentaipb/processor.pb.go b/documentai/apiv1/documentaipb/processor.pb.go index 2bc5cded33eb..bfc137502a45 100755 --- a/documentai/apiv1/documentaipb/processor.pb.go +++ b/documentai/apiv1/documentaipb/processor.pb.go @@ -21,13 +21,12 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1/documentaipb/processor_type.pb.go b/documentai/apiv1/documentaipb/processor_type.pb.go index d11f0773817b..7b86a094571d 100755 --- a/documentai/apiv1/documentaipb/processor_type.pb.go +++ b/documentai/apiv1/documentaipb/processor_type.pb.go @@ -21,13 +21,12 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - api "google.golang.org/genproto/googleapis/api" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1beta3/doc.go b/documentai/apiv1beta3/doc.go index bbe37cfd01ce..d9b4cf6b7593 100755 --- a/documentai/apiv1beta3/doc.go +++ b/documentai/apiv1beta3/doc.go @@ -21,73 +21,72 @@ // semi-structured documents using state-of-the-art Google AI such as natural // language, computer vision, translation, and AutoML. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := documentai.NewDocumentProcessorClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := documentai.NewDocumentProcessorClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := documentai.NewDocumentProcessorClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &documentaipb.BatchProcessRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/documentai/apiv1beta3/documentaipb#BatchProcessRequest. -// } -// op, err := c.BatchProcessDocuments(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := documentai.NewDocumentProcessorClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &documentaipb.BatchProcessRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/documentai/apiv1beta3/documentaipb#BatchProcessRequest. +// } +// op, err := c.BatchProcessDocuments(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewDocumentProcessorClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/documentai/apiv1beta3/documentaipb/barcode.pb.go b/documentai/apiv1beta3/documentaipb/barcode.pb.go index 90a7b71fc0dc..5e1e8ce5260d 100755 --- a/documentai/apiv1beta3/documentaipb/barcode.pb.go +++ b/documentai/apiv1beta3/documentaipb/barcode.pb.go @@ -21,11 +21,10 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/dataset.pb.go b/documentai/apiv1beta3/documentaipb/dataset.pb.go index 8ebd182bd843..f42a89f75cda 100755 --- a/documentai/apiv1beta3/documentaipb/dataset.pb.go +++ b/documentai/apiv1beta3/documentaipb/dataset.pb.go @@ -21,12 +21,11 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/document.pb.go b/documentai/apiv1beta3/documentaipb/document.pb.go index f7e1d497edfa..617a633435d0 100755 --- a/documentai/apiv1beta3/documentaipb/document.pb.go +++ b/documentai/apiv1beta3/documentaipb/document.pb.go @@ -21,9 +21,6 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" color "google.golang.org/genproto/googleapis/type/color" @@ -34,6 +31,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/document_io.pb.go b/documentai/apiv1beta3/documentaipb/document_io.pb.go index 8d909a408717..011f70ca6c35 100755 --- a/documentai/apiv1beta3/documentaipb/document_io.pb.go +++ b/documentai/apiv1beta3/documentaipb/document_io.pb.go @@ -21,12 +21,11 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/document_processor_service.pb.go b/documentai/apiv1beta3/documentaipb/document_processor_service.pb.go index 825576ea62ed..1e45db4d847b 100755 --- a/documentai/apiv1beta3/documentaipb/document_processor_service.pb.go +++ b/documentai/apiv1beta3/documentaipb/document_processor_service.pb.go @@ -21,11 +21,8 @@ package documentaipb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/document_schema.pb.go b/documentai/apiv1beta3/documentaipb/document_schema.pb.go index 95400aa209bd..e1b68bde27b3 100755 --- a/documentai/apiv1beta3/documentaipb/document_schema.pb.go +++ b/documentai/apiv1beta3/documentaipb/document_schema.pb.go @@ -21,11 +21,10 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/document_service.pb.go b/documentai/apiv1beta3/documentaipb/document_service.pb.go index 045c3faa8bf3..bf94c72ab599 100755 --- a/documentai/apiv1beta3/documentaipb/document_service.pb.go +++ b/documentai/apiv1beta3/documentaipb/document_service.pb.go @@ -21,11 +21,8 @@ package documentaipb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -34,6 +31,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/evaluation.pb.go b/documentai/apiv1beta3/documentaipb/evaluation.pb.go index 0a4c13de6ff7..7b9bada806ca 100755 --- a/documentai/apiv1beta3/documentaipb/evaluation.pb.go +++ b/documentai/apiv1beta3/documentaipb/evaluation.pb.go @@ -21,13 +21,12 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/geometry.pb.go b/documentai/apiv1beta3/documentaipb/geometry.pb.go index 732b10e2848e..585ee44ffc62 100755 --- a/documentai/apiv1beta3/documentaipb/geometry.pb.go +++ b/documentai/apiv1beta3/documentaipb/geometry.pb.go @@ -21,11 +21,10 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/operation_metadata.pb.go b/documentai/apiv1beta3/documentaipb/operation_metadata.pb.go index 29b078546c48..0ea7051797d9 100755 --- a/documentai/apiv1beta3/documentaipb/operation_metadata.pb.go +++ b/documentai/apiv1beta3/documentaipb/operation_metadata.pb.go @@ -21,12 +21,11 @@ package documentaipb 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" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/processor.pb.go b/documentai/apiv1beta3/documentaipb/processor.pb.go index 558ec6c3b8ec..be274744eb5b 100755 --- a/documentai/apiv1beta3/documentaipb/processor.pb.go +++ b/documentai/apiv1beta3/documentaipb/processor.pb.go @@ -21,13 +21,12 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/processor_type.pb.go b/documentai/apiv1beta3/documentaipb/processor_type.pb.go index 290c9a5631e5..26d28f9d2118 100755 --- a/documentai/apiv1beta3/documentaipb/processor_type.pb.go +++ b/documentai/apiv1beta3/documentaipb/processor_type.pb.go @@ -21,13 +21,12 @@ package documentaipb import ( - reflect "reflect" - sync "sync" - api "google.golang.org/genproto/googleapis/api" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/domains/apiv1beta1/doc.go b/domains/apiv1beta1/doc.go index 76cf1dafd5a4..4c537491732d 100755 --- a/domains/apiv1beta1/doc.go +++ b/domains/apiv1beta1/doc.go @@ -19,73 +19,72 @@ // // Enables management and configuration of domain names. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := domains.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := domains.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := domains.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &domainspb.ConfigureContactSettingsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/domains/apiv1beta1/domainspb#ConfigureContactSettingsRequest. -// } -// op, err := c.ConfigureContactSettings(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := domains.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &domainspb.ConfigureContactSettingsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/domains/apiv1beta1/domainspb#ConfigureContactSettingsRequest. +// } +// op, err := c.ConfigureContactSettings(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/domains/apiv1beta1/domains_client.go b/domains/apiv1beta1/domains_client.go index a1cb02b01b50..f7be901489e4 100755 --- a/domains/apiv1beta1/domains_client.go +++ b/domains/apiv1beta1/domains_client.go @@ -274,11 +274,11 @@ func (c *Client) GetRegistration(ctx context.Context, req *domainspb.GetRegistra // UpdateRegistration updates select fields of a Registration resource, notably labels. To // update other fields, use the appropriate custom update method: // -// To update management settings, see ConfigureManagementSettings +// To update management settings, see ConfigureManagementSettings // -// To update DNS configuration, see ConfigureDnsSettings +// To update DNS configuration, see ConfigureDnsSettings // -// To update contact information, see ConfigureContactSettings +// To update contact information, see ConfigureContactSettings func (c *Client) UpdateRegistration(ctx context.Context, req *domainspb.UpdateRegistrationRequest, opts ...gax.CallOption) (*UpdateRegistrationOperation, error) { return c.internalClient.UpdateRegistration(ctx, req, opts...) } @@ -351,11 +351,11 @@ func (c *Client) ExportRegistrationOperation(name string) *ExportRegistrationOpe // For Registration resources using // Monthly billing (at /domains/pricing#billing-models), this method works if: // -// state is EXPORTED with expire_time in the past +// state is EXPORTED with expire_time in the past // -// state is REGISTRATION_FAILED +// state is REGISTRATION_FAILED // -// state is TRANSFER_FAILED +// state is TRANSFER_FAILED // // When an active registration is successfully deleted, you can continue to // use the domain in Google Domains (at https://domains.google/) until it @@ -1393,11 +1393,11 @@ func (c *restClient) GetRegistration(ctx context.Context, req *domainspb.GetRegi // UpdateRegistration updates select fields of a Registration resource, notably labels. To // update other fields, use the appropriate custom update method: // -// To update management settings, see ConfigureManagementSettings +// To update management settings, see ConfigureManagementSettings // -// To update DNS configuration, see ConfigureDnsSettings +// To update DNS configuration, see ConfigureDnsSettings // -// To update contact information, see ConfigureContactSettings +// To update contact information, see ConfigureContactSettings func (c *restClient) UpdateRegistration(ctx context.Context, req *domainspb.UpdateRegistrationRequest, opts ...gax.CallOption) (*UpdateRegistrationOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetRegistration() @@ -1773,11 +1773,11 @@ func (c *restClient) ExportRegistration(ctx context.Context, req *domainspb.Expo // For Registration resources using // Monthly billing (at /domains/pricing#billing-models), this method works if: // -// state is EXPORTED with expire_time in the past +// state is EXPORTED with expire_time in the past // -// state is REGISTRATION_FAILED +// state is REGISTRATION_FAILED // -// state is TRANSFER_FAILED +// state is TRANSFER_FAILED // // When an active registration is successfully deleted, you can continue to // use the domain in Google Domains (at https://domains.google/) until it diff --git a/domains/apiv1beta1/domainspb/domains.pb.go b/domains/apiv1beta1/domainspb/domains.pb.go index d52a92ec5d10..1639e32bbaa0 100755 --- a/domains/apiv1beta1/domainspb/domains.pb.go +++ b/domains/apiv1beta1/domainspb/domains.pb.go @@ -21,11 +21,8 @@ package domainspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" money "google.golang.org/genproto/googleapis/type/money" postaladdress "google.golang.org/genproto/googleapis/type/postaladdress" @@ -36,6 +33,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/edgecontainer/apiv1/doc.go b/edgecontainer/apiv1/doc.go index eb3f018422d6..7f444d89f128 100755 --- a/edgecontainer/apiv1/doc.go +++ b/edgecontainer/apiv1/doc.go @@ -17,71 +17,70 @@ // Package edgecontainer is an auto-generated package for the // Distributed Cloud Edge Container API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := edgecontainer.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := edgecontainer.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := edgecontainer.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &edgecontainerpb.CreateClusterRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb#CreateClusterRequest. -// } -// op, err := c.CreateCluster(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := edgecontainer.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &edgecontainerpb.CreateClusterRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb#CreateClusterRequest. +// } +// op, err := c.CreateCluster(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/edgecontainer/apiv1/edgecontainerpb/resources.pb.go b/edgecontainer/apiv1/edgecontainerpb/resources.pb.go index d416c4140600..3651a051855b 100755 --- a/edgecontainer/apiv1/edgecontainerpb/resources.pb.go +++ b/edgecontainer/apiv1/edgecontainerpb/resources.pb.go @@ -21,14 +21,13 @@ package edgecontainerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/edgecontainer/apiv1/edgecontainerpb/service.pb.go b/edgecontainer/apiv1/edgecontainerpb/service.pb.go index 7602088f3d40..bbdd5d8dff56 100755 --- a/edgecontainer/apiv1/edgecontainerpb/service.pb.go +++ b/edgecontainer/apiv1/edgecontainerpb/service.pb.go @@ -21,11 +21,8 @@ package edgecontainerpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/edgenetwork/apiv1/doc.go b/edgenetwork/apiv1/doc.go index 7feb7ac97170..9b09426bb36f 100755 --- a/edgenetwork/apiv1/doc.go +++ b/edgenetwork/apiv1/doc.go @@ -19,73 +19,72 @@ // // Network management API for Distributed Cloud Edge. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := edgenetwork.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := edgenetwork.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := edgenetwork.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &edgenetworkpb.CreateInterconnectAttachmentRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/edgenetwork/apiv1/edgenetworkpb#CreateInterconnectAttachmentRequest. -// } -// op, err := c.CreateInterconnectAttachment(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := edgenetwork.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &edgenetworkpb.CreateInterconnectAttachmentRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/edgenetwork/apiv1/edgenetworkpb#CreateInterconnectAttachmentRequest. +// } +// op, err := c.CreateInterconnectAttachment(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/edgenetwork/apiv1/edgenetworkpb/resources.pb.go b/edgenetwork/apiv1/edgenetworkpb/resources.pb.go index 8967410aa729..3b56c574d7ed 100755 --- a/edgenetwork/apiv1/edgenetworkpb/resources.pb.go +++ b/edgenetwork/apiv1/edgenetworkpb/resources.pb.go @@ -21,13 +21,12 @@ package edgenetworkpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/edgenetwork/apiv1/edgenetworkpb/service.pb.go b/edgenetwork/apiv1/edgenetworkpb/service.pb.go index 6f8301991df3..5023bd390516 100755 --- a/edgenetwork/apiv1/edgenetworkpb/service.pb.go +++ b/edgenetwork/apiv1/edgenetworkpb/service.pb.go @@ -21,11 +21,8 @@ package edgenetworkpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/essentialcontacts/apiv1/doc.go b/essentialcontacts/apiv1/doc.go index 8ee360d79bcd..0d64575664fd 100755 --- a/essentialcontacts/apiv1/doc.go +++ b/essentialcontacts/apiv1/doc.go @@ -17,72 +17,71 @@ // Package essentialcontacts is an auto-generated package for the // Essential Contacts API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := essentialcontacts.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := essentialcontacts.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := essentialcontacts.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &essentialcontactspb.ComputeContactsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb#ComputeContactsRequest. -// } -// it := c.ComputeContacts(ctx, req) -// for { -// resp, err := it.Next() -// if err == iterator.Done { -// break -// } -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// } -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := essentialcontacts.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &essentialcontactspb.ComputeContactsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb#ComputeContactsRequest. +// } +// it := c.ComputeContacts(ctx, req) +// for { +// resp, err := it.Next() +// if err == iterator.Done { +// break +// } +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// } +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/essentialcontacts/apiv1/essentialcontactspb/enums.pb.go b/essentialcontacts/apiv1/essentialcontactspb/enums.pb.go index 3b110a5f19a7..a3ee4c2355ba 100755 --- a/essentialcontacts/apiv1/essentialcontactspb/enums.pb.go +++ b/essentialcontacts/apiv1/essentialcontactspb/enums.pb.go @@ -21,11 +21,10 @@ package essentialcontactspb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/essentialcontacts/apiv1/essentialcontactspb/service.pb.go b/essentialcontacts/apiv1/essentialcontactspb/service.pb.go index f510c1386d9b..a8b6efd3ba7c 100755 --- a/essentialcontacts/apiv1/essentialcontactspb/service.pb.go +++ b/essentialcontacts/apiv1/essentialcontactspb/service.pb.go @@ -22,9 +22,6 @@ package essentialcontactspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/eventarc/apiv1/doc.go b/eventarc/apiv1/doc.go index 370a41002248..9e088440df9b 100755 --- a/eventarc/apiv1/doc.go +++ b/eventarc/apiv1/doc.go @@ -19,71 +19,70 @@ // // Build event-driven applications on Google Cloud Platform. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := eventarc.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := eventarc.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := eventarc.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &eventarcpb.CreateChannelRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/eventarc/apiv1/eventarcpb#CreateChannelRequest. -// } -// op, err := c.CreateChannel(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := eventarc.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &eventarcpb.CreateChannelRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/eventarc/apiv1/eventarcpb#CreateChannelRequest. +// } +// op, err := c.CreateChannel(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/eventarc/apiv1/eventarcpb/channel.pb.go b/eventarc/apiv1/eventarcpb/channel.pb.go index 9026c3d476d3..dd2428b8b957 100755 --- a/eventarc/apiv1/eventarcpb/channel.pb.go +++ b/eventarc/apiv1/eventarcpb/channel.pb.go @@ -21,13 +21,12 @@ package eventarcpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/eventarc/apiv1/eventarcpb/channel_connection.pb.go b/eventarc/apiv1/eventarcpb/channel_connection.pb.go index 4e3ce72e84e3..b0a7397c033f 100755 --- a/eventarc/apiv1/eventarcpb/channel_connection.pb.go +++ b/eventarc/apiv1/eventarcpb/channel_connection.pb.go @@ -21,13 +21,12 @@ package eventarcpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/eventarc/apiv1/eventarcpb/discovery.pb.go b/eventarc/apiv1/eventarcpb/discovery.pb.go index 317643d0e888..f059664629d8 100755 --- a/eventarc/apiv1/eventarcpb/discovery.pb.go +++ b/eventarc/apiv1/eventarcpb/discovery.pb.go @@ -21,12 +21,11 @@ package eventarcpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/eventarc/apiv1/eventarcpb/eventarc.pb.go b/eventarc/apiv1/eventarcpb/eventarc.pb.go index cb1cef18a96a..464a51f51f05 100755 --- a/eventarc/apiv1/eventarcpb/eventarc.pb.go +++ b/eventarc/apiv1/eventarcpb/eventarc.pb.go @@ -21,11 +21,8 @@ package eventarcpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/eventarc/apiv1/eventarcpb/google_channel_config.pb.go b/eventarc/apiv1/eventarcpb/google_channel_config.pb.go index a6c23efe8c24..2756c156cda3 100755 --- a/eventarc/apiv1/eventarcpb/google_channel_config.pb.go +++ b/eventarc/apiv1/eventarcpb/google_channel_config.pb.go @@ -21,13 +21,12 @@ package eventarcpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/eventarc/apiv1/eventarcpb/trigger.pb.go b/eventarc/apiv1/eventarcpb/trigger.pb.go index 0e669d10e829..17dc25f57557 100755 --- a/eventarc/apiv1/eventarcpb/trigger.pb.go +++ b/eventarc/apiv1/eventarcpb/trigger.pb.go @@ -21,14 +21,13 @@ package eventarcpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" code "google.golang.org/genproto/googleapis/rpc/code" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/eventarc/publishing/apiv1/auxiliary.go b/eventarc/publishing/apiv1/auxiliary.go index bea53280283c..36bb02f36b33 100755 --- a/eventarc/publishing/apiv1/auxiliary.go +++ b/eventarc/publishing/apiv1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package publishing + +import () diff --git a/eventarc/publishing/apiv1/doc.go b/eventarc/publishing/apiv1/doc.go index a5a0d606ea2c..1bb1063cb702 100755 --- a/eventarc/publishing/apiv1/doc.go +++ b/eventarc/publishing/apiv1/doc.go @@ -17,66 +17,65 @@ // Package publishing is an auto-generated package for the // Eventarc Publishing API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := publishing.NewPublisherClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := publishing.NewPublisherClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := publishing.NewPublisherClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &publishingpb.PublishChannelConnectionEventsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/eventarc/publishing/apiv1/publishingpb#PublishChannelConnectionEventsRequest. -// } -// resp, err := c.PublishChannelConnectionEvents(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := publishing.NewPublisherClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &publishingpb.PublishChannelConnectionEventsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/eventarc/publishing/apiv1/publishingpb#PublishChannelConnectionEventsRequest. +// } +// resp, err := c.PublishChannelConnectionEvents(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewPublisherClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/eventarc/publishing/apiv1/publishingpb/publisher.pb.go b/eventarc/publishing/apiv1/publishingpb/publisher.pb.go index 399a80052dc1..8664019236f1 100755 --- a/eventarc/publishing/apiv1/publishingpb/publisher.pb.go +++ b/eventarc/publishing/apiv1/publishingpb/publisher.pb.go @@ -22,9 +22,6 @@ package publishingpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/filestore/apiv1/cloud_filestore_manager_client.go b/filestore/apiv1/cloud_filestore_manager_client.go index 6d7001daa59e..8c61f15d5e6d 100755 --- a/filestore/apiv1/cloud_filestore_manager_client.go +++ b/filestore/apiv1/cloud_filestore_manager_client.go @@ -304,24 +304,24 @@ type internalCloudFilestoreManagerClient interface { // The file.googleapis.com service implements the Filestore API and // defines the following resource model for managing instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of instances and backups, named: -// /instances/* and /backups/* respectively. +// Each location has a collection of instances and backups, named: +// /instances/* and /backups/* respectively. // -// As such, Filestore instances are resources of the form: -// /projects/{project_number}/locations/{location_id}/instances/{instance_id} -// and backups are resources of the form: -// /projects/{project_number}/locations/{location_id}/backup/{backup_id} +// As such, Filestore instances are resources of the form: +// /projects/{project_number}/locations/{location_id}/instances/{instance_id} +// and backups are resources of the form: +// /projects/{project_number}/locations/{location_id}/backup/{backup_id} // // Note that location_id must be a Google Cloud zone for instances, but // a Google Cloud region for backups; for example: // -// projects/12345/locations/us-central1-c/instances/my-filestore +// projects/12345/locations/us-central1-c/instances/my-filestore // -// projects/12345/locations/us-central1/backups/my-backup +// projects/12345/locations/us-central1/backups/my-backup type CloudFilestoreManagerClient struct { // The internal transport-dependent client. internalClient internalCloudFilestoreManagerClient @@ -585,24 +585,24 @@ type cloudFilestoreManagerGRPCClient struct { // The file.googleapis.com service implements the Filestore API and // defines the following resource model for managing instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of instances and backups, named: -// /instances/* and /backups/* respectively. +// Each location has a collection of instances and backups, named: +// /instances/* and /backups/* respectively. // -// As such, Filestore instances are resources of the form: -// /projects/{project_number}/locations/{location_id}/instances/{instance_id} -// and backups are resources of the form: -// /projects/{project_number}/locations/{location_id}/backup/{backup_id} +// As such, Filestore instances are resources of the form: +// /projects/{project_number}/locations/{location_id}/instances/{instance_id} +// and backups are resources of the form: +// /projects/{project_number}/locations/{location_id}/backup/{backup_id} // // Note that location_id must be a Google Cloud zone for instances, but // a Google Cloud region for backups; for example: // -// projects/12345/locations/us-central1-c/instances/my-filestore +// projects/12345/locations/us-central1-c/instances/my-filestore // -// projects/12345/locations/us-central1/backups/my-backup +// projects/12345/locations/us-central1/backups/my-backup func NewCloudFilestoreManagerClient(ctx context.Context, opts ...option.ClientOption) (*CloudFilestoreManagerClient, error) { clientOpts := defaultCloudFilestoreManagerGRPCClientOptions() if newCloudFilestoreManagerClientHook != nil { @@ -696,24 +696,24 @@ type cloudFilestoreManagerRESTClient struct { // The file.googleapis.com service implements the Filestore API and // defines the following resource model for managing instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of instances and backups, named: -// /instances/* and /backups/* respectively. +// Each location has a collection of instances and backups, named: +// /instances/* and /backups/* respectively. // -// As such, Filestore instances are resources of the form: -// /projects/{project_number}/locations/{location_id}/instances/{instance_id} -// and backups are resources of the form: -// /projects/{project_number}/locations/{location_id}/backup/{backup_id} +// As such, Filestore instances are resources of the form: +// /projects/{project_number}/locations/{location_id}/instances/{instance_id} +// and backups are resources of the form: +// /projects/{project_number}/locations/{location_id}/backup/{backup_id} // // Note that location_id must be a Google Cloud zone for instances, but // a Google Cloud region for backups; for example: // -// projects/12345/locations/us-central1-c/instances/my-filestore +// projects/12345/locations/us-central1-c/instances/my-filestore // -// projects/12345/locations/us-central1/backups/my-backup +// projects/12345/locations/us-central1/backups/my-backup func NewCloudFilestoreManagerRESTClient(ctx context.Context, opts ...option.ClientOption) (*CloudFilestoreManagerClient, error) { clientOpts := append(defaultCloudFilestoreManagerRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/filestore/apiv1/doc.go b/filestore/apiv1/doc.go index 5543a6b5b947..da57ade233c4 100755 --- a/filestore/apiv1/doc.go +++ b/filestore/apiv1/doc.go @@ -20,71 +20,70 @@ // The Cloud Filestore API is used for creating and managing cloud file // servers. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := filestore.NewCloudFilestoreManagerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := filestore.NewCloudFilestoreManagerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := filestore.NewCloudFilestoreManagerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &filestorepb.CreateBackupRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/filestore/apiv1/filestorepb#CreateBackupRequest. -// } -// op, err := c.CreateBackup(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := filestore.NewCloudFilestoreManagerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &filestorepb.CreateBackupRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/filestore/apiv1/filestorepb#CreateBackupRequest. +// } +// op, err := c.CreateBackup(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewCloudFilestoreManagerClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/filestore/apiv1/filestorepb/cloud_filestore_service.pb.go b/filestore/apiv1/filestorepb/cloud_filestore_service.pb.go index fce9d17d513c..5fd8baa015a9 100755 --- a/filestore/apiv1/filestorepb/cloud_filestore_service.pb.go +++ b/filestore/apiv1/filestorepb/cloud_filestore_service.pb.go @@ -21,11 +21,8 @@ package filestorepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" _ "google.golang.org/genproto/googleapis/cloud/common" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/firestore/apiv1/admin/adminpb/database.pb.go b/firestore/apiv1/admin/adminpb/database.pb.go index 4bc18aaea6c6..961b20da37f5 100755 --- a/firestore/apiv1/admin/adminpb/database.pb.go +++ b/firestore/apiv1/admin/adminpb/database.pb.go @@ -21,12 +21,11 @@ package adminpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/firestore/apiv1/admin/adminpb/field.pb.go b/firestore/apiv1/admin/adminpb/field.pb.go index 68408ef3f0aa..72e5bc48ce33 100755 --- a/firestore/apiv1/admin/adminpb/field.pb.go +++ b/firestore/apiv1/admin/adminpb/field.pb.go @@ -21,12 +21,11 @@ package adminpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/firestore/apiv1/admin/adminpb/firestore_admin.pb.go b/firestore/apiv1/admin/adminpb/firestore_admin.pb.go index 3e2e385168ed..e6c67591a356 100755 --- a/firestore/apiv1/admin/adminpb/firestore_admin.pb.go +++ b/firestore/apiv1/admin/adminpb/firestore_admin.pb.go @@ -21,11 +21,8 @@ package adminpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/firestore/apiv1/admin/adminpb/index.pb.go b/firestore/apiv1/admin/adminpb/index.pb.go index b70bbd36c56c..6d54778672ff 100755 --- a/firestore/apiv1/admin/adminpb/index.pb.go +++ b/firestore/apiv1/admin/adminpb/index.pb.go @@ -21,12 +21,11 @@ package adminpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/firestore/apiv1/admin/adminpb/location.pb.go b/firestore/apiv1/admin/adminpb/location.pb.go index 3b25c993fe2d..96eed9d1a37c 100755 --- a/firestore/apiv1/admin/adminpb/location.pb.go +++ b/firestore/apiv1/admin/adminpb/location.pb.go @@ -21,11 +21,10 @@ package adminpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/firestore/apiv1/admin/adminpb/operation.pb.go b/firestore/apiv1/admin/adminpb/operation.pb.go index 1262d9209746..a6a1842bcee1 100755 --- a/firestore/apiv1/admin/adminpb/operation.pb.go +++ b/firestore/apiv1/admin/adminpb/operation.pb.go @@ -21,12 +21,11 @@ package adminpb 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" + reflect "reflect" + sync "sync" ) const ( diff --git a/firestore/apiv1/admin/doc.go b/firestore/apiv1/admin/doc.go index dafdb9678882..afde9ed3233e 100755 --- a/firestore/apiv1/admin/doc.go +++ b/firestore/apiv1/admin/doc.go @@ -20,71 +20,70 @@ // Accesses the NoSQL document database built for automatic scaling, high // performance, and ease of application development. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := apiv1.NewFirestoreAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := apiv1.NewFirestoreAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := apiv1.NewFirestoreAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &adminpb.CreateDatabaseRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/firestore/apiv1/admin/adminpb#CreateDatabaseRequest. -// } -// op, err := c.CreateDatabase(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := apiv1.NewFirestoreAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &adminpb.CreateDatabaseRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/firestore/apiv1/admin/adminpb#CreateDatabaseRequest. +// } +// op, err := c.CreateDatabase(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewFirestoreAdminClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/firestore/apiv1/doc.go b/firestore/apiv1/doc.go index f06abb838e99..fc8d8d162dfa 100755 --- a/firestore/apiv1/doc.go +++ b/firestore/apiv1/doc.go @@ -20,43 +20,42 @@ // Accesses the NoSQL document database built for automatic scaling, high // performance, and ease of application development. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := firestore.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := firestore.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// # Use of Context +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/firestore/apiv1/firestorepb/aggregation_result.pb.go b/firestore/apiv1/firestorepb/aggregation_result.pb.go index af83c586d836..e4e0380898d6 100755 --- a/firestore/apiv1/firestorepb/aggregation_result.pb.go +++ b/firestore/apiv1/firestorepb/aggregation_result.pb.go @@ -21,11 +21,10 @@ package firestorepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/firestore/apiv1/firestorepb/bloom_filter.pb.go b/firestore/apiv1/firestorepb/bloom_filter.pb.go index 88e8d80ef2c6..2ad24f499166 100755 --- a/firestore/apiv1/firestorepb/bloom_filter.pb.go +++ b/firestore/apiv1/firestorepb/bloom_filter.pb.go @@ -21,11 +21,10 @@ package firestorepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( @@ -119,7 +118,7 @@ func (x *BitSequence) GetPadding() int32 { // These two hash values, named `h1` and `h2`, are then used to compute the // `hash_count` hash values using the formula, starting at `i=0`: // -// h(i) = h1 + (i * h2) +// h(i) = h1 + (i * h2) // // These resulting values are then taken modulo the number of bits in the bloom // filter to get the bits of the bloom filter to test for the given entry. diff --git a/firestore/apiv1/firestorepb/common.pb.go b/firestore/apiv1/firestorepb/common.pb.go index 155ef29007dc..41b24e84cc62 100755 --- a/firestore/apiv1/firestorepb/common.pb.go +++ b/firestore/apiv1/firestorepb/common.pb.go @@ -21,12 +21,11 @@ package firestorepb 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" + reflect "reflect" + sync "sync" ) const ( diff --git a/firestore/apiv1/firestorepb/document.pb.go b/firestore/apiv1/firestorepb/document.pb.go index 19cd51913a5a..df39a7772f3f 100755 --- a/firestore/apiv1/firestorepb/document.pb.go +++ b/firestore/apiv1/firestorepb/document.pb.go @@ -21,14 +21,13 @@ package firestorepb import ( - reflect "reflect" - sync "sync" - latlng "google.golang.org/genproto/googleapis/type/latlng" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/firestore/apiv1/firestorepb/firestore.pb.go b/firestore/apiv1/firestorepb/firestore.pb.go index b95a7e796d36..3087a46f03f7 100755 --- a/firestore/apiv1/firestorepb/firestore.pb.go +++ b/firestore/apiv1/firestorepb/firestore.pb.go @@ -22,9 +22,6 @@ package firestorepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/firestore/apiv1/firestorepb/query.pb.go b/firestore/apiv1/firestorepb/query.pb.go index d4e83e0ee9be..4fb2bc545128 100755 --- a/firestore/apiv1/firestorepb/query.pb.go +++ b/firestore/apiv1/firestorepb/query.pb.go @@ -21,13 +21,12 @@ package firestorepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/firestore/apiv1/firestorepb/write.pb.go b/firestore/apiv1/firestorepb/write.pb.go index 9f5d3f67b78f..ca43c9655f00 100755 --- a/firestore/apiv1/firestorepb/write.pb.go +++ b/firestore/apiv1/firestorepb/write.pb.go @@ -21,12 +21,11 @@ package firestorepb 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" + reflect "reflect" + sync "sync" ) const ( diff --git a/functions/apiv1/cloud_functions_client.go b/functions/apiv1/cloud_functions_client.go index b11630b8e151..990655798944 100755 --- a/functions/apiv1/cloud_functions_client.go +++ b/functions/apiv1/cloud_functions_client.go @@ -344,24 +344,24 @@ func (c *CloudFunctionsClient) CallFunction(ctx context.Context, req *functionsp // When uploading source code to the generated signed URL, please follow // these restrictions: // -// Source file type should be a zip file. +// Source file type should be a zip file. // -// Source file size should not exceed 100MB limit. +// Source file size should not exceed 100MB limit. // -// No credentials should be attached - the signed URLs provide access to the -// target bucket using internal service identity; if credentials were -// attached, the identity from the credentials would be used, but that -// identity does not have permissions to upload files to the URL. +// No credentials should be attached - the signed URLs provide access to the +// target bucket using internal service identity; if credentials were +// attached, the identity from the credentials would be used, but that +// identity does not have permissions to upload files to the URL. // // When making an HTTP PUT request, these two headers must be specified: // -// content-type: application/zip +// content-type: application/zip // -// x-goog-content-length-range: 0,104857600 +// x-goog-content-length-range: 0,104857600 // // And this header must NOT be specified: // -// Authorization: Bearer YOUR_TOKEN +// Authorization: Bearer YOUR_TOKEN func (c *CloudFunctionsClient) GenerateUploadUrl(ctx context.Context, req *functionspb.GenerateUploadUrlRequest, opts ...gax.CallOption) (*functionspb.GenerateUploadUrlResponse, error) { return c.internalClient.GenerateUploadUrl(ctx, req, opts...) } @@ -1372,24 +1372,24 @@ func (c *cloudFunctionsRESTClient) CallFunction(ctx context.Context, req *functi // When uploading source code to the generated signed URL, please follow // these restrictions: // -// Source file type should be a zip file. +// Source file type should be a zip file. // -// Source file size should not exceed 100MB limit. +// Source file size should not exceed 100MB limit. // -// No credentials should be attached - the signed URLs provide access to the -// target bucket using internal service identity; if credentials were -// attached, the identity from the credentials would be used, but that -// identity does not have permissions to upload files to the URL. +// No credentials should be attached - the signed URLs provide access to the +// target bucket using internal service identity; if credentials were +// attached, the identity from the credentials would be used, but that +// identity does not have permissions to upload files to the URL. // // When making an HTTP PUT request, these two headers must be specified: // -// content-type: application/zip +// content-type: application/zip // -// x-goog-content-length-range: 0,104857600 +// x-goog-content-length-range: 0,104857600 // // And this header must NOT be specified: // -// Authorization: Bearer YOUR_TOKEN +// Authorization: Bearer YOUR_TOKEN func (c *cloudFunctionsRESTClient) GenerateUploadUrl(ctx context.Context, req *functionspb.GenerateUploadUrlRequest, opts ...gax.CallOption) (*functionspb.GenerateUploadUrlResponse, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/functions/apiv1/doc.go b/functions/apiv1/doc.go index 8ed442221eea..08d6834a524b 100755 --- a/functions/apiv1/doc.go +++ b/functions/apiv1/doc.go @@ -20,66 +20,65 @@ // Manages lightweight user-provided functions executed in response to // events. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := functions.NewCloudFunctionsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := functions.NewCloudFunctionsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := functions.NewCloudFunctionsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &functionspb.CallFunctionRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/functions/apiv1/functionspb#CallFunctionRequest. -// } -// resp, err := c.CallFunction(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := functions.NewCloudFunctionsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &functionspb.CallFunctionRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/functions/apiv1/functionspb#CallFunctionRequest. +// } +// resp, err := c.CallFunction(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewCloudFunctionsClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/functions/apiv1/functionspb/functions.pb.go b/functions/apiv1/functionspb/functions.pb.go index 684b2855c4ae..b43c94cfc0a9 100755 --- a/functions/apiv1/functionspb/functions.pb.go +++ b/functions/apiv1/functionspb/functions.pb.go @@ -21,12 +21,9 @@ package functionspb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -37,6 +34,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/functions/apiv1/functionspb/operations.pb.go b/functions/apiv1/functionspb/operations.pb.go index 2697f06b8cbf..722ef65f1dcf 100755 --- a/functions/apiv1/functionspb/operations.pb.go +++ b/functions/apiv1/functionspb/operations.pb.go @@ -21,13 +21,12 @@ package functionspb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/functions/apiv2/doc.go b/functions/apiv2/doc.go index d2b56fdb4003..3371a91c73c1 100755 --- a/functions/apiv2/doc.go +++ b/functions/apiv2/doc.go @@ -20,71 +20,70 @@ // Manages lightweight user-provided functions executed in response to // events. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := functions.NewFunctionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := functions.NewFunctionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := functions.NewFunctionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &functionspb.CreateFunctionRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/functions/apiv2/functionspb#CreateFunctionRequest. -// } -// op, err := c.CreateFunction(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := functions.NewFunctionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &functionspb.CreateFunctionRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/functions/apiv2/functionspb#CreateFunctionRequest. +// } +// op, err := c.CreateFunction(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewFunctionClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/functions/apiv2/function_client.go b/functions/apiv2/function_client.go index dd08ae5bdbaf..f107a6dbc085 100755 --- a/functions/apiv2/function_client.go +++ b/functions/apiv2/function_client.go @@ -239,20 +239,20 @@ func (c *FunctionClient) DeleteFunctionOperation(name string) *DeleteFunctionOpe // When uploading source code to the generated signed URL, please follow // these restrictions: // -// Source file type should be a zip file. +// Source file type should be a zip file. // -// No credentials should be attached - the signed URLs provide access to the -// target bucket using internal service identity; if credentials were -// attached, the identity from the credentials would be used, but that -// identity does not have permissions to upload files to the URL. +// No credentials should be attached - the signed URLs provide access to the +// target bucket using internal service identity; if credentials were +// attached, the identity from the credentials would be used, but that +// identity does not have permissions to upload files to the URL. // // When making a HTTP PUT request, these two headers need to be specified: // -// content-type: application/zip +// content-type: application/zip // // And this header SHOULD NOT be specified: // -// Authorization: Bearer YOUR_TOKEN +// Authorization: Bearer YOUR_TOKEN func (c *FunctionClient) GenerateUploadUrl(ctx context.Context, req *functionspb.GenerateUploadUrlRequest, opts ...gax.CallOption) (*functionspb.GenerateUploadUrlResponse, error) { return c.internalClient.GenerateUploadUrl(ctx, req, opts...) } @@ -1229,20 +1229,20 @@ func (c *functionRESTClient) DeleteFunction(ctx context.Context, req *functionsp // When uploading source code to the generated signed URL, please follow // these restrictions: // -// Source file type should be a zip file. +// Source file type should be a zip file. // -// No credentials should be attached - the signed URLs provide access to the -// target bucket using internal service identity; if credentials were -// attached, the identity from the credentials would be used, but that -// identity does not have permissions to upload files to the URL. +// No credentials should be attached - the signed URLs provide access to the +// target bucket using internal service identity; if credentials were +// attached, the identity from the credentials would be used, but that +// identity does not have permissions to upload files to the URL. // // When making a HTTP PUT request, these two headers need to be specified: // -// content-type: application/zip +// content-type: application/zip // // And this header SHOULD NOT be specified: // -// Authorization: Bearer YOUR_TOKEN +// Authorization: Bearer YOUR_TOKEN func (c *functionRESTClient) GenerateUploadUrl(ctx context.Context, req *functionspb.GenerateUploadUrlRequest, opts ...gax.CallOption) (*functionspb.GenerateUploadUrlResponse, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/functions/apiv2/functionspb/functions.pb.go b/functions/apiv2/functionspb/functions.pb.go index 7e4bd3c20d12..baaecdf21cea 100755 --- a/functions/apiv2/functionspb/functions.pb.go +++ b/functions/apiv2/functionspb/functions.pb.go @@ -21,11 +21,8 @@ package functionspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/functions/apiv2beta/doc.go b/functions/apiv2beta/doc.go index 6073e4a586ee..e800d964f338 100755 --- a/functions/apiv2beta/doc.go +++ b/functions/apiv2beta/doc.go @@ -20,73 +20,72 @@ // Manages lightweight user-provided functions executed in response to // events. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := functions.NewFunctionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := functions.NewFunctionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := functions.NewFunctionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &functionspb.CreateFunctionRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/functions/apiv2beta/functionspb#CreateFunctionRequest. -// } -// op, err := c.CreateFunction(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := functions.NewFunctionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &functionspb.CreateFunctionRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/functions/apiv2beta/functionspb#CreateFunctionRequest. +// } +// op, err := c.CreateFunction(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewFunctionClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/functions/apiv2beta/function_client.go b/functions/apiv2beta/function_client.go index 343618a92678..5774682bf018 100755 --- a/functions/apiv2beta/function_client.go +++ b/functions/apiv2beta/function_client.go @@ -239,20 +239,20 @@ func (c *FunctionClient) DeleteFunctionOperation(name string) *DeleteFunctionOpe // When uploading source code to the generated signed URL, please follow // these restrictions: // -// Source file type should be a zip file. +// Source file type should be a zip file. // -// No credentials should be attached - the signed URLs provide access to the -// target bucket using internal service identity; if credentials were -// attached, the identity from the credentials would be used, but that -// identity does not have permissions to upload files to the URL. +// No credentials should be attached - the signed URLs provide access to the +// target bucket using internal service identity; if credentials were +// attached, the identity from the credentials would be used, but that +// identity does not have permissions to upload files to the URL. // // When making a HTTP PUT request, these two headers need to be specified: // -// content-type: application/zip +// content-type: application/zip // // And this header SHOULD NOT be specified: // -// Authorization: Bearer YOUR_TOKEN +// Authorization: Bearer YOUR_TOKEN func (c *FunctionClient) GenerateUploadUrl(ctx context.Context, req *functionspb.GenerateUploadUrlRequest, opts ...gax.CallOption) (*functionspb.GenerateUploadUrlResponse, error) { return c.internalClient.GenerateUploadUrl(ctx, req, opts...) } @@ -1229,20 +1229,20 @@ func (c *functionRESTClient) DeleteFunction(ctx context.Context, req *functionsp // When uploading source code to the generated signed URL, please follow // these restrictions: // -// Source file type should be a zip file. +// Source file type should be a zip file. // -// No credentials should be attached - the signed URLs provide access to the -// target bucket using internal service identity; if credentials were -// attached, the identity from the credentials would be used, but that -// identity does not have permissions to upload files to the URL. +// No credentials should be attached - the signed URLs provide access to the +// target bucket using internal service identity; if credentials were +// attached, the identity from the credentials would be used, but that +// identity does not have permissions to upload files to the URL. // // When making a HTTP PUT request, these two headers need to be specified: // -// content-type: application/zip +// content-type: application/zip // // And this header SHOULD NOT be specified: // -// Authorization: Bearer YOUR_TOKEN +// Authorization: Bearer YOUR_TOKEN func (c *functionRESTClient) GenerateUploadUrl(ctx context.Context, req *functionspb.GenerateUploadUrlRequest, opts ...gax.CallOption) (*functionspb.GenerateUploadUrlResponse, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/functions/apiv2beta/functionspb/functions.pb.go b/functions/apiv2beta/functionspb/functions.pb.go index b2d5d275f218..47cf65b657ba 100755 --- a/functions/apiv2beta/functionspb/functions.pb.go +++ b/functions/apiv2beta/functionspb/functions.pb.go @@ -21,11 +21,8 @@ package functionspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkebackup/apiv1/doc.go b/gkebackup/apiv1/doc.go index 26ac6c0ef717..86e1b1446d37 100755 --- a/gkebackup/apiv1/doc.go +++ b/gkebackup/apiv1/doc.go @@ -20,71 +20,70 @@ // Backup for GKE is a managed Kubernetes workload backup and restore service // for GKE clusters. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := gkebackup.NewBackupForGKEClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := gkebackup.NewBackupForGKEClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := gkebackup.NewBackupForGKEClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &gkebackuppb.CreateBackupRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/gkebackup/apiv1/gkebackuppb#CreateBackupRequest. -// } -// op, err := c.CreateBackup(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := gkebackup.NewBackupForGKEClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &gkebackuppb.CreateBackupRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/gkebackup/apiv1/gkebackuppb#CreateBackupRequest. +// } +// op, err := c.CreateBackup(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewBackupForGKEClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/gkebackup/apiv1/gkebackuppb/backup.pb.go b/gkebackup/apiv1/gkebackuppb/backup.pb.go index 2377cce0d9ad..28cfa4de20ef 100755 --- a/gkebackup/apiv1/gkebackuppb/backup.pb.go +++ b/gkebackup/apiv1/gkebackuppb/backup.pb.go @@ -21,13 +21,12 @@ package gkebackuppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkebackup/apiv1/gkebackuppb/backup_plan.pb.go b/gkebackup/apiv1/gkebackuppb/backup_plan.pb.go index e07ab8180ae3..3d290c818593 100755 --- a/gkebackup/apiv1/gkebackuppb/backup_plan.pb.go +++ b/gkebackup/apiv1/gkebackuppb/backup_plan.pb.go @@ -21,13 +21,12 @@ package gkebackuppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkebackup/apiv1/gkebackuppb/common.pb.go b/gkebackup/apiv1/gkebackuppb/common.pb.go index f25d9ff354f1..e4e6656a47b2 100755 --- a/gkebackup/apiv1/gkebackuppb/common.pb.go +++ b/gkebackup/apiv1/gkebackuppb/common.pb.go @@ -21,12 +21,11 @@ package gkebackuppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkebackup/apiv1/gkebackuppb/gkebackup.pb.go b/gkebackup/apiv1/gkebackuppb/gkebackup.pb.go index 6024fb10da14..848241bf2df6 100755 --- a/gkebackup/apiv1/gkebackuppb/gkebackup.pb.go +++ b/gkebackup/apiv1/gkebackuppb/gkebackup.pb.go @@ -21,11 +21,8 @@ package gkebackuppb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkebackup/apiv1/gkebackuppb/restore.pb.go b/gkebackup/apiv1/gkebackuppb/restore.pb.go index 7b3fb341c3f1..ce33d4668e85 100755 --- a/gkebackup/apiv1/gkebackuppb/restore.pb.go +++ b/gkebackup/apiv1/gkebackuppb/restore.pb.go @@ -21,13 +21,12 @@ package gkebackuppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkebackup/apiv1/gkebackuppb/restore_plan.pb.go b/gkebackup/apiv1/gkebackuppb/restore_plan.pb.go index e30210af5a47..d7fbf8207d36 100755 --- a/gkebackup/apiv1/gkebackuppb/restore_plan.pb.go +++ b/gkebackup/apiv1/gkebackuppb/restore_plan.pb.go @@ -21,13 +21,12 @@ package gkebackuppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkebackup/apiv1/gkebackuppb/volume.pb.go b/gkebackup/apiv1/gkebackuppb/volume.pb.go index f6f1e47c0810..19c4492781b9 100755 --- a/gkebackup/apiv1/gkebackuppb/volume.pb.go +++ b/gkebackup/apiv1/gkebackuppb/volume.pb.go @@ -21,13 +21,12 @@ package gkebackuppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkeconnect/gateway/apiv1beta1/auxiliary.go b/gkeconnect/gateway/apiv1beta1/auxiliary.go index 3f242e3fb4c5..310bcf78fdee 100755 --- a/gkeconnect/gateway/apiv1beta1/auxiliary.go +++ b/gkeconnect/gateway/apiv1beta1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package gateway + +import () diff --git a/gkeconnect/gateway/apiv1beta1/doc.go b/gkeconnect/gateway/apiv1beta1/doc.go index bde478c20738..a761d81049fd 100755 --- a/gkeconnect/gateway/apiv1beta1/doc.go +++ b/gkeconnect/gateway/apiv1beta1/doc.go @@ -20,68 +20,67 @@ // The Connect Gateway service allows connectivity from external parties to // connected Kubernetes clusters. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := gateway.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := gateway.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := gateway.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &httpbodypb.HttpBody{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/google.golang.org/genproto/googleapis/api/httpbody#HttpBody. -// } -// resp, err := c.DeleteResource(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := gateway.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &httpbodypb.HttpBody{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/google.golang.org/genproto/googleapis/api/httpbody#HttpBody. +// } +// resp, err := c.DeleteResource(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/gkeconnect/gateway/apiv1beta1/gatewaypb/gateway.pb.go b/gkeconnect/gateway/apiv1beta1/gatewaypb/gateway.pb.go index ad42dbcefd9b..15149c6206ed 100755 --- a/gkeconnect/gateway/apiv1beta1/gatewaypb/gateway.pb.go +++ b/gkeconnect/gateway/apiv1beta1/gatewaypb/gateway.pb.go @@ -22,8 +22,6 @@ package gatewaypb import ( context "context" - reflect "reflect" - _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -31,6 +29,7 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/gkehub/apiv1beta1/doc.go b/gkehub/apiv1beta1/doc.go index 72c02efef879..9a5fc9e65b36 100755 --- a/gkehub/apiv1beta1/doc.go +++ b/gkehub/apiv1beta1/doc.go @@ -17,73 +17,72 @@ // Package gkehub is an auto-generated package for the // GKE Hub API. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := gkehub.NewGkeHubMembershipClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := gkehub.NewGkeHubMembershipClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := gkehub.NewGkeHubMembershipClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &gkehubpb.CreateMembershipRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/gkehub/apiv1beta1/gkehubpb#CreateMembershipRequest. -// } -// op, err := c.CreateMembership(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := gkehub.NewGkeHubMembershipClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &gkehubpb.CreateMembershipRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/gkehub/apiv1beta1/gkehubpb#CreateMembershipRequest. +// } +// op, err := c.CreateMembership(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewGkeHubMembershipClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/gkehub/apiv1beta1/gkehubpb/membership.pb.go b/gkehub/apiv1beta1/gkehubpb/membership.pb.go index 47643b1b587e..26ba774f039c 100755 --- a/gkehub/apiv1beta1/gkehubpb/membership.pb.go +++ b/gkehub/apiv1beta1/gkehubpb/membership.pb.go @@ -21,11 +21,8 @@ package gkehubpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkemulticloud/apiv1/doc.go b/gkemulticloud/apiv1/doc.go index 7f6b610836bb..51bd46f452d1 100755 --- a/gkemulticloud/apiv1/doc.go +++ b/gkemulticloud/apiv1/doc.go @@ -25,71 +25,70 @@ // on your behalf. You can deploy workloads with the Anthos Multi-Cloud API // or the gcloud and kubectl command-line tools. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := gkemulticloud.NewAttachedClustersClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := gkemulticloud.NewAttachedClustersClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := gkemulticloud.NewAttachedClustersClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &gkemulticloudpb.CreateAttachedClusterRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb#CreateAttachedClusterRequest. -// } -// op, err := c.CreateAttachedCluster(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := gkemulticloud.NewAttachedClustersClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &gkemulticloudpb.CreateAttachedClusterRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb#CreateAttachedClusterRequest. +// } +// op, err := c.CreateAttachedCluster(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewAttachedClustersClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/gkemulticloud/apiv1/gkemulticloudpb/attached_resources.pb.go b/gkemulticloud/apiv1/gkemulticloudpb/attached_resources.pb.go index e48714c44feb..9c60cf2ae255 100755 --- a/gkemulticloud/apiv1/gkemulticloudpb/attached_resources.pb.go +++ b/gkemulticloud/apiv1/gkemulticloudpb/attached_resources.pb.go @@ -21,13 +21,12 @@ package gkemulticloudpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkemulticloud/apiv1/gkemulticloudpb/attached_service.pb.go b/gkemulticloud/apiv1/gkemulticloudpb/attached_service.pb.go index 619346300531..7dd381b556b1 100755 --- a/gkemulticloud/apiv1/gkemulticloudpb/attached_service.pb.go +++ b/gkemulticloud/apiv1/gkemulticloudpb/attached_service.pb.go @@ -21,11 +21,8 @@ package gkemulticloudpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkemulticloud/apiv1/gkemulticloudpb/aws_resources.pb.go b/gkemulticloud/apiv1/gkemulticloudpb/aws_resources.pb.go index 406d5921ab11..331d2b46265d 100755 --- a/gkemulticloud/apiv1/gkemulticloudpb/aws_resources.pb.go +++ b/gkemulticloud/apiv1/gkemulticloudpb/aws_resources.pb.go @@ -21,13 +21,12 @@ package gkemulticloudpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -1826,8 +1825,8 @@ func (x *AwsConfigEncryption) GetKmsKeyArn() string { // Details of placement information for an instance. // Limitations for using the `host` tenancy: // -// - T3 instances that use the unlimited CPU credit option don't support host -// tenancy. +// * T3 instances that use the unlimited CPU credit option don't support host +// tenancy. type AwsInstancePlacement struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/gkemulticloud/apiv1/gkemulticloudpb/aws_service.pb.go b/gkemulticloud/apiv1/gkemulticloudpb/aws_service.pb.go index 2e5d23f07bd9..ced9e95ae41e 100755 --- a/gkemulticloud/apiv1/gkemulticloudpb/aws_service.pb.go +++ b/gkemulticloud/apiv1/gkemulticloudpb/aws_service.pb.go @@ -21,11 +21,8 @@ package gkemulticloudpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkemulticloud/apiv1/gkemulticloudpb/azure_resources.pb.go b/gkemulticloud/apiv1/gkemulticloudpb/azure_resources.pb.go index 14e8993f162d..3ed09d5b4bf4 100755 --- a/gkemulticloud/apiv1/gkemulticloudpb/azure_resources.pb.go +++ b/gkemulticloud/apiv1/gkemulticloudpb/azure_resources.pb.go @@ -21,13 +21,12 @@ package gkemulticloudpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkemulticloud/apiv1/gkemulticloudpb/azure_service.pb.go b/gkemulticloud/apiv1/gkemulticloudpb/azure_service.pb.go index 1c5021ec33a1..bd898071493f 100755 --- a/gkemulticloud/apiv1/gkemulticloudpb/azure_service.pb.go +++ b/gkemulticloud/apiv1/gkemulticloudpb/azure_service.pb.go @@ -21,11 +21,8 @@ package gkemulticloudpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/gkemulticloud/apiv1/gkemulticloudpb/common_resources.pb.go b/gkemulticloud/apiv1/gkemulticloudpb/common_resources.pb.go index d93fef6e1ff3..1ad0453e0a3b 100755 --- a/gkemulticloud/apiv1/gkemulticloudpb/common_resources.pb.go +++ b/gkemulticloud/apiv1/gkemulticloudpb/common_resources.pb.go @@ -21,13 +21,12 @@ package gkemulticloudpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/gsuiteaddons/apiv1/doc.go b/gsuiteaddons/apiv1/doc.go index fd5f2ebe3b16..befc3a1d18bb 100755 --- a/gsuiteaddons/apiv1/doc.go +++ b/gsuiteaddons/apiv1/doc.go @@ -17,66 +17,65 @@ // Package gsuiteaddons is an auto-generated package for the // Google Workspace Add-ons API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := gsuiteaddons.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := gsuiteaddons.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := gsuiteaddons.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &gsuiteaddonspb.CreateDeploymentRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/gsuiteaddons/apiv1/gsuiteaddonspb#CreateDeploymentRequest. -// } -// resp, err := c.CreateDeployment(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := gsuiteaddons.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &gsuiteaddonspb.CreateDeploymentRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/gsuiteaddons/apiv1/gsuiteaddonspb#CreateDeploymentRequest. +// } +// resp, err := c.CreateDeployment(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/gsuiteaddons/apiv1/gsuiteaddonspb/gsuiteaddons.pb.go b/gsuiteaddons/apiv1/gsuiteaddonspb/gsuiteaddons.pb.go index a58c52ef4d19..526fc6387db5 100755 --- a/gsuiteaddons/apiv1/gsuiteaddonspb/gsuiteaddons.pb.go +++ b/gsuiteaddons/apiv1/gsuiteaddonspb/gsuiteaddons.pb.go @@ -22,9 +22,6 @@ package gsuiteaddonspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" _type "google.golang.org/genproto/googleapis/apps/script/type" calendar "google.golang.org/genproto/googleapis/apps/script/type/calendar" @@ -40,6 +37,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/iam/apiv1/auxiliary.go b/iam/apiv1/auxiliary.go index 788f307f7089..c52ee3e8ba81 100755 --- a/iam/apiv1/auxiliary.go +++ b/iam/apiv1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package iam + +import () diff --git a/iam/apiv1/doc.go b/iam/apiv1/doc.go index 3722b35c8146..a90500f3d407 100755 --- a/iam/apiv1/doc.go +++ b/iam/apiv1/doc.go @@ -19,66 +19,65 @@ // // Manages access control for Google Cloud Platform resources. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := iam.NewIamPolicyClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := iam.NewIamPolicyClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := iam.NewIamPolicyClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &iampb.GetIamPolicyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest. -// } -// resp, err := c.GetIamPolicy(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := iam.NewIamPolicyClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &iampb.GetIamPolicyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest. +// } +// resp, err := c.GetIamPolicy(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewIamPolicyClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/iam/apiv1/iam_policy_client.go b/iam/apiv1/iam_policy_client.go index e5158e0a108d..659ad1656d0b 100755 --- a/iam/apiv1/iam_policy_client.go +++ b/iam/apiv1/iam_policy_client.go @@ -86,7 +86,7 @@ type internalIamPolicyClient interface { // IamPolicyClient is a client for interacting with IAM Meta API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// # API Overview +// API Overview // // Manages Identity and Access Management (IAM) policies. // @@ -102,7 +102,7 @@ type internalIamPolicyClient interface { // specified only at the Table level, whereas another might allow access control // to also be specified at the Column level. // -// # Policy StructureSee google.iam.v1.Policy +// Policy StructureSee google.iam.v1.Policy // // This is intentionally not a CRUD style API because access control policies // are created and deleted implicitly with the resources to which they are @@ -184,7 +184,7 @@ type iamPolicyGRPCClient struct { // NewIamPolicyClient creates a new iam policy client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// # API Overview +// API Overview // // Manages Identity and Access Management (IAM) policies. // @@ -200,7 +200,7 @@ type iamPolicyGRPCClient struct { // specified only at the Table level, whereas another might allow access control // to also be specified at the Column level. // -// # Policy StructureSee google.iam.v1.Policy +// Policy StructureSee google.iam.v1.Policy // // This is intentionally not a CRUD style API because access control policies // are created and deleted implicitly with the resources to which they are @@ -273,7 +273,7 @@ type iamPolicyRESTClient struct { // NewIamPolicyRESTClient creates a new iam policy rest client. // -// # API Overview +// API Overview // // Manages Identity and Access Management (IAM) policies. // @@ -289,7 +289,7 @@ type iamPolicyRESTClient struct { // specified only at the Table level, whereas another might allow access control // to also be specified at the Column level. // -// # Policy StructureSee google.iam.v1.Policy +// Policy StructureSee google.iam.v1.Policy // // This is intentionally not a CRUD style API because access control policies // are created and deleted implicitly with the resources to which they are diff --git a/iam/apiv1/iampb/iam_policy.pb.go b/iam/apiv1/iampb/iam_policy.pb.go index 85346a891df1..f12f3ab27d33 100755 --- a/iam/apiv1/iampb/iam_policy.pb.go +++ b/iam/apiv1/iampb/iam_policy.pb.go @@ -22,9 +22,6 @@ package iampb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/iam/apiv1/iampb/options.pb.go b/iam/apiv1/iampb/options.pb.go index 68f8d761f7f7..0525514da6d2 100755 --- a/iam/apiv1/iampb/options.pb.go +++ b/iam/apiv1/iampb/options.pb.go @@ -21,11 +21,10 @@ package iampb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/iam/apiv1/iampb/policy.pb.go b/iam/apiv1/iampb/policy.pb.go index eefd1d0e546b..fad8099ed1df 100755 --- a/iam/apiv1/iampb/policy.pb.go +++ b/iam/apiv1/iampb/policy.pb.go @@ -21,12 +21,11 @@ package iampb import ( - reflect "reflect" - sync "sync" - expr "google.golang.org/genproto/googleapis/type/expr" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( @@ -203,6 +202,7 @@ func (AuditConfigDelta_Action) EnumDescriptor() ([]byte, []int) { // An Identity and Access Management (IAM) policy, which specifies access // controls for Google Cloud resources. // +// // A `Policy` is a collection of `bindings`. A `binding` binds one or more // `members`, or principals, to a single `role`. Principals can be user // accounts, service accounts, Google groups, and domains (such as G Suite). A @@ -220,58 +220,54 @@ func (AuditConfigDelta_Action) EnumDescriptor() ([]byte, []int) { // **JSON example:** // // ``` -// -// { -// "bindings": [ -// { -// "role": "roles/resourcemanager.organizationAdmin", -// "members": [ -// "user:mike@example.com", -// "group:admins@example.com", -// "domain:google.com", -// "serviceAccount:my-project-id@appspot.gserviceaccount.com" -// ] -// }, -// { -// "role": "roles/resourcemanager.organizationViewer", -// "members": [ -// "user:eve@example.com" -// ], -// "condition": { -// "title": "expirable access", -// "description": "Does not grant access after Sep 2020", -// "expression": "request.time < -// timestamp('2020-10-01T00:00:00.000Z')", -// } -// } -// ], -// "etag": "BwWWja0YfJA=", -// "version": 3 -// } -// +// { +// "bindings": [ +// { +// "role": "roles/resourcemanager.organizationAdmin", +// "members": [ +// "user:mike@example.com", +// "group:admins@example.com", +// "domain:google.com", +// "serviceAccount:my-project-id@appspot.gserviceaccount.com" +// ] +// }, +// { +// "role": "roles/resourcemanager.organizationViewer", +// "members": [ +// "user:eve@example.com" +// ], +// "condition": { +// "title": "expirable access", +// "description": "Does not grant access after Sep 2020", +// "expression": "request.time < +// timestamp('2020-10-01T00:00:00.000Z')", +// } +// } +// ], +// "etag": "BwWWja0YfJA=", +// "version": 3 +// } // ``` // // **YAML example:** // // ``` -// -// bindings: -// - members: -// - user:mike@example.com -// - group:admins@example.com -// - domain:google.com -// - serviceAccount:my-project-id@appspot.gserviceaccount.com -// role: roles/resourcemanager.organizationAdmin -// - members: -// - user:eve@example.com -// role: roles/resourcemanager.organizationViewer -// condition: -// title: expirable access -// description: Does not grant access after Sep 2020 -// expression: request.time < timestamp('2020-10-01T00:00:00.000Z') -// etag: BwWWja0YfJA= -// version: 3 -// +// bindings: +// - members: +// - user:mike@example.com +// - group:admins@example.com +// - domain:google.com +// - serviceAccount:my-project-id@appspot.gserviceaccount.com +// role: roles/resourcemanager.organizationAdmin +// - members: +// - user:eve@example.com +// role: roles/resourcemanager.organizationViewer +// condition: +// title: expirable access +// description: Does not grant access after Sep 2020 +// expression: request.time < timestamp('2020-10-01T00:00:00.000Z') +// etag: BwWWja0YfJA= +// version: 3 // ``` // // For a description of IAM and its features, see the @@ -529,41 +525,41 @@ func (x *Binding) GetCondition() *expr.Expr { // // Example Policy with multiple AuditConfigs: // -// { -// "audit_configs": [ -// { -// "service": "allServices", -// "audit_log_configs": [ -// { -// "log_type": "DATA_READ", -// "exempted_members": [ -// "user:jose@example.com" -// ] -// }, -// { -// "log_type": "DATA_WRITE" -// }, -// { -// "log_type": "ADMIN_READ" -// } -// ] -// }, -// { -// "service": "sampleservice.googleapis.com", -// "audit_log_configs": [ -// { -// "log_type": "DATA_READ" -// }, -// { -// "log_type": "DATA_WRITE", -// "exempted_members": [ -// "user:aliya@example.com" -// ] -// } -// ] -// } -// ] -// } +// { +// "audit_configs": [ +// { +// "service": "allServices", +// "audit_log_configs": [ +// { +// "log_type": "DATA_READ", +// "exempted_members": [ +// "user:jose@example.com" +// ] +// }, +// { +// "log_type": "DATA_WRITE" +// }, +// { +// "log_type": "ADMIN_READ" +// } +// ] +// }, +// { +// "service": "sampleservice.googleapis.com", +// "audit_log_configs": [ +// { +// "log_type": "DATA_READ" +// }, +// { +// "log_type": "DATA_WRITE", +// "exempted_members": [ +// "user:aliya@example.com" +// ] +// } +// ] +// } +// ] +// } // // For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ // logging. It also exempts `jose@example.com` from DATA_READ logging, and @@ -630,19 +626,19 @@ func (x *AuditConfig) GetAuditLogConfigs() []*AuditLogConfig { // Provides the configuration for logging a type of permissions. // Example: // -// { -// "audit_log_configs": [ -// { -// "log_type": "DATA_READ", -// "exempted_members": [ -// "user:jose@example.com" -// ] -// }, -// { -// "log_type": "DATA_WRITE" -// } -// ] -// } +// { +// "audit_log_configs": [ +// { +// "log_type": "DATA_READ", +// "exempted_members": [ +// "user:jose@example.com" +// ] +// }, +// { +// "log_type": "DATA_WRITE" +// } +// ] +// } // // This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting // jose@example.com from DATA_READ logging. diff --git a/iam/apiv2/doc.go b/iam/apiv2/doc.go index 17fd244d0e80..3d9171ecd12a 100755 --- a/iam/apiv2/doc.go +++ b/iam/apiv2/doc.go @@ -21,71 +21,70 @@ // including the creation of service accounts, which you can use to // authenticate to Google and make API calls. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := iam.NewPoliciesClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := iam.NewPoliciesClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := iam.NewPoliciesClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &iampb.CreatePolicyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/iam/apiv2/iampb#CreatePolicyRequest. -// } -// op, err := c.CreatePolicy(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := iam.NewPoliciesClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &iampb.CreatePolicyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/iam/apiv2/iampb#CreatePolicyRequest. +// } +// op, err := c.CreatePolicy(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewPoliciesClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/iam/apiv2/iampb/deny.pb.go b/iam/apiv2/iampb/deny.pb.go index 585e5e72d36a..82319502c559 100755 --- a/iam/apiv2/iampb/deny.pb.go +++ b/iam/apiv2/iampb/deny.pb.go @@ -21,12 +21,11 @@ package iampb import ( - reflect "reflect" - sync "sync" - expr "google.golang.org/genproto/googleapis/type/expr" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/iam/apiv2/iampb/policy.pb.go b/iam/apiv2/iampb/policy.pb.go index be46e356d93c..00be53897215 100755 --- a/iam/apiv2/iampb/policy.pb.go +++ b/iam/apiv2/iampb/policy.pb.go @@ -21,11 +21,8 @@ package iampb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/iam/credentials/apiv1/auxiliary.go b/iam/credentials/apiv1/auxiliary.go index 69a05051827b..168b8e6f29de 100755 --- a/iam/credentials/apiv1/auxiliary.go +++ b/iam/credentials/apiv1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package credentials + +import () diff --git a/iam/credentials/apiv1/credentialspb/common.pb.go b/iam/credentials/apiv1/credentialspb/common.pb.go index e78dd4710266..e6eb18c40be7 100755 --- a/iam/credentials/apiv1/credentialspb/common.pb.go +++ b/iam/credentials/apiv1/credentialspb/common.pb.go @@ -21,14 +21,13 @@ package credentialspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/iam/credentials/apiv1/credentialspb/iamcredentials.pb.go b/iam/credentials/apiv1/credentialspb/iamcredentials.pb.go index b7e371d7a3a6..9e282dec763c 100755 --- a/iam/credentials/apiv1/credentialspb/iamcredentials.pb.go +++ b/iam/credentials/apiv1/credentialspb/iamcredentials.pb.go @@ -22,14 +22,13 @@ package credentialspb import ( context "context" - reflect "reflect" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/iam/credentials/apiv1/doc.go b/iam/credentials/apiv1/doc.go index b892ea69b2ee..08a0c945a769 100755 --- a/iam/credentials/apiv1/doc.go +++ b/iam/credentials/apiv1/doc.go @@ -20,66 +20,65 @@ // Creates short-lived, limited-privilege credentials for IAM service // accounts. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := credentials.NewIamCredentialsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := credentials.NewIamCredentialsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := credentials.NewIamCredentialsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &credentialspb.GenerateAccessTokenRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/iam/credentials/apiv1/credentialspb#GenerateAccessTokenRequest. -// } -// resp, err := c.GenerateAccessToken(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := credentials.NewIamCredentialsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &credentialspb.GenerateAccessTokenRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/iam/credentials/apiv1/credentialspb#GenerateAccessTokenRequest. +// } +// resp, err := c.GenerateAccessToken(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewIamCredentialsClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/iap/apiv1/doc.go b/iap/apiv1/doc.go index 682e89e8690a..1ce0f1751ef8 100755 --- a/iap/apiv1/doc.go +++ b/iap/apiv1/doc.go @@ -19,66 +19,65 @@ // // Controls access to cloud applications running on Google Cloud Platform. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := iap.NewIdentityAwareProxyAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := iap.NewIdentityAwareProxyAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := iap.NewIdentityAwareProxyAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &iappb.CreateTunnelDestGroupRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/iap/apiv1/iappb#CreateTunnelDestGroupRequest. -// } -// resp, err := c.CreateTunnelDestGroup(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := iap.NewIdentityAwareProxyAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &iappb.CreateTunnelDestGroupRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/iap/apiv1/iappb#CreateTunnelDestGroupRequest. +// } +// resp, err := c.CreateTunnelDestGroup(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewIdentityAwareProxyAdminClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/iap/apiv1/iappb/service.pb.go b/iap/apiv1/iappb/service.pb.go index 1b781d1e1241..a43bd077aeb7 100755 --- a/iap/apiv1/iappb/service.pb.go +++ b/iap/apiv1/iappb/service.pb.go @@ -21,11 +21,8 @@ package iappb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/ids/apiv1/doc.go b/ids/apiv1/doc.go index edac7984ad7c..981b72ec1af9 100755 --- a/ids/apiv1/doc.go +++ b/ids/apiv1/doc.go @@ -23,71 +23,70 @@ // When you use this product, your organization name and consumption levels // will be shared with Palo Alto Networks. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := ids.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := ids.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := ids.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &idspb.CreateEndpointRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/ids/apiv1/idspb#CreateEndpointRequest. -// } -// op, err := c.CreateEndpoint(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := ids.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &idspb.CreateEndpointRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/ids/apiv1/idspb#CreateEndpointRequest. +// } +// op, err := c.CreateEndpoint(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/ids/apiv1/idspb/ids.pb.go b/ids/apiv1/idspb/ids.pb.go index 5ea752be5ef7..73c6be87d7e1 100755 --- a/ids/apiv1/idspb/ids.pb.go +++ b/ids/apiv1/idspb/ids.pb.go @@ -21,11 +21,8 @@ package idspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( 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 73c8c0c04208..72252e35c137 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/accessapproval/apiv1", - "version": "1.7.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 fbe20cc5d585..9a069b7e4924 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/accesscontextmanager/apiv1", - "version": "1.8.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 3ee703b42227..020219f3900a 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/advisorynotifications/apiv1", - "version": "1.2.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 e41782e16a89..6f7403f2e3c9 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/ai/generativelanguage/apiv1beta2", - "version": "0.1.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 874844c2a308..95b2eb23e0cf 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.54.0", + "version": "$VERSION", "language": "GO", "apis": [ { 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 9efd353a11c7..dd7722afb976 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.54.0", + "version": "$VERSION", "language": "GO", "apis": [ { 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 a99b2e3575d4..cf6a302b2c7b 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/alloydb/apiv1", - "version": "1.7.0", + "version": "$VERSION", "language": "GO", "apis": [ { 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 36f68c212e5a..e88ff2fa66a4 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/alloydb/apiv1alpha", - "version": "1.7.0", + "version": "$VERSION", "language": "GO", "apis": [ { 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 92b27e0356f6..31f13776f70c 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/alloydb/apiv1beta", - "version": "1.7.0", + "version": "$VERSION", "language": "GO", "apis": [ { 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 f8b885eb173d..b02a2b7961a0 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/analytics/admin/apiv1alpha", - "version": "0.21.6", + "version": "$VERSION", "language": "GO", "apis": [ { 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 99f9e3fced00..6bf56235057d 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/apigateway/apiv1", - "version": "1.6.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 f5b2431a3e12..cd9507c8409c 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/apigeeconnect/apiv1", - "version": "1.6.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 fa60ba3af6ad..2ccbb22b26b3 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/apigeeregistry/apiv1", - "version": "0.8.2", + "version": "$VERSION", "language": "GO", "apis": [ { 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 42bd93ddd24b..2b10b5c2f8bf 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/apikeys/apiv2", - "version": "1.1.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 7223c6ba9730..e65a73cf9ebd 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/appengine/apiv1", - "version": "1.8.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 fac10ef0829a..b62964d8ddf0 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/area120/tables/apiv1alpha1", - "version": "0.8.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 8a1c7a96ec8c..be6d281ff214 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/artifactregistry/apiv1", - "version": "1.14.6", + "version": "$VERSION", "language": "GO", "apis": [ { 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 9b59f083d715..d48dc3633c78 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/artifactregistry/apiv1beta2", - "version": "1.14.6", + "version": "$VERSION", "language": "GO", "apis": [ { 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 4b5e6ee77c3d..6e264258aea3 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/asset/apiv1", - "version": "1.15.3", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/asset/apiv1p2beta1/snippet_metadata.google.cloud.asset.v1p2beta1.json b/internal/generated/snippets/asset/apiv1p2beta1/snippet_metadata.google.cloud.asset.v1p2beta1.json index cd650ce5925b..c91ae38c1151 100644 --- a/internal/generated/snippets/asset/apiv1p2beta1/snippet_metadata.google.cloud.asset.v1p2beta1.json +++ b/internal/generated/snippets/asset/apiv1p2beta1/snippet_metadata.google.cloud.asset.v1p2beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/asset/apiv1p2beta1", - "version": "1.15.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 be59eebd9508..059d12544016 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/asset/apiv1p5beta1", - "version": "1.15.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 9f38c3487a3b..1803aac8711e 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/assuredworkloads/apiv1", - "version": "1.11.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 545002d9274c..003e86e5339b 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/assuredworkloads/apiv1beta1", - "version": "1.11.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 3f5c84b50d43..9286b2f722ed 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/automl/apiv1", - "version": "1.13.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 923d5b8ad26d..238ea107e8d3 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/automl/apiv1beta1", - "version": "1.13.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 1dacae1cc8b4..66f4eb862c04 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/baremetalsolution/apiv2", - "version": "1.2.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 6bfd40da4c2e..cb2bc190d05e 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/batch/apiv1", - "version": "1.6.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 140a7bc45b36..43d0babd883f 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/beyondcorp/appconnections/apiv1", - "version": "1.0.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 0ba91f251849..fda14ec92927 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/beyondcorp/appconnectors/apiv1", - "version": "1.0.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 d4798031318a..897c855eb4dc 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/beyondcorp/appgateways/apiv1", - "version": "1.0.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 f7a80e3525d4..f827762c285b 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/beyondcorp/clientconnectorservices/apiv1", - "version": "1.0.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 fb9f290cbd82..c8d1c34f463a 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/beyondcorp/clientgateways/apiv1", - "version": "1.0.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 b22279f74423..b466fe17e895 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.57.1", + "version": "$VERSION", "language": "GO", "apis": [ { 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 bb658697fb47..53ebde7923e8 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.57.1", + "version": "$VERSION", "language": "GO", "apis": [ { 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 5c0e81d08a92..01997a5df11d 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.57.1", + "version": "$VERSION", "language": "GO", "apis": [ { 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 bccfca9c0a2f..a48a62c3d743 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.57.1", + "version": "$VERSION", "language": "GO", "apis": [ { 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 36667e70e8c2..efaa3a351ba4 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.57.1", + "version": "$VERSION", "language": "GO", "apis": [ { 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 1bb784f75262..fdd2eae057bf 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.57.1", + "version": "$VERSION", "language": "GO", "apis": [ { 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 b7aa9e777659..27f95c702e98 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.57.1", + "version": "$VERSION", "language": "GO", "apis": [ { 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 05ad140e9196..cd992d18ed63 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.57.1", + "version": "$VERSION", "language": "GO", "apis": [ { 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 d0e7d3800e30..f2081ce28f5b 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.57.1", + "version": "$VERSION", "language": "GO", "apis": [ { 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 958f839d12c5..e704fc1f2054 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.57.1", + "version": "$VERSION", "language": "GO", "apis": [ { 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 b234799f9619..61b61c450739 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.57.1", + "version": "$VERSION", "language": "GO", "apis": [ { 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 17996d8626df..252e9d52de17 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.57.1", + "version": "$VERSION", "language": "GO", "apis": [ { 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 710e810a4ca2..c3114096a8b5 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.57.1", + "version": "$VERSION", "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 ee8aa8241675..66ba412c6d00 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.57.1", + "version": "$VERSION", "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 fbbffd785e41..a3090376d340 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.57.1", + "version": "$VERSION", "language": "GO", "apis": [ { 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 d2e4fa02704d..4702bb691e70 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/billing/apiv1", - "version": "1.17.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 f0ad8a4108cf..2220f1d6f8de 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/billing/budgets/apiv1", - "version": "1.17.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 eea4cfd436b2..d211fed6a9bc 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/billing/budgets/apiv1beta1", - "version": "1.17.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 c92c8e2c9002..415acc7b08d3 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/binaryauthorization/apiv1", - "version": "1.7.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 8263bac525fc..f2575e565cba 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/binaryauthorization/apiv1beta1", - "version": "1.7.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 fb1971df2dd7..5d7c94fec08a 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/certificatemanager/apiv1", - "version": "1.7.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 65e21c501c41..778c6f3618c6 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/channel/apiv1", - "version": "1.17.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 5c18b484967e..561949360422 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/cloudbuild/apiv1/v2", - "version": "1.15.0", + "version": "$VERSION", "language": "GO", "apis": [ { 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 be5877c48c42..644775c35665 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/cloudbuild/apiv2", - "version": "1.15.0", + "version": "$VERSION", "language": "GO", "apis": [ { 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 fb8bc8a4b574..367b547944b6 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/clouddms/apiv1", - "version": "1.7.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 f96677a431aa..77e56c5b2e64 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/cloudprofiler/apiv2", - "version": "0.1.0", + "version": "$VERSION", "language": "GO", "apis": [ { 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 96ef00106678..673ef5f196fd 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/cloudtasks/apiv2", - "version": "1.12.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 8d28f208b957..086485831eca 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/cloudtasks/apiv2beta2", - "version": "1.12.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 845fc2a24101..fbce5e30e4fc 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/cloudtasks/apiv2beta3", - "version": "1.12.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 0076cc98ac8f..5275e36a8c9c 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/commerce/consumer/procurement/apiv1", - "version": "0.1.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 3ae6dfeb4ca9..a189435b6760 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/compute/apiv1", - "version": "1.23.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 9b311d8db25a..bdc2b2b85213 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.0", + "version": "$VERSION", "language": "GO", "apis": [ { 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 cd88942f937a..ef8d81474626 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.0", + "version": "$VERSION", "language": "GO", "apis": [ { 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 d523a7bd9445..610fa7409f47 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/config/apiv1", - "version": "0.1.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 f80f95979852..9d54615746a7 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/contactcenterinsights/apiv1", - "version": "1.12.0", + "version": "$VERSION", "language": "GO", "apis": [ { 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 d96828a6ea4c..3a045aa74253 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.28.0", + "version": "$VERSION", "language": "GO", "apis": [ { 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 46a657bbcb7c..b2981ad33474 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/containeranalysis/apiv1beta1", - "version": "0.11.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 ef7249034e2d..0ea64837f180 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/datacatalog/apiv1", - "version": "1.19.0", + "version": "$VERSION", "language": "GO", "apis": [ { 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 5c7aec3a9b87..89de60744219 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/datacatalog/apiv1beta1", - "version": "1.19.0", + "version": "$VERSION", "language": "GO", "apis": [ { 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 ff606f03ab56..cb8a8229a4c4 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/datacatalog/lineage/apiv1", - "version": "1.19.0", + "version": "$VERSION", "language": "GO", "apis": [ { 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 8a5b618e38eb..ebbcfcc556e4 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dataflow/apiv1beta3", - "version": "0.9.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 32dcf8aa991f..420ce02acb1b 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dataform/apiv1alpha2", - "version": "0.9.1", + "version": "$VERSION", "language": "GO", "apis": [ { 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 9609e1be7041..d7fc061f9dab 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dataform/apiv1beta1", - "version": "0.9.1", + "version": "$VERSION", "language": "GO", "apis": [ { 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 ff0af30beb1a..2642bc64bdc7 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/datafusion/apiv1", - "version": "1.7.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 51a22d0b8c11..f268da07175d 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/datalabeling/apiv1beta1", - "version": "0.8.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 c56172f1cc03..b15ed8ebc951 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dataplex/apiv1", - "version": "1.11.2", + "version": "$VERSION", "language": "GO", "apis": [ { 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 86203de82ea2..6fc560494505 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dataproc/v2/apiv1", - "version": "2.3.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/dataqna/apiv1alpha/snippet_metadata.google.cloud.dataqna.v1alpha.json b/internal/generated/snippets/dataqna/apiv1alpha/snippet_metadata.google.cloud.dataqna.v1alpha.json index 9496fd9f46bd..b9287e0bfb3e 100644 --- a/internal/generated/snippets/dataqna/apiv1alpha/snippet_metadata.google.cloud.dataqna.v1alpha.json +++ b/internal/generated/snippets/dataqna/apiv1alpha/snippet_metadata.google.cloud.dataqna.v1alpha.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dataqna/apiv1alpha", - "version": "0.8.4", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/datastore/admin/apiv1/snippet_metadata.google.datastore.admin.v1.json b/internal/generated/snippets/datastore/admin/apiv1/snippet_metadata.google.datastore.admin.v1.json index 8ace687b978d..e2e10c6c744a 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/datastore/admin/apiv1", - "version": "1.15.0", + "version": "$VERSION", "language": "GO", "apis": [ { 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 e57a17915ca1..d33bfe6dbeb3 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/datastream/apiv1", - "version": "1.10.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 39f70a7aaf25..39489febfda1 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/datastream/apiv1alpha1", - "version": "1.10.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 773b839f2263..4f948a7b5d8e 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/deploy/apiv1", - "version": "1.15.0", + "version": "$VERSION", "language": "GO", "apis": [ { 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 36b01bd6a24e..b92e3f8563d3 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.44.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 a1a682894e12..7e888a9ba780 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.44.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 405a444cde83..75762ea497b3 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.44.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 73b9d1f47e12..4fed8856520d 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.44.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 8a2c2b7e432d..871e6da9f4d0 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/discoveryengine/apiv1", - "version": "1.2.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 78efc6a8b581..49524a3da4bb 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/discoveryengine/apiv1beta", - "version": "1.2.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 16ea5fc35a4d..8da094394d76 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dlp/apiv2", - "version": "1.11.1", + "version": "$VERSION", "language": "GO", "apis": [ { 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 1cd8d5882f71..cc2051fabf2b 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/documentai/apiv1", - "version": "1.23.5", + "version": "$VERSION", "language": "GO", "apis": [ { 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 a88ee78372f9..8df83ab2f8b4 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/documentai/apiv1beta3", - "version": "1.23.5", + "version": "$VERSION", "language": "GO", "apis": [ { 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 9b29d19a6e4a..6076da9931b9 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/domains/apiv1beta1", - "version": "0.9.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 aea9179bfa10..e5e024aca2d2 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/edgecontainer/apiv1", - "version": "1.1.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 1f38053468d7..d7cafa124210 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/edgenetwork/apiv1", - "version": "0.1.0", + "version": "$VERSION", "language": "GO", "apis": [ { 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 b115cef04fdc..04379a2b015d 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/essentialcontacts/apiv1", - "version": "1.6.5", + "version": "$VERSION", "language": "GO", "apis": [ { 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 41e98cd14a50..bc104bf201b8 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/eventarc/apiv1", - "version": "1.13.3", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/eventarc/publishing/apiv1/snippet_metadata.google.cloud.eventarc.publishing.v1.json b/internal/generated/snippets/eventarc/publishing/apiv1/snippet_metadata.google.cloud.eventarc.publishing.v1.json index 8d05a2138a43..e568959bb99f 100644 --- a/internal/generated/snippets/eventarc/publishing/apiv1/snippet_metadata.google.cloud.eventarc.publishing.v1.json +++ b/internal/generated/snippets/eventarc/publishing/apiv1/snippet_metadata.google.cloud.eventarc.publishing.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/eventarc/publishing/apiv1", - "version": "1.13.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 aad0fff3c387..f13067be0ab8 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/filestore/apiv1", - "version": "1.8.0", + "version": "$VERSION", "language": "GO", "apis": [ { 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 b3fec7cd6147..e0f0539cd4ed 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/firestore/apiv1/admin", - "version": "1.14.0", + "version": "$VERSION", "language": "GO", "apis": [ { 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 1356eabca190..0be5e2c17f9e 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/firestore/apiv1", - "version": "1.14.0", + "version": "$VERSION", "language": "GO", "apis": [ { 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 a5c7d7d5c051..473f3df4c9b6 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/functions/apiv1", - "version": "1.15.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 952abbcc010d..10c7fee36fac 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/functions/apiv2", - "version": "1.15.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 21f11e04a4ef..de798caed810 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/functions/apiv2beta", - "version": "1.15.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 a8c8a6f4fc48..878510a67270 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.4", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/gkeconnect/gateway/apiv1beta1/snippet_metadata.google.cloud.gkeconnect.gateway.v1beta1.json b/internal/generated/snippets/gkeconnect/gateway/apiv1beta1/snippet_metadata.google.cloud.gkeconnect.gateway.v1beta1.json index 4ad30be98657..f4a86f45579f 100644 --- a/internal/generated/snippets/gkeconnect/gateway/apiv1beta1/snippet_metadata.google.cloud.gkeconnect.gateway.v1beta1.json +++ b/internal/generated/snippets/gkeconnect/gateway/apiv1beta1/snippet_metadata.google.cloud.gkeconnect.gateway.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/gkeconnect/gateway/apiv1beta1", - "version": "0.8.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 8db54f605494..3bb0f35e19fb 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/gkehub/apiv1beta1", - "version": "0.14.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 88032b0ee356..d444551188ad 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/gkemulticloud/apiv1", - "version": "1.0.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 3b217796cd24..e9a405282cb4 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/gsuiteaddons/apiv1", - "version": "1.6.4", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/iam/apiv1/snippet_metadata.google.iam.v1.json b/internal/generated/snippets/iam/apiv1/snippet_metadata.google.iam.v1.json index 9e6f532bb5a1..354ea8499a13 100644 --- a/internal/generated/snippets/iam/apiv1/snippet_metadata.google.iam.v1.json +++ b/internal/generated/snippets/iam/apiv1/snippet_metadata.google.iam.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/iam/apiv1", - "version": "1.1.5", + "version": "$VERSION", "language": "GO", "apis": [ { 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 105190a496c5..8588f4d6c3bb 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/iam/apiv2", - "version": "1.1.5", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/iam/credentials/apiv1/snippet_metadata.google.iam.credentials.v1.json b/internal/generated/snippets/iam/credentials/apiv1/snippet_metadata.google.iam.credentials.v1.json index 337b37e99d98..319f1ff11bd5 100644 --- a/internal/generated/snippets/iam/credentials/apiv1/snippet_metadata.google.iam.credentials.v1.json +++ b/internal/generated/snippets/iam/credentials/apiv1/snippet_metadata.google.iam.credentials.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/iam/credentials/apiv1", - "version": "1.1.5", + "version": "$VERSION", "language": "GO", "apis": [ { 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 74a1a33a9877..976838957a73 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/iap/apiv1", - "version": "1.9.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 b2f8de50dcef..8a07127fd7b0 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/ids/apiv1", - "version": "1.4.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 e0f01b75e6cc..3e82363e5f42 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/iot/apiv1", - "version": "1.7.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 2941a2f03e42..4cb8f9853bfe 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/kms/apiv1", - "version": "1.15.5", + "version": "$VERSION", "language": "GO", "apis": [ { 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 586ef04f644d..3e9836c3a84d 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/kms/inventory/apiv1", - "version": "1.15.5", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/language/apiv1/snippet_metadata.google.cloud.language.v1.json b/internal/generated/snippets/language/apiv1/snippet_metadata.google.cloud.language.v1.json index 55ba626ebb97..44021f58f80a 100644 --- a/internal/generated/snippets/language/apiv1/snippet_metadata.google.cloud.language.v1.json +++ b/internal/generated/snippets/language/apiv1/snippet_metadata.google.cloud.language.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/language/apiv1", - "version": "1.12.2", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/language/apiv1beta2/snippet_metadata.google.cloud.language.v1beta2.json b/internal/generated/snippets/language/apiv1beta2/snippet_metadata.google.cloud.language.v1beta2.json index 66364c63e7a6..c4bbbf9c09b6 100644 --- a/internal/generated/snippets/language/apiv1beta2/snippet_metadata.google.cloud.language.v1beta2.json +++ b/internal/generated/snippets/language/apiv1beta2/snippet_metadata.google.cloud.language.v1beta2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/language/apiv1beta2", - "version": "1.12.2", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/language/apiv2/snippet_metadata.google.cloud.language.v2.json b/internal/generated/snippets/language/apiv2/snippet_metadata.google.cloud.language.v2.json index 92bf48abd9f7..b4a36fb6910c 100644 --- a/internal/generated/snippets/language/apiv2/snippet_metadata.google.cloud.language.v2.json +++ b/internal/generated/snippets/language/apiv2/snippet_metadata.google.cloud.language.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/language/apiv2", - "version": "1.12.2", + "version": "$VERSION", "language": "GO", "apis": [ { 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 221fb393e12b..d5cba488b1c6 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/lifesciences/apiv2beta", - "version": "0.9.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 0829350a0376..ef08ea3a6b87 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/logging/apiv2", - "version": "1.8.1", + "version": "$VERSION", "language": "GO", "apis": [ { 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 ab7fcb661bd4..28993e06a2e2 100644 --- a/internal/generated/snippets/longrunning/autogen/snippet_metadata.google.longrunning.json +++ b/internal/generated/snippets/longrunning/autogen/snippet_metadata.google.longrunning.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/longrunning/autogen", - "version": "0.5.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 46a68adecb58..07497c2b8473 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/managedidentities/apiv1", - "version": "1.6.4", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/maps/addressvalidation/apiv1/snippet_metadata.google.maps.addressvalidation.v1.json b/internal/generated/snippets/maps/addressvalidation/apiv1/snippet_metadata.google.maps.addressvalidation.v1.json index 0a69a8533eb2..d621693eae75 100644 --- a/internal/generated/snippets/maps/addressvalidation/apiv1/snippet_metadata.google.maps.addressvalidation.v1.json +++ b/internal/generated/snippets/maps/addressvalidation/apiv1/snippet_metadata.google.maps.addressvalidation.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/maps/addressvalidation/apiv1", - "version": "1.6.1", + "version": "$VERSION", "language": "GO", "apis": [ { 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 99d138dd326b..b34a3d0d0ae1 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/maps/fleetengine/apiv1", - "version": "1.6.1", + "version": "$VERSION", "language": "GO", "apis": [ { 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 a99bbb8e5149..8f87e7748783 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/maps/fleetengine/delivery/apiv1", - "version": "1.6.1", + "version": "$VERSION", "language": "GO", "apis": [ { 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 c4eb260e2559..7c1ae22dd4e1 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/maps/mapsplatformdatasets/apiv1alpha", - "version": "1.6.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/maps/places/apiv1/snippet_metadata.google.maps.places.v1.json b/internal/generated/snippets/maps/places/apiv1/snippet_metadata.google.maps.places.v1.json index c96c480410c6..0d9c4cd7553d 100644 --- a/internal/generated/snippets/maps/places/apiv1/snippet_metadata.google.maps.places.v1.json +++ b/internal/generated/snippets/maps/places/apiv1/snippet_metadata.google.maps.places.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/maps/places/apiv1", - "version": "1.6.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/maps/routing/apiv2/snippet_metadata.google.maps.routing.v2.json b/internal/generated/snippets/maps/routing/apiv2/snippet_metadata.google.maps.routing.v2.json index fa7ad027ecd3..12a6ca3339ab 100644 --- a/internal/generated/snippets/maps/routing/apiv2/snippet_metadata.google.maps.routing.v2.json +++ b/internal/generated/snippets/maps/routing/apiv2/snippet_metadata.google.maps.routing.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/maps/routing/apiv2", - "version": "1.6.1", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/mediatranslation/apiv1beta1/snippet_metadata.google.cloud.mediatranslation.v1beta1.json b/internal/generated/snippets/mediatranslation/apiv1beta1/snippet_metadata.google.cloud.mediatranslation.v1beta1.json index 2d57f60bb86a..e8bc7952ff46 100644 --- a/internal/generated/snippets/mediatranslation/apiv1beta1/snippet_metadata.google.cloud.mediatranslation.v1beta1.json +++ b/internal/generated/snippets/mediatranslation/apiv1beta1/snippet_metadata.google.cloud.mediatranslation.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/mediatranslation/apiv1beta1", - "version": "0.8.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 757666657107..fc022a6d3236 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/memcache/apiv1", - "version": "1.10.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 59699af60c9e..48844393b1f4 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/memcache/apiv1beta2", - "version": "1.10.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 9db6ba4094f9..0598a2618846 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/metastore/apiv1", - "version": "1.13.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 610ea9a1cff5..3ae699edc230 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/metastore/apiv1alpha", - "version": "1.13.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 31b42cd98c17..58e11c14d6b0 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/metastore/apiv1beta", - "version": "1.13.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 d9278b88f9b8..0730ec861896 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/migrationcenter/apiv1", - "version": "0.2.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 35fd2e581f29..5e68e0bdd71b 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/monitoring/apiv3/v2", - "version": "1.16.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 d27c8c9f1c0d..0c76621c111a 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/monitoring/dashboard/apiv1", - "version": "1.16.3", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/monitoring/metricsscope/apiv1/snippet_metadata.google.monitoring.metricsscope.v1.json b/internal/generated/snippets/monitoring/metricsscope/apiv1/snippet_metadata.google.monitoring.metricsscope.v1.json index 37cec9bb1067..48845b4163bc 100644 --- a/internal/generated/snippets/monitoring/metricsscope/apiv1/snippet_metadata.google.monitoring.metricsscope.v1.json +++ b/internal/generated/snippets/monitoring/metricsscope/apiv1/snippet_metadata.google.monitoring.metricsscope.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/monitoring/metricsscope/apiv1", - "version": "1.16.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 7917e90b8a58..6a0bcc96701b 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/netapp/apiv1", - "version": "0.2.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 c04ecd0e8e52..9d5453e479ed 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/networkconnectivity/apiv1", - "version": "1.14.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 c7b7c7760388..c1fa0c57b58b 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/networkconnectivity/apiv1alpha1", - "version": "1.14.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 713077f4bade..d0d38462a68d 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.9.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 bb7102eb0e2b..519a3b4fabda 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/networksecurity/apiv1beta1", - "version": "0.9.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 a1351829be3a..de7bd45b95cb 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/notebooks/apiv1", - "version": "1.11.2", + "version": "$VERSION", "language": "GO", "apis": [ { 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 f9b444d408f8..926dc4b4ee70 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/notebooks/apiv1beta1", - "version": "1.11.2", + "version": "$VERSION", "language": "GO", "apis": [ { 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 66feaed29f0a..a927f3e90736 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/notebooks/apiv2", - "version": "1.11.2", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/optimization/apiv1/snippet_metadata.google.cloud.optimization.v1.json b/internal/generated/snippets/optimization/apiv1/snippet_metadata.google.cloud.optimization.v1.json index a022b9e2ee93..33cdd000b7e8 100644 --- a/internal/generated/snippets/optimization/apiv1/snippet_metadata.google.cloud.optimization.v1.json +++ b/internal/generated/snippets/optimization/apiv1/snippet_metadata.google.cloud.optimization.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/optimization/apiv1", - "version": "1.6.2", + "version": "$VERSION", "language": "GO", "apis": [ { 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 7de0f22371b1..21f3b7d88282 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/orchestration/airflow/service/apiv1", - "version": "1.8.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 5132f21efeba..701838ba97f1 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/orgpolicy/apiv2", - "version": "1.11.4", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/osconfig/agentendpoint/apiv1/snippet_metadata.google.cloud.osconfig.agentendpoint.v1.json b/internal/generated/snippets/osconfig/agentendpoint/apiv1/snippet_metadata.google.cloud.osconfig.agentendpoint.v1.json index f5d610c023dc..867d189cad95 100644 --- a/internal/generated/snippets/osconfig/agentendpoint/apiv1/snippet_metadata.google.cloud.osconfig.agentendpoint.v1.json +++ b/internal/generated/snippets/osconfig/agentendpoint/apiv1/snippet_metadata.google.cloud.osconfig.agentendpoint.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/osconfig/agentendpoint/apiv1", - "version": "1.12.4", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/osconfig/agentendpoint/apiv1beta/snippet_metadata.google.cloud.osconfig.agentendpoint.v1beta.json b/internal/generated/snippets/osconfig/agentendpoint/apiv1beta/snippet_metadata.google.cloud.osconfig.agentendpoint.v1beta.json index d9aeb2cf4c0b..4f5cbe38ea81 100644 --- a/internal/generated/snippets/osconfig/agentendpoint/apiv1beta/snippet_metadata.google.cloud.osconfig.agentendpoint.v1beta.json +++ b/internal/generated/snippets/osconfig/agentendpoint/apiv1beta/snippet_metadata.google.cloud.osconfig.agentendpoint.v1beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/osconfig/agentendpoint/apiv1beta", - "version": "1.12.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 c4089a3c1007..d923f9c2b330 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/osconfig/apiv1", - "version": "1.12.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 f44004b9f1d0..b5e956022a7c 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/osconfig/apiv1alpha", - "version": "1.12.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 51c989524a12..dc0b1b4a87e0 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/osconfig/apiv1beta", - "version": "1.12.4", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/oslogin/apiv1/snippet_metadata.google.cloud.oslogin.v1.json b/internal/generated/snippets/oslogin/apiv1/snippet_metadata.google.cloud.oslogin.v1.json index 5d247805a53c..0984e8e64efe 100644 --- a/internal/generated/snippets/oslogin/apiv1/snippet_metadata.google.cloud.oslogin.v1.json +++ b/internal/generated/snippets/oslogin/apiv1/snippet_metadata.google.cloud.oslogin.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/oslogin/apiv1", - "version": "1.12.2", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/oslogin/apiv1beta/snippet_metadata.google.cloud.oslogin.v1beta.json b/internal/generated/snippets/oslogin/apiv1beta/snippet_metadata.google.cloud.oslogin.v1beta.json index 1d6a9eeab53d..535913748c40 100644 --- a/internal/generated/snippets/oslogin/apiv1beta/snippet_metadata.google.cloud.oslogin.v1beta.json +++ b/internal/generated/snippets/oslogin/apiv1beta/snippet_metadata.google.cloud.oslogin.v1beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/oslogin/apiv1beta", - "version": "1.12.2", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/phishingprotection/apiv1beta1/snippet_metadata.google.cloud.phishingprotection.v1beta1.json b/internal/generated/snippets/phishingprotection/apiv1beta1/snippet_metadata.google.cloud.phishingprotection.v1beta1.json index a16d385dbb81..aa99a4be0466 100644 --- a/internal/generated/snippets/phishingprotection/apiv1beta1/snippet_metadata.google.cloud.phishingprotection.v1beta1.json +++ b/internal/generated/snippets/phishingprotection/apiv1beta1/snippet_metadata.google.cloud.phishingprotection.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/phishingprotection/apiv1beta1", - "version": "0.8.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 12ddb1f6d855..1f83e72173af 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/policysimulator/apiv1", - "version": "0.2.2", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/policytroubleshooter/apiv1/snippet_metadata.google.cloud.policytroubleshooter.v1.json b/internal/generated/snippets/policytroubleshooter/apiv1/snippet_metadata.google.cloud.policytroubleshooter.v1.json index 9e42109a3b19..a1d8b024cf70 100644 --- a/internal/generated/snippets/policytroubleshooter/apiv1/snippet_metadata.google.cloud.policytroubleshooter.v1.json +++ b/internal/generated/snippets/policytroubleshooter/apiv1/snippet_metadata.google.cloud.policytroubleshooter.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/policytroubleshooter/apiv1", - "version": "1.10.2", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/policytroubleshooter/iam/apiv3/snippet_metadata.google.cloud.policytroubleshooter.iam.v3.json b/internal/generated/snippets/policytroubleshooter/iam/apiv3/snippet_metadata.google.cloud.policytroubleshooter.iam.v3.json index a1b1c8ad8ae0..d32e76b836e8 100644 --- a/internal/generated/snippets/policytroubleshooter/iam/apiv3/snippet_metadata.google.cloud.policytroubleshooter.iam.v3.json +++ b/internal/generated/snippets/policytroubleshooter/iam/apiv3/snippet_metadata.google.cloud.policytroubleshooter.iam.v3.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/policytroubleshooter/iam/apiv3", - "version": "1.10.2", + "version": "$VERSION", "language": "GO", "apis": [ { 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 19068e39c4c2..e783927006aa 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/privatecatalog/apiv1beta1", - "version": "0.9.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 b997acde4aab..ad78d261046f 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/pubsub/apiv1", - "version": "1.33.0", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/pubsublite/apiv1/snippet_metadata.google.cloud.pubsublite.v1.json b/internal/generated/snippets/pubsublite/apiv1/snippet_metadata.google.cloud.pubsublite.v1.json index 08260d2bc0e8..a502aa950435 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/pubsublite/apiv1", - "version": "1.8.1", + "version": "$VERSION", "language": "GO", "apis": [ { 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 2d0c006bcde8..456f9e35121e 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/rapidmigrationassessment/apiv1", - "version": "1.0.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 845d06e50275..d15a5efad387 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/recommendationengine/apiv1beta1", - "version": "0.8.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 e339c2511af9..21cd5f9ecac1 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/recommender/apiv1", - "version": "1.11.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 615daec774b6..94ba1bd185ad 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/recommender/apiv1beta1", - "version": "1.11.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 86fa74e547bb..b64e57f5d428 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/redis/apiv1", - "version": "1.14.1", + "version": "$VERSION", "language": "GO", "apis": [ { 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 d82a03a14b52..207550b6f4d5 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/redis/apiv1beta1", - "version": "1.14.1", + "version": "$VERSION", "language": "GO", "apis": [ { 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 24c6de7784c4..5c59b32cbcbd 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/redis/cluster/apiv1", - "version": "1.14.1", + "version": "$VERSION", "language": "GO", "apis": [ { 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 eafb60183708..78c29c60494f 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/resourcemanager/apiv2", - "version": "1.9.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 a64bdc2fb5e0..689deecc01f2 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/resourcemanager/apiv3", - "version": "1.9.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 5dfa55a951c5..b68438c3e249 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/resourcesettings/apiv1", - "version": "1.6.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 79060a8b9d91..540abd12909b 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/retail/apiv2", - "version": "1.14.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 c96b16677da5..b26e949f48a0 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/retail/apiv2alpha", - "version": "1.14.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 a6d61996264d..dc8af68c79f0 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/retail/apiv2beta", - "version": "1.14.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 804e2c06cb9e..97896391cd70 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/run/apiv2", - "version": "1.3.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 609a0e3552f5..12cc29f25498 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/scheduler/apiv1", - "version": "1.10.5", + "version": "$VERSION", "language": "GO", "apis": [ { 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 ace31e323ed3..3f5c7bb1f17d 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/scheduler/apiv1beta1", - "version": "1.10.5", + "version": "$VERSION", "language": "GO", "apis": [ { 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 537b10176b7b..92b11bf6fcd9 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/secretmanager/apiv1", - "version": "1.11.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 914426f6a181..04904df35300 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/securesourcemanager/apiv1", - "version": "0.1.2", + "version": "$VERSION", "language": "GO", "apis": [ { 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 4f48922b9d3a..adc4e46c8f82 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/security/privateca/apiv1", - "version": "1.15.4", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/security/publicca/apiv1beta1/snippet_metadata.google.cloud.security.publicca.v1beta1.json b/internal/generated/snippets/security/publicca/apiv1beta1/snippet_metadata.google.cloud.security.publicca.v1beta1.json index 8208cc243d32..eadee34be65f 100644 --- a/internal/generated/snippets/security/publicca/apiv1beta1/snippet_metadata.google.cloud.security.publicca.v1beta1.json +++ b/internal/generated/snippets/security/publicca/apiv1beta1/snippet_metadata.google.cloud.security.publicca.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/security/publicca/apiv1beta1", - "version": "1.15.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 560339090aa7..2877b3a346e9 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/securitycenter/apiv1", - "version": "1.24.2", + "version": "$VERSION", "language": "GO", "apis": [ { 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 6e95b2c1d6e3..a42d7ac92d76 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/securitycenter/apiv1beta1", - "version": "1.24.2", + "version": "$VERSION", "language": "GO", "apis": [ { 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 8a5c31205402..611b67d6eac5 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/securitycenter/apiv1p1beta1", - "version": "1.24.2", + "version": "$VERSION", "language": "GO", "apis": [ { 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 4ba4cc9fca95..dc6f030b02a9 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/securitycenter/settings/apiv1beta1", - "version": "1.24.2", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/servicecontrol/apiv1/snippet_metadata.google.api.servicecontrol.v1.json b/internal/generated/snippets/servicecontrol/apiv1/snippet_metadata.google.api.servicecontrol.v1.json index b0749a459216..05f81ad063b0 100644 --- a/internal/generated/snippets/servicecontrol/apiv1/snippet_metadata.google.api.servicecontrol.v1.json +++ b/internal/generated/snippets/servicecontrol/apiv1/snippet_metadata.google.api.servicecontrol.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/servicecontrol/apiv1", - "version": "1.12.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 387aec5f7fe4..481f58eddbb7 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/servicedirectory/apiv1", - "version": "1.11.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 9efd2a6d20ef..b8d0e5ae910a 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/servicedirectory/apiv1beta1", - "version": "1.11.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 086e2b1bacb0..d8647365f34b 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/servicemanagement/apiv1", - "version": "1.9.5", + "version": "$VERSION", "language": "GO", "apis": [ { 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 5b411130f442..23cc11644857 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/serviceusage/apiv1", - "version": "1.8.3", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/shell/apiv1/snippet_metadata.google.cloud.shell.v1.json b/internal/generated/snippets/shell/apiv1/snippet_metadata.google.cloud.shell.v1.json index 0e15fd05c1bf..993c5f419e6b 100644 --- a/internal/generated/snippets/shell/apiv1/snippet_metadata.google.cloud.shell.v1.json +++ b/internal/generated/snippets/shell/apiv1/snippet_metadata.google.cloud.shell.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/shell/apiv1", - "version": "1.7.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 e3f6d5e289f7..cb4856fd287a 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.2.2", + "version": "$VERSION", "language": "GO", "apis": [ { 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 1f3dbf0ecd51..1c787014bf89 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/spanner/admin/database/apiv1", - "version": "1.53.0", + "version": "$VERSION", "language": "GO", "apis": [ { 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 d2d5dde9bbe4..d53013c7758c 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/spanner/admin/instance/apiv1", - "version": "1.53.0", + "version": "$VERSION", "language": "GO", "apis": [ { 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 2c580a318559..c3d293c49560 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/spanner/apiv1", - "version": "1.53.0", + "version": "$VERSION", "language": "GO", "apis": [ { 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 93342209fd93..6d5aa04ba86b 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/speech/apiv1", - "version": "1.21.0", + "version": "$VERSION", "language": "GO", "apis": [ { 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 a7f570a7c6cd..feeb7fa9ceab 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/speech/apiv1p1beta1", - "version": "1.21.0", + "version": "$VERSION", "language": "GO", "apis": [ { 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 59dc609ffd0b..05dfd48e9626 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/speech/apiv2", - "version": "1.21.0", + "version": "$VERSION", "language": "GO", "apis": [ { 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 c97233f5793d..f0c428d7620f 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/storageinsights/apiv1", - "version": "1.0.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 4ac29902606b..e3835743cfa1 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/storagetransfer/apiv1", - "version": "1.10.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 abbc1689d490..b0837ffc92ac 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/support/apiv2", - "version": "1.0.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 5f746fa90c1f..b7fc10179040 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/talent/apiv4", - "version": "1.6.5", + "version": "$VERSION", "language": "GO", "apis": [ { 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 404dc6599b09..038afabb1770 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/talent/apiv4beta1", - "version": "1.6.5", + "version": "$VERSION", "language": "GO", "apis": [ { 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 3816eaa2e793..3333de4c59a0 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/telcoautomation/apiv1", - "version": "0.1.0", + "version": "$VERSION", "language": "GO", "apis": [ { 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 2dcd21efd63a..7ee1de54d817 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/texttospeech/apiv1", - "version": "1.7.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 ff2d8f2747d4..eabac815f1d3 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/tpu/apiv1", - "version": "1.6.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 a0887b058a3a..6eca60c93a23 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/trace/apiv1", - "version": "1.10.4", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/trace/apiv2/snippet_metadata.google.devtools.cloudtrace.v2.json b/internal/generated/snippets/trace/apiv2/snippet_metadata.google.devtools.cloudtrace.v2.json index 20b715020042..e01a9de43c4e 100644 --- a/internal/generated/snippets/trace/apiv2/snippet_metadata.google.devtools.cloudtrace.v2.json +++ b/internal/generated/snippets/trace/apiv2/snippet_metadata.google.devtools.cloudtrace.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/trace/apiv2", - "version": "1.10.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 c5a8246d2d82..85cd3809fc46 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/translate/apiv3", - "version": "1.9.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 4e754a8cb676..c5863b450a99 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/video/livestream/apiv1", - "version": "1.20.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 188038a7b825..1ef5f43f5937 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/video/stitcher/apiv1", - "version": "1.20.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 f0ad5f2b6ece..7d3babcc58fc 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/video/transcoder/apiv1", - "version": "1.20.3", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/videointelligence/apiv1/snippet_metadata.google.cloud.videointelligence.v1.json b/internal/generated/snippets/videointelligence/apiv1/snippet_metadata.google.cloud.videointelligence.v1.json index 3ad4709f5dc5..cb661cc01bc6 100644 --- a/internal/generated/snippets/videointelligence/apiv1/snippet_metadata.google.cloud.videointelligence.v1.json +++ b/internal/generated/snippets/videointelligence/apiv1/snippet_metadata.google.cloud.videointelligence.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/videointelligence/apiv1", - "version": "1.11.4", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/videointelligence/apiv1beta2/snippet_metadata.google.cloud.videointelligence.v1beta2.json b/internal/generated/snippets/videointelligence/apiv1beta2/snippet_metadata.google.cloud.videointelligence.v1beta2.json index 0362d9aca335..4e9d9f24fd1c 100644 --- a/internal/generated/snippets/videointelligence/apiv1beta2/snippet_metadata.google.cloud.videointelligence.v1beta2.json +++ b/internal/generated/snippets/videointelligence/apiv1beta2/snippet_metadata.google.cloud.videointelligence.v1beta2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/videointelligence/apiv1beta2", - "version": "1.11.4", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/videointelligence/apiv1p3beta1/snippet_metadata.google.cloud.videointelligence.v1p3beta1.json b/internal/generated/snippets/videointelligence/apiv1p3beta1/snippet_metadata.google.cloud.videointelligence.v1p3beta1.json index 33301778ec9b..706643935dd3 100644 --- a/internal/generated/snippets/videointelligence/apiv1p3beta1/snippet_metadata.google.cloud.videointelligence.v1p3beta1.json +++ b/internal/generated/snippets/videointelligence/apiv1p3beta1/snippet_metadata.google.cloud.videointelligence.v1p3beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/videointelligence/apiv1p3beta1", - "version": "1.11.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 d6d058d0ba1e..3251958f14cc 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/vision/v2/apiv1", - "version": "2.7.5", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/vision/apiv1p1beta1/snippet_metadata.google.cloud.vision.v1p1beta1.json b/internal/generated/snippets/vision/apiv1p1beta1/snippet_metadata.google.cloud.vision.v1p1beta1.json index 679c2081d80e..4165401e6844 100644 --- a/internal/generated/snippets/vision/apiv1p1beta1/snippet_metadata.google.cloud.vision.v1p1beta1.json +++ b/internal/generated/snippets/vision/apiv1p1beta1/snippet_metadata.google.cloud.vision.v1p1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/vision/v2/apiv1p1beta1", - "version": "2.7.5", + "version": "$VERSION", "language": "GO", "apis": [ { 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 4ceeead54fe8..4564ff10dcd9 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/vmmigration/apiv1", - "version": "1.7.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 82bf68c80e61..35a89462bd0e 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/vmwareengine/apiv1", - "version": "1.0.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 0707aa14849c..16c26e3fa553 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/vpcaccess/apiv1", - "version": "1.7.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 03f2ffcd84df..c9a3b6ad6358 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/webrisk/apiv1", - "version": "1.9.4", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/webrisk/apiv1beta1/snippet_metadata.google.cloud.webrisk.v1beta1.json b/internal/generated/snippets/webrisk/apiv1beta1/snippet_metadata.google.cloud.webrisk.v1beta1.json index 397145a96234..92970a2509bf 100644 --- a/internal/generated/snippets/webrisk/apiv1beta1/snippet_metadata.google.cloud.webrisk.v1beta1.json +++ b/internal/generated/snippets/webrisk/apiv1beta1/snippet_metadata.google.cloud.webrisk.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/webrisk/apiv1beta1", - "version": "1.9.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 66368c2d6e72..c9ee871038c8 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/websecurityscanner/apiv1", - "version": "1.6.4", + "version": "$VERSION", "language": "GO", "apis": [ { 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 1b64ffe3f9d8..49f7a28b6955 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/workflows/apiv1", - "version": "1.12.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 eabf8abc4ee4..f358fb524bdd 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/workflows/apiv1beta", - "version": "1.12.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 b9b2026ceb3a..83c9344eb00a 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/workflows/executions/apiv1", - "version": "1.12.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 0f129e26fdd9..486b6ad22495 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/workflows/executions/apiv1beta", - "version": "1.12.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 9a112f674025..6fdd34e46fb4 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/workstations/apiv1", - "version": "0.5.3", + "version": "$VERSION", "language": "GO", "apis": [ { 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 1eb2c68ace52..d87b58bb15d3 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/workstations/apiv1beta", - "version": "0.5.3", + "version": "$VERSION", "language": "GO", "apis": [ { diff --git a/iot/apiv1/doc.go b/iot/apiv1/doc.go index bb48e873e905..af41a3d07d40 100755 --- a/iot/apiv1/doc.go +++ b/iot/apiv1/doc.go @@ -20,66 +20,65 @@ // Registers and manages IoT (Internet of Things) devices that connect to the // Google Cloud Platform. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := iot.NewDeviceManagerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := iot.NewDeviceManagerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := iot.NewDeviceManagerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &iotpb.BindDeviceToGatewayRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/iot/apiv1/iotpb#BindDeviceToGatewayRequest. -// } -// resp, err := c.BindDeviceToGateway(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := iot.NewDeviceManagerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &iotpb.BindDeviceToGatewayRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/iot/apiv1/iotpb#BindDeviceToGatewayRequest. +// } +// resp, err := c.BindDeviceToGateway(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewDeviceManagerClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/iot/apiv1/iotpb/device_manager.pb.go b/iot/apiv1/iotpb/device_manager.pb.go index f7de1e010731..bff1cf34bb11 100755 --- a/iot/apiv1/iotpb/device_manager.pb.go +++ b/iot/apiv1/iotpb/device_manager.pb.go @@ -21,11 +21,8 @@ package iotpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/iot/apiv1/iotpb/resources.pb.go b/iot/apiv1/iotpb/resources.pb.go index 3d226a748d9b..13665edef7c4 100755 --- a/iot/apiv1/iotpb/resources.pb.go +++ b/iot/apiv1/iotpb/resources.pb.go @@ -21,14 +21,13 @@ package iotpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/kms/apiv1/doc.go b/kms/apiv1/doc.go index 31d4ab62315a..d31ee3e4c5ce 100755 --- a/kms/apiv1/doc.go +++ b/kms/apiv1/doc.go @@ -20,66 +20,65 @@ // Manages keys and performs cryptographic operations in a central cloud // service, for direct use by other cloud resources and applications. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := kms.NewEkmClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := kms.NewEkmClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := kms.NewEkmClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &kmspb.CreateEkmConnectionRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/kms/apiv1/kmspb#CreateEkmConnectionRequest. -// } -// resp, err := c.CreateEkmConnection(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := kms.NewEkmClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &kmspb.CreateEkmConnectionRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/kms/apiv1/kmspb#CreateEkmConnectionRequest. +// } +// resp, err := c.CreateEkmConnection(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewEkmClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/kms/apiv1/ekm_client.go b/kms/apiv1/ekm_client.go index 87f0a120ad8c..76a36b5f6bf7 100755 --- a/kms/apiv1/ekm_client.go +++ b/kms/apiv1/ekm_client.go @@ -220,12 +220,12 @@ type internalEkmClient interface { // EkmClient is a client for interacting with Cloud Key Management Service (KMS) API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// # Google Cloud Key Management EKM Service +// Google Cloud Key Management EKM Service // // Manages external cryptographic keys and operations using those keys. // Implements a REST model with the following objects: // -// EkmConnection +// EkmConnection type EkmClient struct { // The internal transport-dependent client. internalClient internalEkmClient @@ -360,12 +360,12 @@ type ekmGRPCClient struct { // NewEkmClient creates a new ekm service client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// # Google Cloud Key Management EKM Service +// Google Cloud Key Management EKM Service // // Manages external cryptographic keys and operations using those keys. // Implements a REST model with the following objects: // -// EkmConnection +// EkmConnection func NewEkmClient(ctx context.Context, opts ...option.ClientOption) (*EkmClient, error) { clientOpts := defaultEkmGRPCClientOptions() if newEkmClientHook != nil { @@ -436,12 +436,12 @@ type ekmRESTClient struct { // NewEkmRESTClient creates a new ekm service rest client. // -// # Google Cloud Key Management EKM Service +// Google Cloud Key Management EKM Service // // Manages external cryptographic keys and operations using those keys. // Implements a REST model with the following objects: // -// EkmConnection +// EkmConnection func NewEkmRESTClient(ctx context.Context, opts ...option.ClientOption) (*EkmClient, error) { clientOpts := append(defaultEkmRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/kms/apiv1/key_management_client.go b/kms/apiv1/key_management_client.go index b07955e1fe70..9414fa71e648 100755 --- a/kms/apiv1/key_management_client.go +++ b/kms/apiv1/key_management_client.go @@ -772,18 +772,18 @@ type internalKeyManagementClient interface { // KeyManagementClient is a client for interacting with Cloud Key Management Service (KMS) API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// # Google Cloud Key Management Service +// Google Cloud Key Management Service // // Manages cryptographic keys and operations using those keys. Implements a REST // model with the following objects: // -// KeyRing +// KeyRing // -// CryptoKey +// CryptoKey // -// CryptoKeyVersion +// CryptoKeyVersion // -// ImportJob +// ImportJob // // If you are using manual gRPC libraries, see // Using gRPC with Cloud KMS (at https://cloud.google.com/kms/docs/grpc). @@ -1120,18 +1120,18 @@ type keyManagementGRPCClient struct { // NewKeyManagementClient creates a new key management service client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// # Google Cloud Key Management Service +// Google Cloud Key Management Service // // Manages cryptographic keys and operations using those keys. Implements a REST // model with the following objects: // -// KeyRing +// KeyRing // -// CryptoKey +// CryptoKey // -// CryptoKeyVersion +// CryptoKeyVersion // -// ImportJob +// ImportJob // // If you are using manual gRPC libraries, see // Using gRPC with Cloud KMS (at https://cloud.google.com/kms/docs/grpc). @@ -1205,18 +1205,18 @@ type keyManagementRESTClient struct { // NewKeyManagementRESTClient creates a new key management service rest client. // -// # Google Cloud Key Management Service +// Google Cloud Key Management Service // // Manages cryptographic keys and operations using those keys. Implements a REST // model with the following objects: // -// KeyRing +// KeyRing // -// CryptoKey +// CryptoKey // -// CryptoKeyVersion +// CryptoKeyVersion // -// ImportJob +// ImportJob // // If you are using manual gRPC libraries, see // Using gRPC with Cloud KMS (at https://cloud.google.com/kms/docs/grpc). diff --git a/kms/apiv1/kmspb/ekm_service.pb.go b/kms/apiv1/kmspb/ekm_service.pb.go index fdc98c0846ed..c83bbf53d6ec 100755 --- a/kms/apiv1/kmspb/ekm_service.pb.go +++ b/kms/apiv1/kmspb/ekm_service.pb.go @@ -22,9 +22,6 @@ package kmspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/kms/apiv1/kmspb/resources.pb.go b/kms/apiv1/kmspb/resources.pb.go index e4b300d9d62c..939eeb06a78d 100755 --- a/kms/apiv1/kmspb/resources.pb.go +++ b/kms/apiv1/kmspb/resources.pb.go @@ -21,15 +21,14 @@ package kmspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/kms/apiv1/kmspb/service.pb.go b/kms/apiv1/kmspb/service.pb.go index 6ed2a1f89dea..07cd1f0d1a0e 100755 --- a/kms/apiv1/kmspb/service.pb.go +++ b/kms/apiv1/kmspb/service.pb.go @@ -22,9 +22,6 @@ package kmspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/kms/inventory/apiv1/doc.go b/kms/inventory/apiv1/doc.go index 10db9cc5f708..b1948c115296 100755 --- a/kms/inventory/apiv1/doc.go +++ b/kms/inventory/apiv1/doc.go @@ -17,72 +17,71 @@ // Package inventory is an auto-generated package for the // KMS Inventory API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := inventory.NewKeyDashboardClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := inventory.NewKeyDashboardClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := inventory.NewKeyDashboardClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &inventorypb.ListCryptoKeysRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/kms/inventory/apiv1/inventorypb#ListCryptoKeysRequest. -// } -// it := c.ListCryptoKeys(ctx, req) -// for { -// resp, err := it.Next() -// if err == iterator.Done { -// break -// } -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// } -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := inventory.NewKeyDashboardClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &inventorypb.ListCryptoKeysRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/kms/inventory/apiv1/inventorypb#ListCryptoKeysRequest. +// } +// it := c.ListCryptoKeys(ctx, req) +// for { +// resp, err := it.Next() +// if err == iterator.Done { +// break +// } +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// } +// +// Use of Context // // The ctx passed to NewKeyDashboardClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/kms/inventory/apiv1/inventorypb/key_dashboard_service.pb.go b/kms/inventory/apiv1/inventorypb/key_dashboard_service.pb.go index aa273bb2f272..62ef369bcd03 100755 --- a/kms/inventory/apiv1/inventorypb/key_dashboard_service.pb.go +++ b/kms/inventory/apiv1/inventorypb/key_dashboard_service.pb.go @@ -21,17 +21,16 @@ package inventorypb import ( - context "context" - reflect "reflect" - sync "sync" - kmspb "cloud.google.com/go/kms/apiv1/kmspb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/kms/inventory/apiv1/inventorypb/key_tracking_service.pb.go b/kms/inventory/apiv1/inventorypb/key_tracking_service.pb.go index 358b1fcda5a6..75b955acb9b6 100755 --- a/kms/inventory/apiv1/inventorypb/key_tracking_service.pb.go +++ b/kms/inventory/apiv1/inventorypb/key_tracking_service.pb.go @@ -22,9 +22,6 @@ package inventorypb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/language/apiv1/auxiliary.go b/language/apiv1/auxiliary.go index b9d2cfabb4cf..962732f85d78 100755 --- a/language/apiv1/auxiliary.go +++ b/language/apiv1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package language + +import () diff --git a/language/apiv1/doc.go b/language/apiv1/doc.go index 7b49e7aa1846..6014fd0c3ec9 100755 --- a/language/apiv1/doc.go +++ b/language/apiv1/doc.go @@ -21,66 +21,65 @@ // analysis, entity recognition, entity sentiment analysis, and other text // annotations, to developers. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := language.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := language.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := language.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &languagepb.AnalyzeEntitiesRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/language/apiv1/languagepb#AnalyzeEntitiesRequest. -// } -// resp, err := c.AnalyzeEntities(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := language.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &languagepb.AnalyzeEntitiesRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/language/apiv1/languagepb#AnalyzeEntitiesRequest. +// } +// resp, err := c.AnalyzeEntities(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/language/apiv1/languagepb/language_service.pb.go b/language/apiv1/languagepb/language_service.pb.go index 54ad62b20acd..734d076b1b83 100755 --- a/language/apiv1/languagepb/language_service.pb.go +++ b/language/apiv1/languagepb/language_service.pb.go @@ -22,15 +22,14 @@ package languagepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/language/apiv1beta2/auxiliary.go b/language/apiv1beta2/auxiliary.go index b9d2cfabb4cf..962732f85d78 100755 --- a/language/apiv1beta2/auxiliary.go +++ b/language/apiv1beta2/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package language + +import () diff --git a/language/apiv1beta2/doc.go b/language/apiv1beta2/doc.go index f1d958bbca26..fb675493f705 100755 --- a/language/apiv1beta2/doc.go +++ b/language/apiv1beta2/doc.go @@ -21,68 +21,67 @@ // analysis, entity recognition, entity sentiment analysis, and other text // annotations, to developers. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := language.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := language.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := language.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &languagepb.AnalyzeEntitiesRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/language/apiv1beta2/languagepb#AnalyzeEntitiesRequest. -// } -// resp, err := c.AnalyzeEntities(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := language.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &languagepb.AnalyzeEntitiesRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/language/apiv1beta2/languagepb#AnalyzeEntitiesRequest. +// } +// resp, err := c.AnalyzeEntities(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/language/apiv1beta2/languagepb/language_service.pb.go b/language/apiv1beta2/languagepb/language_service.pb.go index 2f03a6762cd2..354532b41473 100755 --- a/language/apiv1beta2/languagepb/language_service.pb.go +++ b/language/apiv1beta2/languagepb/language_service.pb.go @@ -22,15 +22,14 @@ package languagepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/language/apiv2/auxiliary.go b/language/apiv2/auxiliary.go index b9d2cfabb4cf..962732f85d78 100755 --- a/language/apiv2/auxiliary.go +++ b/language/apiv2/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package language + +import () diff --git a/language/apiv2/doc.go b/language/apiv2/doc.go index 4368e4440c51..7aa3d708b93b 100755 --- a/language/apiv2/doc.go +++ b/language/apiv2/doc.go @@ -21,66 +21,65 @@ // analysis, entity recognition, entity sentiment analysis, and other text // annotations, to developers. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := language.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := language.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := language.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &languagepb.AnalyzeEntitiesRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/language/apiv2/languagepb#AnalyzeEntitiesRequest. -// } -// resp, err := c.AnalyzeEntities(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := language.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &languagepb.AnalyzeEntitiesRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/language/apiv2/languagepb#AnalyzeEntitiesRequest. +// } +// resp, err := c.AnalyzeEntities(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/language/apiv2/languagepb/language_service.pb.go b/language/apiv2/languagepb/language_service.pb.go index c4ff436a52b3..b457180d2fa7 100755 --- a/language/apiv2/languagepb/language_service.pb.go +++ b/language/apiv2/languagepb/language_service.pb.go @@ -22,15 +22,14 @@ package languagepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/lifesciences/apiv2beta/doc.go b/lifesciences/apiv2beta/doc.go index 6314ce3db1dc..37d0659d54c2 100755 --- a/lifesciences/apiv2beta/doc.go +++ b/lifesciences/apiv2beta/doc.go @@ -20,73 +20,72 @@ // Cloud Life Sciences is a suite of services and tools for managing, // processing, and transforming life sciences data. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := lifesciences.NewWorkflowsServiceV2BetaClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := lifesciences.NewWorkflowsServiceV2BetaClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := lifesciences.NewWorkflowsServiceV2BetaClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &lifesciencespb.RunPipelineRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb#RunPipelineRequest. -// } -// op, err := c.RunPipeline(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := lifesciences.NewWorkflowsServiceV2BetaClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &lifesciencespb.RunPipelineRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb#RunPipelineRequest. +// } +// op, err := c.RunPipeline(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewWorkflowsServiceV2BetaClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/lifesciences/apiv2beta/lifesciencespb/workflows.pb.go b/lifesciences/apiv2beta/lifesciencespb/workflows.pb.go index f463518d7d19..0c44b3e55004 100755 --- a/lifesciences/apiv2beta/lifesciencespb/workflows.pb.go +++ b/lifesciences/apiv2beta/lifesciencespb/workflows.pb.go @@ -21,11 +21,8 @@ package lifesciencespb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" code "google.golang.org/genproto/googleapis/rpc/code" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/lifesciences/apiv2beta/workflows_service_v2_beta_client.go b/lifesciences/apiv2beta/workflows_service_v2_beta_client.go index 2e664c2b4518..fda85dca80d9 100755 --- a/lifesciences/apiv2beta/workflows_service_v2_beta_client.go +++ b/lifesciences/apiv2beta/workflows_service_v2_beta_client.go @@ -164,7 +164,7 @@ func (c *WorkflowsServiceV2BetaClient) Connection() *grpc.ClientConn { // Authorization requires the following Google // IAM (at https://cloud.google.com/iam/) permission: // -// lifesciences.workflows.run +// lifesciences.workflows.run func (c *WorkflowsServiceV2BetaClient) RunPipeline(ctx context.Context, req *lifesciencespb.RunPipelineRequest, opts ...gax.CallOption) (*RunPipelineOperation, error) { return c.internalClient.RunPipeline(ctx, req, opts...) } @@ -195,7 +195,7 @@ func (c *WorkflowsServiceV2BetaClient) ListLocations(ctx context.Context, req *l // Authorization requires the following Google // IAM (at https://cloud.google.com/iam) permission: // -// lifesciences.operations.cancel +// lifesciences.operations.cancel func (c *WorkflowsServiceV2BetaClient) CancelOperation(ctx context.Context, req *longrunningpb.CancelOperationRequest, opts ...gax.CallOption) error { return c.internalClient.CancelOperation(ctx, req, opts...) } @@ -206,7 +206,7 @@ func (c *WorkflowsServiceV2BetaClient) CancelOperation(ctx context.Context, req // Authorization requires the following Google // IAM (at https://cloud.google.com/iam) permission: // -// lifesciences.operations.get +// lifesciences.operations.get func (c *WorkflowsServiceV2BetaClient) GetOperation(ctx context.Context, req *longrunningpb.GetOperationRequest, opts ...gax.CallOption) (*longrunningpb.Operation, error) { return c.internalClient.GetOperation(ctx, req, opts...) } @@ -215,7 +215,7 @@ func (c *WorkflowsServiceV2BetaClient) GetOperation(ctx context.Context, req *lo // request. Authorization requires the following Google // IAM (at https://cloud.google.com/iam) permission: // -// lifesciences.operations.list +// lifesciences.operations.list func (c *WorkflowsServiceV2BetaClient) ListOperations(ctx context.Context, req *longrunningpb.ListOperationsRequest, opts ...gax.CallOption) *OperationIterator { return c.internalClient.ListOperations(ctx, req, opts...) } @@ -577,7 +577,7 @@ func (c *workflowsServiceV2BetaGRPCClient) ListOperations(ctx context.Context, r // Authorization requires the following Google // IAM (at https://cloud.google.com/iam/) permission: // -// lifesciences.workflows.run +// lifesciences.workflows.run func (c *workflowsServiceV2BetaRESTClient) RunPipeline(ctx context.Context, req *lifesciencespb.RunPipelineRequest, opts ...gax.CallOption) (*RunPipelineOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -809,7 +809,7 @@ func (c *workflowsServiceV2BetaRESTClient) ListLocations(ctx context.Context, re // Authorization requires the following Google // IAM (at https://cloud.google.com/iam) permission: // -// lifesciences.operations.cancel +// lifesciences.operations.cancel func (c *workflowsServiceV2BetaRESTClient) CancelOperation(ctx context.Context, req *longrunningpb.CancelOperationRequest, opts ...gax.CallOption) error { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -863,7 +863,7 @@ func (c *workflowsServiceV2BetaRESTClient) CancelOperation(ctx context.Context, // Authorization requires the following Google // IAM (at https://cloud.google.com/iam) permission: // -// lifesciences.operations.get +// lifesciences.operations.get func (c *workflowsServiceV2BetaRESTClient) GetOperation(ctx context.Context, req *longrunningpb.GetOperationRequest, opts ...gax.CallOption) (*longrunningpb.Operation, error) { baseUrl, err := url.Parse(c.endpoint) if err != nil { @@ -927,7 +927,7 @@ func (c *workflowsServiceV2BetaRESTClient) GetOperation(ctx context.Context, req // request. Authorization requires the following Google // IAM (at https://cloud.google.com/iam) permission: // -// lifesciences.operations.list +// lifesciences.operations.list func (c *workflowsServiceV2BetaRESTClient) ListOperations(ctx context.Context, req *longrunningpb.ListOperationsRequest, opts ...gax.CallOption) *OperationIterator { it := &OperationIterator{} req = proto.Clone(req).(*longrunningpb.ListOperationsRequest) diff --git a/logging/apiv2/doc.go b/logging/apiv2/doc.go index 5cb4ad6bfecf..cd3ca75a080c 100755 --- a/logging/apiv2/doc.go +++ b/logging/apiv2/doc.go @@ -19,64 +19,63 @@ // // Writes log entries and manages your Cloud Logging configuration. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := logging.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := logging.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := logging.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &loggingpb.DeleteLogRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/logging/apiv2/loggingpb#DeleteLogRequest. -// } -// err = c.DeleteLog(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := logging.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &loggingpb.DeleteLogRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/logging/apiv2/loggingpb#DeleteLogRequest. +// } +// err = c.DeleteLog(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/logging/apiv2/loggingpb/log_entry.pb.go b/logging/apiv2/loggingpb/log_entry.pb.go index 0eb75f54d3b3..0c3b151cc4be 100755 --- a/logging/apiv2/loggingpb/log_entry.pb.go +++ b/logging/apiv2/loggingpb/log_entry.pb.go @@ -21,9 +21,6 @@ package loggingpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" _type "google.golang.org/genproto/googleapis/logging/type" @@ -32,6 +29,8 @@ import ( anypb "google.golang.org/protobuf/types/known/anypb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/logging/apiv2/loggingpb/logging.pb.go b/logging/apiv2/loggingpb/logging.pb.go index 5104c57b87d0..6b5287ae6007 100755 --- a/logging/apiv2/loggingpb/logging.pb.go +++ b/logging/apiv2/loggingpb/logging.pb.go @@ -22,9 +22,6 @@ package loggingpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" status "google.golang.org/genproto/googleapis/rpc/status" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/logging/apiv2/loggingpb/logging_config.pb.go b/logging/apiv2/loggingpb/logging_config.pb.go index e765759f1eca..8c0554df5ad8 100755 --- a/logging/apiv2/loggingpb/logging_config.pb.go +++ b/logging/apiv2/loggingpb/logging_config.pb.go @@ -21,11 +21,8 @@ package loggingpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/logging/apiv2/loggingpb/logging_metrics.pb.go b/logging/apiv2/loggingpb/logging_metrics.pb.go index 77a89a0d0af0..73d721e0d7f3 100755 --- a/logging/apiv2/loggingpb/logging_metrics.pb.go +++ b/logging/apiv2/loggingpb/logging_metrics.pb.go @@ -22,9 +22,6 @@ package loggingpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" distribution "google.golang.org/genproto/googleapis/api/distribution" metric "google.golang.org/genproto/googleapis/api/metric" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/longrunning/autogen/doc.go b/longrunning/autogen/doc.go index 153946f2116e..2eb03e4d5320 100755 --- a/longrunning/autogen/doc.go +++ b/longrunning/autogen/doc.go @@ -17,64 +17,63 @@ // Package longrunning is an auto-generated package for the // Long Running Operations API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := longrunning.NewOperationsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := longrunning.NewOperationsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := longrunning.NewOperationsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &longrunningpb.CancelOperationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#CancelOperationRequest. -// } -// err = c.CancelOperation(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := longrunning.NewOperationsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &longrunningpb.CancelOperationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#CancelOperationRequest. +// } +// err = c.CancelOperation(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// Use of Context // // The ctx passed to NewOperationsClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/longrunning/autogen/longrunningpb/operations.pb.go b/longrunning/autogen/longrunningpb/operations.pb.go index 55bd8235e156..d8d53d7ac067 100755 --- a/longrunning/autogen/longrunningpb/operations.pb.go +++ b/longrunning/autogen/longrunningpb/operations.pb.go @@ -22,9 +22,6 @@ package longrunningpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( anypb "google.golang.org/protobuf/types/known/anypb" durationpb "google.golang.org/protobuf/types/known/durationpb" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( @@ -519,13 +518,13 @@ func (x *WaitOperationRequest) GetTimeout() *durationpb.Duration { // // Example: // -// rpc LongRunningRecognize(LongRunningRecognizeRequest) -// returns (google.longrunning.Operation) { -// option (google.longrunning.operation_info) = { -// response_type: "LongRunningRecognizeResponse" -// metadata_type: "LongRunningRecognizeMetadata" -// }; -// } +// rpc LongRunningRecognize(LongRunningRecognizeRequest) +// returns (google.longrunning.Operation) { +// option (google.longrunning.operation_info) = { +// response_type: "LongRunningRecognizeResponse" +// metadata_type: "LongRunningRecognizeMetadata" +// }; +// } type OperationInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/managedidentities/apiv1/doc.go b/managedidentities/apiv1/doc.go index 35693bf69aa6..a6354b43ad3a 100755 --- a/managedidentities/apiv1/doc.go +++ b/managedidentities/apiv1/doc.go @@ -21,71 +21,70 @@ // managing a highly available, hardened service running Microsoft Active // Directory (AD). // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := managedidentities.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := managedidentities.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := managedidentities.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &managedidentitiespb.AttachTrustRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/managedidentities/apiv1/managedidentitiespb#AttachTrustRequest. -// } -// op, err := c.AttachTrust(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := managedidentities.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &managedidentitiespb.AttachTrustRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/managedidentities/apiv1/managedidentitiespb#AttachTrustRequest. +// } +// op, err := c.AttachTrust(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/managedidentities/apiv1/managed_identities_client.go b/managedidentities/apiv1/managed_identities_client.go index 624ae24d63fa..f7494eb6e398 100755 --- a/managedidentities/apiv1/managed_identities_client.go +++ b/managedidentities/apiv1/managed_identities_client.go @@ -126,7 +126,7 @@ type internalClient interface { // Client is a client for interacting with Managed Service for Microsoft Active Directory API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// # API Overview +// API Overview // // The managedidentites.googleapis.com service implements the Google Cloud // Managed Identites API for identity services @@ -136,35 +136,35 @@ type internalClient interface { // (create/read/update/delete) domains, reset managed identities admin password, // add/remove domain controllers in GCP regions and add/remove VPC peering. // -// # Data Model +// Data Model // // The Managed Identities service exposes the following resources: // -// Locations as global, named as follows: -// projects/{project_id}/locations/global. +// Locations as global, named as follows: +// projects/{project_id}/locations/global. // -// Domains, named as follows: -// /projects/{project_id}/locations/global/domain/{domain_name}. +// Domains, named as follows: +// /projects/{project_id}/locations/global/domain/{domain_name}. // // The {domain_name} refers to fully qualified domain name in the customer // project e.g. mydomain.myorganization.com (at http://mydomain.myorganization.com), with the following restrictions: // -// Must contain only lowercase letters, numbers, periods and hyphens. +// Must contain only lowercase letters, numbers, periods and hyphens. // -// Must start with a letter. +// Must start with a letter. // -// Must contain between 2-64 characters. +// Must contain between 2-64 characters. // -// Must end with a number or a letter. +// Must end with a number or a letter. // -// Must not start with period. +// Must not start with period. // -// First segement length (mydomain form example above) shouldn’t exceed -// 15 chars. +// First segement length (mydomain form example above) shouldn’t exceed +// 15 chars. // -// The last segment cannot be fully numeric. +// The last segment cannot be fully numeric. // -// Must be unique within the customer project. +// Must be unique within the customer project. type Client struct { // The internal transport-dependent client. internalClient internalClient @@ -319,7 +319,7 @@ type gRPCClient struct { // NewClient creates a new managed identities service client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// # API Overview +// API Overview // // The managedidentites.googleapis.com service implements the Google Cloud // Managed Identites API for identity services @@ -329,35 +329,35 @@ type gRPCClient struct { // (create/read/update/delete) domains, reset managed identities admin password, // add/remove domain controllers in GCP regions and add/remove VPC peering. // -// # Data Model +// Data Model // // The Managed Identities service exposes the following resources: // -// Locations as global, named as follows: -// projects/{project_id}/locations/global. +// Locations as global, named as follows: +// projects/{project_id}/locations/global. // -// Domains, named as follows: -// /projects/{project_id}/locations/global/domain/{domain_name}. +// Domains, named as follows: +// /projects/{project_id}/locations/global/domain/{domain_name}. // // The {domain_name} refers to fully qualified domain name in the customer // project e.g. mydomain.myorganization.com (at http://mydomain.myorganization.com), with the following restrictions: // -// Must contain only lowercase letters, numbers, periods and hyphens. +// Must contain only lowercase letters, numbers, periods and hyphens. // -// Must start with a letter. +// Must start with a letter. // -// Must contain between 2-64 characters. +// Must contain between 2-64 characters. // -// Must end with a number or a letter. +// Must end with a number or a letter. // -// Must not start with period. +// Must not start with period. // -// First segement length (mydomain form example above) shouldn’t exceed -// 15 chars. +// First segement length (mydomain form example above) shouldn’t exceed +// 15 chars. // -// The last segment cannot be fully numeric. +// The last segment cannot be fully numeric. // -// Must be unique within the customer project. +// Must be unique within the customer project. func NewClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { clientOpts := defaultGRPCClientOptions() if newClientHook != nil { diff --git a/managedidentities/apiv1/managedidentitiespb/managed_identities_service.pb.go b/managedidentities/apiv1/managedidentitiespb/managed_identities_service.pb.go index 1003aaa1c47d..f70ab1069426 100755 --- a/managedidentities/apiv1/managedidentitiespb/managed_identities_service.pb.go +++ b/managedidentities/apiv1/managedidentitiespb/managed_identities_service.pb.go @@ -22,11 +22,8 @@ package managedidentitiespb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/managedidentities/apiv1/managedidentitiespb/resource.pb.go b/managedidentities/apiv1/managedidentitiespb/resource.pb.go index 4fc76b9aa1ce..73868dc79347 100755 --- a/managedidentities/apiv1/managedidentitiespb/resource.pb.go +++ b/managedidentities/apiv1/managedidentitiespb/resource.pb.go @@ -22,13 +22,12 @@ package managedidentitiespb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/addressvalidation/apiv1/addressvalidationpb/address.pb.go b/maps/addressvalidation/apiv1/addressvalidationpb/address.pb.go index 329a3505229d..e10a267a6a9a 100755 --- a/maps/addressvalidation/apiv1/addressvalidationpb/address.pb.go +++ b/maps/addressvalidation/apiv1/addressvalidationpb/address.pb.go @@ -21,13 +21,12 @@ package addressvalidationpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" postaladdress "google.golang.org/genproto/googleapis/type/postaladdress" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/addressvalidation/apiv1/addressvalidationpb/address_validation_service.pb.go b/maps/addressvalidation/apiv1/addressvalidationpb/address_validation_service.pb.go index 850b0532046c..fd465a0eb408 100755 --- a/maps/addressvalidation/apiv1/addressvalidationpb/address_validation_service.pb.go +++ b/maps/addressvalidation/apiv1/addressvalidationpb/address_validation_service.pb.go @@ -22,9 +22,6 @@ package addressvalidationpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" postaladdress "google.golang.org/genproto/googleapis/type/postaladdress" grpc "google.golang.org/grpc" @@ -32,6 +29,8 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/addressvalidation/apiv1/addressvalidationpb/geocode.pb.go b/maps/addressvalidation/apiv1/addressvalidationpb/geocode.pb.go index c99ac4936215..905b9948cedd 100755 --- a/maps/addressvalidation/apiv1/addressvalidationpb/geocode.pb.go +++ b/maps/addressvalidation/apiv1/addressvalidationpb/geocode.pb.go @@ -21,13 +21,12 @@ package addressvalidationpb import ( - reflect "reflect" - sync "sync" - viewport "google.golang.org/genproto/googleapis/geo/type/viewport" latlng "google.golang.org/genproto/googleapis/type/latlng" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/addressvalidation/apiv1/addressvalidationpb/metadata.pb.go b/maps/addressvalidation/apiv1/addressvalidationpb/metadata.pb.go index 503d424d683e..4d5b38d54c08 100755 --- a/maps/addressvalidation/apiv1/addressvalidationpb/metadata.pb.go +++ b/maps/addressvalidation/apiv1/addressvalidationpb/metadata.pb.go @@ -21,11 +21,10 @@ package addressvalidationpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/addressvalidation/apiv1/addressvalidationpb/usps_data.pb.go b/maps/addressvalidation/apiv1/addressvalidationpb/usps_data.pb.go index 05ed571be900..a91dcd04ab9a 100755 --- a/maps/addressvalidation/apiv1/addressvalidationpb/usps_data.pb.go +++ b/maps/addressvalidation/apiv1/addressvalidationpb/usps_data.pb.go @@ -21,11 +21,10 @@ package addressvalidationpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/addressvalidation/apiv1/auxiliary.go b/maps/addressvalidation/apiv1/auxiliary.go index dcccb086a94b..8cfa322a0587 100755 --- a/maps/addressvalidation/apiv1/auxiliary.go +++ b/maps/addressvalidation/apiv1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package addressvalidation + +import () diff --git a/maps/addressvalidation/apiv1/doc.go b/maps/addressvalidation/apiv1/doc.go index cc4b120b1ae0..238d4f5ee168 100755 --- a/maps/addressvalidation/apiv1/doc.go +++ b/maps/addressvalidation/apiv1/doc.go @@ -22,66 +22,65 @@ // of the components of the parsed address, a geocode, and a verdict on the // deliverability of the parsed address. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := addressvalidation.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := addressvalidation.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := addressvalidation.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &addressvalidationpb.ProvideValidationFeedbackRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb#ProvideValidationFeedbackRequest. -// } -// resp, err := c.ProvideValidationFeedback(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := addressvalidation.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &addressvalidationpb.ProvideValidationFeedbackRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb#ProvideValidationFeedbackRequest. +// } +// resp, err := c.ProvideValidationFeedback(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/maps/fleetengine/apiv1/doc.go b/maps/fleetengine/apiv1/doc.go index d2b1e05022d5..69b1ca4ba45a 100755 --- a/maps/fleetengine/apiv1/doc.go +++ b/maps/fleetengine/apiv1/doc.go @@ -23,66 +23,65 @@ // Service located at https://cloud.google.com/maps-platform/terms (at // https://cloud.google.com/maps-platform/terms). // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := fleetengine.NewTripClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := fleetengine.NewTripClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := fleetengine.NewTripClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &fleetenginepb.CreateTripRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/maps/fleetengine/apiv1/fleetenginepb#CreateTripRequest. -// } -// resp, err := c.CreateTrip(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := fleetengine.NewTripClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &fleetenginepb.CreateTripRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/maps/fleetengine/apiv1/fleetenginepb#CreateTripRequest. +// } +// resp, err := c.CreateTrip(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewTripClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/maps/fleetengine/apiv1/fleetenginepb/fleetengine.pb.go b/maps/fleetengine/apiv1/fleetenginepb/fleetengine.pb.go index da031fcf5e98..422e7988875c 100755 --- a/maps/fleetengine/apiv1/fleetenginepb/fleetengine.pb.go +++ b/maps/fleetengine/apiv1/fleetenginepb/fleetengine.pb.go @@ -21,9 +21,6 @@ package fleetenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -31,6 +28,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/fleetengine/apiv1/fleetenginepb/header.pb.go b/maps/fleetengine/apiv1/fleetenginepb/header.pb.go index f47c5898fd03..8490a6be1b72 100755 --- a/maps/fleetengine/apiv1/fleetenginepb/header.pb.go +++ b/maps/fleetengine/apiv1/fleetenginepb/header.pb.go @@ -21,12 +21,11 @@ package fleetenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/fleetengine/apiv1/fleetenginepb/traffic.pb.go b/maps/fleetengine/apiv1/fleetenginepb/traffic.pb.go index 030f70d2e532..b8868279b41a 100755 --- a/maps/fleetengine/apiv1/fleetenginepb/traffic.pb.go +++ b/maps/fleetengine/apiv1/fleetenginepb/traffic.pb.go @@ -21,11 +21,10 @@ package fleetenginepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/fleetengine/apiv1/fleetenginepb/trip_api.pb.go b/maps/fleetengine/apiv1/fleetenginepb/trip_api.pb.go index b19928dadfd7..778b88c0450c 100755 --- a/maps/fleetengine/apiv1/fleetenginepb/trip_api.pb.go +++ b/maps/fleetengine/apiv1/fleetenginepb/trip_api.pb.go @@ -22,9 +22,6 @@ package fleetenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/fleetengine/apiv1/fleetenginepb/trips.pb.go b/maps/fleetengine/apiv1/fleetenginepb/trips.pb.go index 3d61c46b7e30..11561c6c9657 100755 --- a/maps/fleetengine/apiv1/fleetenginepb/trips.pb.go +++ b/maps/fleetengine/apiv1/fleetenginepb/trips.pb.go @@ -21,9 +21,6 @@ package fleetenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -31,6 +28,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/fleetengine/apiv1/fleetenginepb/vehicle_api.pb.go b/maps/fleetengine/apiv1/fleetenginepb/vehicle_api.pb.go index 73dce227f3f6..53191c20170b 100755 --- a/maps/fleetengine/apiv1/fleetenginepb/vehicle_api.pb.go +++ b/maps/fleetengine/apiv1/fleetenginepb/vehicle_api.pb.go @@ -22,9 +22,6 @@ package fleetenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" viewport "google.golang.org/genproto/googleapis/geo/type/viewport" latlng "google.golang.org/genproto/googleapis/type/latlng" @@ -37,6 +34,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/fleetengine/apiv1/fleetenginepb/vehicles.pb.go b/maps/fleetengine/apiv1/fleetenginepb/vehicles.pb.go index 1044ff59a682..e9aa4abc4ea1 100755 --- a/maps/fleetengine/apiv1/fleetenginepb/vehicles.pb.go +++ b/maps/fleetengine/apiv1/fleetenginepb/vehicles.pb.go @@ -21,14 +21,13 @@ package fleetenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/fleetengine/apiv1/vehicle_client.go b/maps/fleetengine/apiv1/vehicle_client.go index 9ac9e02ac410..e4007c1b61b0 100755 --- a/maps/fleetengine/apiv1/vehicle_client.go +++ b/maps/fleetengine/apiv1/vehicle_client.go @@ -185,43 +185,43 @@ func (c *VehicleClient) Connection() *grpc.ClientConn { // // The following Vehicle fields are required when creating a Vehicle: // -// vehicleState +// vehicleState // -// supportedTripTypes +// supportedTripTypes // -// maximumCapacity +// maximumCapacity // -// vehicleType +// vehicleType // // The following Vehicle fields are ignored when creating a Vehicle: // -// name +// name // -// currentTrips +// currentTrips // -// availableCapacity +// availableCapacity // -// current_route_segment +// current_route_segment // -// current_route_segment_end_point +// current_route_segment_end_point // -// current_route_segment_version +// current_route_segment_version // -// current_route_segment_traffic +// current_route_segment_traffic // -// route +// route // -// waypoints +// waypoints // -// waypoints_version +// waypoints_version // -// remaining_distance_meters +// remaining_distance_meters // -// remaining_time_seconds +// remaining_time_seconds // -// eta_to_next_waypoint +// eta_to_next_waypoint // -// navigation_status +// navigation_status // // All other fields are optional and used if provided. func (c *VehicleClient) CreateVehicle(ctx context.Context, req *fleetenginepb.CreateVehicleRequest, opts ...gax.CallOption) (*fleetenginepb.Vehicle, error) { @@ -238,13 +238,13 @@ func (c *VehicleClient) GetVehicle(ctx context.Context, req *fleetenginepb.GetVe // When updating a Vehicle, the following fields cannot be updated since // they are managed by the server: // -// currentTrips +// currentTrips // -// availableCapacity +// availableCapacity // -// current_route_segment_version +// current_route_segment_version // -// waypoints_version +// waypoints_version // // The vehicle name also cannot be updated. // diff --git a/maps/fleetengine/delivery/apiv1/deliverypb/common.pb.go b/maps/fleetengine/delivery/apiv1/deliverypb/common.pb.go index c365f8ef62c0..ea6aec29a552 100755 --- a/maps/fleetengine/delivery/apiv1/deliverypb/common.pb.go +++ b/maps/fleetengine/delivery/apiv1/deliverypb/common.pb.go @@ -21,15 +21,14 @@ package deliverypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/fleetengine/delivery/apiv1/deliverypb/delivery_api.pb.go b/maps/fleetengine/delivery/apiv1/deliverypb/delivery_api.pb.go index ba535e42ec18..807d0ec3b3be 100755 --- a/maps/fleetengine/delivery/apiv1/deliverypb/delivery_api.pb.go +++ b/maps/fleetengine/delivery/apiv1/deliverypb/delivery_api.pb.go @@ -22,9 +22,6 @@ package deliverypb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" viewport "google.golang.org/genproto/googleapis/geo/type/viewport" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/fleetengine/delivery/apiv1/deliverypb/delivery_vehicles.pb.go b/maps/fleetengine/delivery/apiv1/deliverypb/delivery_vehicles.pb.go index a9cdb35fdc2b..dc6e5642ee2b 100755 --- a/maps/fleetengine/delivery/apiv1/deliverypb/delivery_vehicles.pb.go +++ b/maps/fleetengine/delivery/apiv1/deliverypb/delivery_vehicles.pb.go @@ -21,15 +21,14 @@ package deliverypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/fleetengine/delivery/apiv1/deliverypb/header.pb.go b/maps/fleetengine/delivery/apiv1/deliverypb/header.pb.go index bd2eff327093..acc74008c9f7 100755 --- a/maps/fleetengine/delivery/apiv1/deliverypb/header.pb.go +++ b/maps/fleetengine/delivery/apiv1/deliverypb/header.pb.go @@ -21,12 +21,11 @@ package deliverypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/fleetengine/delivery/apiv1/deliverypb/task_tracking_info.pb.go b/maps/fleetengine/delivery/apiv1/deliverypb/task_tracking_info.pb.go index ecd7e3008136..91d7c6b7e763 100755 --- a/maps/fleetengine/delivery/apiv1/deliverypb/task_tracking_info.pb.go +++ b/maps/fleetengine/delivery/apiv1/deliverypb/task_tracking_info.pb.go @@ -21,15 +21,14 @@ package deliverypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/fleetengine/delivery/apiv1/deliverypb/tasks.pb.go b/maps/fleetengine/delivery/apiv1/deliverypb/tasks.pb.go index 10909e69c80b..99dbad1091e4 100755 --- a/maps/fleetengine/delivery/apiv1/deliverypb/tasks.pb.go +++ b/maps/fleetengine/delivery/apiv1/deliverypb/tasks.pb.go @@ -21,14 +21,13 @@ package deliverypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/fleetengine/delivery/apiv1/doc.go b/maps/fleetengine/delivery/apiv1/doc.go index e07d16dc101e..1c05bab3c5e3 100755 --- a/maps/fleetengine/delivery/apiv1/doc.go +++ b/maps/fleetengine/delivery/apiv1/doc.go @@ -23,66 +23,65 @@ // Service located at https://cloud.google.com/maps-platform/terms (at // https://cloud.google.com/maps-platform/terms). // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := delivery.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := delivery.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := delivery.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &deliverypb.BatchCreateTasksRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb#BatchCreateTasksRequest. -// } -// resp, err := c.BatchCreateTasks(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := delivery.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &deliverypb.BatchCreateTasksRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb#BatchCreateTasksRequest. +// } +// resp, err := c.BatchCreateTasks(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/maps/mapsplatformdatasets/apiv1alpha/doc.go b/maps/mapsplatformdatasets/apiv1alpha/doc.go index c39ca281b01b..4eb18ad36919 100755 --- a/maps/mapsplatformdatasets/apiv1alpha/doc.go +++ b/maps/mapsplatformdatasets/apiv1alpha/doc.go @@ -21,68 +21,67 @@ // geospatially-tied datasets that they can use to enrich their experience of // Maps Platform solutions (e.g. styling, routing). // -// NOTE: This package is in alpha. It is not stable, and is likely to change. +// NOTE: This package is in alpha. It is not stable, and is likely to change. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := mapsplatformdatasets.NewMapsPlatformDatasetsV1AlphaClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := mapsplatformdatasets.NewMapsPlatformDatasetsV1AlphaClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := mapsplatformdatasets.NewMapsPlatformDatasetsV1AlphaClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &mapsplatformdatasetspb.CreateDatasetRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb#CreateDatasetRequest. -// } -// resp, err := c.CreateDataset(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := mapsplatformdatasets.NewMapsPlatformDatasetsV1AlphaClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &mapsplatformdatasetspb.CreateDatasetRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb#CreateDatasetRequest. +// } +// resp, err := c.CreateDataset(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewMapsPlatformDatasetsV1AlphaClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/data_source.pb.go b/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/data_source.pb.go index e4bac3decd23..6426f5b28b36 100755 --- a/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/data_source.pb.go +++ b/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/data_source.pb.go @@ -21,11 +21,10 @@ package mapsplatformdatasetspb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/dataset.pb.go b/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/dataset.pb.go index 5a21475dc020..ca780425a203 100755 --- a/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/dataset.pb.go +++ b/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/dataset.pb.go @@ -21,13 +21,12 @@ package mapsplatformdatasetspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/maps_platform_datasets.pb.go b/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/maps_platform_datasets.pb.go index 770fe64b23ea..c58581107f63 100755 --- a/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/maps_platform_datasets.pb.go +++ b/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/maps_platform_datasets.pb.go @@ -21,13 +21,12 @@ package mapsplatformdatasetspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/maps_platform_datasets_alpha_service.pb.go b/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/maps_platform_datasets_alpha_service.pb.go index da64a3b0110f..9f3337a34318 100755 --- a/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/maps_platform_datasets_alpha_service.pb.go +++ b/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/maps_platform_datasets_alpha_service.pb.go @@ -22,8 +22,6 @@ package mapsplatformdatasetspb import ( context "context" - reflect "reflect" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,6 +29,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" ) const ( diff --git a/maps/places/apiv1/auxiliary.go b/maps/places/apiv1/auxiliary.go index b97954e9c1ba..737a16d82446 100755 --- a/maps/places/apiv1/auxiliary.go +++ b/maps/places/apiv1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package places + +import () diff --git a/maps/places/apiv1/doc.go b/maps/places/apiv1/doc.go index 0a390b3c1579..e457ba148cb3 100755 --- a/maps/places/apiv1/doc.go +++ b/maps/places/apiv1/doc.go @@ -20,66 +20,65 @@ // The Places API allows developers to access a variety of search and // retrieval endpoints for a Place. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := places.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := places.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := places.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &placespb.GetPhotoMediaRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/maps/places/apiv1/placespb#GetPhotoMediaRequest. -// } -// resp, err := c.GetPhotoMedia(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := places.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &placespb.GetPhotoMediaRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/maps/places/apiv1/placespb#GetPhotoMediaRequest. +// } +// resp, err := c.GetPhotoMedia(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/maps/places/apiv1/placespb/attribution.pb.go b/maps/places/apiv1/placespb/attribution.pb.go index 750881268f20..8d3e673c55c4 100755 --- a/maps/places/apiv1/placespb/attribution.pb.go +++ b/maps/places/apiv1/placespb/attribution.pb.go @@ -21,12 +21,11 @@ package placespb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/places/apiv1/placespb/ev_charging.pb.go b/maps/places/apiv1/placespb/ev_charging.pb.go index 71823e24ca55..b049f2c2c540 100755 --- a/maps/places/apiv1/placespb/ev_charging.pb.go +++ b/maps/places/apiv1/placespb/ev_charging.pb.go @@ -21,12 +21,11 @@ package placespb 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" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/places/apiv1/placespb/fuel_options.pb.go b/maps/places/apiv1/placespb/fuel_options.pb.go index b0976733225b..46f57abb65c3 100755 --- a/maps/places/apiv1/placespb/fuel_options.pb.go +++ b/maps/places/apiv1/placespb/fuel_options.pb.go @@ -21,13 +21,12 @@ package placespb import ( - reflect "reflect" - sync "sync" - money "google.golang.org/genproto/googleapis/type/money" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/places/apiv1/placespb/geometry.pb.go b/maps/places/apiv1/placespb/geometry.pb.go index 220a88365a83..9b721856effa 100755 --- a/maps/places/apiv1/placespb/geometry.pb.go +++ b/maps/places/apiv1/placespb/geometry.pb.go @@ -21,13 +21,12 @@ package placespb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/places/apiv1/placespb/photo.pb.go b/maps/places/apiv1/placespb/photo.pb.go index a265b2fb7af6..fe3a8f40502f 100755 --- a/maps/places/apiv1/placespb/photo.pb.go +++ b/maps/places/apiv1/placespb/photo.pb.go @@ -21,12 +21,11 @@ package placespb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/places/apiv1/placespb/place.pb.go b/maps/places/apiv1/placespb/place.pb.go index 39f155fff3b1..8e73defa1b0a 100755 --- a/maps/places/apiv1/placespb/place.pb.go +++ b/maps/places/apiv1/placespb/place.pb.go @@ -21,9 +21,6 @@ package placespb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" viewport "google.golang.org/genproto/googleapis/geo/type/viewport" date "google.golang.org/genproto/googleapis/type/date" @@ -31,6 +28,8 @@ import ( localized_text "google.golang.org/genproto/googleapis/type/localized_text" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/places/apiv1/placespb/places_service.pb.go b/maps/places/apiv1/placespb/places_service.pb.go index 185a3b703644..96367c311cbf 100755 --- a/maps/places/apiv1/placespb/places_service.pb.go +++ b/maps/places/apiv1/placespb/places_service.pb.go @@ -22,9 +22,6 @@ package placespb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" viewport "google.golang.org/genproto/googleapis/geo/type/viewport" grpc "google.golang.org/grpc" @@ -32,6 +29,8 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( @@ -336,6 +335,8 @@ func (x *SearchNearbyRequest) GetRankPreference() SearchNearbyRequest_RankPrefer } // Response proto for Search Nearby. +// +// type SearchNearbyResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -386,6 +387,8 @@ func (x *SearchNearbyResponse) GetPlaces() []*Place { } // Request proto for SearchText. +// +// type SearchTextRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -567,6 +570,7 @@ func (x *SearchTextRequest) GetLocationRestriction() *SearchTextRequest_Location } // Response proto for SearchText. +// type SearchTextResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/maps/places/apiv1/placespb/review.pb.go b/maps/places/apiv1/placespb/review.pb.go index d42bcd69062c..659fb573b615 100755 --- a/maps/places/apiv1/placespb/review.pb.go +++ b/maps/places/apiv1/placespb/review.pb.go @@ -21,14 +21,13 @@ package placespb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" localized_text "google.golang.org/genproto/googleapis/type/localized_text" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/auxiliary.go b/maps/routing/apiv2/auxiliary.go index 0a95e93b19db..4e02699788f7 100755 --- a/maps/routing/apiv2/auxiliary.go +++ b/maps/routing/apiv2/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package routing + +import () diff --git a/maps/routing/apiv2/doc.go b/maps/routing/apiv2/doc.go index 3670237e1798..35fa6499852b 100755 --- a/maps/routing/apiv2/doc.go +++ b/maps/routing/apiv2/doc.go @@ -19,43 +19,42 @@ // // routes.googleapis.com (at http://routes.googleapis.com) API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := routing.NewRoutesClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := routing.NewRoutesClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// # Use of Context +// Use of Context // // The ctx passed to NewRoutesClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/maps/routing/apiv2/routes_client.go b/maps/routing/apiv2/routes_client.go index 3a4c3f5affcb..9e9622c42274 100755 --- a/maps/routing/apiv2/routes_client.go +++ b/maps/routing/apiv2/routes_client.go @@ -129,29 +129,29 @@ func (c *RoutesClient) Connection() *grpc.ClientConn { // // For example, in this method: // -// Field mask of all available fields (for manual inspection): -// X-Goog-FieldMask: * +// Field mask of all available fields (for manual inspection): +// X-Goog-FieldMask: * // -// Field mask of Route-level duration, distance, and polyline (an example -// production setup): -// X-Goog-FieldMask: routes.duration,routes.distanceMeters,routes.polyline.encodedPolyline +// Field mask of Route-level duration, distance, and polyline (an example +// production setup): +// X-Goog-FieldMask: routes.duration,routes.distanceMeters,routes.polyline.encodedPolyline // // Google discourage the use of the wildcard (*) response field mask, or // specifying the field mask at the top level (routes), because: // -// Selecting only the fields that you need helps our server save computation -// cycles, allowing us to return the result to you with a lower latency. +// Selecting only the fields that you need helps our server save computation +// cycles, allowing us to return the result to you with a lower latency. // -// Selecting only the fields that you need -// in your production job ensures stable latency performance. We might add -// more response fields in the future, and those new fields might require -// extra computation time. If you select all fields, or if you select all -// fields at the top level, then you might experience performance degradation -// because any new field we add will be automatically included in the -// response. +// Selecting only the fields that you need +// in your production job ensures stable latency performance. We might add +// more response fields in the future, and those new fields might require +// extra computation time. If you select all fields, or if you select all +// fields at the top level, then you might experience performance degradation +// because any new field we add will be automatically included in the +// response. // -// Selecting only the fields that you need results in a smaller response -// size, and thus higher network throughput. +// Selecting only the fields that you need results in a smaller response +// size, and thus higher network throughput. func (c *RoutesClient) ComputeRoutes(ctx context.Context, req *routingpb.ComputeRoutesRequest, opts ...gax.CallOption) (*routingpb.ComputeRoutesResponse, error) { return c.internalClient.ComputeRoutes(ctx, req, opts...) } @@ -170,29 +170,29 @@ func (c *RoutesClient) ComputeRoutes(ctx context.Context, req *routingpb.Compute // // For example, in this method: // -// Field mask of all available fields (for manual inspection): -// X-Goog-FieldMask: * +// Field mask of all available fields (for manual inspection): +// X-Goog-FieldMask: * // -// Field mask of route durations, distances, element status, condition, and -// element indices (an example production setup): -// X-Goog-FieldMask: originIndex,destinationIndex,status,condition,distanceMeters,duration +// Field mask of route durations, distances, element status, condition, and +// element indices (an example production setup): +// X-Goog-FieldMask: originIndex,destinationIndex,status,condition,distanceMeters,duration // // It is critical that you include status in your field mask as otherwise // all messages will appear to be OK. Google discourages the use of the // wildcard (*) response field mask, because: // -// Selecting only the fields that you need helps our server save computation -// cycles, allowing us to return the result to you with a lower latency. +// Selecting only the fields that you need helps our server save computation +// cycles, allowing us to return the result to you with a lower latency. // -// Selecting only the fields that you need in your production job ensures -// stable latency performance. We might add more response fields in the -// future, and those new fields might require extra computation time. If you -// select all fields, or if you select all fields at the top level, then you -// might experience performance degradation because any new field we add will -// be automatically included in the response. +// Selecting only the fields that you need in your production job ensures +// stable latency performance. We might add more response fields in the +// future, and those new fields might require extra computation time. If you +// select all fields, or if you select all fields at the top level, then you +// might experience performance degradation because any new field we add will +// be automatically included in the response. // -// Selecting only the fields that you need results in a smaller response -// size, and thus higher network throughput. +// Selecting only the fields that you need results in a smaller response +// size, and thus higher network throughput. func (c *RoutesClient) ComputeRouteMatrix(ctx context.Context, req *routingpb.ComputeRouteMatrixRequest, opts ...gax.CallOption) (routingpb.Routes_ComputeRouteMatrixClient, error) { return c.internalClient.ComputeRouteMatrix(ctx, req, opts...) } @@ -381,29 +381,29 @@ func (c *routesGRPCClient) ComputeRouteMatrix(ctx context.Context, req *routingp // // For example, in this method: // -// Field mask of all available fields (for manual inspection): -// X-Goog-FieldMask: * +// Field mask of all available fields (for manual inspection): +// X-Goog-FieldMask: * // -// Field mask of Route-level duration, distance, and polyline (an example -// production setup): -// X-Goog-FieldMask: routes.duration,routes.distanceMeters,routes.polyline.encodedPolyline +// Field mask of Route-level duration, distance, and polyline (an example +// production setup): +// X-Goog-FieldMask: routes.duration,routes.distanceMeters,routes.polyline.encodedPolyline // // Google discourage the use of the wildcard (*) response field mask, or // specifying the field mask at the top level (routes), because: // -// Selecting only the fields that you need helps our server save computation -// cycles, allowing us to return the result to you with a lower latency. +// Selecting only the fields that you need helps our server save computation +// cycles, allowing us to return the result to you with a lower latency. // -// Selecting only the fields that you need -// in your production job ensures stable latency performance. We might add -// more response fields in the future, and those new fields might require -// extra computation time. If you select all fields, or if you select all -// fields at the top level, then you might experience performance degradation -// because any new field we add will be automatically included in the -// response. +// Selecting only the fields that you need +// in your production job ensures stable latency performance. We might add +// more response fields in the future, and those new fields might require +// extra computation time. If you select all fields, or if you select all +// fields at the top level, then you might experience performance degradation +// because any new field we add will be automatically included in the +// response. // -// Selecting only the fields that you need results in a smaller response -// size, and thus higher network throughput. +// Selecting only the fields that you need results in a smaller response +// size, and thus higher network throughput. func (c *routesRESTClient) ComputeRoutes(ctx context.Context, req *routingpb.ComputeRoutesRequest, opts ...gax.CallOption) (*routingpb.ComputeRoutesResponse, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -480,29 +480,29 @@ func (c *routesRESTClient) ComputeRoutes(ctx context.Context, req *routingpb.Com // // For example, in this method: // -// Field mask of all available fields (for manual inspection): -// X-Goog-FieldMask: * +// Field mask of all available fields (for manual inspection): +// X-Goog-FieldMask: * // -// Field mask of route durations, distances, element status, condition, and -// element indices (an example production setup): -// X-Goog-FieldMask: originIndex,destinationIndex,status,condition,distanceMeters,duration +// Field mask of route durations, distances, element status, condition, and +// element indices (an example production setup): +// X-Goog-FieldMask: originIndex,destinationIndex,status,condition,distanceMeters,duration // // It is critical that you include status in your field mask as otherwise // all messages will appear to be OK. Google discourages the use of the // wildcard (*) response field mask, because: // -// Selecting only the fields that you need helps our server save computation -// cycles, allowing us to return the result to you with a lower latency. +// Selecting only the fields that you need helps our server save computation +// cycles, allowing us to return the result to you with a lower latency. // -// Selecting only the fields that you need in your production job ensures -// stable latency performance. We might add more response fields in the -// future, and those new fields might require extra computation time. If you -// select all fields, or if you select all fields at the top level, then you -// might experience performance degradation because any new field we add will -// be automatically included in the response. +// Selecting only the fields that you need in your production job ensures +// stable latency performance. We might add more response fields in the +// future, and those new fields might require extra computation time. If you +// select all fields, or if you select all fields at the top level, then you +// might experience performance degradation because any new field we add will +// be automatically included in the response. // -// Selecting only the fields that you need results in a smaller response -// size, and thus higher network throughput. +// Selecting only the fields that you need results in a smaller response +// size, and thus higher network throughput. func (c *routesRESTClient) ComputeRouteMatrix(ctx context.Context, req *routingpb.ComputeRouteMatrixRequest, opts ...gax.CallOption) (routingpb.Routes_ComputeRouteMatrixClient, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/maps/routing/apiv2/routingpb/fallback_info.pb.go b/maps/routing/apiv2/routingpb/fallback_info.pb.go index 1da9b68b936f..722ece9fd383 100755 --- a/maps/routing/apiv2/routingpb/fallback_info.pb.go +++ b/maps/routing/apiv2/routingpb/fallback_info.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/geocoding_results.pb.go b/maps/routing/apiv2/routingpb/geocoding_results.pb.go index bac88ab84c35..88862dd6104d 100755 --- a/maps/routing/apiv2/routingpb/geocoding_results.pb.go +++ b/maps/routing/apiv2/routingpb/geocoding_results.pb.go @@ -21,12 +21,11 @@ package routingpb import ( - reflect "reflect" - sync "sync" - status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/localized_time.pb.go b/maps/routing/apiv2/routingpb/localized_time.pb.go index c68406e78b5b..124abaf449f2 100755 --- a/maps/routing/apiv2/routingpb/localized_time.pb.go +++ b/maps/routing/apiv2/routingpb/localized_time.pb.go @@ -21,12 +21,11 @@ package routingpb import ( - reflect "reflect" - sync "sync" - localized_text "google.golang.org/genproto/googleapis/type/localized_text" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/location.pb.go b/maps/routing/apiv2/routingpb/location.pb.go index 3f5e00f2b60d..ab49794b9bf4 100755 --- a/maps/routing/apiv2/routingpb/location.pb.go +++ b/maps/routing/apiv2/routingpb/location.pb.go @@ -21,13 +21,12 @@ package routingpb import ( - reflect "reflect" - sync "sync" - latlng "google.golang.org/genproto/googleapis/type/latlng" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/maneuver.pb.go b/maps/routing/apiv2/routingpb/maneuver.pb.go index 2488179f3f5b..eb41e4ecba43 100755 --- a/maps/routing/apiv2/routingpb/maneuver.pb.go +++ b/maps/routing/apiv2/routingpb/maneuver.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/navigation_instruction.pb.go b/maps/routing/apiv2/routingpb/navigation_instruction.pb.go index f5c7356d6f99..e26db9605b65 100755 --- a/maps/routing/apiv2/routingpb/navigation_instruction.pb.go +++ b/maps/routing/apiv2/routingpb/navigation_instruction.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/polyline.pb.go b/maps/routing/apiv2/routingpb/polyline.pb.go index 7d219c1af6e4..d05a7869abe8 100755 --- a/maps/routing/apiv2/routingpb/polyline.pb.go +++ b/maps/routing/apiv2/routingpb/polyline.pb.go @@ -21,12 +21,11 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/route.pb.go b/maps/routing/apiv2/routingpb/route.pb.go index 2e22cbfceec0..841f8f06e142 100755 --- a/maps/routing/apiv2/routingpb/route.pb.go +++ b/maps/routing/apiv2/routingpb/route.pb.go @@ -21,9 +21,6 @@ package routingpb import ( - reflect "reflect" - sync "sync" - viewport "google.golang.org/genproto/googleapis/geo/type/viewport" localized_text "google.golang.org/genproto/googleapis/type/localized_text" money "google.golang.org/genproto/googleapis/type/money" @@ -31,6 +28,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/route_label.pb.go b/maps/routing/apiv2/routingpb/route_label.pb.go index 355e921a61fb..a2a86e405809 100755 --- a/maps/routing/apiv2/routingpb/route_label.pb.go +++ b/maps/routing/apiv2/routingpb/route_label.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/route_modifiers.pb.go b/maps/routing/apiv2/routingpb/route_modifiers.pb.go index 29aed2adb146..9a70f00f9d72 100755 --- a/maps/routing/apiv2/routingpb/route_modifiers.pb.go +++ b/maps/routing/apiv2/routingpb/route_modifiers.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/route_travel_mode.pb.go b/maps/routing/apiv2/routingpb/route_travel_mode.pb.go index 04c45ace51e6..7e2c089d2890 100755 --- a/maps/routing/apiv2/routingpb/route_travel_mode.pb.go +++ b/maps/routing/apiv2/routingpb/route_travel_mode.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/routes_service.pb.go b/maps/routing/apiv2/routingpb/routes_service.pb.go index 8b6725aa7c17..51138123d4f6 100755 --- a/maps/routing/apiv2/routingpb/routes_service.pb.go +++ b/maps/routing/apiv2/routingpb/routes_service.pb.go @@ -22,9 +22,6 @@ package routingpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" localized_text "google.golang.org/genproto/googleapis/type/localized_text" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/routing_preference.pb.go b/maps/routing/apiv2/routingpb/routing_preference.pb.go index ef739a0bddbd..c545ef6391ca 100755 --- a/maps/routing/apiv2/routingpb/routing_preference.pb.go +++ b/maps/routing/apiv2/routingpb/routing_preference.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/speed_reading_interval.pb.go b/maps/routing/apiv2/routingpb/speed_reading_interval.pb.go index 8fd32b59fc09..93f4137ab0d4 100755 --- a/maps/routing/apiv2/routingpb/speed_reading_interval.pb.go +++ b/maps/routing/apiv2/routingpb/speed_reading_interval.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/toll_info.pb.go b/maps/routing/apiv2/routingpb/toll_info.pb.go index 7b1281e8157c..42bb0fae3eb2 100755 --- a/maps/routing/apiv2/routingpb/toll_info.pb.go +++ b/maps/routing/apiv2/routingpb/toll_info.pb.go @@ -21,12 +21,11 @@ package routingpb import ( - reflect "reflect" - sync "sync" - money "google.golang.org/genproto/googleapis/type/money" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/toll_passes.pb.go b/maps/routing/apiv2/routingpb/toll_passes.pb.go index ff576582f86e..503797ea92d3 100755 --- a/maps/routing/apiv2/routingpb/toll_passes.pb.go +++ b/maps/routing/apiv2/routingpb/toll_passes.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/traffic_model.pb.go b/maps/routing/apiv2/routingpb/traffic_model.pb.go index c9c31c373567..fd6a4ad92fe4 100755 --- a/maps/routing/apiv2/routingpb/traffic_model.pb.go +++ b/maps/routing/apiv2/routingpb/traffic_model.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/transit.pb.go b/maps/routing/apiv2/routingpb/transit.pb.go index 4a2363b4b794..fb14e9580d76 100755 --- a/maps/routing/apiv2/routingpb/transit.pb.go +++ b/maps/routing/apiv2/routingpb/transit.pb.go @@ -21,12 +21,11 @@ package routingpb import ( - reflect "reflect" - sync "sync" - localized_text "google.golang.org/genproto/googleapis/type/localized_text" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/transit_preferences.pb.go b/maps/routing/apiv2/routingpb/transit_preferences.pb.go index b6f530261f35..a36fc12f344b 100755 --- a/maps/routing/apiv2/routingpb/transit_preferences.pb.go +++ b/maps/routing/apiv2/routingpb/transit_preferences.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/units.pb.go b/maps/routing/apiv2/routingpb/units.pb.go index b61739d12247..71e9b13d0a46 100755 --- a/maps/routing/apiv2/routingpb/units.pb.go +++ b/maps/routing/apiv2/routingpb/units.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/vehicle_emission_type.pb.go b/maps/routing/apiv2/routingpb/vehicle_emission_type.pb.go index b750c910b09a..35cf91e1c705 100755 --- a/maps/routing/apiv2/routingpb/vehicle_emission_type.pb.go +++ b/maps/routing/apiv2/routingpb/vehicle_emission_type.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/vehicle_info.pb.go b/maps/routing/apiv2/routingpb/vehicle_info.pb.go index c27e799c7312..db192ba8e850 100755 --- a/maps/routing/apiv2/routingpb/vehicle_info.pb.go +++ b/maps/routing/apiv2/routingpb/vehicle_info.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/waypoint.pb.go b/maps/routing/apiv2/routingpb/waypoint.pb.go index a3b1a3e143b3..9c79407c151c 100755 --- a/maps/routing/apiv2/routingpb/waypoint.pb.go +++ b/maps/routing/apiv2/routingpb/waypoint.pb.go @@ -21,11 +21,10 @@ package routingpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/mediatranslation/apiv1beta1/auxiliary.go b/mediatranslation/apiv1beta1/auxiliary.go index 13a92c66f36c..6982eee92820 100755 --- a/mediatranslation/apiv1beta1/auxiliary.go +++ b/mediatranslation/apiv1beta1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package mediatranslation + +import () diff --git a/mediatranslation/apiv1beta1/doc.go b/mediatranslation/apiv1beta1/doc.go index e94b3fc654f7..74d2e9d62a93 100755 --- a/mediatranslation/apiv1beta1/doc.go +++ b/mediatranslation/apiv1beta1/doc.go @@ -17,83 +17,82 @@ // Package mediatranslation is an auto-generated package for the // Media Translation API. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := mediatranslation.NewSpeechTranslationClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := mediatranslation.NewSpeechTranslationClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := mediatranslation.NewSpeechTranslationClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// stream, err := c.StreamingTranslateSpeech(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// go func() { -// reqs := []*mediatranslationpb.StreamingTranslateSpeechRequest{ -// // TODO: Create requests. -// } -// for _, req := range reqs { -// if err := stream.Send(req); err != nil { -// // TODO: Handle error. -// } -// } -// stream.CloseSend() -// }() -// for { -// resp, err := stream.Recv() -// if err == io.EOF { -// break -// } -// if err != nil { -// // TODO: handle error. -// } -// // TODO: Use resp. -// _ = resp -// } -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := mediatranslation.NewSpeechTranslationClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// stream, err := c.StreamingTranslateSpeech(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// go func() { +// reqs := []*mediatranslationpb.StreamingTranslateSpeechRequest{ +// // TODO: Create requests. +// } +// for _, req := range reqs { +// if err := stream.Send(req); err != nil { +// // TODO: Handle error. +// } +// } +// stream.CloseSend() +// }() +// for { +// resp, err := stream.Recv() +// if err == io.EOF { +// break +// } +// if err != nil { +// // TODO: handle error. +// } +// // TODO: Use resp. +// _ = resp +// } +// +// Use of Context // // The ctx passed to NewSpeechTranslationClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/mediatranslation/apiv1beta1/mediatranslationpb/media_translation.pb.go b/mediatranslation/apiv1beta1/mediatranslationpb/media_translation.pb.go index b84569e9a8f8..2ea965d78c4d 100755 --- a/mediatranslation/apiv1beta1/mediatranslationpb/media_translation.pb.go +++ b/mediatranslation/apiv1beta1/mediatranslationpb/media_translation.pb.go @@ -22,9 +22,6 @@ package mediatranslationpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -32,6 +29,8 @@ import ( status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/memcache/apiv1/cloud_memcache_client.go b/memcache/apiv1/cloud_memcache_client.go index 388299f46bb8..8ce7245ed991 100755 --- a/memcache/apiv1/cloud_memcache_client.go +++ b/memcache/apiv1/cloud_memcache_client.go @@ -181,19 +181,19 @@ type internalCloudMemcacheClient interface { // for Memcached API and defines the following resource model for managing // Memorystore Memcached (also called Memcached below) instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Memcached instances, named: -// /instances/* +// Each location has a collection of Memcached instances, named: +// /instances/* // -// As such, Memcached instances are resources of the form: -// /projects/{project_id}/locations/{location_id}/instances/{instance_id} +// As such, Memcached instances are resources of the form: +// /projects/{project_id}/locations/{location_id}/instances/{instance_id} // // Note that location_id must be a GCP region; for example: // -// projects/my-memcached-project/locations/us-central1/instances/my-memcached +// projects/my-memcached-project/locations/us-central1/instances/my-memcached type CloudMemcacheClient struct { // The internal transport-dependent client. internalClient internalCloudMemcacheClient @@ -375,19 +375,19 @@ type cloudMemcacheGRPCClient struct { // for Memcached API and defines the following resource model for managing // Memorystore Memcached (also called Memcached below) instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Memcached instances, named: -// /instances/* +// Each location has a collection of Memcached instances, named: +// /instances/* // -// As such, Memcached instances are resources of the form: -// /projects/{project_id}/locations/{location_id}/instances/{instance_id} +// As such, Memcached instances are resources of the form: +// /projects/{project_id}/locations/{location_id}/instances/{instance_id} // // Note that location_id must be a GCP region; for example: // -// projects/my-memcached-project/locations/us-central1/instances/my-memcached +// projects/my-memcached-project/locations/us-central1/instances/my-memcached func NewCloudMemcacheClient(ctx context.Context, opts ...option.ClientOption) (*CloudMemcacheClient, error) { clientOpts := defaultCloudMemcacheGRPCClientOptions() if newCloudMemcacheClientHook != nil { @@ -480,19 +480,19 @@ type cloudMemcacheRESTClient struct { // for Memcached API and defines the following resource model for managing // Memorystore Memcached (also called Memcached below) instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Memcached instances, named: -// /instances/* +// Each location has a collection of Memcached instances, named: +// /instances/* // -// As such, Memcached instances are resources of the form: -// /projects/{project_id}/locations/{location_id}/instances/{instance_id} +// As such, Memcached instances are resources of the form: +// /projects/{project_id}/locations/{location_id}/instances/{instance_id} // // Note that location_id must be a GCP region; for example: // -// projects/my-memcached-project/locations/us-central1/instances/my-memcached +// projects/my-memcached-project/locations/us-central1/instances/my-memcached func NewCloudMemcacheRESTClient(ctx context.Context, opts ...option.ClientOption) (*CloudMemcacheClient, error) { clientOpts := append(defaultCloudMemcacheRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/memcache/apiv1/doc.go b/memcache/apiv1/doc.go index 5cdf15fdf245..166d8fa44044 100755 --- a/memcache/apiv1/doc.go +++ b/memcache/apiv1/doc.go @@ -20,71 +20,70 @@ // Google Cloud Memorystore for Memcached API is used for creating and // managing Memcached instances in GCP. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := memcache.NewCloudMemcacheClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := memcache.NewCloudMemcacheClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := memcache.NewCloudMemcacheClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &memcachepb.ApplyParametersRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/memcache/apiv1/memcachepb#ApplyParametersRequest. -// } -// op, err := c.ApplyParameters(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := memcache.NewCloudMemcacheClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &memcachepb.ApplyParametersRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/memcache/apiv1/memcachepb#ApplyParametersRequest. +// } +// op, err := c.ApplyParameters(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewCloudMemcacheClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/memcache/apiv1/memcachepb/cloud_memcache.pb.go b/memcache/apiv1/memcachepb/cloud_memcache.pb.go index 8d89b5ba56f7..915d96f930c3 100755 --- a/memcache/apiv1/memcachepb/cloud_memcache.pb.go +++ b/memcache/apiv1/memcachepb/cloud_memcache.pb.go @@ -21,11 +21,8 @@ package memcachepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" timeofday "google.golang.org/genproto/googleapis/type/timeofday" @@ -37,6 +34,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/memcache/apiv1beta2/cloud_memcache_client.go b/memcache/apiv1beta2/cloud_memcache_client.go index 445cf990e8bc..bc8caac7d3be 100755 --- a/memcache/apiv1beta2/cloud_memcache_client.go +++ b/memcache/apiv1beta2/cloud_memcache_client.go @@ -190,19 +190,19 @@ type internalCloudMemcacheClient interface { // for Memcached API and defines the following resource model for managing // Memorystore Memcached (also called Memcached below) instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Memcached instances, named: -// /instances/* +// Each location has a collection of Memcached instances, named: +// /instances/* // -// As such, Memcached instances are resources of the form: -// /projects/{project_id}/locations/{location_id}/instances/{instance_id} +// As such, Memcached instances are resources of the form: +// /projects/{project_id}/locations/{location_id}/instances/{instance_id} // // Note that location_id must be a GCP region; for example: // -// projects/my-memcached-project/locations/us-central1/instances/my-memcached +// projects/my-memcached-project/locations/us-central1/instances/my-memcached type CloudMemcacheClient struct { // The internal transport-dependent client. internalClient internalCloudMemcacheClient @@ -395,19 +395,19 @@ type cloudMemcacheGRPCClient struct { // for Memcached API and defines the following resource model for managing // Memorystore Memcached (also called Memcached below) instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Memcached instances, named: -// /instances/* +// Each location has a collection of Memcached instances, named: +// /instances/* // -// As such, Memcached instances are resources of the form: -// /projects/{project_id}/locations/{location_id}/instances/{instance_id} +// As such, Memcached instances are resources of the form: +// /projects/{project_id}/locations/{location_id}/instances/{instance_id} // // Note that location_id must be a GCP region; for example: // -// projects/my-memcached-project/locations/us-central1/instances/my-memcached +// projects/my-memcached-project/locations/us-central1/instances/my-memcached func NewCloudMemcacheClient(ctx context.Context, opts ...option.ClientOption) (*CloudMemcacheClient, error) { clientOpts := defaultCloudMemcacheGRPCClientOptions() if newCloudMemcacheClientHook != nil { @@ -500,19 +500,19 @@ type cloudMemcacheRESTClient struct { // for Memcached API and defines the following resource model for managing // Memorystore Memcached (also called Memcached below) instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Memcached instances, named: -// /instances/* +// Each location has a collection of Memcached instances, named: +// /instances/* // -// As such, Memcached instances are resources of the form: -// /projects/{project_id}/locations/{location_id}/instances/{instance_id} +// As such, Memcached instances are resources of the form: +// /projects/{project_id}/locations/{location_id}/instances/{instance_id} // // Note that location_id must be a GCP region; for example: // -// projects/my-memcached-project/locations/us-central1/instances/my-memcached +// projects/my-memcached-project/locations/us-central1/instances/my-memcached func NewCloudMemcacheRESTClient(ctx context.Context, opts ...option.ClientOption) (*CloudMemcacheClient, error) { clientOpts := append(defaultCloudMemcacheRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/memcache/apiv1beta2/doc.go b/memcache/apiv1beta2/doc.go index 3ec3698949d8..e052f27d60dc 100755 --- a/memcache/apiv1beta2/doc.go +++ b/memcache/apiv1beta2/doc.go @@ -20,73 +20,72 @@ // Google Cloud Memorystore for Memcached API is used for creating and // managing Memcached instances in GCP. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := memcache.NewCloudMemcacheClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := memcache.NewCloudMemcacheClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := memcache.NewCloudMemcacheClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &memcachepb.ApplyParametersRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/memcache/apiv1beta2/memcachepb#ApplyParametersRequest. -// } -// op, err := c.ApplyParameters(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := memcache.NewCloudMemcacheClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &memcachepb.ApplyParametersRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/memcache/apiv1beta2/memcachepb#ApplyParametersRequest. +// } +// op, err := c.ApplyParameters(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewCloudMemcacheClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/memcache/apiv1beta2/memcachepb/cloud_memcache.pb.go b/memcache/apiv1beta2/memcachepb/cloud_memcache.pb.go index 842b6734f359..602b55154b14 100755 --- a/memcache/apiv1beta2/memcachepb/cloud_memcache.pb.go +++ b/memcache/apiv1beta2/memcachepb/cloud_memcache.pb.go @@ -21,11 +21,8 @@ package memcachepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" timeofday "google.golang.org/genproto/googleapis/type/timeofday" @@ -37,6 +34,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/metastore/apiv1/dataproc_metastore_client.go b/metastore/apiv1/dataproc_metastore_client.go index b27c24864583..6ee37224c474 100755 --- a/metastore/apiv1/dataproc_metastore_client.go +++ b/metastore/apiv1/dataproc_metastore_client.go @@ -437,15 +437,15 @@ type internalDataprocMetastoreClient interface { // // The Dataproc Metastore API defines the following resource model: // -// The service works with a collection of Google Cloud projects, named: -// /projects/* +// The service works with a collection of Google Cloud projects, named: +// /projects/* // -// Each project has a collection of available locations, named: /locations/* -// (a location must refer to a Google Cloud region) +// Each project has a collection of available locations, named: /locations/* +// (a location must refer to a Google Cloud region) // -// Each location has a collection of services, named: /services/* +// Each location has a collection of services, named: /services/* // -// Dataproc Metastore services are resources with names of the form: +// Dataproc Metastore services are resources with names of the form: // // /projects/{project_number}/locations/{location_id}/services/{service_id}. type DataprocMetastoreClient struct { @@ -746,15 +746,15 @@ type dataprocMetastoreGRPCClient struct { // // The Dataproc Metastore API defines the following resource model: // -// The service works with a collection of Google Cloud projects, named: -// /projects/* +// The service works with a collection of Google Cloud projects, named: +// /projects/* // -// Each project has a collection of available locations, named: /locations/* -// (a location must refer to a Google Cloud region) +// Each project has a collection of available locations, named: /locations/* +// (a location must refer to a Google Cloud region) // -// Each location has a collection of services, named: /services/* +// Each location has a collection of services, named: /services/* // -// Dataproc Metastore services are resources with names of the form: +// Dataproc Metastore services are resources with names of the form: // // /projects/{project_number}/locations/{location_id}/services/{service_id}. func NewDataprocMetastoreClient(ctx context.Context, opts ...option.ClientOption) (*DataprocMetastoreClient, error) { @@ -853,15 +853,15 @@ type dataprocMetastoreRESTClient struct { // // The Dataproc Metastore API defines the following resource model: // -// The service works with a collection of Google Cloud projects, named: -// /projects/* +// The service works with a collection of Google Cloud projects, named: +// /projects/* // -// Each project has a collection of available locations, named: /locations/* -// (a location must refer to a Google Cloud region) +// Each project has a collection of available locations, named: /locations/* +// (a location must refer to a Google Cloud region) // -// Each location has a collection of services, named: /services/* +// Each location has a collection of services, named: /services/* // -// Dataproc Metastore services are resources with names of the form: +// Dataproc Metastore services are resources with names of the form: // // /projects/{project_number}/locations/{location_id}/services/{service_id}. func NewDataprocMetastoreRESTClient(ctx context.Context, opts ...option.ClientOption) (*DataprocMetastoreClient, error) { diff --git a/metastore/apiv1/dataproc_metastore_federation_client.go b/metastore/apiv1/dataproc_metastore_federation_client.go index 5e263c45ed50..087e660c0073 100755 --- a/metastore/apiv1/dataproc_metastore_federation_client.go +++ b/metastore/apiv1/dataproc_metastore_federation_client.go @@ -148,15 +148,15 @@ type internalDataprocMetastoreFederationClient interface { // // The Dataproc Metastore Federation API defines the following resource model: // -// The service works with a collection of Google Cloud projects. +// The service works with a collection of Google Cloud projects. // -// Each project has a collection of available locations. +// Each project has a collection of available locations. // -// Each location has a collection of federations. +// Each location has a collection of federations. // -// Dataproc Metastore Federations are resources with names of the -// form: -// projects/{project_number}/locations/{location_id}/federations/{federation_id}. +// Dataproc Metastore Federations are resources with names of the +// form: +// projects/{project_number}/locations/{location_id}/federations/{federation_id}. type DataprocMetastoreFederationClient struct { // The internal transport-dependent client. internalClient internalDataprocMetastoreFederationClient @@ -331,15 +331,15 @@ type dataprocMetastoreFederationGRPCClient struct { // // The Dataproc Metastore Federation API defines the following resource model: // -// The service works with a collection of Google Cloud projects. +// The service works with a collection of Google Cloud projects. // -// Each project has a collection of available locations. +// Each project has a collection of available locations. // -// Each location has a collection of federations. +// Each location has a collection of federations. // -// Dataproc Metastore Federations are resources with names of the -// form: -// projects/{project_number}/locations/{location_id}/federations/{federation_id}. +// Dataproc Metastore Federations are resources with names of the +// form: +// projects/{project_number}/locations/{location_id}/federations/{federation_id}. func NewDataprocMetastoreFederationClient(ctx context.Context, opts ...option.ClientOption) (*DataprocMetastoreFederationClient, error) { clientOpts := defaultDataprocMetastoreFederationGRPCClientOptions() if newDataprocMetastoreFederationClientHook != nil { @@ -435,15 +435,15 @@ type dataprocMetastoreFederationRESTClient struct { // // The Dataproc Metastore Federation API defines the following resource model: // -// The service works with a collection of Google Cloud projects. +// The service works with a collection of Google Cloud projects. // -// Each project has a collection of available locations. +// Each project has a collection of available locations. // -// Each location has a collection of federations. +// Each location has a collection of federations. // -// Dataproc Metastore Federations are resources with names of the -// form: -// projects/{project_number}/locations/{location_id}/federations/{federation_id}. +// Dataproc Metastore Federations are resources with names of the +// form: +// projects/{project_number}/locations/{location_id}/federations/{federation_id}. func NewDataprocMetastoreFederationRESTClient(ctx context.Context, opts ...option.ClientOption) (*DataprocMetastoreFederationClient, error) { clientOpts := append(defaultDataprocMetastoreFederationRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/metastore/apiv1/doc.go b/metastore/apiv1/doc.go index 872b347de975..34b7cbeb1059 100755 --- a/metastore/apiv1/doc.go +++ b/metastore/apiv1/doc.go @@ -20,71 +20,70 @@ // The Dataproc Metastore API is used to manage the lifecycle and // configuration of metastore services. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := metastore.NewDataprocMetastoreClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := metastore.NewDataprocMetastoreClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := metastore.NewDataprocMetastoreClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &metastorepb.AlterMetadataResourceLocationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/metastore/apiv1/metastorepb#AlterMetadataResourceLocationRequest. -// } -// op, err := c.AlterMetadataResourceLocation(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := metastore.NewDataprocMetastoreClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &metastorepb.AlterMetadataResourceLocationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/metastore/apiv1/metastorepb#AlterMetadataResourceLocationRequest. +// } +// op, err := c.AlterMetadataResourceLocation(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewDataprocMetastoreClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/metastore/apiv1/metastorepb/metastore.pb.go b/metastore/apiv1/metastorepb/metastore.pb.go index 329cc7e725a8..de4432958e2f 100755 --- a/metastore/apiv1/metastorepb/metastore.pb.go +++ b/metastore/apiv1/metastorepb/metastore.pb.go @@ -21,11 +21,8 @@ package metastorepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/metastore/apiv1/metastorepb/metastore_federation.pb.go b/metastore/apiv1/metastorepb/metastore_federation.pb.go index 8b7cd85d6dce..fe23c8d07efc 100755 --- a/metastore/apiv1/metastorepb/metastore_federation.pb.go +++ b/metastore/apiv1/metastorepb/metastore_federation.pb.go @@ -21,11 +21,8 @@ package metastorepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/metastore/apiv1alpha/dataproc_metastore_client.go b/metastore/apiv1alpha/dataproc_metastore_client.go index 01927c83b467..e0edda61224e 100755 --- a/metastore/apiv1alpha/dataproc_metastore_client.go +++ b/metastore/apiv1alpha/dataproc_metastore_client.go @@ -462,15 +462,15 @@ type internalDataprocMetastoreClient interface { // // The Dataproc Metastore API defines the following resource model: // -// The service works with a collection of Google Cloud projects, named: -// /projects/* +// The service works with a collection of Google Cloud projects, named: +// /projects/* // -// Each project has a collection of available locations, named: /locations/* -// (a location must refer to a Google Cloud region) +// Each project has a collection of available locations, named: /locations/* +// (a location must refer to a Google Cloud region) // -// Each location has a collection of services, named: /services/* +// Each location has a collection of services, named: /services/* // -// Dataproc Metastore services are resources with names of the form: +// Dataproc Metastore services are resources with names of the form: // // /projects/{project_number}/locations/{location_id}/services/{service_id}. type DataprocMetastoreClient struct { @@ -776,15 +776,15 @@ type dataprocMetastoreGRPCClient struct { // // The Dataproc Metastore API defines the following resource model: // -// The service works with a collection of Google Cloud projects, named: -// /projects/* +// The service works with a collection of Google Cloud projects, named: +// /projects/* // -// Each project has a collection of available locations, named: /locations/* -// (a location must refer to a Google Cloud region) +// Each project has a collection of available locations, named: /locations/* +// (a location must refer to a Google Cloud region) // -// Each location has a collection of services, named: /services/* +// Each location has a collection of services, named: /services/* // -// Dataproc Metastore services are resources with names of the form: +// Dataproc Metastore services are resources with names of the form: // // /projects/{project_number}/locations/{location_id}/services/{service_id}. func NewDataprocMetastoreClient(ctx context.Context, opts ...option.ClientOption) (*DataprocMetastoreClient, error) { @@ -883,15 +883,15 @@ type dataprocMetastoreRESTClient struct { // // The Dataproc Metastore API defines the following resource model: // -// The service works with a collection of Google Cloud projects, named: -// /projects/* +// The service works with a collection of Google Cloud projects, named: +// /projects/* // -// Each project has a collection of available locations, named: /locations/* -// (a location must refer to a Google Cloud region) +// Each project has a collection of available locations, named: /locations/* +// (a location must refer to a Google Cloud region) // -// Each location has a collection of services, named: /services/* +// Each location has a collection of services, named: /services/* // -// Dataproc Metastore services are resources with names of the form: +// Dataproc Metastore services are resources with names of the form: // // /projects/{project_number}/locations/{location_id}/services/{service_id}. func NewDataprocMetastoreRESTClient(ctx context.Context, opts ...option.ClientOption) (*DataprocMetastoreClient, error) { diff --git a/metastore/apiv1alpha/dataproc_metastore_federation_client.go b/metastore/apiv1alpha/dataproc_metastore_federation_client.go index 29bbcc66e544..6393d76468b2 100755 --- a/metastore/apiv1alpha/dataproc_metastore_federation_client.go +++ b/metastore/apiv1alpha/dataproc_metastore_federation_client.go @@ -148,15 +148,15 @@ type internalDataprocMetastoreFederationClient interface { // // The Dataproc Metastore Federation API defines the following resource model: // -// The service works with a collection of Google Cloud projects. +// The service works with a collection of Google Cloud projects. // -// Each project has a collection of available locations. +// Each project has a collection of available locations. // -// Each location has a collection of federations. +// Each location has a collection of federations. // -// Dataproc Metastore Federations are resources with names of the -// form: -// projects/{project_number}/locations/{location_id}/federations/{federation_id}. +// Dataproc Metastore Federations are resources with names of the +// form: +// projects/{project_number}/locations/{location_id}/federations/{federation_id}. type DataprocMetastoreFederationClient struct { // The internal transport-dependent client. internalClient internalDataprocMetastoreFederationClient @@ -331,15 +331,15 @@ type dataprocMetastoreFederationGRPCClient struct { // // The Dataproc Metastore Federation API defines the following resource model: // -// The service works with a collection of Google Cloud projects. +// The service works with a collection of Google Cloud projects. // -// Each project has a collection of available locations. +// Each project has a collection of available locations. // -// Each location has a collection of federations. +// Each location has a collection of federations. // -// Dataproc Metastore Federations are resources with names of the -// form: -// projects/{project_number}/locations/{location_id}/federations/{federation_id}. +// Dataproc Metastore Federations are resources with names of the +// form: +// projects/{project_number}/locations/{location_id}/federations/{federation_id}. func NewDataprocMetastoreFederationClient(ctx context.Context, opts ...option.ClientOption) (*DataprocMetastoreFederationClient, error) { clientOpts := defaultDataprocMetastoreFederationGRPCClientOptions() if newDataprocMetastoreFederationClientHook != nil { @@ -435,15 +435,15 @@ type dataprocMetastoreFederationRESTClient struct { // // The Dataproc Metastore Federation API defines the following resource model: // -// The service works with a collection of Google Cloud projects. +// The service works with a collection of Google Cloud projects. // -// Each project has a collection of available locations. +// Each project has a collection of available locations. // -// Each location has a collection of federations. +// Each location has a collection of federations. // -// Dataproc Metastore Federations are resources with names of the -// form: -// projects/{project_number}/locations/{location_id}/federations/{federation_id}. +// Dataproc Metastore Federations are resources with names of the +// form: +// projects/{project_number}/locations/{location_id}/federations/{federation_id}. func NewDataprocMetastoreFederationRESTClient(ctx context.Context, opts ...option.ClientOption) (*DataprocMetastoreFederationClient, error) { clientOpts := append(defaultDataprocMetastoreFederationRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/metastore/apiv1alpha/doc.go b/metastore/apiv1alpha/doc.go index 6f61ffa76dd1..609781e075eb 100755 --- a/metastore/apiv1alpha/doc.go +++ b/metastore/apiv1alpha/doc.go @@ -20,73 +20,72 @@ // The Dataproc Metastore API is used to manage the lifecycle and // configuration of metastore services. // -// NOTE: This package is in alpha. It is not stable, and is likely to change. +// NOTE: This package is in alpha. It is not stable, and is likely to change. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := metastore.NewDataprocMetastoreClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := metastore.NewDataprocMetastoreClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := metastore.NewDataprocMetastoreClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &metastorepb.AlterMetadataResourceLocationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/metastore/apiv1alpha/metastorepb#AlterMetadataResourceLocationRequest. -// } -// op, err := c.AlterMetadataResourceLocation(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := metastore.NewDataprocMetastoreClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &metastorepb.AlterMetadataResourceLocationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/metastore/apiv1alpha/metastorepb#AlterMetadataResourceLocationRequest. +// } +// op, err := c.AlterMetadataResourceLocation(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewDataprocMetastoreClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/metastore/apiv1alpha/metastorepb/metastore.pb.go b/metastore/apiv1alpha/metastorepb/metastore.pb.go index 809f446ff909..812ec9d17273 100755 --- a/metastore/apiv1alpha/metastorepb/metastore.pb.go +++ b/metastore/apiv1alpha/metastorepb/metastore.pb.go @@ -21,11 +21,8 @@ package metastorepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/metastore/apiv1alpha/metastorepb/metastore_federation.pb.go b/metastore/apiv1alpha/metastorepb/metastore_federation.pb.go index 72bd816998b1..92ce90dc1fbb 100755 --- a/metastore/apiv1alpha/metastorepb/metastore_federation.pb.go +++ b/metastore/apiv1alpha/metastorepb/metastore_federation.pb.go @@ -21,11 +21,8 @@ package metastorepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/metastore/apiv1beta/dataproc_metastore_client.go b/metastore/apiv1beta/dataproc_metastore_client.go index 7bba4ba429ae..0598ba466a96 100755 --- a/metastore/apiv1beta/dataproc_metastore_client.go +++ b/metastore/apiv1beta/dataproc_metastore_client.go @@ -462,15 +462,15 @@ type internalDataprocMetastoreClient interface { // // The Dataproc Metastore API defines the following resource model: // -// The service works with a collection of Google Cloud projects, named: -// /projects/* +// The service works with a collection of Google Cloud projects, named: +// /projects/* // -// Each project has a collection of available locations, named: /locations/* -// (a location must refer to a Google Cloud region) +// Each project has a collection of available locations, named: /locations/* +// (a location must refer to a Google Cloud region) // -// Each location has a collection of services, named: /services/* +// Each location has a collection of services, named: /services/* // -// Dataproc Metastore services are resources with names of the form: +// Dataproc Metastore services are resources with names of the form: // // /projects/{project_number}/locations/{location_id}/services/{service_id}. type DataprocMetastoreClient struct { @@ -776,15 +776,15 @@ type dataprocMetastoreGRPCClient struct { // // The Dataproc Metastore API defines the following resource model: // -// The service works with a collection of Google Cloud projects, named: -// /projects/* +// The service works with a collection of Google Cloud projects, named: +// /projects/* // -// Each project has a collection of available locations, named: /locations/* -// (a location must refer to a Google Cloud region) +// Each project has a collection of available locations, named: /locations/* +// (a location must refer to a Google Cloud region) // -// Each location has a collection of services, named: /services/* +// Each location has a collection of services, named: /services/* // -// Dataproc Metastore services are resources with names of the form: +// Dataproc Metastore services are resources with names of the form: // // /projects/{project_number}/locations/{location_id}/services/{service_id}. func NewDataprocMetastoreClient(ctx context.Context, opts ...option.ClientOption) (*DataprocMetastoreClient, error) { @@ -883,15 +883,15 @@ type dataprocMetastoreRESTClient struct { // // The Dataproc Metastore API defines the following resource model: // -// The service works with a collection of Google Cloud projects, named: -// /projects/* +// The service works with a collection of Google Cloud projects, named: +// /projects/* // -// Each project has a collection of available locations, named: /locations/* -// (a location must refer to a Google Cloud region) +// Each project has a collection of available locations, named: /locations/* +// (a location must refer to a Google Cloud region) // -// Each location has a collection of services, named: /services/* +// Each location has a collection of services, named: /services/* // -// Dataproc Metastore services are resources with names of the form: +// Dataproc Metastore services are resources with names of the form: // // /projects/{project_number}/locations/{location_id}/services/{service_id}. func NewDataprocMetastoreRESTClient(ctx context.Context, opts ...option.ClientOption) (*DataprocMetastoreClient, error) { diff --git a/metastore/apiv1beta/dataproc_metastore_federation_client.go b/metastore/apiv1beta/dataproc_metastore_federation_client.go index 346c6c915bdb..fd02a0954133 100755 --- a/metastore/apiv1beta/dataproc_metastore_federation_client.go +++ b/metastore/apiv1beta/dataproc_metastore_federation_client.go @@ -148,15 +148,15 @@ type internalDataprocMetastoreFederationClient interface { // // The Dataproc Metastore Federation API defines the following resource model: // -// The service works with a collection of Google Cloud projects. +// The service works with a collection of Google Cloud projects. // -// Each project has a collection of available locations. +// Each project has a collection of available locations. // -// Each location has a collection of federations. +// Each location has a collection of federations. // -// Dataproc Metastore Federations are resources with names of the -// form: -// projects/{project_number}/locations/{location_id}/federations/{federation_id}. +// Dataproc Metastore Federations are resources with names of the +// form: +// projects/{project_number}/locations/{location_id}/federations/{federation_id}. type DataprocMetastoreFederationClient struct { // The internal transport-dependent client. internalClient internalDataprocMetastoreFederationClient @@ -331,15 +331,15 @@ type dataprocMetastoreFederationGRPCClient struct { // // The Dataproc Metastore Federation API defines the following resource model: // -// The service works with a collection of Google Cloud projects. +// The service works with a collection of Google Cloud projects. // -// Each project has a collection of available locations. +// Each project has a collection of available locations. // -// Each location has a collection of federations. +// Each location has a collection of federations. // -// Dataproc Metastore Federations are resources with names of the -// form: -// projects/{project_number}/locations/{location_id}/federations/{federation_id}. +// Dataproc Metastore Federations are resources with names of the +// form: +// projects/{project_number}/locations/{location_id}/federations/{federation_id}. func NewDataprocMetastoreFederationClient(ctx context.Context, opts ...option.ClientOption) (*DataprocMetastoreFederationClient, error) { clientOpts := defaultDataprocMetastoreFederationGRPCClientOptions() if newDataprocMetastoreFederationClientHook != nil { @@ -435,15 +435,15 @@ type dataprocMetastoreFederationRESTClient struct { // // The Dataproc Metastore Federation API defines the following resource model: // -// The service works with a collection of Google Cloud projects. +// The service works with a collection of Google Cloud projects. // -// Each project has a collection of available locations. +// Each project has a collection of available locations. // -// Each location has a collection of federations. +// Each location has a collection of federations. // -// Dataproc Metastore Federations are resources with names of the -// form: -// projects/{project_number}/locations/{location_id}/federations/{federation_id}. +// Dataproc Metastore Federations are resources with names of the +// form: +// projects/{project_number}/locations/{location_id}/federations/{federation_id}. func NewDataprocMetastoreFederationRESTClient(ctx context.Context, opts ...option.ClientOption) (*DataprocMetastoreFederationClient, error) { clientOpts := append(defaultDataprocMetastoreFederationRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/metastore/apiv1beta/doc.go b/metastore/apiv1beta/doc.go index 6461a354cd45..9a61b2d29a87 100755 --- a/metastore/apiv1beta/doc.go +++ b/metastore/apiv1beta/doc.go @@ -20,73 +20,72 @@ // The Dataproc Metastore API is used to manage the lifecycle and // configuration of metastore services. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := metastore.NewDataprocMetastoreClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := metastore.NewDataprocMetastoreClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := metastore.NewDataprocMetastoreClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &metastorepb.AlterMetadataResourceLocationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/metastore/apiv1beta/metastorepb#AlterMetadataResourceLocationRequest. -// } -// op, err := c.AlterMetadataResourceLocation(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := metastore.NewDataprocMetastoreClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &metastorepb.AlterMetadataResourceLocationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/metastore/apiv1beta/metastorepb#AlterMetadataResourceLocationRequest. +// } +// op, err := c.AlterMetadataResourceLocation(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewDataprocMetastoreClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/metastore/apiv1beta/metastorepb/metastore.pb.go b/metastore/apiv1beta/metastorepb/metastore.pb.go index ec8df0256e02..398d919addbd 100755 --- a/metastore/apiv1beta/metastorepb/metastore.pb.go +++ b/metastore/apiv1beta/metastorepb/metastore.pb.go @@ -21,11 +21,8 @@ package metastorepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/metastore/apiv1beta/metastorepb/metastore_federation.pb.go b/metastore/apiv1beta/metastorepb/metastore_federation.pb.go index 2889f46c0169..029ffd12ea9b 100755 --- a/metastore/apiv1beta/metastorepb/metastore_federation.pb.go +++ b/metastore/apiv1beta/metastorepb/metastore_federation.pb.go @@ -21,11 +21,8 @@ package metastorepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/migrationcenter/apiv1/doc.go b/migrationcenter/apiv1/doc.go index 5e61c5fd3f08..b1da2938e461 100755 --- a/migrationcenter/apiv1/doc.go +++ b/migrationcenter/apiv1/doc.go @@ -20,73 +20,72 @@ // A unified platform that helps you accelerate your end-to-end cloud journey // from your current on-premises or cloud environments to Google Cloud. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := migrationcenter.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := migrationcenter.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := migrationcenter.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &migrationcenterpb.AddAssetsToGroupRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#AddAssetsToGroupRequest. -// } -// op, err := c.AddAssetsToGroup(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := migrationcenter.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &migrationcenterpb.AddAssetsToGroupRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#AddAssetsToGroupRequest. +// } +// op, err := c.AddAssetsToGroup(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/migrationcenter/apiv1/migrationcenterpb/migrationcenter.pb.go b/migrationcenter/apiv1/migrationcenterpb/migrationcenter.pb.go index b152eb3153a5..e9fe183ea869 100755 --- a/migrationcenter/apiv1/migrationcenterpb/migrationcenter.pb.go +++ b/migrationcenter/apiv1/migrationcenterpb/migrationcenter.pb.go @@ -21,11 +21,8 @@ package migrationcenterpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" money "google.golang.org/genproto/googleapis/type/money" @@ -37,6 +34,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/doc.go b/monitoring/apiv3/v2/doc.go index 50d7edfc45fe..7e092a34eaf5 100755 --- a/monitoring/apiv3/v2/doc.go +++ b/monitoring/apiv3/v2/doc.go @@ -19,66 +19,65 @@ // // Manages your Cloud Monitoring data and configurations. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := monitoring.NewAlertPolicyClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := monitoring.NewAlertPolicyClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := monitoring.NewAlertPolicyClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &monitoringpb.CreateAlertPolicyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/monitoring/apiv3/v2/monitoringpb#CreateAlertPolicyRequest. -// } -// resp, err := c.CreateAlertPolicy(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := monitoring.NewAlertPolicyClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &monitoringpb.CreateAlertPolicyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/monitoring/apiv3/v2/monitoringpb#CreateAlertPolicyRequest. +// } +// resp, err := c.CreateAlertPolicy(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewAlertPolicyClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/monitoring/apiv3/v2/monitoringpb/alert.pb.go b/monitoring/apiv3/v2/monitoringpb/alert.pb.go index 673a47cf9122..1766e9b0b038 100755 --- a/monitoring/apiv3/v2/monitoringpb/alert.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/alert.pb.go @@ -21,15 +21,14 @@ package monitoringpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( @@ -168,6 +167,7 @@ func (AlertPolicy_Condition_EvaluationMissingData) EnumDescriptor() ([]byte, []i // considered to be "unhealthy" and the ways to notify people or services about // this state. For an overview of alert policies, see // [Introduction to Alerting](https://cloud.google.com/monitoring/alerts/). +// type AlertPolicy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/monitoring/apiv3/v2/monitoringpb/alert_service.pb.go b/monitoring/apiv3/v2/monitoringpb/alert_service.pb.go index 5045498c8076..68fe5066fe05 100755 --- a/monitoring/apiv3/v2/monitoringpb/alert_service.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/alert_service.pb.go @@ -22,9 +22,6 @@ package monitoringpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/common.pb.go b/monitoring/apiv3/v2/monitoringpb/common.pb.go index 739509158f22..f3ad4779f0bc 100755 --- a/monitoring/apiv3/v2/monitoringpb/common.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/common.pb.go @@ -21,14 +21,13 @@ package monitoringpb import ( - reflect "reflect" - sync "sync" - distribution "google.golang.org/genproto/googleapis/api/distribution" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -672,32 +671,32 @@ func (*TypedValue_DistributionValue) isTypedValue_Value() {} // A closed time interval. It extends from the start time to the end time, and includes both: `[startTime, endTime]`. Valid time intervals depend on the [`MetricKind`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors#MetricKind) of the metric value. The end time must not be earlier than the start time. When writing data points, the start time must not be more than 25 hours in the past and the end time must not be more than five minutes in the future. // -// - For `GAUGE` metrics, the `startTime` value is technically optional; if -// no value is specified, the start time defaults to the value of the -// end time, and the interval represents a single point in time. If both -// start and end times are specified, they must be identical. Such an -// interval is valid only for `GAUGE` metrics, which are point-in-time -// measurements. The end time of a new interval must be at least a -// millisecond after the end time of the previous interval. +// * For `GAUGE` metrics, the `startTime` value is technically optional; if +// no value is specified, the start time defaults to the value of the +// end time, and the interval represents a single point in time. If both +// start and end times are specified, they must be identical. Such an +// interval is valid only for `GAUGE` metrics, which are point-in-time +// measurements. The end time of a new interval must be at least a +// millisecond after the end time of the previous interval. // -// - For `DELTA` metrics, the start time and end time must specify a -// non-zero interval, with subsequent points specifying contiguous and -// non-overlapping intervals. For `DELTA` metrics, the start time of -// the next interval must be at least a millisecond after the end time -// of the previous interval. +// * For `DELTA` metrics, the start time and end time must specify a +// non-zero interval, with subsequent points specifying contiguous and +// non-overlapping intervals. For `DELTA` metrics, the start time of +// the next interval must be at least a millisecond after the end time +// of the previous interval. // -// - For `CUMULATIVE` metrics, the start time and end time must specify a -// non-zero interval, with subsequent points specifying the same -// start time and increasing end times, until an event resets the -// cumulative value to zero and sets a new start time for the following -// points. The new start time must be at least a millisecond after the -// end time of the previous interval. +// * For `CUMULATIVE` metrics, the start time and end time must specify a +// non-zero interval, with subsequent points specifying the same +// start time and increasing end times, until an event resets the +// cumulative value to zero and sets a new start time for the following +// points. The new start time must be at least a millisecond after the +// end time of the previous interval. // -// - The start time of a new interval must be at least a millisecond after the -// end time of the previous interval because intervals are closed. If the -// start time of a new interval is the same as the end time of the previous -// interval, then data written at the new start time could overwrite data -// written at the previous end time. +// * The start time of a new interval must be at least a millisecond after the +// end time of the previous interval because intervals are closed. If the +// start time of a new interval is the same as the end time of the previous +// interval, then data written at the new start time could overwrite data +// written at the previous end time. type TimeInterval struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/monitoring/apiv3/v2/monitoringpb/dropped_labels.pb.go b/monitoring/apiv3/v2/monitoringpb/dropped_labels.pb.go index ecfd38d17da7..495021a4f0a3 100755 --- a/monitoring/apiv3/v2/monitoringpb/dropped_labels.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/dropped_labels.pb.go @@ -21,11 +21,10 @@ package monitoringpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/group.pb.go b/monitoring/apiv3/v2/monitoringpb/group.pb.go index c36317ada256..fac4f9fe16df 100755 --- a/monitoring/apiv3/v2/monitoringpb/group.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/group.pb.go @@ -21,12 +21,11 @@ package monitoringpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/group_service.pb.go b/monitoring/apiv3/v2/monitoringpb/group_service.pb.go index 74e4b4e6f44f..c54043f01649 100755 --- a/monitoring/apiv3/v2/monitoringpb/group_service.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/group_service.pb.go @@ -22,9 +22,6 @@ package monitoringpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/metric.pb.go b/monitoring/apiv3/v2/monitoringpb/metric.pb.go index 2c0759951ffb..d278b9d36428 100755 --- a/monitoring/apiv3/v2/monitoringpb/metric.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/metric.pb.go @@ -21,14 +21,13 @@ package monitoringpb import ( - reflect "reflect" - sync "sync" - label "google.golang.org/genproto/googleapis/api/label" metric "google.golang.org/genproto/googleapis/api/metric" monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( @@ -522,19 +521,19 @@ func (x *QueryError) GetMessage() string { // // For example, suppose the request field `text` contains: // -// text: "The quick brown fox jumps over the lazy dog." +// text: "The quick brown fox jumps over the lazy dog." // // Then the locator: // -// source: "text" -// start_position { -// line: 1 -// column: 17 -// } -// end_position { -// line: 1 -// column: 19 -// } +// source: "text" +// start_position { +// line: 1 +// column: 17 +// } +// end_position { +// line: 1 +// column: 19 +// } // // refers to the part of the text: "fox". type TextLocator struct { diff --git a/monitoring/apiv3/v2/monitoringpb/metric_service.pb.go b/monitoring/apiv3/v2/monitoringpb/metric_service.pb.go index 61c57cc7fe69..9d094388b03c 100755 --- a/monitoring/apiv3/v2/monitoringpb/metric_service.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/metric_service.pb.go @@ -22,9 +22,6 @@ package monitoringpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" metric "google.golang.org/genproto/googleapis/api/metric" monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" @@ -35,6 +32,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/mutation_record.pb.go b/monitoring/apiv3/v2/monitoringpb/mutation_record.pb.go index 3515c01688bc..c57b5f92a6b6 100755 --- a/monitoring/apiv3/v2/monitoringpb/mutation_record.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/mutation_record.pb.go @@ -21,12 +21,11 @@ package monitoringpb 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" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/notification.pb.go b/monitoring/apiv3/v2/monitoringpb/notification.pb.go index 0e9ed407b8e1..133502ce88a4 100755 --- a/monitoring/apiv3/v2/monitoringpb/notification.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/notification.pb.go @@ -21,15 +21,14 @@ package monitoringpb import ( - reflect "reflect" - sync "sync" - api "google.golang.org/genproto/googleapis/api" _ "google.golang.org/genproto/googleapis/api/annotations" label "google.golang.org/genproto/googleapis/api/label" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/notification_service.pb.go b/monitoring/apiv3/v2/monitoringpb/notification_service.pb.go index 1de075344768..31f7786765e0 100755 --- a/monitoring/apiv3/v2/monitoringpb/notification_service.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/notification_service.pb.go @@ -22,9 +22,6 @@ package monitoringpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/query_service.pb.go b/monitoring/apiv3/v2/monitoringpb/query_service.pb.go index 0b21998dc069..fee38181d50d 100755 --- a/monitoring/apiv3/v2/monitoringpb/query_service.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/query_service.pb.go @@ -22,14 +22,13 @@ package monitoringpb import ( context "context" - reflect "reflect" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/service.pb.go b/monitoring/apiv3/v2/monitoringpb/service.pb.go index 2a521a84ff1b..e56c4ba48346 100755 --- a/monitoring/apiv3/v2/monitoringpb/service.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/service.pb.go @@ -21,14 +21,13 @@ package monitoringpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" calendarperiod "google.golang.org/genproto/googleapis/type/calendarperiod" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/service_service.pb.go b/monitoring/apiv3/v2/monitoringpb/service_service.pb.go index 15da64f3d2a9..1eb00c289e60 100755 --- a/monitoring/apiv3/v2/monitoringpb/service_service.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/service_service.pb.go @@ -22,9 +22,6 @@ package monitoringpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/snooze.pb.go b/monitoring/apiv3/v2/monitoringpb/snooze.pb.go index 39e5d08f310d..fb546e858b2b 100755 --- a/monitoring/apiv3/v2/monitoringpb/snooze.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/snooze.pb.go @@ -21,12 +21,11 @@ package monitoringpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/snooze_service.pb.go b/monitoring/apiv3/v2/monitoringpb/snooze_service.pb.go index 82e491b81fdb..b489a61c4be7 100755 --- a/monitoring/apiv3/v2/monitoringpb/snooze_service.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/snooze_service.pb.go @@ -22,9 +22,6 @@ package monitoringpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( @@ -321,11 +320,11 @@ func (x *GetSnoozeRequest) GetName() string { // What fields can be updated depends on the start time and end time of the // `Snooze`. // -// - end time is in the past: These `Snooze`s are considered +// * end time is in the past: These `Snooze`s are considered // read-only and cannot be updated. -// - start time is in the past and end time is in the future: `display_name` +// * start time is in the past and end time is in the future: `display_name` // and `interval.end_time` can be updated. -// - start time is in the future: `display_name`, `interval.start_time` and +// * start time is in the future: `display_name`, `interval.start_time` and // `interval.end_time` can be updated. type UpdateSnoozeRequest struct { state protoimpl.MessageState diff --git a/monitoring/apiv3/v2/monitoringpb/span_context.pb.go b/monitoring/apiv3/v2/monitoringpb/span_context.pb.go index 9327a5c057dd..4b8a341237d1 100755 --- a/monitoring/apiv3/v2/monitoringpb/span_context.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/span_context.pb.go @@ -21,11 +21,10 @@ package monitoringpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( @@ -41,7 +40,7 @@ const ( // // It contains the name of a span with format: // -// projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID] +// projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID] type SpanContext struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/monitoring/apiv3/v2/monitoringpb/uptime.pb.go b/monitoring/apiv3/v2/monitoringpb/uptime.pb.go index 8a8991464a70..7719d4675e5c 100755 --- a/monitoring/apiv3/v2/monitoringpb/uptime.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/uptime.pb.go @@ -21,14 +21,13 @@ package monitoringpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/uptime_service.pb.go b/monitoring/apiv3/v2/monitoringpb/uptime_service.pb.go index c4a664777708..342d60082081 100755 --- a/monitoring/apiv3/v2/monitoringpb/uptime_service.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/uptime_service.pb.go @@ -22,9 +22,6 @@ package monitoringpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/alertchart.pb.go b/monitoring/dashboard/apiv1/dashboardpb/alertchart.pb.go index ed8832442753..7b35db61aea0 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/alertchart.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/alertchart.pb.go @@ -21,12 +21,11 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/collapsible_group.pb.go b/monitoring/dashboard/apiv1/dashboardpb/collapsible_group.pb.go index ed8d0e60dbcb..3ea2ea7a957c 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/collapsible_group.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/collapsible_group.pb.go @@ -21,11 +21,10 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/common.pb.go b/monitoring/dashboard/apiv1/dashboardpb/common.pb.go index f27ba4dcf3a4..8e4c3b1740d5 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/common.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/common.pb.go @@ -21,12 +21,11 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/dashboard.pb.go b/monitoring/dashboard/apiv1/dashboardpb/dashboard.pb.go index 1500733edb83..c5f5730e5834 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/dashboard.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/dashboard.pb.go @@ -21,12 +21,11 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/dashboard_filter.pb.go b/monitoring/dashboard/apiv1/dashboardpb/dashboard_filter.pb.go index fffea7611b76..d132ab19a171 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/dashboard_filter.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/dashboard_filter.pb.go @@ -21,12 +21,11 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/dashboards_service.pb.go b/monitoring/dashboard/apiv1/dashboardpb/dashboards_service.pb.go index aa572e3b9e9c..add7bbe4d744 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/dashboards_service.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/dashboards_service.pb.go @@ -22,9 +22,6 @@ package dashboardpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/drilldowns.pb.go b/monitoring/dashboard/apiv1/dashboardpb/drilldowns.pb.go index d8d70c3a7bdf..606ab1054d35 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/drilldowns.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/drilldowns.pb.go @@ -21,10 +21,9 @@ package dashboardpb import ( - reflect "reflect" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/layouts.pb.go b/monitoring/dashboard/apiv1/dashboardpb/layouts.pb.go index a3a823125482..ba0a7343f10f 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/layouts.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/layouts.pb.go @@ -21,11 +21,10 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/logs_panel.pb.go b/monitoring/dashboard/apiv1/dashboardpb/logs_panel.pb.go index f6ae985f275a..8310d2924e83 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/logs_panel.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/logs_panel.pb.go @@ -21,11 +21,10 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/metrics.pb.go b/monitoring/dashboard/apiv1/dashboardpb/metrics.pb.go index d308f963c46b..8daffc1c09d5 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/metrics.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/metrics.pb.go @@ -21,12 +21,11 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/scorecard.pb.go b/monitoring/dashboard/apiv1/dashboardpb/scorecard.pb.go index 6dedfc1c4c55..cafc7c351bd1 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/scorecard.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/scorecard.pb.go @@ -21,13 +21,12 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/service.pb.go b/monitoring/dashboard/apiv1/dashboardpb/service.pb.go index 478aae4fbdc4..7f39f35929e1 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/service.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/service.pb.go @@ -21,10 +21,9 @@ package dashboardpb import ( - reflect "reflect" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/table.pb.go b/monitoring/dashboard/apiv1/dashboardpb/table.pb.go index ad0b0ffb9194..3fccd0759ef8 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/table.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/table.pb.go @@ -21,13 +21,12 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/table_display_options.pb.go b/monitoring/dashboard/apiv1/dashboardpb/table_display_options.pb.go index cad7740f58a4..fca3ad7db05b 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/table_display_options.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/table_display_options.pb.go @@ -21,12 +21,11 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/text.pb.go b/monitoring/dashboard/apiv1/dashboardpb/text.pb.go index c2c062cbef74..a5064cba198b 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/text.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/text.pb.go @@ -21,11 +21,10 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/widget.pb.go b/monitoring/dashboard/apiv1/dashboardpb/widget.pb.go index 3468726bbda7..e64eb78cdb35 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/widget.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/widget.pb.go @@ -21,13 +21,12 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/xychart.pb.go b/monitoring/dashboard/apiv1/dashboardpb/xychart.pb.go index 100ca30d21ca..c6d26f5c17d7 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/xychart.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/xychart.pb.go @@ -21,13 +21,12 @@ package dashboardpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/doc.go b/monitoring/dashboard/apiv1/doc.go index 0111e8746fed..d268b9e013a7 100755 --- a/monitoring/dashboard/apiv1/doc.go +++ b/monitoring/dashboard/apiv1/doc.go @@ -19,66 +19,65 @@ // // Manages your Cloud Monitoring data and configurations. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dashboard.NewDashboardsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dashboard.NewDashboardsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dashboard.NewDashboardsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &dashboardpb.CreateDashboardRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb#CreateDashboardRequest. -// } -// resp, err := c.CreateDashboard(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dashboard.NewDashboardsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &dashboardpb.CreateDashboardRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb#CreateDashboardRequest. +// } +// resp, err := c.CreateDashboard(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewDashboardsClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/monitoring/metricsscope/apiv1/doc.go b/monitoring/metricsscope/apiv1/doc.go index dd243db3d29e..23d6eacea9a1 100755 --- a/monitoring/metricsscope/apiv1/doc.go +++ b/monitoring/metricsscope/apiv1/doc.go @@ -24,71 +24,70 @@ // concepts found in the table entries, read the Cloud Monitoring // documentation (at https://cloud.google.com/monitoring/docs). // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := metricsscope.NewMetricsScopesClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := metricsscope.NewMetricsScopesClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := metricsscope.NewMetricsScopesClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &metricsscopepb.CreateMonitoredProjectRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/monitoring/metricsscope/apiv1/metricsscopepb#CreateMonitoredProjectRequest. -// } -// op, err := c.CreateMonitoredProject(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := metricsscope.NewMetricsScopesClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &metricsscopepb.CreateMonitoredProjectRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/monitoring/metricsscope/apiv1/metricsscopepb#CreateMonitoredProjectRequest. +// } +// op, err := c.CreateMonitoredProject(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewMetricsScopesClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/monitoring/metricsscope/apiv1/metricsscopepb/metrics_scope.pb.go b/monitoring/metricsscope/apiv1/metricsscopepb/metrics_scope.pb.go index 8447b88a4195..f3cbc6566c62 100755 --- a/monitoring/metricsscope/apiv1/metricsscopepb/metrics_scope.pb.go +++ b/monitoring/metricsscope/apiv1/metricsscopepb/metrics_scope.pb.go @@ -21,13 +21,12 @@ package metricsscopepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/monitoring/metricsscope/apiv1/metricsscopepb/metrics_scopes.pb.go b/monitoring/metricsscope/apiv1/metricsscopepb/metrics_scopes.pb.go index 73c3b4828337..c0f546789ca5 100755 --- a/monitoring/metricsscope/apiv1/metricsscopepb/metrics_scopes.pb.go +++ b/monitoring/metricsscope/apiv1/metricsscopepb/metrics_scopes.pb.go @@ -21,11 +21,8 @@ package metricsscopepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/netapp/apiv1/doc.go b/netapp/apiv1/doc.go index 04acaf6151d2..9ae95d602a34 100755 --- a/netapp/apiv1/doc.go +++ b/netapp/apiv1/doc.go @@ -21,73 +21,72 @@ // service that provides advanced data management capabilities and highly // scalable performance with global availability. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := netapp.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := netapp.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := netapp.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &netapppb.CreateActiveDirectoryRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/netapp/apiv1/netapppb#CreateActiveDirectoryRequest. -// } -// op, err := c.CreateActiveDirectory(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := netapp.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &netapppb.CreateActiveDirectoryRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/netapp/apiv1/netapppb#CreateActiveDirectoryRequest. +// } +// op, err := c.CreateActiveDirectory(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/netapp/apiv1/netapppb/active_directory.pb.go b/netapp/apiv1/netapppb/active_directory.pb.go index a496bf82744e..1a442688c5bb 100755 --- a/netapp/apiv1/netapppb/active_directory.pb.go +++ b/netapp/apiv1/netapppb/active_directory.pb.go @@ -21,14 +21,13 @@ package netapppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/netapp/apiv1/netapppb/cloud_netapp_service.pb.go b/netapp/apiv1/netapppb/cloud_netapp_service.pb.go index e564dda02b7d..176b3df4948e 100755 --- a/netapp/apiv1/netapppb/cloud_netapp_service.pb.go +++ b/netapp/apiv1/netapppb/cloud_netapp_service.pb.go @@ -21,11 +21,8 @@ package netapppb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/netapp/apiv1/netapppb/common.pb.go b/netapp/apiv1/netapppb/common.pb.go index 053802591a87..f5602310f7eb 100755 --- a/netapp/apiv1/netapppb/common.pb.go +++ b/netapp/apiv1/netapppb/common.pb.go @@ -21,11 +21,10 @@ package netapppb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/netapp/apiv1/netapppb/kms.pb.go b/netapp/apiv1/netapppb/kms.pb.go index 838851df40a4..c10d80f2f99c 100755 --- a/netapp/apiv1/netapppb/kms.pb.go +++ b/netapp/apiv1/netapppb/kms.pb.go @@ -21,14 +21,13 @@ package netapppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/netapp/apiv1/netapppb/replication.pb.go b/netapp/apiv1/netapppb/replication.pb.go index 5cc031ef04b5..fc2f162a7b92 100755 --- a/netapp/apiv1/netapppb/replication.pb.go +++ b/netapp/apiv1/netapppb/replication.pb.go @@ -21,15 +21,14 @@ package netapppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/netapp/apiv1/netapppb/snapshot.pb.go b/netapp/apiv1/netapppb/snapshot.pb.go index ff60275a9564..b2453cdf434e 100755 --- a/netapp/apiv1/netapppb/snapshot.pb.go +++ b/netapp/apiv1/netapppb/snapshot.pb.go @@ -21,14 +21,13 @@ package netapppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/netapp/apiv1/netapppb/storage_pool.pb.go b/netapp/apiv1/netapppb/storage_pool.pb.go index dc97a3cc04b1..feaf926d0f0b 100755 --- a/netapp/apiv1/netapppb/storage_pool.pb.go +++ b/netapp/apiv1/netapppb/storage_pool.pb.go @@ -21,14 +21,13 @@ package netapppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/netapp/apiv1/netapppb/volume.pb.go b/netapp/apiv1/netapppb/volume.pb.go index fb94c9c48f0f..0bdefa6460cc 100755 --- a/netapp/apiv1/netapppb/volume.pb.go +++ b/netapp/apiv1/netapppb/volume.pb.go @@ -21,14 +21,13 @@ package netapppb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networkconnectivity/apiv1/doc.go b/networkconnectivity/apiv1/doc.go index 20f6d7e6dc3c..bde2417c9d5d 100755 --- a/networkconnectivity/apiv1/doc.go +++ b/networkconnectivity/apiv1/doc.go @@ -19,71 +19,70 @@ // // This API enables connectivity with and between Google Cloud resources. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := networkconnectivity.NewHubClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := networkconnectivity.NewHubClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := networkconnectivity.NewHubClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &networkconnectivitypb.AcceptHubSpokeRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/networkconnectivity/apiv1/networkconnectivitypb#AcceptHubSpokeRequest. -// } -// op, err := c.AcceptHubSpoke(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := networkconnectivity.NewHubClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &networkconnectivitypb.AcceptHubSpokeRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/networkconnectivity/apiv1/networkconnectivitypb#AcceptHubSpokeRequest. +// } +// op, err := c.AcceptHubSpoke(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewHubClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/networkconnectivity/apiv1/networkconnectivitypb/common.pb.go b/networkconnectivity/apiv1/networkconnectivitypb/common.pb.go index 546362208468..fe50d521446a 100755 --- a/networkconnectivity/apiv1/networkconnectivitypb/common.pb.go +++ b/networkconnectivity/apiv1/networkconnectivitypb/common.pb.go @@ -21,13 +21,12 @@ package networkconnectivitypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networkconnectivity/apiv1/networkconnectivitypb/hub.pb.go b/networkconnectivity/apiv1/networkconnectivitypb/hub.pb.go index acd4dd6dde70..47449ab1f3b2 100755 --- a/networkconnectivity/apiv1/networkconnectivitypb/hub.pb.go +++ b/networkconnectivity/apiv1/networkconnectivitypb/hub.pb.go @@ -21,11 +21,8 @@ package networkconnectivitypb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -1658,6 +1657,7 @@ func (x *DeleteHubRequest) GetRequestId() string { // The request for // [HubService.ListHubSpokes][google.cloud.networkconnectivity.v1.HubService.ListHubSpokes]. +// type ListHubSpokesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/networkconnectivity/apiv1/networkconnectivitypb/policy_based_routing.pb.go b/networkconnectivity/apiv1/networkconnectivitypb/policy_based_routing.pb.go index 7ff8b2777a03..08422f698adc 100755 --- a/networkconnectivity/apiv1/networkconnectivitypb/policy_based_routing.pb.go +++ b/networkconnectivity/apiv1/networkconnectivitypb/policy_based_routing.pb.go @@ -21,11 +21,8 @@ package networkconnectivitypb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networkconnectivity/apiv1alpha1/doc.go b/networkconnectivity/apiv1alpha1/doc.go index 097a79823e99..299a6e91eb4b 100755 --- a/networkconnectivity/apiv1alpha1/doc.go +++ b/networkconnectivity/apiv1alpha1/doc.go @@ -20,73 +20,72 @@ // The Network Connectivity API will be home to various services which // provide information pertaining to network connectivity. // -// NOTE: This package is in alpha. It is not stable, and is likely to change. +// NOTE: This package is in alpha. It is not stable, and is likely to change. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := networkconnectivity.NewHubClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := networkconnectivity.NewHubClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := networkconnectivity.NewHubClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &networkconnectivitypb.CreateHubRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/networkconnectivity/apiv1alpha1/networkconnectivitypb#CreateHubRequest. -// } -// op, err := c.CreateHub(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := networkconnectivity.NewHubClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &networkconnectivitypb.CreateHubRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/networkconnectivity/apiv1alpha1/networkconnectivitypb#CreateHubRequest. +// } +// op, err := c.CreateHub(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewHubClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/networkconnectivity/apiv1alpha1/networkconnectivitypb/common.pb.go b/networkconnectivity/apiv1alpha1/networkconnectivitypb/common.pb.go index a4d64e5e5884..c72c84425520 100755 --- a/networkconnectivity/apiv1alpha1/networkconnectivitypb/common.pb.go +++ b/networkconnectivity/apiv1alpha1/networkconnectivitypb/common.pb.go @@ -21,13 +21,12 @@ package networkconnectivitypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networkconnectivity/apiv1alpha1/networkconnectivitypb/hub.pb.go b/networkconnectivity/apiv1alpha1/networkconnectivitypb/hub.pb.go index 949f04679f8a..e6f6e2c212e6 100755 --- a/networkconnectivity/apiv1alpha1/networkconnectivitypb/hub.pb.go +++ b/networkconnectivity/apiv1alpha1/networkconnectivitypb/hub.pb.go @@ -21,11 +21,8 @@ package networkconnectivitypb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networkmanagement/apiv1/doc.go b/networkmanagement/apiv1/doc.go index 8ca0801208a4..3aafaa47445b 100755 --- a/networkmanagement/apiv1/doc.go +++ b/networkmanagement/apiv1/doc.go @@ -20,71 +20,70 @@ // The Network Management API provides a collection of network performance // monitoring and diagnostic capabilities. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := networkmanagement.NewReachabilityClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := networkmanagement.NewReachabilityClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := networkmanagement.NewReachabilityClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &networkmanagementpb.CreateConnectivityTestRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb#CreateConnectivityTestRequest. -// } -// op, err := c.CreateConnectivityTest(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := networkmanagement.NewReachabilityClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &networkmanagementpb.CreateConnectivityTestRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb#CreateConnectivityTestRequest. +// } +// op, err := c.CreateConnectivityTest(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewReachabilityClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/networkmanagement/apiv1/networkmanagementpb/connectivity_test.pb.go b/networkmanagement/apiv1/networkmanagementpb/connectivity_test.pb.go index f095e4fb7c2c..f88244d86eb5 100755 --- a/networkmanagement/apiv1/networkmanagementpb/connectivity_test.pb.go +++ b/networkmanagement/apiv1/networkmanagementpb/connectivity_test.pb.go @@ -21,14 +21,13 @@ package networkmanagementpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networkmanagement/apiv1/networkmanagementpb/reachability.pb.go b/networkmanagement/apiv1/networkmanagementpb/reachability.pb.go index e679d7c25e32..67484813671e 100755 --- a/networkmanagement/apiv1/networkmanagementpb/reachability.pb.go +++ b/networkmanagement/apiv1/networkmanagementpb/reachability.pb.go @@ -21,11 +21,8 @@ package networkmanagementpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networkmanagement/apiv1/networkmanagementpb/trace.pb.go b/networkmanagement/apiv1/networkmanagementpb/trace.pb.go index 601d6b9a2f55..7eb524c9a04c 100755 --- a/networkmanagement/apiv1/networkmanagementpb/trace.pb.go +++ b/networkmanagement/apiv1/networkmanagementpb/trace.pb.go @@ -21,11 +21,10 @@ package networkmanagementpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( @@ -1459,17 +1458,14 @@ func (DropInfo_Cause) EnumDescriptor() ([]byte, []int) { // Trace represents one simulated packet forwarding path. // -// - Each trace contains multiple ordered steps. -// - Each step is in a particular state with associated configuration. -// - State is categorized as final or non-final states. -// - Each final state has a reason associated. -// - Each trace must end with a final state (the last step). -// +// * Each trace contains multiple ordered steps. +// * Each step is in a particular state with associated configuration. +// * State is categorized as final or non-final states. +// * Each final state has a reason associated. +// * Each trace must end with a final state (the last step). // ``` -// -// |---------------------Trace----------------------| -// Step1(State) Step2(State) --- StepN(State(final)) -// +// |---------------------Trace----------------------| +// Step1(State) Step2(State) --- StepN(State(final)) // ``` type Trace struct { state protoimpl.MessageState diff --git a/networksecurity/apiv1beta1/doc.go b/networksecurity/apiv1beta1/doc.go index 6797d2458713..7dd8860e3d18 100755 --- a/networksecurity/apiv1beta1/doc.go +++ b/networksecurity/apiv1beta1/doc.go @@ -17,73 +17,72 @@ // Package networksecurity is an auto-generated package for the // Network Security API. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := networksecurity.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := networksecurity.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := networksecurity.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &networksecuritypb.CreateAuthorizationPolicyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/networksecurity/apiv1beta1/networksecuritypb#CreateAuthorizationPolicyRequest. -// } -// op, err := c.CreateAuthorizationPolicy(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := networksecurity.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &networksecuritypb.CreateAuthorizationPolicyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/networksecurity/apiv1beta1/networksecuritypb#CreateAuthorizationPolicyRequest. +// } +// op, err := c.CreateAuthorizationPolicy(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/networksecurity/apiv1beta1/networksecuritypb/authorization_policy.pb.go b/networksecurity/apiv1beta1/networksecuritypb/authorization_policy.pb.go index 9bae1c964a5e..2911d6492937 100755 --- a/networksecurity/apiv1beta1/networksecuritypb/authorization_policy.pb.go +++ b/networksecurity/apiv1beta1/networksecuritypb/authorization_policy.pb.go @@ -21,14 +21,13 @@ package networksecuritypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networksecurity/apiv1beta1/networksecuritypb/client_tls_policy.pb.go b/networksecurity/apiv1beta1/networksecuritypb/client_tls_policy.pb.go index 7c6a097dd76f..e96c226f0eed 100755 --- a/networksecurity/apiv1beta1/networksecuritypb/client_tls_policy.pb.go +++ b/networksecurity/apiv1beta1/networksecuritypb/client_tls_policy.pb.go @@ -21,14 +21,13 @@ package networksecuritypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networksecurity/apiv1beta1/networksecuritypb/common.pb.go b/networksecurity/apiv1beta1/networksecuritypb/common.pb.go index 50db1f08c8c7..05115e2f4278 100755 --- a/networksecurity/apiv1beta1/networksecuritypb/common.pb.go +++ b/networksecurity/apiv1beta1/networksecuritypb/common.pb.go @@ -21,13 +21,12 @@ package networksecuritypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networksecurity/apiv1beta1/networksecuritypb/network_security.pb.go b/networksecurity/apiv1beta1/networksecuritypb/network_security.pb.go index 43679cb9fe7d..27de50f1bb0d 100755 --- a/networksecurity/apiv1beta1/networksecuritypb/network_security.pb.go +++ b/networksecurity/apiv1beta1/networksecuritypb/network_security.pb.go @@ -21,16 +21,15 @@ package networksecuritypb import ( - context "context" - reflect "reflect" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/networksecurity/apiv1beta1/networksecuritypb/server_tls_policy.pb.go b/networksecurity/apiv1beta1/networksecuritypb/server_tls_policy.pb.go index 6fb95836e5a0..74e6f91d1080 100755 --- a/networksecurity/apiv1beta1/networksecuritypb/server_tls_policy.pb.go +++ b/networksecurity/apiv1beta1/networksecuritypb/server_tls_policy.pb.go @@ -21,14 +21,13 @@ package networksecuritypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/networksecurity/apiv1beta1/networksecuritypb/tls.pb.go b/networksecurity/apiv1beta1/networksecuritypb/tls.pb.go index f2bca9dc51ea..8e5889456104 100755 --- a/networksecurity/apiv1beta1/networksecuritypb/tls.pb.go +++ b/networksecurity/apiv1beta1/networksecuritypb/tls.pb.go @@ -21,12 +21,11 @@ package networksecuritypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv1/doc.go b/notebooks/apiv1/doc.go index 4aff25d429a7..a1e9a84e4f7b 100755 --- a/notebooks/apiv1/doc.go +++ b/notebooks/apiv1/doc.go @@ -19,71 +19,70 @@ // // Notebooks API is used to manage notebook resources in Google Cloud. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := notebooks.NewManagedNotebookClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := notebooks.NewManagedNotebookClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := notebooks.NewManagedNotebookClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := ¬ebookspb.CreateRuntimeRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/notebooks/apiv1/notebookspb#CreateRuntimeRequest. -// } -// op, err := c.CreateRuntime(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := notebooks.NewManagedNotebookClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := ¬ebookspb.CreateRuntimeRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/notebooks/apiv1/notebookspb#CreateRuntimeRequest. +// } +// op, err := c.CreateRuntime(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewManagedNotebookClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/notebooks/apiv1/notebookspb/diagnostic_config.pb.go b/notebooks/apiv1/notebookspb/diagnostic_config.pb.go index f5d8b87bf74b..030b124d0e5b 100755 --- a/notebooks/apiv1/notebookspb/diagnostic_config.pb.go +++ b/notebooks/apiv1/notebookspb/diagnostic_config.pb.go @@ -21,12 +21,11 @@ package notebookspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv1/notebookspb/environment.pb.go b/notebooks/apiv1/notebookspb/environment.pb.go index 6e7a2c441f6f..bd21a9db0280 100755 --- a/notebooks/apiv1/notebookspb/environment.pb.go +++ b/notebooks/apiv1/notebookspb/environment.pb.go @@ -21,13 +21,12 @@ package notebookspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv1/notebookspb/event.pb.go b/notebooks/apiv1/notebookspb/event.pb.go index e808f7b373ce..bdacaffa2e80 100755 --- a/notebooks/apiv1/notebookspb/event.pb.go +++ b/notebooks/apiv1/notebookspb/event.pb.go @@ -21,13 +21,12 @@ package notebookspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv1/notebookspb/execution.pb.go b/notebooks/apiv1/notebookspb/execution.pb.go index e7b9fb527c52..1d4ba4353498 100755 --- a/notebooks/apiv1/notebookspb/execution.pb.go +++ b/notebooks/apiv1/notebookspb/execution.pb.go @@ -21,13 +21,12 @@ package notebookspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv1/notebookspb/instance.pb.go b/notebooks/apiv1/notebookspb/instance.pb.go index 43972fb26c88..109a91f962c4 100755 --- a/notebooks/apiv1/notebookspb/instance.pb.go +++ b/notebooks/apiv1/notebookspb/instance.pb.go @@ -21,13 +21,12 @@ package notebookspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv1/notebookspb/instance_config.pb.go b/notebooks/apiv1/notebookspb/instance_config.pb.go index 03d9f3a4d947..2b009dc680f8 100755 --- a/notebooks/apiv1/notebookspb/instance_config.pb.go +++ b/notebooks/apiv1/notebookspb/instance_config.pb.go @@ -21,11 +21,10 @@ package notebookspb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv1/notebookspb/managed_service.pb.go b/notebooks/apiv1/notebookspb/managed_service.pb.go index 2739f90b4d2a..ced45cb8dae0 100755 --- a/notebooks/apiv1/notebookspb/managed_service.pb.go +++ b/notebooks/apiv1/notebookspb/managed_service.pb.go @@ -21,11 +21,8 @@ package notebookspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -624,8 +623,7 @@ func (x *ResetRuntimeRequest) GetRequestId() string { // Request for upgrading a Managed Notebook Runtime to the latest version. // option (google.api.message_visibility).restriction = -// -// "TRUSTED_TESTER,SPECIAL_TESTER"; +// "TRUSTED_TESTER,SPECIAL_TESTER"; type UpgradeRuntimeRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/notebooks/apiv1/notebookspb/runtime.pb.go b/notebooks/apiv1/notebookspb/runtime.pb.go index 2c0d098a3f57..1c65cd0821d1 100755 --- a/notebooks/apiv1/notebookspb/runtime.pb.go +++ b/notebooks/apiv1/notebookspb/runtime.pb.go @@ -21,13 +21,12 @@ package notebookspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv1/notebookspb/schedule.pb.go b/notebooks/apiv1/notebookspb/schedule.pb.go index a5c0b1f57092..af98b43799e4 100755 --- a/notebooks/apiv1/notebookspb/schedule.pb.go +++ b/notebooks/apiv1/notebookspb/schedule.pb.go @@ -21,13 +21,12 @@ package notebookspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv1/notebookspb/service.pb.go b/notebooks/apiv1/notebookspb/service.pb.go index 7bba7b75efcf..97bcb74902e7 100755 --- a/notebooks/apiv1/notebookspb/service.pb.go +++ b/notebooks/apiv1/notebookspb/service.pb.go @@ -21,11 +21,8 @@ package notebookspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv1beta1/doc.go b/notebooks/apiv1beta1/doc.go index 7246d132fd8c..3b567271827b 100755 --- a/notebooks/apiv1beta1/doc.go +++ b/notebooks/apiv1beta1/doc.go @@ -19,73 +19,72 @@ // // Notebooks API is used to manage notebook resources in Google Cloud. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := notebooks.NewNotebookClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := notebooks.NewNotebookClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := notebooks.NewNotebookClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := ¬ebookspb.CreateEnvironmentRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/notebooks/apiv1beta1/notebookspb#CreateEnvironmentRequest. -// } -// op, err := c.CreateEnvironment(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := notebooks.NewNotebookClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := ¬ebookspb.CreateEnvironmentRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/notebooks/apiv1beta1/notebookspb#CreateEnvironmentRequest. +// } +// op, err := c.CreateEnvironment(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewNotebookClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/notebooks/apiv1beta1/notebookspb/environment.pb.go b/notebooks/apiv1beta1/notebookspb/environment.pb.go index 47a5bc4a6b29..92facc78a7ed 100755 --- a/notebooks/apiv1beta1/notebookspb/environment.pb.go +++ b/notebooks/apiv1beta1/notebookspb/environment.pb.go @@ -21,13 +21,12 @@ package notebookspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv1beta1/notebookspb/instance.pb.go b/notebooks/apiv1beta1/notebookspb/instance.pb.go index 9cc3d5811ab1..97b4d5e8251b 100755 --- a/notebooks/apiv1beta1/notebookspb/instance.pb.go +++ b/notebooks/apiv1beta1/notebookspb/instance.pb.go @@ -21,13 +21,12 @@ package notebookspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv1beta1/notebookspb/service.pb.go b/notebooks/apiv1beta1/notebookspb/service.pb.go index 48866a685c7c..ea5b152ff530 100755 --- a/notebooks/apiv1beta1/notebookspb/service.pb.go +++ b/notebooks/apiv1beta1/notebookspb/service.pb.go @@ -21,11 +21,8 @@ package notebookspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv2/doc.go b/notebooks/apiv2/doc.go index 13eee700598a..888eb4205130 100755 --- a/notebooks/apiv2/doc.go +++ b/notebooks/apiv2/doc.go @@ -19,66 +19,65 @@ // // Notebooks API is used to manage notebook resources in Google Cloud. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := notebooks.NewNotebookClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := notebooks.NewNotebookClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := notebooks.NewNotebookClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := ¬ebookspb.CheckInstanceUpgradabilityRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/notebooks/apiv2/notebookspb#CheckInstanceUpgradabilityRequest. -// } -// resp, err := c.CheckInstanceUpgradability(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := notebooks.NewNotebookClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := ¬ebookspb.CheckInstanceUpgradabilityRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/notebooks/apiv2/notebookspb#CheckInstanceUpgradabilityRequest. +// } +// resp, err := c.CheckInstanceUpgradability(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewNotebookClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/notebooks/apiv2/notebookspb/diagnostic_config.pb.go b/notebooks/apiv2/notebookspb/diagnostic_config.pb.go index a7cb88d5eabb..ba8a62da655a 100755 --- a/notebooks/apiv2/notebookspb/diagnostic_config.pb.go +++ b/notebooks/apiv2/notebookspb/diagnostic_config.pb.go @@ -21,12 +21,11 @@ package notebookspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv2/notebookspb/event.pb.go b/notebooks/apiv2/notebookspb/event.pb.go index 762f11ca819d..d05cbb80beaf 100755 --- a/notebooks/apiv2/notebookspb/event.pb.go +++ b/notebooks/apiv2/notebookspb/event.pb.go @@ -21,13 +21,12 @@ package notebookspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv2/notebookspb/gce_setup.pb.go b/notebooks/apiv2/notebookspb/gce_setup.pb.go index b568fb4e6f70..231d7e8884fe 100755 --- a/notebooks/apiv2/notebookspb/gce_setup.pb.go +++ b/notebooks/apiv2/notebookspb/gce_setup.pb.go @@ -21,12 +21,11 @@ package notebookspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv2/notebookspb/instance.pb.go b/notebooks/apiv2/notebookspb/instance.pb.go index c8912c838a8b..463c1f585a2c 100755 --- a/notebooks/apiv2/notebookspb/instance.pb.go +++ b/notebooks/apiv2/notebookspb/instance.pb.go @@ -21,13 +21,12 @@ package notebookspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/notebooks/apiv2/notebookspb/service.pb.go b/notebooks/apiv2/notebookspb/service.pb.go index ced2d8d7fa69..6fd64e8ea145 100755 --- a/notebooks/apiv2/notebookspb/service.pb.go +++ b/notebooks/apiv2/notebookspb/service.pb.go @@ -21,11 +21,8 @@ package notebookspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/optimization/apiv1/doc.go b/optimization/apiv1/doc.go index 7e8d87792419..e9c16e371d6e 100755 --- a/optimization/apiv1/doc.go +++ b/optimization/apiv1/doc.go @@ -21,71 +21,70 @@ // optimization use cases starting with optimal route planning for vehicle // fleets. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := optimization.NewFleetRoutingClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := optimization.NewFleetRoutingClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := optimization.NewFleetRoutingClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &optimizationpb.BatchOptimizeToursRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/optimization/apiv1/optimizationpb#BatchOptimizeToursRequest. -// } -// op, err := c.BatchOptimizeTours(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := optimization.NewFleetRoutingClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &optimizationpb.BatchOptimizeToursRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/optimization/apiv1/optimizationpb#BatchOptimizeToursRequest. +// } +// op, err := c.BatchOptimizeTours(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewFleetRoutingClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/optimization/apiv1/fleet_routing_client.go b/optimization/apiv1/fleet_routing_client.go index b2927a8ef131..c664b4b05225 100755 --- a/optimization/apiv1/fleet_routing_client.go +++ b/optimization/apiv1/fleet_routing_client.go @@ -138,29 +138,29 @@ type internalFleetRoutingClient interface { // // Validity of certain types of fields: // -// google.protobuf.Timestamp +// google.protobuf.Timestamp // -// Times are in Unix time: seconds since 1970-01-01T00:00:00+00:00. +// Times are in Unix time: seconds since 1970-01-01T00:00:00+00:00. // -// seconds must be in [0, 253402300799], -// i.e. in [1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00]. +// seconds must be in [0, 253402300799], +// i.e. in [1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00]. // -// nanos must be unset or set to 0. +// nanos must be unset or set to 0. // -// google.protobuf.Duration +// google.protobuf.Duration // -// seconds must be in [0, 253402300799], -// i.e. in [1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00]. +// seconds must be in [0, 253402300799], +// i.e. in [1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00]. // -// nanos must be unset or set to 0. +// nanos must be unset or set to 0. // -// google.type.LatLng +// google.type.LatLng // -// latitude must be in [-90.0, 90.0]. +// latitude must be in [-90.0, 90.0]. // -// longitude must be in [-180.0, 180.0]. +// longitude must be in [-180.0, 180.0]. // -// at least one of latitude and longitude must be non-zero. +// at least one of latitude and longitude must be non-zero. type FleetRoutingClient struct { // The internal transport-dependent client. internalClient internalFleetRoutingClient @@ -271,29 +271,29 @@ type fleetRoutingGRPCClient struct { // // Validity of certain types of fields: // -// google.protobuf.Timestamp +// google.protobuf.Timestamp // -// Times are in Unix time: seconds since 1970-01-01T00:00:00+00:00. +// Times are in Unix time: seconds since 1970-01-01T00:00:00+00:00. // -// seconds must be in [0, 253402300799], -// i.e. in [1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00]. +// seconds must be in [0, 253402300799], +// i.e. in [1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00]. // -// nanos must be unset or set to 0. +// nanos must be unset or set to 0. // -// google.protobuf.Duration +// google.protobuf.Duration // -// seconds must be in [0, 253402300799], -// i.e. in [1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00]. +// seconds must be in [0, 253402300799], +// i.e. in [1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00]. // -// nanos must be unset or set to 0. +// nanos must be unset or set to 0. // -// google.type.LatLng +// google.type.LatLng // -// latitude must be in [-90.0, 90.0]. +// latitude must be in [-90.0, 90.0]. // -// longitude must be in [-180.0, 180.0]. +// longitude must be in [-180.0, 180.0]. // -// at least one of latitude and longitude must be non-zero. +// at least one of latitude and longitude must be non-zero. func NewFleetRoutingClient(ctx context.Context, opts ...option.ClientOption) (*FleetRoutingClient, error) { clientOpts := defaultFleetRoutingGRPCClientOptions() if newFleetRoutingClientHook != nil { @@ -383,29 +383,29 @@ type fleetRoutingRESTClient struct { // // Validity of certain types of fields: // -// google.protobuf.Timestamp +// google.protobuf.Timestamp // -// Times are in Unix time: seconds since 1970-01-01T00:00:00+00:00. +// Times are in Unix time: seconds since 1970-01-01T00:00:00+00:00. // -// seconds must be in [0, 253402300799], -// i.e. in [1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00]. +// seconds must be in [0, 253402300799], +// i.e. in [1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00]. // -// nanos must be unset or set to 0. +// nanos must be unset or set to 0. // -// google.protobuf.Duration +// google.protobuf.Duration // -// seconds must be in [0, 253402300799], -// i.e. in [1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00]. +// seconds must be in [0, 253402300799], +// i.e. in [1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00]. // -// nanos must be unset or set to 0. +// nanos must be unset or set to 0. // -// google.type.LatLng +// google.type.LatLng // -// latitude must be in [-90.0, 90.0]. +// latitude must be in [-90.0, 90.0]. // -// longitude must be in [-180.0, 180.0]. +// longitude must be in [-180.0, 180.0]. // -// at least one of latitude and longitude must be non-zero. +// at least one of latitude and longitude must be non-zero. func NewFleetRoutingRESTClient(ctx context.Context, opts ...option.ClientOption) (*FleetRoutingClient, error) { clientOpts := append(defaultFleetRoutingRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/optimization/apiv1/optimizationpb/async_model.pb.go b/optimization/apiv1/optimizationpb/async_model.pb.go index 9c770f1da6c2..72dcfb42ab54 100755 --- a/optimization/apiv1/optimizationpb/async_model.pb.go +++ b/optimization/apiv1/optimizationpb/async_model.pb.go @@ -21,13 +21,12 @@ package optimizationpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/optimization/apiv1/optimizationpb/fleet_routing.pb.go b/optimization/apiv1/optimizationpb/fleet_routing.pb.go index fce14b5f96f3..7466a31a3b2f 100755 --- a/optimization/apiv1/optimizationpb/fleet_routing.pb.go +++ b/optimization/apiv1/optimizationpb/fleet_routing.pb.go @@ -21,11 +21,8 @@ package optimizationpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -1157,10 +1156,10 @@ func (*BatchOptimizeToursResponse) Descriptor() ([]byte, []int) { // A shipment model contains a set of shipments which must be performed by a // set of vehicles, while minimizing the overall cost, which is the sum of: // -// - the cost of routing the vehicles (sum of cost per total time, cost per -// travel time, and fixed cost over all vehicles). -// - the unperformed shipment penalties. -// - the cost of the global duration of the shipments +// * the cost of routing the vehicles (sum of cost per total time, cost per +// travel time, and fixed cost over all vehicles). +// * the unperformed shipment penalties. +// * the cost of the global duration of the shipments type ShipmentModel struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2404,10 +2403,8 @@ func (x *Vehicle) GetEndLoadIntervals() []*CapacityQuantityInterval { // [ShipmentModel.global_end_time][google.cloud.optimization.v1.ShipmentModel.global_end_time]) // and should respect: // ``` -// -// 0 <= `start_time` <= `soft_start_time` <= `end_time` and -// 0 <= `start_time` <= `soft_end_time` <= `end_time`. -// +// 0 <= `start_time` <= `soft_start_time` <= `end_time` and +// 0 <= `start_time` <= `soft_end_time` <= `end_time`. // ``` type TimeWindow struct { state protoimpl.MessageState @@ -3055,12 +3052,12 @@ func (x *Location) GetHeading() int32 { // is a contiguous period of time during which the vehicle remains idle at its // current position and cannot perform any visit. A break may occur: // -// - during the travel between two visits (which includes the time right -// before or right after a visit, but not in the middle of a visit), in -// which case it extends the corresponding transit time between the visits, -// - or before the vehicle start (the vehicle may not start in the middle of -// a break), in which case it does not affect the vehicle start time. -// - or after the vehicle end (ditto, with the vehicle end time). +// * during the travel between two visits (which includes the time right +// before or right after a visit, but not in the middle of a visit), in +// which case it extends the corresponding transit time between the visits, +// * or before the vehicle start (the vehicle may not start in the middle of +// a break), in which case it does not affect the vehicle start time. +// * or after the vehicle end (ditto, with the vehicle end time). type BreakRule struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -3122,97 +3119,85 @@ func (x *BreakRule) GetFrequencyConstraints() []*BreakRule_FrequencyConstraint { // A vehicle's route can be decomposed, along the time axis, like this (we // assume there are n visits): // ``` -// -// | | | | | T[2], | | | -// | Transition | Visit #0 | | | V[2], | | | -// | #0 | aka | T[1] | V[1] | ... | V[n-1] | T[n] | -// | aka T[0] | V[0] | | | V[n-2],| | | -// | | | | | T[n-1] | | | -// ^ ^ ^ ^ ^ ^ ^ ^ -// +// | | | | | T[2], | | | +// | Transition | Visit #0 | | | V[2], | | | +// | #0 | aka | T[1] | V[1] | ... | V[n-1] | T[n] | +// | aka T[0] | V[0] | | | V[n-2],| | | +// | | | | | T[n-1] | | | +// ^ ^ ^ ^ ^ ^ ^ ^ // vehicle V[0].start V[0].end V[1]. V[1]. V[n]. V[n]. vehicle -// -// start (arrival) (departure) start end start end end -// +// start (arrival) (departure) start end start end end // ``` // Note that we make a difference between: // -// - "punctual events", such as the vehicle start and end and each visit's start -// and end (aka arrival and departure). They happen at a given second. -// - "time intervals", such as the visits themselves, and the transition between -// visits. Though time intervals can sometimes have zero duration, i.e. start -// and end at the same second, they often have a positive duration. +// * "punctual events", such as the vehicle start and end and each visit's start +// and end (aka arrival and departure). They happen at a given second. +// * "time intervals", such as the visits themselves, and the transition between +// visits. Though time intervals can sometimes have zero duration, i.e. start +// and end at the same second, they often have a positive duration. // // Invariants: // -// - If there are n visits, there are n+1 transitions. -// - A visit is always surrounded by a transition before it (same index) and a -// transition after it (index + 1). -// - The vehicle start is always followed by transition #0. -// - The vehicle end is always preceded by transition #n. +// * If there are n visits, there are n+1 transitions. +// * A visit is always surrounded by a transition before it (same index) and a +// transition after it (index + 1). +// * The vehicle start is always followed by transition #0. +// * The vehicle end is always preceded by transition #n. // // Zooming in, here is what happens during a `Transition` and a `Visit`: // ``` // ---+-------------------------------------+-----------------------------+--> -// -// | TRANSITION[i] | VISIT[i] | -// | | | -// | * TRAVEL: the vehicle moves from | PERFORM the visit: | -// | VISIT[i-1].departure_location to | | -// | VISIT[i].arrival_location, which | * Spend some time: | -// | takes a given travel duration | the "visit duration". | -// | and distance | | -// | | * Load or unload | -// | * BREAKS: the driver may have | some quantities from the | -// | breaks (e.g. lunch break). | vehicle: the "demand". | -// | | | -// | * WAIT: the driver/vehicle does | | -// | nothing. This can happen for | | -// | many reasons, for example when | | -// | the vehicle reaches the next | | -// | event's destination before the | | -// | start of its time window | | -// | | | -// | * DELAY: *right before* the next | | -// | arrival. E.g. the vehicle and/or | | -// | driver spends time unloading. | | -// | | | -// +// | TRANSITION[i] | VISIT[i] | +// | | | +// | * TRAVEL: the vehicle moves from | PERFORM the visit: | +// | VISIT[i-1].departure_location to | | +// | VISIT[i].arrival_location, which | * Spend some time: | +// | takes a given travel duration | the "visit duration". | +// | and distance | | +// | | * Load or unload | +// | * BREAKS: the driver may have | some quantities from the | +// | breaks (e.g. lunch break). | vehicle: the "demand". | +// | | | +// | * WAIT: the driver/vehicle does | | +// | nothing. This can happen for | | +// | many reasons, for example when | | +// | the vehicle reaches the next | | +// | event's destination before the | | +// | start of its time window | | +// | | | +// | * DELAY: *right before* the next | | +// | arrival. E.g. the vehicle and/or | | +// | driver spends time unloading. | | +// | | | // ---+-------------------------------------+-----------------------------+--> -// -// ^ ^ ^ -// +// ^ ^ ^ // V[i-1].end V[i].start V[i].end // ``` // Lastly, here is how the TRAVEL, BREAKS, DELAY and WAIT can be arranged // during a transition. // -// - They don't overlap. -// - The DELAY is unique and *must* be a contiguous period of time right -// before the next visit (or vehicle end). Thus, it suffice to know the -// delay duration to know its start and end time. -// - The BREAKS are contiguous, non-overlapping periods of time. The -// response specifies the start time and duration of each break. -// - TRAVEL and WAIT are "preemptable": they can be interrupted several times -// during this transition. Clients can assume that travel happens "as soon as -// possible" and that "wait" fills the remaining time. +// * They don't overlap. +// * The DELAY is unique and *must* be a contiguous period of time right +// before the next visit (or vehicle end). Thus, it suffice to know the +// delay duration to know its start and end time. +// * The BREAKS are contiguous, non-overlapping periods of time. The +// response specifies the start time and duration of each break. +// * TRAVEL and WAIT are "preemptable": they can be interrupted several times +// during this transition. Clients can assume that travel happens "as soon as +// possible" and that "wait" fills the remaining time. // // A (complex) example: // ``` -// -// TRANSITION[i] -// +// TRANSITION[i] // --++-----+-----------------------------------------------------------++--> -// -// || | | | | | | || -// || T | B | T | | B | | D || -// || r | r | r | W | r | W | e || -// || a | e | a | a | e | a | l || -// || v | a | v | i | a | i | a || -// || e | k | e | t | k | t | y || -// || l | | l | | | | || -// || | | | | | | || -// +// || | | | | | | || +// || T | B | T | | B | | D || +// || r | r | r | W | r | W | e || +// || a | e | a | a | e | a | l || +// || v | a | v | i | a | i | a || +// || e | k | e | t | k | t | y || +// || l | | l | | | | || +// || | | | | | | || // --++-----------------------------------------------------------------++--> // ``` type ShipmentRoute struct { @@ -4499,12 +4484,12 @@ func (x *ShipmentModel_PrecedenceRule) GetOffsetDuration() *durationpb.Duration // remains idle at its current position and cannot perform any visit. A break // may occur: // -// - during the travel between two visits (which includes the time right -// before or right after a visit, but not in the middle of a visit), in -// which case it extends the corresponding transit time between the visits -// - before the vehicle start (the vehicle may not start in the middle of -// a break), in which case it does not affect the vehicle start time. -// - after the vehicle end (ditto, with the vehicle end time). +// * during the travel between two visits (which includes the time right +// before or right after a visit, but not in the middle of a visit), in +// which case it extends the corresponding transit time between the visits +// * before the vehicle start (the vehicle may not start in the middle of +// a break), in which case it does not affect the vehicle start time. +// * after the vehicle end (ditto, with the vehicle end time). // // Deprecated: Marked as deprecated in google/cloud/optimization/v1/fleet_routing.proto. type ShipmentModel_BreakRule struct { @@ -4704,12 +4689,10 @@ func (x *ShipmentModel_BreakRule_BreakRequest) GetMinDuration() *durationpb.Dura // must be at least one break of at least one hour", that example would // translate to the following `FrequencyConstraint`: // ``` -// -// { -// min_break_duration { seconds: 3600 } # 1 hour. -// max_inter_break_duration { seconds: 39600 } # 11 hours (12 - 1 = 11). -// } -// +// { +// min_break_duration { seconds: 3600 } # 1 hour. +// max_inter_break_duration { seconds: 39600 } # 11 hours (12 - 1 = 11). +// } // ``` // // The timing and duration of the breaks in the solution will respect all @@ -4719,20 +4702,18 @@ func (x *ShipmentModel_BreakRule_BreakRequest) GetMinDuration() *durationpb.Dura // A `FrequencyConstraint` may in practice apply to non-consecutive breaks. // For example, the following schedule honors the "1h every 12h" example: // ``` -// -// 04:00 vehicle start -// .. performing travel and visits .. -// 09:00 1 hour break -// 10:00 end of the break -// .. performing travel and visits .. -// 12:00 20-min lunch break -// 12:20 end of the break -// .. performing travel and visits .. -// 21:00 1 hour break -// 22:00 end of the break -// .. performing travel and visits .. -// 23:59 vehicle end -// +// 04:00 vehicle start +// .. performing travel and visits .. +// 09:00 1 hour break +// 10:00 end of the break +// .. performing travel and visits .. +// 12:00 20-min lunch break +// 12:20 end of the break +// .. performing travel and visits .. +// 21:00 1 hour break +// 22:00 end of the break +// .. performing travel and visits .. +// 23:59 vehicle end // ``` type ShipmentModel_BreakRule_FrequencyConstraint struct { state protoimpl.MessageState @@ -5405,12 +5386,10 @@ func (x *BreakRule_BreakRequest) GetMinDuration() *durationpb.Duration { // must be at least one break of at least one hour", that example would // translate to the following `FrequencyConstraint`: // ``` -// -// { -// min_break_duration { seconds: 3600 } # 1 hour. -// max_inter_break_duration { seconds: 39600 } # 11 hours (12 - 1 = 11). -// } -// +// { +// min_break_duration { seconds: 3600 } # 1 hour. +// max_inter_break_duration { seconds: 39600 } # 11 hours (12 - 1 = 11). +// } // ``` // // The timing and duration of the breaks in the solution will respect all @@ -5420,20 +5399,18 @@ func (x *BreakRule_BreakRequest) GetMinDuration() *durationpb.Duration { // A `FrequencyConstraint` may in practice apply to non-consecutive breaks. // For example, the following schedule honors the "1h every 12h" example: // ``` -// -// 04:00 vehicle start -// .. performing travel and visits .. -// 09:00 1 hour break -// 10:00 end of the break -// .. performing travel and visits .. -// 12:00 20-min lunch break -// 12:20 end of the break -// .. performing travel and visits .. -// 21:00 1 hour break -// 22:00 end of the break -// .. performing travel and visits .. -// 23:59 vehicle end -// +// 04:00 vehicle start +// .. performing travel and visits .. +// 09:00 1 hour break +// 10:00 end of the break +// .. performing travel and visits .. +// 12:00 20-min lunch break +// 12:20 end of the break +// .. performing travel and visits .. +// 21:00 1 hour break +// 22:00 end of the break +// .. performing travel and visits .. +// 23:59 vehicle end // ``` type BreakRule_FrequencyConstraint struct { state protoimpl.MessageState @@ -6195,24 +6172,20 @@ func (x *ShipmentRoute_TravelStep) GetRoutePolyline() *ShipmentRoute_EncodedPoly // i.e. where all fields are the same except for `example_vehicle_index`. // Example: // ``` -// -// reasons { -// code: DEMAND_EXCEEDS_VEHICLE_CAPACITY -// example_vehicle_index: 1 -// example_exceeded_capacity_type: "Apples" -// } -// -// reasons { -// code: DEMAND_EXCEEDS_VEHICLE_CAPACITY -// example_vehicle_index: 3 -// example_exceeded_capacity_type: "Pears" -// } -// -// reasons { -// code: CANNOT_BE_PERFORMED_WITHIN_VEHICLE_DISTANCE_LIMIT -// example_vehicle_index: 1 -// } -// +// reasons { +// code: DEMAND_EXCEEDS_VEHICLE_CAPACITY +// example_vehicle_index: 1 +// example_exceeded_capacity_type: "Apples" +// } +// reasons { +// code: DEMAND_EXCEEDS_VEHICLE_CAPACITY +// example_vehicle_index: 3 +// example_exceeded_capacity_type: "Pears" +// } +// reasons { +// code: CANNOT_BE_PERFORMED_WITHIN_VEHICLE_DISTANCE_LIMIT +// example_vehicle_index: 1 +// } // ``` // The skipped shipment is incompatible with all vehicles. The reasons may // be different for all vehicles but at least one vehicle's "Apples" @@ -6369,18 +6342,17 @@ func (x *InjectedSolutionConstraint_ConstraintRelaxation) GetVehicleIndices() [] // `relaxations(i).level` specifies the constraint relaxation level applied // to a visit #j that satisfies: // -// - `route.visits(j).start_time >= relaxations(i).threshold_time` AND -// - `j + 1 >= relaxations(i).threshold_visit_count` +// * `route.visits(j).start_time >= relaxations(i).threshold_time` AND +// * `j + 1 >= relaxations(i).threshold_visit_count` // // Similarly, the vehicle start is relaxed to `relaxations(i).level` if it // satisfies: // -// - `vehicle_start_time >= relaxations(i).threshold_time` AND -// - `relaxations(i).threshold_visit_count == 0` -// +// * `vehicle_start_time >= relaxations(i).threshold_time` AND +// * `relaxations(i).threshold_visit_count == 0` // and the vehicle end is relaxed to `relaxations(i).level` if it satisfies: -// - `vehicle_end_time >= relaxations(i).threshold_time` AND -// - `route.visits_size() + 1 >= relaxations(i).threshold_visit_count` +// * `vehicle_end_time >= relaxations(i).threshold_time` AND +// * `route.visits_size() + 1 >= relaxations(i).threshold_visit_count` // // To apply a relaxation level if a visit meets the `threshold_visit_count` // OR the `threshold_time` add two `relaxations` with the same `level`: diff --git a/orchestration/airflow/service/apiv1/doc.go b/orchestration/airflow/service/apiv1/doc.go index a5e578e90340..d8b966317dae 100755 --- a/orchestration/airflow/service/apiv1/doc.go +++ b/orchestration/airflow/service/apiv1/doc.go @@ -19,71 +19,70 @@ // // Manages Apache Airflow environments on Google Cloud Platform. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := service.NewEnvironmentsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := service.NewEnvironmentsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := service.NewEnvironmentsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &servicepb.CreateEnvironmentRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb#CreateEnvironmentRequest. -// } -// op, err := c.CreateEnvironment(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := service.NewEnvironmentsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &servicepb.CreateEnvironmentRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb#CreateEnvironmentRequest. +// } +// op, err := c.CreateEnvironment(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewEnvironmentsClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/orchestration/airflow/service/apiv1/servicepb/environments.pb.go b/orchestration/airflow/service/apiv1/servicepb/environments.pb.go index 957dd20473f2..787332dfeb75 100755 --- a/orchestration/airflow/service/apiv1/servicepb/environments.pb.go +++ b/orchestration/airflow/service/apiv1/servicepb/environments.pb.go @@ -21,11 +21,8 @@ package servicepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -2187,13 +2186,11 @@ func (x *EncryptionConfig) GetKmsKeyName() string { // The following example: // // ``` -// -// { -// "startTime":"2019-08-01T01:00:00Z" -// "endTime":"2019-08-01T07:00:00Z" -// "recurrence":"FREQ=WEEKLY;BYDAY=TU,WE" -// } -// +// { +// "startTime":"2019-08-01T01:00:00Z" +// "endTime":"2019-08-01T07:00:00Z" +// "recurrence":"FREQ=WEEKLY;BYDAY=TU,WE" +// } // ``` // // would define a maintenance window between 01 and 07 hours UTC during diff --git a/orchestration/airflow/service/apiv1/servicepb/image_versions.pb.go b/orchestration/airflow/service/apiv1/servicepb/image_versions.pb.go index 8ca29eb192d6..b45dc54b3d67 100755 --- a/orchestration/airflow/service/apiv1/servicepb/image_versions.pb.go +++ b/orchestration/airflow/service/apiv1/servicepb/image_versions.pb.go @@ -22,9 +22,6 @@ package servicepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" grpc "google.golang.org/grpc" @@ -32,6 +29,8 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/orchestration/airflow/service/apiv1/servicepb/operations.pb.go b/orchestration/airflow/service/apiv1/servicepb/operations.pb.go index 1c015b41a443..a2714527a75b 100755 --- a/orchestration/airflow/service/apiv1/servicepb/operations.pb.go +++ b/orchestration/airflow/service/apiv1/servicepb/operations.pb.go @@ -21,12 +21,11 @@ package servicepb 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" + reflect "reflect" + sync "sync" ) const ( diff --git a/orgpolicy/apiv1/orgpolicypb/orgpolicy.pb.go b/orgpolicy/apiv1/orgpolicypb/orgpolicy.pb.go index 8b4d438c42a3..8a00ef2f62b8 100755 --- a/orgpolicy/apiv1/orgpolicypb/orgpolicy.pb.go +++ b/orgpolicy/apiv1/orgpolicypb/orgpolicy.pb.go @@ -22,12 +22,11 @@ package orgpolicypb 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" + reflect "reflect" + sync "sync" ) const ( @@ -279,10 +278,9 @@ func (*Policy_RestoreDefault_) isPolicy_PolicyType() {} // if the value contains a ":". Values prefixed with "is:" are treated the // same as values with no prefix. // Ancestry subtrees must be in one of the following formats: -// - "projects/", e.g. "projects/tokyo-rain-123" -// - "folders/", e.g. "folders/1234" -// - "organizations/", e.g. "organizations/1234" -// +// - "projects/", e.g. "projects/tokyo-rain-123" +// - "folders/", e.g. "folders/1234" +// - "organizations/", e.g. "organizations/1234" // The `supports_under` field of the associated `Constraint` defines whether // ancestry prefixes can be used. You can set `allowed_values` and // `denied_values` in the same `Policy` if `all_values` is diff --git a/orgpolicy/apiv2/doc.go b/orgpolicy/apiv2/doc.go index d6cec7fb4eb0..b818c48cbf49 100755 --- a/orgpolicy/apiv2/doc.go +++ b/orgpolicy/apiv2/doc.go @@ -20,66 +20,65 @@ // The Organization Policy API allows users to configure governance rules on // their Google Cloud resources across the resource hierarchy. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := orgpolicy.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := orgpolicy.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := orgpolicy.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &orgpolicypb.CreatePolicyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/orgpolicy/apiv2/orgpolicypb#CreatePolicyRequest. -// } -// resp, err := c.CreatePolicy(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := orgpolicy.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &orgpolicypb.CreatePolicyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/orgpolicy/apiv2/orgpolicypb#CreatePolicyRequest. +// } +// resp, err := c.CreatePolicy(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/orgpolicy/apiv2/orgpolicypb/constraint.pb.go b/orgpolicy/apiv2/orgpolicypb/constraint.pb.go index 3c3722ffd203..590cc68962cf 100755 --- a/orgpolicy/apiv2/orgpolicypb/constraint.pb.go +++ b/orgpolicy/apiv2/orgpolicypb/constraint.pb.go @@ -21,13 +21,12 @@ package orgpolicypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/orgpolicy/apiv2/orgpolicypb/orgpolicy.pb.go b/orgpolicy/apiv2/orgpolicypb/orgpolicy.pb.go index 8f7789cbe4e5..1d71edf1ae82 100755 --- a/orgpolicy/apiv2/orgpolicypb/orgpolicy.pb.go +++ b/orgpolicy/apiv2/orgpolicypb/orgpolicy.pb.go @@ -22,9 +22,6 @@ package orgpolicypb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" expr "google.golang.org/genproto/googleapis/type/expr" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -1013,10 +1012,9 @@ func (*PolicySpec_PolicyRule_Enforce) isPolicySpec_PolicyRule_Kind() {} // if the value contains a ":". Values prefixed with "is:" are treated the // same as values with no prefix. // Ancestry subtrees must be in one of the following formats: -// - "projects/", e.g. "projects/tokyo-rain-123" -// - "folders/", e.g. "folders/1234" -// - "organizations/", e.g. "organizations/1234" -// +// - "projects/", e.g. "projects/tokyo-rain-123" +// - "folders/", e.g. "folders/1234" +// - "organizations/", e.g. "organizations/1234" // The `supports_under` field of the associated `Constraint` defines // whether ancestry prefixes can be used. type PolicySpec_PolicyRule_StringValues struct { diff --git a/osconfig/agentendpoint/apiv1/agentendpointpb/agentendpoint.pb.go b/osconfig/agentendpoint/apiv1/agentendpointpb/agentendpoint.pb.go index 4965690c6579..5ea098aa65b7 100755 --- a/osconfig/agentendpoint/apiv1/agentendpointpb/agentendpoint.pb.go +++ b/osconfig/agentendpoint/apiv1/agentendpointpb/agentendpoint.pb.go @@ -22,15 +22,14 @@ package agentendpointpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/agentendpoint/apiv1/agentendpointpb/config_common.pb.go b/osconfig/agentendpoint/apiv1/agentendpointpb/config_common.pb.go index 2300386f98b0..66e88020f525 100755 --- a/osconfig/agentendpoint/apiv1/agentendpointpb/config_common.pb.go +++ b/osconfig/agentendpoint/apiv1/agentendpointpb/config_common.pb.go @@ -21,11 +21,10 @@ package agentendpointpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/agentendpoint/apiv1/agentendpointpb/inventory.pb.go b/osconfig/agentendpoint/apiv1/agentendpointpb/inventory.pb.go index 677a1e5bf379..b77af1ff4035 100755 --- a/osconfig/agentendpoint/apiv1/agentendpointpb/inventory.pb.go +++ b/osconfig/agentendpoint/apiv1/agentendpointpb/inventory.pb.go @@ -21,13 +21,12 @@ package agentendpointpb import ( - reflect "reflect" - sync "sync" - date "google.golang.org/genproto/googleapis/type/date" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/agentendpoint/apiv1/agentendpointpb/os_policy.pb.go b/osconfig/agentendpoint/apiv1/agentendpointpb/os_policy.pb.go index 5886456ff8bf..4da1a1837d32 100755 --- a/osconfig/agentendpoint/apiv1/agentendpointpb/os_policy.pb.go +++ b/osconfig/agentendpoint/apiv1/agentendpointpb/os_policy.pb.go @@ -21,12 +21,11 @@ package agentendpointpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/agentendpoint/apiv1/agentendpointpb/patch_jobs.pb.go b/osconfig/agentendpoint/apiv1/agentendpointpb/patch_jobs.pb.go index 871e0d955b18..15615f33c407 100755 --- a/osconfig/agentendpoint/apiv1/agentendpointpb/patch_jobs.pb.go +++ b/osconfig/agentendpoint/apiv1/agentendpointpb/patch_jobs.pb.go @@ -21,11 +21,10 @@ package agentendpointpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/agentendpoint/apiv1/agentendpointpb/tasks.pb.go b/osconfig/agentendpoint/apiv1/agentendpointpb/tasks.pb.go index 33f908f4e4a3..a155909b9e7d 100755 --- a/osconfig/agentendpoint/apiv1/agentendpointpb/tasks.pb.go +++ b/osconfig/agentendpoint/apiv1/agentendpointpb/tasks.pb.go @@ -21,12 +21,11 @@ package agentendpointpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/agentendpoint/apiv1/auxiliary.go b/osconfig/agentendpoint/apiv1/auxiliary.go index bffd2dc17d8d..ddf58e36ee21 100755 --- a/osconfig/agentendpoint/apiv1/auxiliary.go +++ b/osconfig/agentendpoint/apiv1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package agentendpoint + +import () diff --git a/osconfig/agentendpoint/apiv1/doc.go b/osconfig/agentendpoint/apiv1/doc.go index 9517499b8b97..1c8586040aa2 100755 --- a/osconfig/agentendpoint/apiv1/doc.go +++ b/osconfig/agentendpoint/apiv1/doc.go @@ -20,43 +20,42 @@ // OS management tools that can be used for patch management, patch // compliance, and configuration management on VM instances. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := agentendpoint.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := agentendpoint.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// # Use of Context +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/osconfig/agentendpoint/apiv1beta/agentendpointpb/agentendpoint.pb.go b/osconfig/agentendpoint/apiv1beta/agentendpointpb/agentendpoint.pb.go index be3a6f01bb39..557282c9a5fe 100755 --- a/osconfig/agentendpoint/apiv1beta/agentendpointpb/agentendpoint.pb.go +++ b/osconfig/agentendpoint/apiv1beta/agentendpointpb/agentendpoint.pb.go @@ -22,15 +22,14 @@ package agentendpointpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/agentendpoint/apiv1beta/agentendpointpb/guest_policies.pb.go b/osconfig/agentendpoint/apiv1beta/agentendpointpb/guest_policies.pb.go index fbb4d1224510..ef00bffbb66c 100755 --- a/osconfig/agentendpoint/apiv1beta/agentendpointpb/guest_policies.pb.go +++ b/osconfig/agentendpoint/apiv1beta/agentendpointpb/guest_policies.pb.go @@ -21,12 +21,11 @@ package agentendpointpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( @@ -340,6 +339,7 @@ func (SoftwareRecipe_Step_RunScript_Interpreter) EnumDescriptor() ([]byte, []int // The agent on the VM instance uses the system package manager to apply the // config. // +// // These are the commands that the agent uses to install or remove // packages. // @@ -870,14 +870,14 @@ func (*PackageRepository_Goo) isPackageRepository_Repository() {} // Additionally, recipes support executing a script (either defined in a file or // directly in this api) in bash, sh, cmd, and powershell. // -// # Updating a software recipe +// Updating a software recipe // // If a recipe is assigned to an instance and there is a recipe with the same // name but a lower version already installed and the assigned state // of the recipe is `INSTALLED_KEEP_UPDATED`, then the recipe is updated to // the new version. // -// # Script Working Directories +// Script Working Directories // // Each script or execution step is run in its own temporary directory which // is deleted after completing the step. diff --git a/osconfig/agentendpoint/apiv1beta/agentendpointpb/patch_jobs.pb.go b/osconfig/agentendpoint/apiv1beta/agentendpointpb/patch_jobs.pb.go index 35947baa6772..87ed45a64150 100755 --- a/osconfig/agentendpoint/apiv1beta/agentendpointpb/patch_jobs.pb.go +++ b/osconfig/agentendpoint/apiv1beta/agentendpointpb/patch_jobs.pb.go @@ -21,11 +21,10 @@ package agentendpointpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/agentendpoint/apiv1beta/agentendpointpb/tasks.pb.go b/osconfig/agentendpoint/apiv1beta/agentendpointpb/tasks.pb.go index 2db6ea64e464..2db54d27b45e 100755 --- a/osconfig/agentendpoint/apiv1beta/agentendpointpb/tasks.pb.go +++ b/osconfig/agentendpoint/apiv1beta/agentendpointpb/tasks.pb.go @@ -21,12 +21,11 @@ package agentendpointpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/agentendpoint/apiv1beta/auxiliary.go b/osconfig/agentendpoint/apiv1beta/auxiliary.go index bffd2dc17d8d..ddf58e36ee21 100755 --- a/osconfig/agentendpoint/apiv1beta/auxiliary.go +++ b/osconfig/agentendpoint/apiv1beta/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package agentendpoint + +import () diff --git a/osconfig/agentendpoint/apiv1beta/doc.go b/osconfig/agentendpoint/apiv1beta/doc.go index acda149452bd..684f9047936f 100755 --- a/osconfig/agentendpoint/apiv1beta/doc.go +++ b/osconfig/agentendpoint/apiv1beta/doc.go @@ -20,68 +20,67 @@ // OS management tools that can be used for patch management, patch // compliance, and configuration management on VM instances. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := agentendpoint.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := agentendpoint.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := agentendpoint.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &agentendpointpb.LookupEffectiveGuestPolicyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb#LookupEffectiveGuestPolicyRequest. -// } -// resp, err := c.LookupEffectiveGuestPolicy(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := agentendpoint.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &agentendpointpb.LookupEffectiveGuestPolicyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb#LookupEffectiveGuestPolicyRequest. +// } +// resp, err := c.LookupEffectiveGuestPolicy(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/osconfig/apiv1/doc.go b/osconfig/apiv1/doc.go index 07b02ba4fc91..ced72d6c5115 100755 --- a/osconfig/apiv1/doc.go +++ b/osconfig/apiv1/doc.go @@ -20,66 +20,65 @@ // OS management tools that can be used for patch management, patch // compliance, and configuration management on VM instances. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := osconfig.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := osconfig.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := osconfig.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &osconfigpb.CancelPatchJobRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/osconfig/apiv1/osconfigpb#CancelPatchJobRequest. -// } -// resp, err := c.CancelPatchJob(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := osconfig.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &osconfigpb.CancelPatchJobRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/osconfig/apiv1/osconfigpb#CancelPatchJobRequest. +// } +// resp, err := c.CancelPatchJob(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/osconfig/apiv1/os_config_client.go b/osconfig/apiv1/os_config_client.go index 8489fbc6714a..bb6396be0ace 100755 --- a/osconfig/apiv1/os_config_client.go +++ b/osconfig/apiv1/os_config_client.go @@ -378,7 +378,7 @@ type internalClient interface { // Client is a client for interacting with OS Config API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// # OS Config API +// OS Config API // // The OS Config service is a server-side component that you can use to // manage package installations and patch jobs for virtual machine instances. @@ -497,7 +497,7 @@ type gRPCClient struct { // NewClient creates a new os config service client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// # OS Config API +// OS Config API // // The OS Config service is a server-side component that you can use to // manage package installations and patch jobs for virtual machine instances. @@ -569,7 +569,7 @@ type restClient struct { // NewRESTClient creates a new os config service rest client. // -// # OS Config API +// OS Config API // // The OS Config service is a server-side component that you can use to // manage package installations and patch jobs for virtual machine instances. diff --git a/osconfig/apiv1/os_config_zonal_client.go b/osconfig/apiv1/os_config_zonal_client.go index ce32c979c531..0a514d04ffcb 100755 --- a/osconfig/apiv1/os_config_zonal_client.go +++ b/osconfig/apiv1/os_config_zonal_client.go @@ -384,7 +384,7 @@ type internalOsConfigZonalClient interface { // OsConfigZonalClient is a client for interacting with OS Config API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// # Zonal OS Config API +// Zonal OS Config API // // The OS Config service is the server-side component that allows users to // manage package installations and patch jobs for Compute Engine VM instances. @@ -564,7 +564,7 @@ type osConfigZonalGRPCClient struct { // NewOsConfigZonalClient creates a new os config zonal service client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// # Zonal OS Config API +// Zonal OS Config API // // The OS Config service is the server-side component that allows users to // manage package installations and patch jobs for Compute Engine VM instances. @@ -652,7 +652,7 @@ type osConfigZonalRESTClient struct { // NewOsConfigZonalRESTClient creates a new os config zonal service rest client. // -// # Zonal OS Config API +// Zonal OS Config API // // The OS Config service is the server-side component that allows users to // manage package installations and patch jobs for Compute Engine VM instances. diff --git a/osconfig/apiv1/osconfigpb/inventory.pb.go b/osconfig/apiv1/osconfigpb/inventory.pb.go index d8a71531657a..5276c1c12533 100755 --- a/osconfig/apiv1/osconfigpb/inventory.pb.go +++ b/osconfig/apiv1/osconfigpb/inventory.pb.go @@ -21,14 +21,13 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1/osconfigpb/os_policy.pb.go b/osconfig/apiv1/osconfigpb/os_policy.pb.go index a652e90fb8e1..4eec7b174cf8 100755 --- a/osconfig/apiv1/osconfigpb/os_policy.pb.go +++ b/osconfig/apiv1/osconfigpb/os_policy.pb.go @@ -21,12 +21,11 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1/osconfigpb/os_policy_assignment_reports.pb.go b/osconfig/apiv1/osconfigpb/os_policy_assignment_reports.pb.go index eba32452b0e2..184c62daa909 100755 --- a/osconfig/apiv1/osconfigpb/os_policy_assignment_reports.pb.go +++ b/osconfig/apiv1/osconfigpb/os_policy_assignment_reports.pb.go @@ -21,13 +21,12 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1/osconfigpb/os_policy_assignments.pb.go b/osconfig/apiv1/osconfigpb/os_policy_assignments.pb.go index 20c7f63c5966..bcf89db6e8bd 100755 --- a/osconfig/apiv1/osconfigpb/os_policy_assignments.pb.go +++ b/osconfig/apiv1/osconfigpb/os_policy_assignments.pb.go @@ -21,15 +21,14 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -989,14 +988,14 @@ func (x *DeleteOSPolicyAssignmentRequest) GetName() string { } // Message representing label set. -// - A label is a key value pair set for a VM. -// - A LabelSet is a set of labels. -// - Labels within a LabelSet are ANDed. In other words, a LabelSet is -// applicable for a VM only if it matches all the labels in the -// LabelSet. -// - Example: A LabelSet with 2 labels: `env=prod` and `type=webserver` will -// only be applicable for those VMs with both labels -// present. +// * A label is a key value pair set for a VM. +// * A LabelSet is a set of labels. +// * Labels within a LabelSet are ANDed. In other words, a LabelSet is +// applicable for a VM only if it matches all the labels in the +// LabelSet. +// * Example: A LabelSet with 2 labels: `env=prod` and `type=webserver` will +// only be applicable for those VMs with both labels +// present. type OSPolicyAssignment_LabelSet struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/osconfig/apiv1/osconfigpb/osconfig_common.pb.go b/osconfig/apiv1/osconfigpb/osconfig_common.pb.go index 479652346096..116acc69db38 100755 --- a/osconfig/apiv1/osconfigpb/osconfig_common.pb.go +++ b/osconfig/apiv1/osconfigpb/osconfig_common.pb.go @@ -21,11 +21,10 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1/osconfigpb/osconfig_service.pb.go b/osconfig/apiv1/osconfigpb/osconfig_service.pb.go index f3e5a3be459e..f0fa510be5cf 100755 --- a/osconfig/apiv1/osconfigpb/osconfig_service.pb.go +++ b/osconfig/apiv1/osconfigpb/osconfig_service.pb.go @@ -22,8 +22,6 @@ package osconfigpb import ( context "context" - reflect "reflect" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,6 +29,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" ) const ( diff --git a/osconfig/apiv1/osconfigpb/osconfig_zonal_service.pb.go b/osconfig/apiv1/osconfigpb/osconfig_zonal_service.pb.go index 5c036739c3da..bc18b9c71a4d 100755 --- a/osconfig/apiv1/osconfigpb/osconfig_zonal_service.pb.go +++ b/osconfig/apiv1/osconfigpb/osconfig_zonal_service.pb.go @@ -21,16 +21,15 @@ package osconfigpb import ( - context "context" - reflect "reflect" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/osconfig/apiv1/osconfigpb/patch_deployments.pb.go b/osconfig/apiv1/osconfigpb/patch_deployments.pb.go index f21e1a396df0..c276d72e5301 100755 --- a/osconfig/apiv1/osconfigpb/patch_deployments.pb.go +++ b/osconfig/apiv1/osconfigpb/patch_deployments.pb.go @@ -21,9 +21,6 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" datetime "google.golang.org/genproto/googleapis/type/datetime" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" @@ -33,6 +30,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1/osconfigpb/patch_jobs.pb.go b/osconfig/apiv1/osconfigpb/patch_jobs.pb.go index 24c223b719f8..a1883297153f 100755 --- a/osconfig/apiv1/osconfigpb/patch_jobs.pb.go +++ b/osconfig/apiv1/osconfigpb/patch_jobs.pb.go @@ -21,14 +21,13 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1/osconfigpb/vulnerability.pb.go b/osconfig/apiv1/osconfigpb/vulnerability.pb.go index 97abe3912c33..c13aa22e37ce 100755 --- a/osconfig/apiv1/osconfigpb/vulnerability.pb.go +++ b/osconfig/apiv1/osconfigpb/vulnerability.pb.go @@ -21,13 +21,12 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1alpha/doc.go b/osconfig/apiv1alpha/doc.go index 5325526fa3ae..89bc135c12b1 100755 --- a/osconfig/apiv1alpha/doc.go +++ b/osconfig/apiv1alpha/doc.go @@ -20,73 +20,72 @@ // OS management tools that can be used for patch management, patch // compliance, and configuration management on VM instances. // -// NOTE: This package is in alpha. It is not stable, and is likely to change. +// NOTE: This package is in alpha. It is not stable, and is likely to change. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := osconfig.NewOsConfigZonalClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := osconfig.NewOsConfigZonalClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := osconfig.NewOsConfigZonalClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &osconfigpb.CreateOSPolicyAssignmentRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/osconfig/apiv1alpha/osconfigpb#CreateOSPolicyAssignmentRequest. -// } -// op, err := c.CreateOSPolicyAssignment(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := osconfig.NewOsConfigZonalClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &osconfigpb.CreateOSPolicyAssignmentRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/osconfig/apiv1alpha/osconfigpb#CreateOSPolicyAssignmentRequest. +// } +// op, err := c.CreateOSPolicyAssignment(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewOsConfigZonalClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/osconfig/apiv1alpha/os_config_zonal_client.go b/osconfig/apiv1alpha/os_config_zonal_client.go index 3171cc302146..75a25796a2bd 100755 --- a/osconfig/apiv1alpha/os_config_zonal_client.go +++ b/osconfig/apiv1alpha/os_config_zonal_client.go @@ -434,7 +434,7 @@ type internalOsConfigZonalClient interface { // OsConfigZonalClient is a client for interacting with OS Config API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// # Zonal OS Config API +// Zonal OS Config API // // The OS Config service is the server-side component that allows users to // manage package installations and patch jobs for Compute Engine VM instances. @@ -630,7 +630,7 @@ type osConfigZonalGRPCClient struct { // NewOsConfigZonalClient creates a new os config zonal service client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// # Zonal OS Config API +// Zonal OS Config API // // The OS Config service is the server-side component that allows users to // manage package installations and patch jobs for Compute Engine VM instances. @@ -718,7 +718,7 @@ type osConfigZonalRESTClient struct { // NewOsConfigZonalRESTClient creates a new os config zonal service rest client. // -// # Zonal OS Config API +// Zonal OS Config API // // The OS Config service is the server-side component that allows users to // manage package installations and patch jobs for Compute Engine VM instances. diff --git a/osconfig/apiv1alpha/osconfigpb/config_common.pb.go b/osconfig/apiv1alpha/osconfigpb/config_common.pb.go index 43ffcdda4bf5..e5c302c7876d 100755 --- a/osconfig/apiv1alpha/osconfigpb/config_common.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/config_common.pb.go @@ -21,11 +21,10 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1alpha/osconfigpb/instance_os_policies_compliance.pb.go b/osconfig/apiv1alpha/osconfigpb/instance_os_policies_compliance.pb.go index 2ff517c708d5..9fcdf6de0e58 100755 --- a/osconfig/apiv1alpha/osconfigpb/instance_os_policies_compliance.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/instance_os_policies_compliance.pb.go @@ -21,13 +21,12 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1alpha/osconfigpb/inventory.pb.go b/osconfig/apiv1alpha/osconfigpb/inventory.pb.go index 20e6d44d0d5d..95fccdb10f56 100755 --- a/osconfig/apiv1alpha/osconfigpb/inventory.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/inventory.pb.go @@ -21,14 +21,13 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1alpha/osconfigpb/os_policy.pb.go b/osconfig/apiv1alpha/osconfigpb/os_policy.pb.go index 2c8f19457d6c..2a3a6fff246f 100755 --- a/osconfig/apiv1alpha/osconfigpb/os_policy.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/os_policy.pb.go @@ -21,12 +21,11 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1alpha/osconfigpb/os_policy_assignment_reports.pb.go b/osconfig/apiv1alpha/osconfigpb/os_policy_assignment_reports.pb.go index b84c8b9db24d..a5e94c101a58 100755 --- a/osconfig/apiv1alpha/osconfigpb/os_policy_assignment_reports.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/os_policy_assignment_reports.pb.go @@ -21,13 +21,12 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1alpha/osconfigpb/os_policy_assignments.pb.go b/osconfig/apiv1alpha/osconfigpb/os_policy_assignments.pb.go index 97295c98d09f..4a54640fb6ea 100755 --- a/osconfig/apiv1alpha/osconfigpb/os_policy_assignments.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/os_policy_assignments.pb.go @@ -21,15 +21,14 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -987,14 +986,14 @@ func (x *DeleteOSPolicyAssignmentRequest) GetName() string { } // Message representing label set. -// - A label is a key value pair set for a VM. -// - A LabelSet is a set of labels. -// - Labels within a LabelSet are ANDed. In other words, a LabelSet is -// applicable for a VM only if it matches all the labels in the -// LabelSet. -// - Example: A LabelSet with 2 labels: `env=prod` and `type=webserver` will -// only be applicable for those VMs with both labels -// present. +// * A label is a key value pair set for a VM. +// * A LabelSet is a set of labels. +// * Labels within a LabelSet are ANDed. In other words, a LabelSet is +// applicable for a VM only if it matches all the labels in the +// LabelSet. +// * Example: A LabelSet with 2 labels: `env=prod` and `type=webserver` will +// only be applicable for those VMs with both labels +// present. type OSPolicyAssignment_LabelSet struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/osconfig/apiv1alpha/osconfigpb/osconfig_common.pb.go b/osconfig/apiv1alpha/osconfigpb/osconfig_common.pb.go index c375922649f9..54c3e1c097ba 100755 --- a/osconfig/apiv1alpha/osconfigpb/osconfig_common.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/osconfig_common.pb.go @@ -21,11 +21,10 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1alpha/osconfigpb/osconfig_zonal_service.pb.go b/osconfig/apiv1alpha/osconfigpb/osconfig_zonal_service.pb.go index 1f78faed790e..5e54694969ac 100755 --- a/osconfig/apiv1alpha/osconfigpb/osconfig_zonal_service.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/osconfig_zonal_service.pb.go @@ -21,16 +21,15 @@ package osconfigpb import ( - context "context" - reflect "reflect" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/osconfig/apiv1alpha/osconfigpb/vulnerability.pb.go b/osconfig/apiv1alpha/osconfigpb/vulnerability.pb.go index 5b7d25aa616d..30da0439ee09 100755 --- a/osconfig/apiv1alpha/osconfigpb/vulnerability.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/vulnerability.pb.go @@ -21,13 +21,12 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1beta/doc.go b/osconfig/apiv1beta/doc.go index 6292c244c721..25fd01d3c0c4 100755 --- a/osconfig/apiv1beta/doc.go +++ b/osconfig/apiv1beta/doc.go @@ -20,68 +20,67 @@ // OS management tools that can be used for patch management, patch // compliance, and configuration management on VM instances. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := osconfig.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := osconfig.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := osconfig.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &osconfigpb.CancelPatchJobRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/osconfig/apiv1beta/osconfigpb#CancelPatchJobRequest. -// } -// resp, err := c.CancelPatchJob(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := osconfig.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &osconfigpb.CancelPatchJobRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/osconfig/apiv1beta/osconfigpb#CancelPatchJobRequest. +// } +// resp, err := c.CancelPatchJob(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/osconfig/apiv1beta/os_config_client.go b/osconfig/apiv1beta/os_config_client.go index b8de83ac329d..11f01bbda028 100755 --- a/osconfig/apiv1beta/os_config_client.go +++ b/osconfig/apiv1beta/os_config_client.go @@ -528,7 +528,7 @@ type internalClient interface { // Client is a client for interacting with OS Config API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// # OS Config API +// OS Config API // // The OS Config service is a server-side component that you can use to // manage package installations and patch jobs for virtual machine instances. @@ -678,7 +678,7 @@ type gRPCClient struct { // NewClient creates a new os config service client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// # OS Config API +// OS Config API // // The OS Config service is a server-side component that you can use to // manage package installations and patch jobs for virtual machine instances. @@ -750,7 +750,7 @@ type restClient struct { // NewRESTClient creates a new os config service rest client. // -// # OS Config API +// OS Config API // // The OS Config service is a server-side component that you can use to // manage package installations and patch jobs for virtual machine instances. diff --git a/osconfig/apiv1beta/osconfigpb/guest_policies.pb.go b/osconfig/apiv1beta/osconfigpb/guest_policies.pb.go index 5ca9e5369553..45431e04f9e8 100755 --- a/osconfig/apiv1beta/osconfigpb/guest_policies.pb.go +++ b/osconfig/apiv1beta/osconfigpb/guest_policies.pb.go @@ -21,14 +21,13 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -595,6 +594,7 @@ func (x *Assignment) GetOsTypes() []*Assignment_OsType { // The agent on the VM instance uses the system package manager to apply the // config. // +// // These are the commands that the agent uses to install or remove // packages. // @@ -1125,14 +1125,14 @@ func (*PackageRepository_Goo) isPackageRepository_Repository() {} // Additionally, recipes support executing a script (either defined in a file or // directly in this api) in bash, sh, cmd, and powershell. // -// # Updating a software recipe +// Updating a software recipe // // If a recipe is assigned to an instance and there is a recipe with the same // name but a lower version already installed and the assigned state // of the recipe is `UPDATED`, then the recipe is updated to // the new version. // -// # Script Working Directories +// Script Working Directories // // Each script or execution step is run in its own temporary directory which // is deleted after completing the step. diff --git a/osconfig/apiv1beta/osconfigpb/osconfig_common.pb.go b/osconfig/apiv1beta/osconfigpb/osconfig_common.pb.go index 47af36812269..51937e216644 100755 --- a/osconfig/apiv1beta/osconfigpb/osconfig_common.pb.go +++ b/osconfig/apiv1beta/osconfigpb/osconfig_common.pb.go @@ -21,11 +21,10 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1beta/osconfigpb/osconfig_service.pb.go b/osconfig/apiv1beta/osconfigpb/osconfig_service.pb.go index 8b5c67a517bb..742c9a407d5e 100755 --- a/osconfig/apiv1beta/osconfigpb/osconfig_service.pb.go +++ b/osconfig/apiv1beta/osconfigpb/osconfig_service.pb.go @@ -22,8 +22,6 @@ package osconfigpb import ( context "context" - reflect "reflect" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,6 +29,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" ) const ( diff --git a/osconfig/apiv1beta/osconfigpb/patch_deployments.pb.go b/osconfig/apiv1beta/osconfigpb/patch_deployments.pb.go index c643c2bdf7dd..1b95e03a8464 100755 --- a/osconfig/apiv1beta/osconfigpb/patch_deployments.pb.go +++ b/osconfig/apiv1beta/osconfigpb/patch_deployments.pb.go @@ -21,9 +21,6 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" datetime "google.golang.org/genproto/googleapis/type/datetime" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" @@ -33,6 +30,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/osconfig/apiv1beta/osconfigpb/patch_jobs.pb.go b/osconfig/apiv1beta/osconfigpb/patch_jobs.pb.go index 1b53f0b97ccb..598ef9d8f477 100755 --- a/osconfig/apiv1beta/osconfigpb/patch_jobs.pb.go +++ b/osconfig/apiv1beta/osconfigpb/patch_jobs.pb.go @@ -21,14 +21,13 @@ package osconfigpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/oslogin/apiv1/auxiliary.go b/oslogin/apiv1/auxiliary.go index 005bb926a097..b1fc1017c802 100755 --- a/oslogin/apiv1/auxiliary.go +++ b/oslogin/apiv1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package oslogin + +import () diff --git a/oslogin/apiv1/doc.go b/oslogin/apiv1/doc.go index 278ce0bba3cc..c816baee9242 100755 --- a/oslogin/apiv1/doc.go +++ b/oslogin/apiv1/doc.go @@ -20,66 +20,65 @@ // You can use OS Login to manage access to your VM instances using IAM // roles. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := oslogin.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := oslogin.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := oslogin.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &osloginpb.CreateSshPublicKeyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/oslogin/apiv1/osloginpb#CreateSshPublicKeyRequest. -// } -// resp, err := c.CreateSshPublicKey(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := oslogin.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &osloginpb.CreateSshPublicKeyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/oslogin/apiv1/osloginpb#CreateSshPublicKeyRequest. +// } +// resp, err := c.CreateSshPublicKey(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/oslogin/apiv1/os_login_client.go b/oslogin/apiv1/os_login_client.go index 70243f652041..c4cc1cfcbeed 100755 --- a/oslogin/apiv1/os_login_client.go +++ b/oslogin/apiv1/os_login_client.go @@ -243,7 +243,7 @@ type internalClient interface { // Client is a client for interacting with Cloud OS Login API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// # Cloud OS Login API +// Cloud OS Login API // // The Cloud OS Login API allows you to manage users and their associated SSH // public keys for logging into virtual machines on Google Cloud Platform. @@ -337,7 +337,7 @@ type gRPCClient struct { // NewClient creates a new os login service client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// # Cloud OS Login API +// Cloud OS Login API // // The Cloud OS Login API allows you to manage users and their associated SSH // public keys for logging into virtual machines on Google Cloud Platform. @@ -409,7 +409,7 @@ type restClient struct { // NewRESTClient creates a new os login service rest client. // -// # Cloud OS Login API +// Cloud OS Login API // // The Cloud OS Login API allows you to manage users and their associated SSH // public keys for logging into virtual machines on Google Cloud Platform. diff --git a/oslogin/apiv1/osloginpb/oslogin.pb.go b/oslogin/apiv1/osloginpb/oslogin.pb.go index eb909892a0c5..d69f99b6d8c8 100755 --- a/oslogin/apiv1/osloginpb/oslogin.pb.go +++ b/oslogin/apiv1/osloginpb/oslogin.pb.go @@ -21,11 +21,8 @@ package osloginpb import ( - context "context" - reflect "reflect" - sync "sync" - commonpb "cloud.google.com/go/oslogin/common/commonpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/oslogin/apiv1beta/auxiliary.go b/oslogin/apiv1beta/auxiliary.go index 005bb926a097..b1fc1017c802 100755 --- a/oslogin/apiv1beta/auxiliary.go +++ b/oslogin/apiv1beta/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package oslogin + +import () diff --git a/oslogin/apiv1beta/doc.go b/oslogin/apiv1beta/doc.go index fc99b0294e81..d4c6b0fa959f 100755 --- a/oslogin/apiv1beta/doc.go +++ b/oslogin/apiv1beta/doc.go @@ -20,68 +20,67 @@ // You can use OS Login to manage access to your VM instances using IAM // roles. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := oslogin.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := oslogin.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := oslogin.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &osloginpb.CreateSshPublicKeyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/oslogin/apiv1beta/osloginpb#CreateSshPublicKeyRequest. -// } -// resp, err := c.CreateSshPublicKey(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := oslogin.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &osloginpb.CreateSshPublicKeyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/oslogin/apiv1beta/osloginpb#CreateSshPublicKeyRequest. +// } +// resp, err := c.CreateSshPublicKey(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/oslogin/apiv1beta/os_login_client.go b/oslogin/apiv1beta/os_login_client.go index e39f97d0e177..c0af05902351 100755 --- a/oslogin/apiv1beta/os_login_client.go +++ b/oslogin/apiv1beta/os_login_client.go @@ -247,7 +247,7 @@ type internalClient interface { // Client is a client for interacting with Cloud OS Login API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// # Cloud OS Login API +// Cloud OS Login API // // The Cloud OS Login API allows you to manage users and their associated SSH // public keys for logging into virtual machines on Google Cloud Platform. @@ -346,7 +346,7 @@ type gRPCClient struct { // NewClient creates a new os login service client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// # Cloud OS Login API +// Cloud OS Login API // // The Cloud OS Login API allows you to manage users and their associated SSH // public keys for logging into virtual machines on Google Cloud Platform. @@ -418,7 +418,7 @@ type restClient struct { // NewRESTClient creates a new os login service rest client. // -// # Cloud OS Login API +// Cloud OS Login API // // The Cloud OS Login API allows you to manage users and their associated SSH // public keys for logging into virtual machines on Google Cloud Platform. diff --git a/oslogin/apiv1beta/osloginpb/oslogin.pb.go b/oslogin/apiv1beta/osloginpb/oslogin.pb.go index f251433afc13..b25bec02af96 100755 --- a/oslogin/apiv1beta/osloginpb/oslogin.pb.go +++ b/oslogin/apiv1beta/osloginpb/oslogin.pb.go @@ -21,11 +21,8 @@ package osloginpb import ( - context "context" - reflect "reflect" - sync "sync" - commonpb "cloud.google.com/go/oslogin/common/commonpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/oslogin/common/commonpb/common.pb.go b/oslogin/common/commonpb/common.pb.go index 0de3a7391df9..80024d317044 100755 --- a/oslogin/common/commonpb/common.pb.go +++ b/oslogin/common/commonpb/common.pb.go @@ -21,12 +21,11 @@ package commonpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/phishingprotection/apiv1beta1/auxiliary.go b/phishingprotection/apiv1beta1/auxiliary.go index b8aea1745cbf..ebf4c74d1be3 100755 --- a/phishingprotection/apiv1beta1/auxiliary.go +++ b/phishingprotection/apiv1beta1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package phishingprotection + +import () diff --git a/phishingprotection/apiv1beta1/doc.go b/phishingprotection/apiv1beta1/doc.go index d9c41bafbeec..45b261c28650 100755 --- a/phishingprotection/apiv1beta1/doc.go +++ b/phishingprotection/apiv1beta1/doc.go @@ -17,68 +17,67 @@ // Package phishingprotection is an auto-generated package for the // Phishing Protection API. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := phishingprotection.NewPhishingProtectionServiceV1Beta1Client(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := phishingprotection.NewPhishingProtectionServiceV1Beta1Client(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := phishingprotection.NewPhishingProtectionServiceV1Beta1Client(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &phishingprotectionpb.ReportPhishingRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/phishingprotection/apiv1beta1/phishingprotectionpb#ReportPhishingRequest. -// } -// resp, err := c.ReportPhishing(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := phishingprotection.NewPhishingProtectionServiceV1Beta1Client(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &phishingprotectionpb.ReportPhishingRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/phishingprotection/apiv1beta1/phishingprotectionpb#ReportPhishingRequest. +// } +// resp, err := c.ReportPhishing(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewPhishingProtectionServiceV1Beta1Client is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/phishingprotection/apiv1beta1/phishingprotectionpb/phishingprotection.pb.go b/phishingprotection/apiv1beta1/phishingprotectionpb/phishingprotection.pb.go index 305a4d7f621d..ec09caaa1ea7 100755 --- a/phishingprotection/apiv1beta1/phishingprotectionpb/phishingprotection.pb.go +++ b/phishingprotection/apiv1beta1/phishingprotectionpb/phishingprotection.pb.go @@ -23,15 +23,14 @@ package phishingprotectionpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/policysimulator/apiv1/doc.go b/policysimulator/apiv1/doc.go index 51cd02ab753d..b583373c0f28 100755 --- a/policysimulator/apiv1/doc.go +++ b/policysimulator/apiv1/doc.go @@ -25,71 +25,70 @@ // and compares those results to determine how your members’ access might // change under the proposed policy. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := policysimulator.NewSimulatorClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := policysimulator.NewSimulatorClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := policysimulator.NewSimulatorClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &policysimulatorpb.CreateReplayRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/policysimulator/apiv1/policysimulatorpb#CreateReplayRequest. -// } -// op, err := c.CreateReplay(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := policysimulator.NewSimulatorClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &policysimulatorpb.CreateReplayRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/policysimulator/apiv1/policysimulatorpb#CreateReplayRequest. +// } +// op, err := c.CreateReplay(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewSimulatorClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/policysimulator/apiv1/policysimulatorpb/explanations.pb.go b/policysimulator/apiv1/policysimulatorpb/explanations.pb.go index ed8be544481a..15fb3f3f4763 100755 --- a/policysimulator/apiv1/policysimulatorpb/explanations.pb.go +++ b/policysimulator/apiv1/policysimulatorpb/explanations.pb.go @@ -21,14 +21,13 @@ package policysimulatorpb import ( - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" _ "google.golang.org/genproto/googleapis/api/annotations" expr "google.golang.org/genproto/googleapis/type/expr" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/policysimulator/apiv1/policysimulatorpb/simulator.pb.go b/policysimulator/apiv1/policysimulatorpb/simulator.pb.go index e4fc48317fa2..6fb2b0b433c1 100755 --- a/policysimulator/apiv1/policysimulatorpb/simulator.pb.go +++ b/policysimulator/apiv1/policysimulatorpb/simulator.pb.go @@ -21,12 +21,9 @@ package policysimulatorpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" date "google.golang.org/genproto/googleapis/type/date" @@ -36,6 +33,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/policytroubleshooter/apiv1/auxiliary.go b/policytroubleshooter/apiv1/auxiliary.go index c36b8ab72bfc..2dbb1342d72a 100755 --- a/policytroubleshooter/apiv1/auxiliary.go +++ b/policytroubleshooter/apiv1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package policytroubleshooter + +import () diff --git a/policytroubleshooter/apiv1/doc.go b/policytroubleshooter/apiv1/doc.go index 5a105b582b04..66d47a911ac1 100755 --- a/policytroubleshooter/apiv1/doc.go +++ b/policytroubleshooter/apiv1/doc.go @@ -17,66 +17,65 @@ // Package policytroubleshooter is an auto-generated package for the // Policy Troubleshooter API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := policytroubleshooter.NewIamCheckerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := policytroubleshooter.NewIamCheckerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := policytroubleshooter.NewIamCheckerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &policytroubleshooterpb.TroubleshootIamPolicyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/policytroubleshooter/apiv1/policytroubleshooterpb#TroubleshootIamPolicyRequest. -// } -// resp, err := c.TroubleshootIamPolicy(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := policytroubleshooter.NewIamCheckerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &policytroubleshooterpb.TroubleshootIamPolicyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/policytroubleshooter/apiv1/policytroubleshooterpb#TroubleshootIamPolicyRequest. +// } +// resp, err := c.TroubleshootIamPolicy(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewIamCheckerClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/policytroubleshooter/apiv1/policytroubleshooterpb/checker.pb.go b/policytroubleshooter/apiv1/policytroubleshooterpb/checker.pb.go index 02443c7543a6..38f7e2f58e90 100755 --- a/policytroubleshooter/apiv1/policytroubleshooterpb/checker.pb.go +++ b/policytroubleshooter/apiv1/policytroubleshooterpb/checker.pb.go @@ -22,9 +22,6 @@ package policytroubleshooterpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -32,6 +29,8 @@ import ( status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/policytroubleshooter/apiv1/policytroubleshooterpb/explanations.pb.go b/policytroubleshooter/apiv1/policytroubleshooterpb/explanations.pb.go index ed29c0196100..d42dac14bd21 100755 --- a/policytroubleshooter/apiv1/policytroubleshooterpb/explanations.pb.go +++ b/policytroubleshooter/apiv1/policytroubleshooterpb/explanations.pb.go @@ -21,14 +21,13 @@ package policytroubleshooterpb import ( - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" _ "google.golang.org/genproto/googleapis/api/annotations" expr "google.golang.org/genproto/googleapis/type/expr" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/policytroubleshooter/iam/apiv3/auxiliary.go b/policytroubleshooter/iam/apiv3/auxiliary.go index 788f307f7089..c52ee3e8ba81 100755 --- a/policytroubleshooter/iam/apiv3/auxiliary.go +++ b/policytroubleshooter/iam/apiv3/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package iam + +import () diff --git a/policytroubleshooter/iam/apiv3/doc.go b/policytroubleshooter/iam/apiv3/doc.go index 00f437ef283e..a50c3bcfe8f2 100755 --- a/policytroubleshooter/iam/apiv3/doc.go +++ b/policytroubleshooter/iam/apiv3/doc.go @@ -17,66 +17,65 @@ // Package iam is an auto-generated package for the // Policy Troubleshooter API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := iam.NewPolicyTroubleshooterClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := iam.NewPolicyTroubleshooterClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := iam.NewPolicyTroubleshooterClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &iampb.TroubleshootIamPolicyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/policytroubleshooter/iam/apiv3/iampb#TroubleshootIamPolicyRequest. -// } -// resp, err := c.TroubleshootIamPolicy(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := iam.NewPolicyTroubleshooterClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &iampb.TroubleshootIamPolicyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/policytroubleshooter/iam/apiv3/iampb#TroubleshootIamPolicyRequest. +// } +// resp, err := c.TroubleshootIamPolicy(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewPolicyTroubleshooterClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/policytroubleshooter/iam/apiv3/iampb/troubleshooter.pb.go b/policytroubleshooter/iam/apiv3/iampb/troubleshooter.pb.go index 0c276e6dcf49..238a306ec917 100755 --- a/policytroubleshooter/iam/apiv3/iampb/troubleshooter.pb.go +++ b/policytroubleshooter/iam/apiv3/iampb/troubleshooter.pb.go @@ -21,12 +21,9 @@ package iampb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" iampb1 "cloud.google.com/go/iam/apiv2/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" expr "google.golang.org/genproto/googleapis/type/expr" @@ -37,6 +34,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/privatecatalog/apiv1beta1/doc.go b/privatecatalog/apiv1beta1/doc.go index d6411409731f..fadfcf0954c6 100755 --- a/privatecatalog/apiv1beta1/doc.go +++ b/privatecatalog/apiv1beta1/doc.go @@ -20,74 +20,73 @@ // Enable cloud users to discover private catalogs and products in their // organizations. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := privatecatalog.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := privatecatalog.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := privatecatalog.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &privatecatalogpb.SearchCatalogsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/privatecatalog/apiv1beta1/privatecatalogpb#SearchCatalogsRequest. -// } -// it := c.SearchCatalogs(ctx, req) -// for { -// resp, err := it.Next() -// if err == iterator.Done { -// break -// } -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// } -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := privatecatalog.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &privatecatalogpb.SearchCatalogsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/privatecatalog/apiv1beta1/privatecatalogpb#SearchCatalogsRequest. +// } +// it := c.SearchCatalogs(ctx, req) +// for { +// resp, err := it.Next() +// if err == iterator.Done { +// break +// } +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// } +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/privatecatalog/apiv1beta1/privatecatalogpb/private_catalog.pb.go b/privatecatalog/apiv1beta1/privatecatalogpb/private_catalog.pb.go index 2ca247c53fd6..a7406093e1bc 100755 --- a/privatecatalog/apiv1beta1/privatecatalogpb/private_catalog.pb.go +++ b/privatecatalog/apiv1beta1/privatecatalogpb/private_catalog.pb.go @@ -21,11 +21,8 @@ package privatecatalogpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/pubsub/apiv1/doc.go b/pubsub/apiv1/doc.go index b4d360c418a1..5146f9d8da22 100755 --- a/pubsub/apiv1/doc.go +++ b/pubsub/apiv1/doc.go @@ -20,66 +20,65 @@ // Provides reliable, many-to-many, asynchronous messaging between // applications. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := pubsub.NewSchemaClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := pubsub.NewSchemaClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := pubsub.NewSchemaClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &pubsubpb.CommitSchemaRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/pubsub/apiv1/pubsubpb#CommitSchemaRequest. -// } -// resp, err := c.CommitSchema(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := pubsub.NewSchemaClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &pubsubpb.CommitSchemaRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/pubsub/apiv1/pubsubpb#CommitSchemaRequest. +// } +// resp, err := c.CommitSchema(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewSchemaClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/pubsub/apiv1/pubsubpb/pubsub.pb.go b/pubsub/apiv1/pubsubpb/pubsub.pb.go index c5bac0cd88b5..2bbd3d44edc6 100755 --- a/pubsub/apiv1/pubsubpb/pubsub.pb.go +++ b/pubsub/apiv1/pubsubpb/pubsub.pb.go @@ -22,9 +22,6 @@ package pubsubpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/pubsub/apiv1/pubsubpb/schema.pb.go b/pubsub/apiv1/pubsubpb/schema.pb.go index 871d30f005f9..be335ed690d9 100755 --- a/pubsub/apiv1/pubsubpb/schema.pb.go +++ b/pubsub/apiv1/pubsubpb/schema.pb.go @@ -22,9 +22,6 @@ package pubsubpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/pubsublite/apiv1/doc.go b/pubsublite/apiv1/doc.go index 7733a2678166..dbf4e71c380d 100755 --- a/pubsublite/apiv1/doc.go +++ b/pubsublite/apiv1/doc.go @@ -17,66 +17,65 @@ // Package pubsublite is an auto-generated package for the // Pub/Sub Lite API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := pubsublite.NewAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := pubsublite.NewAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := pubsublite.NewAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &pubsublitepb.CreateReservationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/pubsublite/apiv1/pubsublitepb#CreateReservationRequest. -// } -// resp, err := c.CreateReservation(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := pubsublite.NewAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &pubsublitepb.CreateReservationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/pubsublite/apiv1/pubsublitepb#CreateReservationRequest. +// } +// resp, err := c.CreateReservation(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewAdminClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/pubsublite/apiv1/pubsublitepb/admin.pb.go b/pubsublite/apiv1/pubsublitepb/admin.pb.go index a3f38590b5cb..d584a1870cc3 100755 --- a/pubsublite/apiv1/pubsublitepb/admin.pb.go +++ b/pubsublite/apiv1/pubsublitepb/admin.pb.go @@ -21,11 +21,8 @@ package pubsublitepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/pubsublite/apiv1/pubsublitepb/common.pb.go b/pubsublite/apiv1/pubsublitepb/common.pb.go index 894bc6000cb5..6b1606beca6d 100755 --- a/pubsublite/apiv1/pubsublitepb/common.pb.go +++ b/pubsublite/apiv1/pubsublitepb/common.pb.go @@ -21,14 +21,13 @@ package pubsublitepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/pubsublite/apiv1/pubsublitepb/cursor.pb.go b/pubsublite/apiv1/pubsublitepb/cursor.pb.go index cb2349e58ac7..f1f213c361b8 100755 --- a/pubsublite/apiv1/pubsublitepb/cursor.pb.go +++ b/pubsublite/apiv1/pubsublitepb/cursor.pb.go @@ -22,15 +22,14 @@ package pubsublitepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/pubsublite/apiv1/pubsublitepb/publisher.pb.go b/pubsublite/apiv1/pubsublitepb/publisher.pb.go index 522340a7dcfa..78037a88341a 100755 --- a/pubsublite/apiv1/pubsublitepb/publisher.pb.go +++ b/pubsublite/apiv1/pubsublitepb/publisher.pb.go @@ -22,15 +22,14 @@ package pubsublitepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/pubsublite/apiv1/pubsublitepb/subscriber.pb.go b/pubsublite/apiv1/pubsublitepb/subscriber.pb.go index bf5e02030f05..067c7a49b588 100755 --- a/pubsublite/apiv1/pubsublitepb/subscriber.pb.go +++ b/pubsublite/apiv1/pubsublitepb/subscriber.pb.go @@ -22,15 +22,14 @@ package pubsublitepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( @@ -517,10 +516,10 @@ func (*SubscribeRequest_FlowControl) isSubscribeRequest_Request() {} // Response containing a list of messages. Upon delivering a MessageResponse to // the client, the server: -// - Updates the stream's delivery cursor to one greater than the cursor of the -// last message in the list. -// - Subtracts the total number of bytes and messages from the tokens available -// to the server. +// * Updates the stream's delivery cursor to one greater than the cursor of the +// last message in the list. +// * Subtracts the total number of bytes and messages from the tokens available +// to the server. type MessageResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/pubsublite/apiv1/pubsublitepb/topic_stats.pb.go b/pubsublite/apiv1/pubsublitepb/topic_stats.pb.go index a46c08307189..c9018754ccc5 100755 --- a/pubsublite/apiv1/pubsublitepb/topic_stats.pb.go +++ b/pubsublite/apiv1/pubsublitepb/topic_stats.pb.go @@ -22,9 +22,6 @@ package pubsublitepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/rapidmigrationassessment/apiv1/doc.go b/rapidmigrationassessment/apiv1/doc.go index c870d3dd6bd3..f168bfae2ef0 100755 --- a/rapidmigrationassessment/apiv1/doc.go +++ b/rapidmigrationassessment/apiv1/doc.go @@ -20,71 +20,70 @@ // The Rapid Migration Assessment service is our first-party migration // assessment and planning tool. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := rapidmigrationassessment.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := rapidmigrationassessment.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := rapidmigrationassessment.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &rapidmigrationassessmentpb.CreateAnnotationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb#CreateAnnotationRequest. -// } -// op, err := c.CreateAnnotation(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := rapidmigrationassessment.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &rapidmigrationassessmentpb.CreateAnnotationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb#CreateAnnotationRequest. +// } +// op, err := c.CreateAnnotation(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb/api_entities.pb.go b/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb/api_entities.pb.go index 8d4bf7b2ca73..bb19b68dddf3 100755 --- a/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb/api_entities.pb.go +++ b/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb/api_entities.pb.go @@ -21,13 +21,12 @@ package rapidmigrationassessmentpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb/rapidmigrationassessment.pb.go b/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb/rapidmigrationassessment.pb.go index da786ec8f640..b19f0cf107c8 100755 --- a/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb/rapidmigrationassessment.pb.go +++ b/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb/rapidmigrationassessment.pb.go @@ -21,11 +21,8 @@ package rapidmigrationassessmentpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recaptchaenterprise/apiv1/doc.go b/recaptchaenterprise/apiv1/doc.go index 9b2ba086b711..a862f9b736bc 100755 --- a/recaptchaenterprise/apiv1/doc.go +++ b/recaptchaenterprise/apiv1/doc.go @@ -20,66 +20,65 @@ // Help protect your website from fraudulent activity, spam, and abuse // without creating friction. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := recaptchaenterprise.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := recaptchaenterprise.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := recaptchaenterprise.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &recaptchaenterprisepb.AnnotateAssessmentRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/recaptchaenterprise/v2/apiv1/recaptchaenterprisepb#AnnotateAssessmentRequest. -// } -// resp, err := c.AnnotateAssessment(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := recaptchaenterprise.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &recaptchaenterprisepb.AnnotateAssessmentRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/recaptchaenterprise/v2/apiv1/recaptchaenterprisepb#AnnotateAssessmentRequest. +// } +// resp, err := c.AnnotateAssessment(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/recaptchaenterprise/apiv1/recaptchaenterprisepb/recaptchaenterprise.pb.go b/recaptchaenterprise/apiv1/recaptchaenterprisepb/recaptchaenterprise.pb.go index 3f88e4dad3a8..962e22c7aaba 100755 --- a/recaptchaenterprise/apiv1/recaptchaenterprisepb/recaptchaenterprise.pb.go +++ b/recaptchaenterprise/apiv1/recaptchaenterprisepb/recaptchaenterprise.pb.go @@ -22,9 +22,6 @@ package recaptchaenterprisepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recaptchaenterprise/apiv1beta1/auxiliary.go b/recaptchaenterprise/apiv1beta1/auxiliary.go index 92a86451578c..52918170d470 100755 --- a/recaptchaenterprise/apiv1beta1/auxiliary.go +++ b/recaptchaenterprise/apiv1beta1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package recaptchaenterprise + +import () diff --git a/recaptchaenterprise/apiv1beta1/doc.go b/recaptchaenterprise/apiv1beta1/doc.go index 33a1b041d22e..1c9e5ed4154a 100755 --- a/recaptchaenterprise/apiv1beta1/doc.go +++ b/recaptchaenterprise/apiv1beta1/doc.go @@ -20,68 +20,67 @@ // Help protect your website from fraudulent activity, spam, and abuse // without creating friction. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := recaptchaenterprise.NewRecaptchaEnterpriseServiceV1Beta1Client(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := recaptchaenterprise.NewRecaptchaEnterpriseServiceV1Beta1Client(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := recaptchaenterprise.NewRecaptchaEnterpriseServiceV1Beta1Client(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &recaptchaenterprisepb.AnnotateAssessmentRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb#AnnotateAssessmentRequest. -// } -// resp, err := c.AnnotateAssessment(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := recaptchaenterprise.NewRecaptchaEnterpriseServiceV1Beta1Client(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &recaptchaenterprisepb.AnnotateAssessmentRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb#AnnotateAssessmentRequest. +// } +// resp, err := c.AnnotateAssessment(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewRecaptchaEnterpriseServiceV1Beta1Client is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/recaptchaenterprise/apiv1beta1/recaptchaenterprisepb/recaptchaenterprise.pb.go b/recaptchaenterprise/apiv1beta1/recaptchaenterprisepb/recaptchaenterprise.pb.go index 0a40c66d6058..02b06a65dac2 100755 --- a/recaptchaenterprise/apiv1beta1/recaptchaenterprisepb/recaptchaenterprise.pb.go +++ b/recaptchaenterprise/apiv1beta1/recaptchaenterprisepb/recaptchaenterprise.pb.go @@ -22,9 +22,6 @@ package recaptchaenterprisepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommendationengine/apiv1beta1/doc.go b/recommendationengine/apiv1beta1/doc.go index 54cd49b0a2f1..d3c2394579a5 100755 --- a/recommendationengine/apiv1beta1/doc.go +++ b/recommendationengine/apiv1beta1/doc.go @@ -21,68 +21,67 @@ // personalized recommendation systems without requiring a high level of // expertise in machine learning, recommendation system, or Google Cloud. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := recommendationengine.NewCatalogClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := recommendationengine.NewCatalogClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := recommendationengine.NewCatalogClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &recommendationenginepb.CreateCatalogItemRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb#CreateCatalogItemRequest. -// } -// resp, err := c.CreateCatalogItem(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := recommendationengine.NewCatalogClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &recommendationenginepb.CreateCatalogItemRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb#CreateCatalogItemRequest. +// } +// resp, err := c.CreateCatalogItem(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewCatalogClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/catalog.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/catalog.pb.go index 0e7af35ceae5..cbecd7c691ca 100755 --- a/recommendationengine/apiv1beta1/recommendationenginepb/catalog.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/catalog.pb.go @@ -21,12 +21,11 @@ package recommendationenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/catalog_service.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/catalog_service.pb.go index bdeb4c2252f9..dcce27086d93 100755 --- a/recommendationengine/apiv1beta1/recommendationenginepb/catalog_service.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/catalog_service.pb.go @@ -21,11 +21,8 @@ package recommendationenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/common.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/common.pb.go index b6a42685a02b..f1ef9abf4cfc 100755 --- a/recommendationengine/apiv1beta1/recommendationenginepb/common.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/common.pb.go @@ -21,11 +21,10 @@ package recommendationenginepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/import.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/import.pb.go index 53773d4edd6b..326e7643ec1b 100755 --- a/recommendationengine/apiv1beta1/recommendationenginepb/import.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/import.pb.go @@ -21,14 +21,13 @@ package recommendationenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/prediction_apikey_registry_service.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/prediction_apikey_registry_service.pb.go index 9c8b65c4621b..4b36c39fcdcc 100755 --- a/recommendationengine/apiv1beta1/recommendationenginepb/prediction_apikey_registry_service.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/prediction_apikey_registry_service.pb.go @@ -22,9 +22,6 @@ package recommendationenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/prediction_service.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/prediction_service.pb.go index 415033501bca..f85571a83a99 100755 --- a/recommendationengine/apiv1beta1/recommendationenginepb/prediction_service.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/prediction_service.pb.go @@ -22,9 +22,6 @@ package recommendationenginepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/recommendationengine_resources.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/recommendationengine_resources.pb.go index 16207f50f77d..5d4b26116870 100755 --- a/recommendationengine/apiv1beta1/recommendationenginepb/recommendationengine_resources.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/recommendationengine_resources.pb.go @@ -23,11 +23,10 @@ package recommendationenginepb import ( - reflect "reflect" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/user_event.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/user_event.pb.go index 0773de1ad1fa..3cfd07c177af 100755 --- a/recommendationengine/apiv1beta1/recommendationenginepb/user_event.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/user_event.pb.go @@ -21,13 +21,12 @@ package recommendationenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/user_event_service.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/user_event_service.pb.go index 7a6a35c0f27a..306d4a05e4f8 100755 --- a/recommendationengine/apiv1beta1/recommendationenginepb/user_event_service.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/user_event_service.pb.go @@ -21,11 +21,8 @@ package recommendationenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -34,6 +31,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommender/apiv1/doc.go b/recommender/apiv1/doc.go index 79d139efcb3c..90c4598d47a3 100755 --- a/recommender/apiv1/doc.go +++ b/recommender/apiv1/doc.go @@ -17,66 +17,65 @@ // Package recommender is an auto-generated package for the // Recommender API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := recommender.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := recommender.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := recommender.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &recommenderpb.GetInsightRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/recommender/apiv1/recommenderpb#GetInsightRequest. -// } -// resp, err := c.GetInsight(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := recommender.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &recommenderpb.GetInsightRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/recommender/apiv1/recommenderpb#GetInsightRequest. +// } +// resp, err := c.GetInsight(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/recommender/apiv1/recommenderpb/insight.pb.go b/recommender/apiv1/recommenderpb/insight.pb.go index 2aba57407074..9dcf69aa1393 100755 --- a/recommender/apiv1/recommenderpb/insight.pb.go +++ b/recommender/apiv1/recommenderpb/insight.pb.go @@ -21,15 +21,14 @@ package recommenderpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommender/apiv1/recommenderpb/insight_type_config.pb.go b/recommender/apiv1/recommenderpb/insight_type_config.pb.go index 50d77a05956c..dc63dbba3ad3 100755 --- a/recommender/apiv1/recommenderpb/insight_type_config.pb.go +++ b/recommender/apiv1/recommenderpb/insight_type_config.pb.go @@ -21,14 +21,13 @@ package recommenderpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommender/apiv1/recommenderpb/recommendation.pb.go b/recommender/apiv1/recommenderpb/recommendation.pb.go index e634aa656e18..faadc4f0997a 100755 --- a/recommender/apiv1/recommenderpb/recommendation.pb.go +++ b/recommender/apiv1/recommenderpb/recommendation.pb.go @@ -21,9 +21,6 @@ package recommenderpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" money "google.golang.org/genproto/googleapis/type/money" protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -31,6 +28,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -587,12 +586,11 @@ func (x *OperationGroup) GetOperations() []*Operation { // Contains an operation for a resource loosely based on the JSON-PATCH format // with support for: // -// - Custom filters for describing partial array patch. -// - Extended path values for describing nested arrays. -// - Custom fields for describing the resource for which the operation is being -// described. -// - Allows extension to custom operations not natively supported by RFC6902. -// +// * Custom filters for describing partial array patch. +// * Extended path values for describing nested arrays. +// * Custom fields for describing the resource for which the operation is being +// described. +// * Allows extension to custom operations not natively supported by RFC6902. // See https://tools.ietf.org/html/rfc6902 for details on the original RFC. type Operation struct { state protoimpl.MessageState diff --git a/recommender/apiv1/recommenderpb/recommender_config.pb.go b/recommender/apiv1/recommenderpb/recommender_config.pb.go index dce6ccdccbf9..8f72b8a8af30 100755 --- a/recommender/apiv1/recommenderpb/recommender_config.pb.go +++ b/recommender/apiv1/recommenderpb/recommender_config.pb.go @@ -21,14 +21,13 @@ package recommenderpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommender/apiv1/recommenderpb/recommender_service.pb.go b/recommender/apiv1/recommenderpb/recommender_service.pb.go index bc66a1c253df..a3905123bb41 100755 --- a/recommender/apiv1/recommenderpb/recommender_service.pb.go +++ b/recommender/apiv1/recommenderpb/recommender_service.pb.go @@ -22,9 +22,6 @@ package recommenderpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommender/apiv1beta1/doc.go b/recommender/apiv1beta1/doc.go index be904c90810b..ada3adc16622 100755 --- a/recommender/apiv1beta1/doc.go +++ b/recommender/apiv1beta1/doc.go @@ -17,68 +17,67 @@ // Package recommender is an auto-generated package for the // Recommender API. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := recommender.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := recommender.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := recommender.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &recommenderpb.GetInsightRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/recommender/apiv1beta1/recommenderpb#GetInsightRequest. -// } -// resp, err := c.GetInsight(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := recommender.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &recommenderpb.GetInsightRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/recommender/apiv1beta1/recommenderpb#GetInsightRequest. +// } +// resp, err := c.GetInsight(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/recommender/apiv1beta1/recommenderpb/insight.pb.go b/recommender/apiv1beta1/recommenderpb/insight.pb.go index 4136b0c25b20..b0b5a4e57368 100755 --- a/recommender/apiv1beta1/recommenderpb/insight.pb.go +++ b/recommender/apiv1beta1/recommenderpb/insight.pb.go @@ -21,15 +21,14 @@ package recommenderpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommender/apiv1beta1/recommenderpb/insight_type_config.pb.go b/recommender/apiv1beta1/recommenderpb/insight_type_config.pb.go index 77621cfa22ea..ec368abcd661 100755 --- a/recommender/apiv1beta1/recommenderpb/insight_type_config.pb.go +++ b/recommender/apiv1beta1/recommenderpb/insight_type_config.pb.go @@ -21,14 +21,13 @@ package recommenderpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommender/apiv1beta1/recommenderpb/recommendation.pb.go b/recommender/apiv1beta1/recommenderpb/recommendation.pb.go index e2a9b7487c90..67f7a3d323da 100755 --- a/recommender/apiv1beta1/recommenderpb/recommendation.pb.go +++ b/recommender/apiv1beta1/recommenderpb/recommendation.pb.go @@ -21,9 +21,6 @@ package recommenderpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" money "google.golang.org/genproto/googleapis/type/money" protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -31,6 +28,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -525,12 +524,11 @@ func (x *OperationGroup) GetOperations() []*Operation { // Contains an operation for a resource loosely based on the JSON-PATCH format // with support for: // -// - Custom filters for describing partial array patch. -// - Extended path values for describing nested arrays. -// - Custom fields for describing the resource for which the operation is being -// described. -// - Allows extension to custom operations not natively supported by RFC6902. -// +// * Custom filters for describing partial array patch. +// * Extended path values for describing nested arrays. +// * Custom fields for describing the resource for which the operation is being +// described. +// * Allows extension to custom operations not natively supported by RFC6902. // See https://tools.ietf.org/html/rfc6902 for details on the original RFC. type Operation struct { state protoimpl.MessageState diff --git a/recommender/apiv1beta1/recommenderpb/recommender_config.pb.go b/recommender/apiv1beta1/recommenderpb/recommender_config.pb.go index 63692faecde4..1365d918f534 100755 --- a/recommender/apiv1beta1/recommenderpb/recommender_config.pb.go +++ b/recommender/apiv1beta1/recommenderpb/recommender_config.pb.go @@ -21,14 +21,13 @@ package recommenderpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/recommender/apiv1beta1/recommenderpb/recommender_service.pb.go b/recommender/apiv1beta1/recommenderpb/recommender_service.pb.go index 7fedb822bb3d..c72b7d169464 100755 --- a/recommender/apiv1beta1/recommenderpb/recommender_service.pb.go +++ b/recommender/apiv1beta1/recommenderpb/recommender_service.pb.go @@ -22,9 +22,6 @@ package recommenderpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/redis/apiv1/cloud_redis_client.go b/redis/apiv1/cloud_redis_client.go index 0dcfa56e612f..04c30278c27b 100755 --- a/redis/apiv1/cloud_redis_client.go +++ b/redis/apiv1/cloud_redis_client.go @@ -201,26 +201,26 @@ type internalCloudRedisClient interface { // CloudRedisClient is a client for interacting with Google Cloud Memorystore for Redis API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// # Configures and manages Cloud Memorystore for Redis instances +// Configures and manages Cloud Memorystore for Redis instances // -// # Google Cloud Memorystore for Redis v1 +// Google Cloud Memorystore for Redis v1 // // The redis.googleapis.com service implements the Google Cloud Memorystore // for Redis API and defines the following resource model for managing Redis // instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Redis instances, named: /instances/* +// Each location has a collection of Redis instances, named: /instances/* // -// As such, Redis instances are resources of the form: -// /projects/{project_id}/locations/{location_id}/instances/{instance_id} +// As such, Redis instances are resources of the form: +// /projects/{project_id}/locations/{location_id}/instances/{instance_id} // // Note that location_id must be referring to a GCP region; for example: // -// projects/redpepper-1290/locations/us-central1/instances/my-redis +// projects/redpepper-1290/locations/us-central1/instances/my-redis type CloudRedisClient struct { // The internal transport-dependent client. internalClient internalCloudRedisClient @@ -262,7 +262,7 @@ func (c *CloudRedisClient) Connection() *grpc.ClientConn { // // The location should have the following format: // -// projects/{project_id}/locations/{location_id} +// projects/{project_id}/locations/{location_id} // // If location_id is specified as - (wildcard), then all regions // available to the project are queried, and the results are aggregated. @@ -460,26 +460,26 @@ type cloudRedisGRPCClient struct { // NewCloudRedisClient creates a new cloud redis client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// # Configures and manages Cloud Memorystore for Redis instances +// Configures and manages Cloud Memorystore for Redis instances // -// # Google Cloud Memorystore for Redis v1 +// Google Cloud Memorystore for Redis v1 // // The redis.googleapis.com service implements the Google Cloud Memorystore // for Redis API and defines the following resource model for managing Redis // instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Redis instances, named: /instances/* +// Each location has a collection of Redis instances, named: /instances/* // -// As such, Redis instances are resources of the form: -// /projects/{project_id}/locations/{location_id}/instances/{instance_id} +// As such, Redis instances are resources of the form: +// /projects/{project_id}/locations/{location_id}/instances/{instance_id} // // Note that location_id must be referring to a GCP region; for example: // -// projects/redpepper-1290/locations/us-central1/instances/my-redis +// projects/redpepper-1290/locations/us-central1/instances/my-redis func NewCloudRedisClient(ctx context.Context, opts ...option.ClientOption) (*CloudRedisClient, error) { clientOpts := defaultCloudRedisGRPCClientOptions() if newCloudRedisClientHook != nil { @@ -566,26 +566,26 @@ type cloudRedisRESTClient struct { // NewCloudRedisRESTClient creates a new cloud redis rest client. // -// # Configures and manages Cloud Memorystore for Redis instances +// Configures and manages Cloud Memorystore for Redis instances // -// # Google Cloud Memorystore for Redis v1 +// Google Cloud Memorystore for Redis v1 // // The redis.googleapis.com service implements the Google Cloud Memorystore // for Redis API and defines the following resource model for managing Redis // instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Redis instances, named: /instances/* +// Each location has a collection of Redis instances, named: /instances/* // -// As such, Redis instances are resources of the form: -// /projects/{project_id}/locations/{location_id}/instances/{instance_id} +// As such, Redis instances are resources of the form: +// /projects/{project_id}/locations/{location_id}/instances/{instance_id} // // Note that location_id must be referring to a GCP region; for example: // -// projects/redpepper-1290/locations/us-central1/instances/my-redis +// projects/redpepper-1290/locations/us-central1/instances/my-redis func NewCloudRedisRESTClient(ctx context.Context, opts ...option.ClientOption) (*CloudRedisClient, error) { clientOpts := append(defaultCloudRedisRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) @@ -1049,7 +1049,7 @@ func (c *cloudRedisGRPCClient) ListOperations(ctx context.Context, req *longrunn // // The location should have the following format: // -// projects/{project_id}/locations/{location_id} +// projects/{project_id}/locations/{location_id} // // If location_id is specified as - (wildcard), then all regions // available to the project are queried, and the results are aggregated. diff --git a/redis/apiv1/doc.go b/redis/apiv1/doc.go index 2033710a5025..6f13c322285a 100755 --- a/redis/apiv1/doc.go +++ b/redis/apiv1/doc.go @@ -19,71 +19,70 @@ // // Creates and manages Redis instances on the Google Cloud Platform. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := redis.NewCloudRedisClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := redis.NewCloudRedisClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := redis.NewCloudRedisClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &redispb.CreateInstanceRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/redis/apiv1/redispb#CreateInstanceRequest. -// } -// op, err := c.CreateInstance(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := redis.NewCloudRedisClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &redispb.CreateInstanceRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/redis/apiv1/redispb#CreateInstanceRequest. +// } +// op, err := c.CreateInstance(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewCloudRedisClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/redis/apiv1/redispb/cloud_redis.pb.go b/redis/apiv1/redispb/cloud_redis.pb.go index c35a415c1de5..b66734f1573d 100755 --- a/redis/apiv1/redispb/cloud_redis.pb.go +++ b/redis/apiv1/redispb/cloud_redis.pb.go @@ -21,11 +21,8 @@ package redispb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" timeofday "google.golang.org/genproto/googleapis/type/timeofday" @@ -38,6 +35,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/redis/apiv1beta1/cloud_redis_client.go b/redis/apiv1beta1/cloud_redis_client.go index 21d651337711..2b88b6794dd1 100755 --- a/redis/apiv1beta1/cloud_redis_client.go +++ b/redis/apiv1beta1/cloud_redis_client.go @@ -172,26 +172,26 @@ type internalCloudRedisClient interface { // CloudRedisClient is a client for interacting with Google Cloud Memorystore for Redis API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// # Configures and manages Cloud Memorystore for Redis instances +// Configures and manages Cloud Memorystore for Redis instances // -// # Google Cloud Memorystore for Redis v1beta1 +// Google Cloud Memorystore for Redis v1beta1 // // The redis.googleapis.com service implements the Google Cloud Memorystore // for Redis API and defines the following resource model for managing Redis // instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Redis instances, named: /instances/* +// Each location has a collection of Redis instances, named: /instances/* // -// As such, Redis instances are resources of the form: -// /projects/{project_id}/locations/{location_id}/instances/{instance_id} +// As such, Redis instances are resources of the form: +// /projects/{project_id}/locations/{location_id}/instances/{instance_id} // // Note that location_id must be referring to a GCP region; for example: // -// projects/redpepper-1290/locations/us-central1/instances/my-redis +// projects/redpepper-1290/locations/us-central1/instances/my-redis type CloudRedisClient struct { // The internal transport-dependent client. internalClient internalCloudRedisClient @@ -233,7 +233,7 @@ func (c *CloudRedisClient) Connection() *grpc.ClientConn { // // The location should have the following format: // -// projects/{project_id}/locations/{location_id} +// projects/{project_id}/locations/{location_id} // // If location_id is specified as - (wildcard), then all regions // available to the project are queried, and the results are aggregated. @@ -397,26 +397,26 @@ type cloudRedisGRPCClient struct { // NewCloudRedisClient creates a new cloud redis client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// # Configures and manages Cloud Memorystore for Redis instances +// Configures and manages Cloud Memorystore for Redis instances // -// # Google Cloud Memorystore for Redis v1beta1 +// Google Cloud Memorystore for Redis v1beta1 // // The redis.googleapis.com service implements the Google Cloud Memorystore // for Redis API and defines the following resource model for managing Redis // instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Redis instances, named: /instances/* +// Each location has a collection of Redis instances, named: /instances/* // -// As such, Redis instances are resources of the form: -// /projects/{project_id}/locations/{location_id}/instances/{instance_id} +// As such, Redis instances are resources of the form: +// /projects/{project_id}/locations/{location_id}/instances/{instance_id} // // Note that location_id must be referring to a GCP region; for example: // -// projects/redpepper-1290/locations/us-central1/instances/my-redis +// projects/redpepper-1290/locations/us-central1/instances/my-redis func NewCloudRedisClient(ctx context.Context, opts ...option.ClientOption) (*CloudRedisClient, error) { clientOpts := defaultCloudRedisGRPCClientOptions() if newCloudRedisClientHook != nil { @@ -501,26 +501,26 @@ type cloudRedisRESTClient struct { // NewCloudRedisRESTClient creates a new cloud redis rest client. // -// # Configures and manages Cloud Memorystore for Redis instances +// Configures and manages Cloud Memorystore for Redis instances // -// # Google Cloud Memorystore for Redis v1beta1 +// Google Cloud Memorystore for Redis v1beta1 // // The redis.googleapis.com service implements the Google Cloud Memorystore // for Redis API and defines the following resource model for managing Redis // instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Redis instances, named: /instances/* +// Each location has a collection of Redis instances, named: /instances/* // -// As such, Redis instances are resources of the form: -// /projects/{project_id}/locations/{location_id}/instances/{instance_id} +// As such, Redis instances are resources of the form: +// /projects/{project_id}/locations/{location_id}/instances/{instance_id} // // Note that location_id must be referring to a GCP region; for example: // -// projects/redpepper-1290/locations/us-central1/instances/my-redis +// projects/redpepper-1290/locations/us-central1/instances/my-redis func NewCloudRedisRESTClient(ctx context.Context, opts ...option.ClientOption) (*CloudRedisClient, error) { clientOpts := append(defaultCloudRedisRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) @@ -828,7 +828,7 @@ func (c *cloudRedisGRPCClient) RescheduleMaintenance(ctx context.Context, req *r // // The location should have the following format: // -// projects/{project_id}/locations/{location_id} +// projects/{project_id}/locations/{location_id} // // If location_id is specified as - (wildcard), then all regions // available to the project are queried, and the results are aggregated. diff --git a/redis/apiv1beta1/doc.go b/redis/apiv1beta1/doc.go index 0c2688c1cc9b..6e47971e3d79 100755 --- a/redis/apiv1beta1/doc.go +++ b/redis/apiv1beta1/doc.go @@ -19,73 +19,72 @@ // // Creates and manages Redis instances on the Google Cloud Platform. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := redis.NewCloudRedisClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := redis.NewCloudRedisClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := redis.NewCloudRedisClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &redispb.CreateInstanceRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/redis/apiv1beta1/redispb#CreateInstanceRequest. -// } -// op, err := c.CreateInstance(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := redis.NewCloudRedisClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &redispb.CreateInstanceRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/redis/apiv1beta1/redispb#CreateInstanceRequest. +// } +// op, err := c.CreateInstance(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewCloudRedisClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/redis/apiv1beta1/redispb/cloud_redis.pb.go b/redis/apiv1beta1/redispb/cloud_redis.pb.go index a15446217366..8d84c8de4f98 100755 --- a/redis/apiv1beta1/redispb/cloud_redis.pb.go +++ b/redis/apiv1beta1/redispb/cloud_redis.pb.go @@ -21,11 +21,8 @@ package redispb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" timeofday "google.golang.org/genproto/googleapis/type/timeofday" @@ -37,6 +34,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/redis/cluster/apiv1/cloud_redis_cluster_client.go b/redis/cluster/apiv1/cloud_redis_cluster_client.go index 0c69906cd7e1..fb1b0795418b 100755 --- a/redis/cluster/apiv1/cloud_redis_cluster_client.go +++ b/redis/cluster/apiv1/cloud_redis_cluster_client.go @@ -148,36 +148,36 @@ type internalCloudRedisClusterClient interface { // CloudRedisClusterClient is a client for interacting with Google Cloud Memorystore for Redis API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// # Configures and manages Cloud Memorystore for Redis clusters +// Configures and manages Cloud Memorystore for Redis clusters // -// # Google Cloud Memorystore for Redis Cluster +// Google Cloud Memorystore for Redis Cluster // // The redis.googleapis.com service implements the Google Cloud Memorystore // for Redis API and defines the following resource model for managing Redis // clusters: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Redis clusters, named: /clusters/* +// Each location has a collection of Redis clusters, named: /clusters/* // -// As such, Redis clusters are resources of the form: -// /projects/{project_id}/locations/{location_id}/clusters/{instance_id} +// As such, Redis clusters are resources of the form: +// /projects/{project_id}/locations/{location_id}/clusters/{instance_id} // // Note that location_id must be a GCP region; for example: // -// projects/redpepper-1290/locations/us-central1/clusters/my-redis +// projects/redpepper-1290/locations/us-central1/clusters/my-redis // // We use API version selector for Flex APIs // -// The versioning strategy is release-based versioning +// The versioning strategy is release-based versioning // -// Our backend CLH only deals with the superset version (called v1main) +// Our backend CLH only deals with the superset version (called v1main) // -// Existing backend for Redis Gen1 and MRR is not touched. +// Existing backend for Redis Gen1 and MRR is not touched. // -// More details in go/redis-flex-api-versioning +// More details in go/redis-flex-api-versioning type CloudRedisClusterClient struct { // The internal transport-dependent client. internalClient internalCloudRedisClusterClient @@ -219,7 +219,7 @@ func (c *CloudRedisClusterClient) Connection() *grpc.ClientConn { // // The location should have the following format: // -// projects/{project_id}/locations/{location_id} +// projects/{project_id}/locations/{location_id} // // If location_id is specified as - (wildcard), then all regions // available to the project are queried, and the results are aggregated. @@ -336,36 +336,36 @@ type cloudRedisClusterGRPCClient struct { // NewCloudRedisClusterClient creates a new cloud redis cluster client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// # Configures and manages Cloud Memorystore for Redis clusters +// Configures and manages Cloud Memorystore for Redis clusters // -// # Google Cloud Memorystore for Redis Cluster +// Google Cloud Memorystore for Redis Cluster // // The redis.googleapis.com service implements the Google Cloud Memorystore // for Redis API and defines the following resource model for managing Redis // clusters: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Redis clusters, named: /clusters/* +// Each location has a collection of Redis clusters, named: /clusters/* // -// As such, Redis clusters are resources of the form: -// /projects/{project_id}/locations/{location_id}/clusters/{instance_id} +// As such, Redis clusters are resources of the form: +// /projects/{project_id}/locations/{location_id}/clusters/{instance_id} // // Note that location_id must be a GCP region; for example: // -// projects/redpepper-1290/locations/us-central1/clusters/my-redis +// projects/redpepper-1290/locations/us-central1/clusters/my-redis // // We use API version selector for Flex APIs // -// The versioning strategy is release-based versioning +// The versioning strategy is release-based versioning // -// Our backend CLH only deals with the superset version (called v1main) +// Our backend CLH only deals with the superset version (called v1main) // -// Existing backend for Redis Gen1 and MRR is not touched. +// Existing backend for Redis Gen1 and MRR is not touched. // -// More details in go/redis-flex-api-versioning +// More details in go/redis-flex-api-versioning func NewCloudRedisClusterClient(ctx context.Context, opts ...option.ClientOption) (*CloudRedisClusterClient, error) { clientOpts := defaultCloudRedisClusterGRPCClientOptions() if newCloudRedisClusterClientHook != nil { @@ -452,36 +452,36 @@ type cloudRedisClusterRESTClient struct { // NewCloudRedisClusterRESTClient creates a new cloud redis cluster rest client. // -// # Configures and manages Cloud Memorystore for Redis clusters +// Configures and manages Cloud Memorystore for Redis clusters // -// # Google Cloud Memorystore for Redis Cluster +// Google Cloud Memorystore for Redis Cluster // // The redis.googleapis.com service implements the Google Cloud Memorystore // for Redis API and defines the following resource model for managing Redis // clusters: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Redis clusters, named: /clusters/* +// Each location has a collection of Redis clusters, named: /clusters/* // -// As such, Redis clusters are resources of the form: -// /projects/{project_id}/locations/{location_id}/clusters/{instance_id} +// As such, Redis clusters are resources of the form: +// /projects/{project_id}/locations/{location_id}/clusters/{instance_id} // // Note that location_id must be a GCP region; for example: // -// projects/redpepper-1290/locations/us-central1/clusters/my-redis +// projects/redpepper-1290/locations/us-central1/clusters/my-redis // // We use API version selector for Flex APIs // -// The versioning strategy is release-based versioning +// The versioning strategy is release-based versioning // -// Our backend CLH only deals with the superset version (called v1main) +// Our backend CLH only deals with the superset version (called v1main) // -// Existing backend for Redis Gen1 and MRR is not touched. +// Existing backend for Redis Gen1 and MRR is not touched. // -// More details in go/redis-flex-api-versioning +// More details in go/redis-flex-api-versioning func NewCloudRedisClusterRESTClient(ctx context.Context, opts ...option.ClientOption) (*CloudRedisClusterClient, error) { clientOpts := append(defaultCloudRedisClusterRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) @@ -827,7 +827,7 @@ func (c *cloudRedisClusterGRPCClient) ListOperations(ctx context.Context, req *l // // The location should have the following format: // -// projects/{project_id}/locations/{location_id} +// projects/{project_id}/locations/{location_id} // // If location_id is specified as - (wildcard), then all regions // available to the project are queried, and the results are aggregated. diff --git a/redis/cluster/apiv1/clusterpb/cloud_redis_cluster.pb.go b/redis/cluster/apiv1/clusterpb/cloud_redis_cluster.pb.go index 55dae8d1b741..06e36796630e 100755 --- a/redis/cluster/apiv1/clusterpb/cloud_redis_cluster.pb.go +++ b/redis/cluster/apiv1/clusterpb/cloud_redis_cluster.pb.go @@ -21,11 +21,8 @@ package clusterpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/redis/cluster/apiv1/doc.go b/redis/cluster/apiv1/doc.go index a64262c3a60a..2f5e1aa37ec0 100755 --- a/redis/cluster/apiv1/doc.go +++ b/redis/cluster/apiv1/doc.go @@ -19,73 +19,72 @@ // // Creates and manages Redis instances on the Google Cloud Platform. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cluster.NewCloudRedisClusterClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cluster.NewCloudRedisClusterClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cluster.NewCloudRedisClusterClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &clusterpb.CreateClusterRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/redis/cluster/apiv1/clusterpb#CreateClusterRequest. -// } -// op, err := c.CreateCluster(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cluster.NewCloudRedisClusterClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &clusterpb.CreateClusterRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/redis/cluster/apiv1/clusterpb#CreateClusterRequest. +// } +// op, err := c.CreateCluster(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewCloudRedisClusterClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/resourcemanager/apiv2/doc.go b/resourcemanager/apiv2/doc.go index 3341a7584a5d..f7d16afdf811 100755 --- a/resourcemanager/apiv2/doc.go +++ b/resourcemanager/apiv2/doc.go @@ -20,71 +20,70 @@ // Creates, reads, and updates metadata for Google Cloud Platform resource // containers. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := resourcemanager.NewFoldersClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := resourcemanager.NewFoldersClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := resourcemanager.NewFoldersClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &resourcemanagerpb.CreateFolderRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/resourcemanager/apiv2/resourcemanagerpb#CreateFolderRequest. -// } -// op, err := c.CreateFolder(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := resourcemanager.NewFoldersClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &resourcemanagerpb.CreateFolderRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/resourcemanager/apiv2/resourcemanagerpb#CreateFolderRequest. +// } +// op, err := c.CreateFolder(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewFoldersClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/resourcemanager/apiv2/folders_client.go b/resourcemanager/apiv2/folders_client.go index 11b34a0ad777..15df433bc0e7 100755 --- a/resourcemanager/apiv2/folders_client.go +++ b/resourcemanager/apiv2/folders_client.go @@ -204,16 +204,16 @@ func (c *FoldersClient) GetFolder(ctx context.Context, req *resourcemanagerpb.Ge // In order to succeed, the addition of this new Folder must not violate // the Folder naming, height or fanout constraints. // -// The Folder’s display_name must be distinct from all other Folder’s that -// share its parent. +// The Folder’s display_name must be distinct from all other Folder’s that +// share its parent. // -// The addition of the Folder must not cause the active Folder hierarchy -// to exceed a height of 4. Note, the full active + deleted Folder hierarchy -// is allowed to reach a height of 8; this provides additional headroom when -// moving folders that contain deleted folders. +// The addition of the Folder must not cause the active Folder hierarchy +// to exceed a height of 4. Note, the full active + deleted Folder hierarchy +// is allowed to reach a height of 8; this provides additional headroom when +// moving folders that contain deleted folders. // -// The addition of the Folder must not cause the total number of Folders -// under its parent to exceed 100. +// The addition of the Folder must not cause the total number of Folders +// under its parent to exceed 100. // // If the operation fails due to a folder constraint violation, some errors // may be returned by the CreateFolder request, with status code @@ -1024,16 +1024,16 @@ func (c *foldersRESTClient) GetFolder(ctx context.Context, req *resourcemanagerp // In order to succeed, the addition of this new Folder must not violate // the Folder naming, height or fanout constraints. // -// The Folder’s display_name must be distinct from all other Folder’s that -// share its parent. +// The Folder’s display_name must be distinct from all other Folder’s that +// share its parent. // -// The addition of the Folder must not cause the active Folder hierarchy -// to exceed a height of 4. Note, the full active + deleted Folder hierarchy -// is allowed to reach a height of 8; this provides additional headroom when -// moving folders that contain deleted folders. +// The addition of the Folder must not cause the active Folder hierarchy +// to exceed a height of 4. Note, the full active + deleted Folder hierarchy +// is allowed to reach a height of 8; this provides additional headroom when +// moving folders that contain deleted folders. // -// The addition of the Folder must not cause the total number of Folders -// under its parent to exceed 100. +// The addition of the Folder must not cause the total number of Folders +// under its parent to exceed 100. // // If the operation fails due to a folder constraint violation, some errors // may be returned by the CreateFolder request, with status code diff --git a/resourcemanager/apiv2/resourcemanagerpb/folders.pb.go b/resourcemanager/apiv2/resourcemanagerpb/folders.pb.go index f688b5bc920d..055ca9dc83e3 100755 --- a/resourcemanager/apiv2/resourcemanagerpb/folders.pb.go +++ b/resourcemanager/apiv2/resourcemanagerpb/folders.pb.go @@ -22,12 +22,9 @@ package resourcemanagerpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/resourcemanager/apiv3/doc.go b/resourcemanager/apiv3/doc.go index d69f102ec052..e75ba20d6849 100755 --- a/resourcemanager/apiv3/doc.go +++ b/resourcemanager/apiv3/doc.go @@ -20,71 +20,70 @@ // Creates, reads, and updates metadata for Google Cloud Platform resource // containers. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := resourcemanager.NewFoldersClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := resourcemanager.NewFoldersClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := resourcemanager.NewFoldersClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &resourcemanagerpb.CreateFolderRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/resourcemanager/apiv3/resourcemanagerpb#CreateFolderRequest. -// } -// op, err := c.CreateFolder(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := resourcemanager.NewFoldersClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &resourcemanagerpb.CreateFolderRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/resourcemanager/apiv3/resourcemanagerpb#CreateFolderRequest. +// } +// op, err := c.CreateFolder(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewFoldersClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/resourcemanager/apiv3/folders_client.go b/resourcemanager/apiv3/folders_client.go index c13154cd8cc2..d576db16aeba 100755 --- a/resourcemanager/apiv3/folders_client.go +++ b/resourcemanager/apiv3/folders_client.go @@ -304,16 +304,16 @@ func (c *FoldersClient) SearchFolders(ctx context.Context, req *resourcemanagerp // In order to succeed, the addition of this new folder must not violate // the folder naming, height, or fanout constraints. // -// The folder’s display_name must be distinct from all other folders that -// share its parent. +// The folder’s display_name must be distinct from all other folders that +// share its parent. // -// The addition of the folder must not cause the active folder hierarchy -// to exceed a height of 10. Note, the full active + deleted folder hierarchy -// is allowed to reach a height of 20; this provides additional headroom when -// moving folders that contain deleted folders. +// The addition of the folder must not cause the active folder hierarchy +// to exceed a height of 10. Note, the full active + deleted folder hierarchy +// is allowed to reach a height of 20; this provides additional headroom when +// moving folders that contain deleted folders. // -// The addition of the folder must not cause the total number of folders -// under its parent to exceed 300. +// The addition of the folder must not cause the total number of folders +// under its parent to exceed 300. // // If the operation fails due to a folder constraint violation, some errors // may be returned by the CreateFolder request, with status code @@ -1182,16 +1182,16 @@ func (c *foldersRESTClient) SearchFolders(ctx context.Context, req *resourcemana // In order to succeed, the addition of this new folder must not violate // the folder naming, height, or fanout constraints. // -// The folder’s display_name must be distinct from all other folders that -// share its parent. +// The folder’s display_name must be distinct from all other folders that +// share its parent. // -// The addition of the folder must not cause the active folder hierarchy -// to exceed a height of 10. Note, the full active + deleted folder hierarchy -// is allowed to reach a height of 20; this provides additional headroom when -// moving folders that contain deleted folders. +// The addition of the folder must not cause the active folder hierarchy +// to exceed a height of 10. Note, the full active + deleted folder hierarchy +// is allowed to reach a height of 20; this provides additional headroom when +// moving folders that contain deleted folders. // -// The addition of the folder must not cause the total number of folders -// under its parent to exceed 300. +// The addition of the folder must not cause the total number of folders +// under its parent to exceed 300. // // If the operation fails due to a folder constraint violation, some errors // may be returned by the CreateFolder request, with status code diff --git a/resourcemanager/apiv3/projects_client.go b/resourcemanager/apiv3/projects_client.go index 38d750414f23..75d0f29f7742 100755 --- a/resourcemanager/apiv3/projects_client.go +++ b/resourcemanager/apiv3/projects_client.go @@ -432,35 +432,35 @@ func (c *ProjectsClient) GetIamPolicy(ctx context.Context, req *iampb.GetIamPoli // // The following constraints apply when using setIamPolicy(): // -// Project does not support allUsers and allAuthenticatedUsers as -// members in a Binding of a Policy. +// Project does not support allUsers and allAuthenticatedUsers as +// members in a Binding of a Policy. // -// The owner role can be granted to a user, serviceAccount, or a group -// that is part of an organization. For example, -// group@myownpersonaldomain.com (at mailto:group@myownpersonaldomain.com) could be added as an owner to a project in -// the myownpersonaldomain.com (at http://myownpersonaldomain.com) organization, but not the examplepetstore.com (at http://examplepetstore.com) -// organization. +// The owner role can be granted to a user, serviceAccount, or a group +// that is part of an organization. For example, +// group@myownpersonaldomain.com (at mailto:group@myownpersonaldomain.com) could be added as an owner to a project in +// the myownpersonaldomain.com (at http://myownpersonaldomain.com) organization, but not the examplepetstore.com (at http://examplepetstore.com) +// organization. // -// Service accounts can be made owners of a project directly -// without any restrictions. However, to be added as an owner, a user must be -// invited using the Cloud Platform console and must accept the invitation. +// Service accounts can be made owners of a project directly +// without any restrictions. However, to be added as an owner, a user must be +// invited using the Cloud Platform console and must accept the invitation. // -// A user cannot be granted the owner role using setIamPolicy(). The user -// must be granted the owner role using the Cloud Platform Console and must -// explicitly accept the invitation. +// A user cannot be granted the owner role using setIamPolicy(). The user +// must be granted the owner role using the Cloud Platform Console and must +// explicitly accept the invitation. // -// Invitations to grant the owner role cannot be sent using -// setIamPolicy(); -// they must be sent only using the Cloud Platform Console. +// Invitations to grant the owner role cannot be sent using +// setIamPolicy(); +// they must be sent only using the Cloud Platform Console. // -// If the project is not part of an organization, there must be at least -// one owner who has accepted the Terms of Service (ToS) agreement in the -// policy. Calling setIamPolicy() to remove the last ToS-accepted owner -// from the policy will fail. This restriction also applies to legacy -// projects that no longer have owners who have accepted the ToS. Edits to -// IAM policies will be rejected until the lack of a ToS-accepting owner is -// rectified. If the project is part of an organization, you can remove all -// owners, potentially making the organization inaccessible. +// If the project is not part of an organization, there must be at least +// one owner who has accepted the Terms of Service (ToS) agreement in the +// policy. Calling setIamPolicy() to remove the last ToS-accepted owner +// from the policy will fail. This restriction also applies to legacy +// projects that no longer have owners who have accepted the ToS. Edits to +// IAM policies will be rejected until the lack of a ToS-accepting owner is +// rectified. If the project is part of an organization, you can remove all +// owners, potentially making the organization inaccessible. func (c *ProjectsClient) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { return c.internalClient.SetIamPolicy(ctx, req, opts...) } @@ -1678,35 +1678,35 @@ func (c *projectsRESTClient) GetIamPolicy(ctx context.Context, req *iampb.GetIam // // The following constraints apply when using setIamPolicy(): // -// Project does not support allUsers and allAuthenticatedUsers as -// members in a Binding of a Policy. +// Project does not support allUsers and allAuthenticatedUsers as +// members in a Binding of a Policy. // -// The owner role can be granted to a user, serviceAccount, or a group -// that is part of an organization. For example, -// group@myownpersonaldomain.com (at mailto:group@myownpersonaldomain.com) could be added as an owner to a project in -// the myownpersonaldomain.com (at http://myownpersonaldomain.com) organization, but not the examplepetstore.com (at http://examplepetstore.com) -// organization. +// The owner role can be granted to a user, serviceAccount, or a group +// that is part of an organization. For example, +// group@myownpersonaldomain.com (at mailto:group@myownpersonaldomain.com) could be added as an owner to a project in +// the myownpersonaldomain.com (at http://myownpersonaldomain.com) organization, but not the examplepetstore.com (at http://examplepetstore.com) +// organization. // -// Service accounts can be made owners of a project directly -// without any restrictions. However, to be added as an owner, a user must be -// invited using the Cloud Platform console and must accept the invitation. +// Service accounts can be made owners of a project directly +// without any restrictions. However, to be added as an owner, a user must be +// invited using the Cloud Platform console and must accept the invitation. // -// A user cannot be granted the owner role using setIamPolicy(). The user -// must be granted the owner role using the Cloud Platform Console and must -// explicitly accept the invitation. +// A user cannot be granted the owner role using setIamPolicy(). The user +// must be granted the owner role using the Cloud Platform Console and must +// explicitly accept the invitation. // -// Invitations to grant the owner role cannot be sent using -// setIamPolicy(); -// they must be sent only using the Cloud Platform Console. +// Invitations to grant the owner role cannot be sent using +// setIamPolicy(); +// they must be sent only using the Cloud Platform Console. // -// If the project is not part of an organization, there must be at least -// one owner who has accepted the Terms of Service (ToS) agreement in the -// policy. Calling setIamPolicy() to remove the last ToS-accepted owner -// from the policy will fail. This restriction also applies to legacy -// projects that no longer have owners who have accepted the ToS. Edits to -// IAM policies will be rejected until the lack of a ToS-accepting owner is -// rectified. If the project is part of an organization, you can remove all -// owners, potentially making the organization inaccessible. +// If the project is not part of an organization, there must be at least +// one owner who has accepted the Terms of Service (ToS) agreement in the +// policy. Calling setIamPolicy() to remove the last ToS-accepted owner +// from the policy will fail. This restriction also applies to legacy +// projects that no longer have owners who have accepted the ToS. Edits to +// IAM policies will be rejected until the lack of a ToS-accepting owner is +// rectified. If the project is part of an organization, you can remove all +// owners, potentially making the organization inaccessible. func (c *projectsRESTClient) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/resourcemanager/apiv3/resourcemanagerpb/folders.pb.go b/resourcemanager/apiv3/resourcemanagerpb/folders.pb.go index 86cd3d7b71d7..874a504d60f9 100755 --- a/resourcemanager/apiv3/resourcemanagerpb/folders.pb.go +++ b/resourcemanager/apiv3/resourcemanagerpb/folders.pb.go @@ -21,12 +21,9 @@ package resourcemanagerpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/resourcemanager/apiv3/resourcemanagerpb/organizations.pb.go b/resourcemanager/apiv3/resourcemanagerpb/organizations.pb.go index cab091f71887..8d9bd047ddd1 100755 --- a/resourcemanager/apiv3/resourcemanagerpb/organizations.pb.go +++ b/resourcemanager/apiv3/resourcemanagerpb/organizations.pb.go @@ -21,11 +21,8 @@ package resourcemanagerpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/resourcemanager/apiv3/resourcemanagerpb/projects.pb.go b/resourcemanager/apiv3/resourcemanagerpb/projects.pb.go index aad105f93af4..a842974e4673 100755 --- a/resourcemanager/apiv3/resourcemanagerpb/projects.pb.go +++ b/resourcemanager/apiv3/resourcemanagerpb/projects.pb.go @@ -21,12 +21,9 @@ package resourcemanagerpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/resourcemanager/apiv3/resourcemanagerpb/tag_bindings.pb.go b/resourcemanager/apiv3/resourcemanagerpb/tag_bindings.pb.go index 6ff1a0a3965f..7524cdab9f51 100755 --- a/resourcemanager/apiv3/resourcemanagerpb/tag_bindings.pb.go +++ b/resourcemanager/apiv3/resourcemanagerpb/tag_bindings.pb.go @@ -21,11 +21,8 @@ package resourcemanagerpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/resourcemanager/apiv3/resourcemanagerpb/tag_holds.pb.go b/resourcemanager/apiv3/resourcemanagerpb/tag_holds.pb.go index fd922c759d24..ac00f5e68baa 100755 --- a/resourcemanager/apiv3/resourcemanagerpb/tag_holds.pb.go +++ b/resourcemanager/apiv3/resourcemanagerpb/tag_holds.pb.go @@ -21,11 +21,8 @@ package resourcemanagerpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/resourcemanager/apiv3/resourcemanagerpb/tag_keys.pb.go b/resourcemanager/apiv3/resourcemanagerpb/tag_keys.pb.go index 4a08262cbc40..6a585991b24e 100755 --- a/resourcemanager/apiv3/resourcemanagerpb/tag_keys.pb.go +++ b/resourcemanager/apiv3/resourcemanagerpb/tag_keys.pb.go @@ -21,12 +21,9 @@ package resourcemanagerpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/resourcemanager/apiv3/resourcemanagerpb/tag_values.pb.go b/resourcemanager/apiv3/resourcemanagerpb/tag_values.pb.go index 0aa01bb0f75a..fe1162e1ba9c 100755 --- a/resourcemanager/apiv3/resourcemanagerpb/tag_values.pb.go +++ b/resourcemanager/apiv3/resourcemanagerpb/tag_values.pb.go @@ -21,12 +21,9 @@ package resourcemanagerpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/resourcesettings/apiv1/doc.go b/resourcesettings/apiv1/doc.go index 4537b8aa088b..8c7211f89830 100755 --- a/resourcesettings/apiv1/doc.go +++ b/resourcesettings/apiv1/doc.go @@ -21,66 +21,65 @@ // of their GCP resources (e.g., VM, firewall, Project, etc.) across the // Cloud Resource Hierarchy. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := resourcesettings.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := resourcesettings.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := resourcesettings.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &resourcesettingspb.GetSettingRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/resourcesettings/apiv1/resourcesettingspb#GetSettingRequest. -// } -// resp, err := c.GetSetting(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := resourcesettings.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &resourcesettingspb.GetSettingRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/resourcesettings/apiv1/resourcesettingspb#GetSettingRequest. +// } +// resp, err := c.GetSetting(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/resourcesettings/apiv1/resourcesettingspb/resource_settings.pb.go b/resourcesettings/apiv1/resourcesettingspb/resource_settings.pb.go index 15a8d31365a4..7ab6bd4f28fe 100755 --- a/resourcesettings/apiv1/resourcesettingspb/resource_settings.pb.go +++ b/resourcesettings/apiv1/resourcesettingspb/resource_settings.pb.go @@ -22,15 +22,14 @@ package resourcesettingspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/catalog_client.go b/retail/apiv2/catalog_client.go index ecab7c856f8c..35571fc8a76c 100755 --- a/retail/apiv2/catalog_client.go +++ b/retail/apiv2/catalog_client.go @@ -322,13 +322,13 @@ func (c *CatalogClient) UpdateCatalog(ctx context.Context, req *retailpb.UpdateC // // More specifically: // -// PredictionService will only return product IDs from branch {newBranch}. +// PredictionService will only return product IDs from branch {newBranch}. // -// SearchService will only return product IDs from branch {newBranch} -// (if branch is not explicitly set). +// SearchService will only return product IDs from branch {newBranch} +// (if branch is not explicitly set). // -// UserEventService will only join events with products from branch -// {newBranch}. +// UserEventService will only join events with products from branch +// {newBranch}. func (c *CatalogClient) SetDefaultBranch(ctx context.Context, req *retailpb.SetDefaultBranchRequest, opts ...gax.CallOption) error { return c.internalClient.SetDefaultBranch(ctx, req, opts...) } diff --git a/retail/apiv2/doc.go b/retail/apiv2/doc.go index 5c2358f02485..df818829c1e9 100755 --- a/retail/apiv2/doc.go +++ b/retail/apiv2/doc.go @@ -21,66 +21,65 @@ // recommendation systems without requiring a high level of expertise in // machine learning, recommendation system, or Google Cloud. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := retail.NewCatalogClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := retail.NewCatalogClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := retail.NewCatalogClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &retailpb.AddCatalogAttributeRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/retail/apiv2/retailpb#AddCatalogAttributeRequest. -// } -// resp, err := c.AddCatalogAttribute(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := retail.NewCatalogClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &retailpb.AddCatalogAttributeRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/retail/apiv2/retailpb#AddCatalogAttributeRequest. +// } +// resp, err := c.AddCatalogAttribute(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewCatalogClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/retail/apiv2/model_client.go b/retail/apiv2/model_client.go index af5543a23271..602f40a9cbc3 100755 --- a/retail/apiv2/model_client.go +++ b/retail/apiv2/model_client.go @@ -218,13 +218,13 @@ type internalModelClient interface { // // This service allows you to do the following: // -// Initiate training of a model. +// Initiate training of a model. // -// Pause training of an existing model. +// Pause training of an existing model. // -// List all the available models along with their metadata. +// List all the available models along with their metadata. // -// Control their tuning schedule. +// Control their tuning schedule. type ModelClient struct { // The internal transport-dependent client. internalClient internalModelClient @@ -361,13 +361,13 @@ type modelGRPCClient struct { // // This service allows you to do the following: // -// Initiate training of a model. +// Initiate training of a model. // -// Pause training of an existing model. +// Pause training of an existing model. // -// List all the available models along with their metadata. +// List all the available models along with their metadata. // -// Control their tuning schedule. +// Control their tuning schedule. func NewModelClient(ctx context.Context, opts ...option.ClientOption) (*ModelClient, error) { clientOpts := defaultModelGRPCClientOptions() if newModelClientHook != nil { diff --git a/retail/apiv2/retailpb/catalog.pb.go b/retail/apiv2/retailpb/catalog.pb.go index 8b2d8e52e634..7e0c7e3bcdc2 100755 --- a/retail/apiv2/retailpb/catalog.pb.go +++ b/retail/apiv2/retailpb/catalog.pb.go @@ -21,12 +21,11 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/catalog_service.pb.go b/retail/apiv2/retailpb/catalog_service.pb.go index 0f705fbf15fa..3a73c9e0c4ec 100755 --- a/retail/apiv2/retailpb/catalog_service.pb.go +++ b/retail/apiv2/retailpb/catalog_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/common.pb.go b/retail/apiv2/retailpb/common.pb.go index 47288983a57c..28fcd9f41cb2 100755 --- a/retail/apiv2/retailpb/common.pb.go +++ b/retail/apiv2/retailpb/common.pb.go @@ -21,13 +21,12 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -1799,12 +1798,11 @@ func (x *Rule_BoostAction) GetProductsFilter() string { // * Rule Condition: // - No -// [Condition.query_terms][google.cloud.retail.v2.Condition.query_terms] -// provided is a global match. +// [Condition.query_terms][google.cloud.retail.v2.Condition.query_terms] +// provided is a global match. // - 1 or more -// [Condition.query_terms][google.cloud.retail.v2.Condition.query_terms] -// provided are combined with OR operator. -// +// [Condition.query_terms][google.cloud.retail.v2.Condition.query_terms] +// provided are combined with OR operator. // * Action Input: The request query and filter that are applied to the // retrieved products, in addition to any filters already provided with the // SearchRequest. The AND operator is used to combine the query's existing @@ -1877,8 +1875,7 @@ func (x *Rule_FilterAction) GetFilter() string { // // * Rule Condition: // - Must specify -// [Condition.query_terms][google.cloud.retail.v2.Condition.query_terms]. -// +// [Condition.query_terms][google.cloud.retail.v2.Condition.query_terms]. // * Action Input: Request Query // * Action Result: Redirects shopper to provided uri. type Rule_RedirectAction struct { @@ -1932,8 +1929,8 @@ func (x *Rule_RedirectAction) GetRedirectUri() string { // Creates a set of terms that will be treated as synonyms of each other. // Example: synonyms of "sneakers" and "shoes": // -// - "sneakers" will use a synonym of "shoes". -// - "shoes" will use a synonym of "sneakers". +// * "sneakers" will use a synonym of "shoes". +// * "shoes" will use a synonym of "sneakers". type Rule_TwowaySynonymsAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/retail/apiv2/retailpb/completion_service.pb.go b/retail/apiv2/retailpb/completion_service.pb.go index f67d784e55df..6b40e78a2977 100755 --- a/retail/apiv2/retailpb/completion_service.pb.go +++ b/retail/apiv2/retailpb/completion_service.pb.go @@ -21,17 +21,16 @@ package retailpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/control.pb.go b/retail/apiv2/retailpb/control.pb.go index ab8bf2861494..18d5cad117b3 100755 --- a/retail/apiv2/retailpb/control.pb.go +++ b/retail/apiv2/retailpb/control.pb.go @@ -21,12 +21,11 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/control_service.pb.go b/retail/apiv2/retailpb/control_service.pb.go index 9013da6d4128..a727e524d4e4 100755 --- a/retail/apiv2/retailpb/control_service.pb.go +++ b/retail/apiv2/retailpb/control_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/import_config.pb.go b/retail/apiv2/retailpb/import_config.pb.go index f1b353b85895..d85bc7b39d6b 100755 --- a/retail/apiv2/retailpb/import_config.pb.go +++ b/retail/apiv2/retailpb/import_config.pb.go @@ -21,9 +21,6 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" date "google.golang.org/genproto/googleapis/type/date" @@ -31,6 +28,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/model.pb.go b/retail/apiv2/retailpb/model.pb.go index 5f99f0347b2e..4aca5435245a 100755 --- a/retail/apiv2/retailpb/model.pb.go +++ b/retail/apiv2/retailpb/model.pb.go @@ -21,13 +21,12 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/model_service.pb.go b/retail/apiv2/retailpb/model_service.pb.go index 33b3a4f88c62..89523505e051 100755 --- a/retail/apiv2/retailpb/model_service.pb.go +++ b/retail/apiv2/retailpb/model_service.pb.go @@ -21,11 +21,8 @@ package retailpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/prediction_service.pb.go b/retail/apiv2/retailpb/prediction_service.pb.go index 3b35c93a7942..c03df8507d2d 100755 --- a/retail/apiv2/retailpb/prediction_service.pb.go +++ b/retail/apiv2/retailpb/prediction_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/product.pb.go b/retail/apiv2/retailpb/product.pb.go index 5f4a91a97c5c..43d8f1b6b699 100755 --- a/retail/apiv2/retailpb/product.pb.go +++ b/retail/apiv2/retailpb/product.pb.go @@ -21,9 +21,6 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -31,6 +28,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/product_service.pb.go b/retail/apiv2/retailpb/product_service.pb.go index b918d2114448..8801db578a03 100755 --- a/retail/apiv2/retailpb/product_service.pb.go +++ b/retail/apiv2/retailpb/product_service.pb.go @@ -21,11 +21,8 @@ package retailpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/promotion.pb.go b/retail/apiv2/retailpb/promotion.pb.go index f3d9fcb0c2ba..ed6cde8932f2 100755 --- a/retail/apiv2/retailpb/promotion.pb.go +++ b/retail/apiv2/retailpb/promotion.pb.go @@ -21,11 +21,10 @@ package retailpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/purge_config.pb.go b/retail/apiv2/retailpb/purge_config.pb.go index 759995ddcedb..17e850260e5e 100755 --- a/retail/apiv2/retailpb/purge_config.pb.go +++ b/retail/apiv2/retailpb/purge_config.pb.go @@ -21,12 +21,11 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/search_service.pb.go b/retail/apiv2/retailpb/search_service.pb.go index 6754302f2a25..5dd684af4b90 100755 --- a/retail/apiv2/retailpb/search_service.pb.go +++ b/retail/apiv2/retailpb/search_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/serving_config.pb.go b/retail/apiv2/retailpb/serving_config.pb.go index fd40ea7b3505..10972235518e 100755 --- a/retail/apiv2/retailpb/serving_config.pb.go +++ b/retail/apiv2/retailpb/serving_config.pb.go @@ -21,12 +21,11 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/serving_config_service.pb.go b/retail/apiv2/retailpb/serving_config_service.pb.go index 23883b4082ca..a488b6cf89e0 100755 --- a/retail/apiv2/retailpb/serving_config_service.pb.go +++ b/retail/apiv2/retailpb/serving_config_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/user_event.pb.go b/retail/apiv2/retailpb/user_event.pb.go index dbc7743daee8..97d7560df1f5 100755 --- a/retail/apiv2/retailpb/user_event.pb.go +++ b/retail/apiv2/retailpb/user_event.pb.go @@ -21,14 +21,13 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/user_event_service.pb.go b/retail/apiv2/retailpb/user_event_service.pb.go index fc6bc81fee56..cb8f2f74fad2 100755 --- a/retail/apiv2/retailpb/user_event_service.pb.go +++ b/retail/apiv2/retailpb/user_event_service.pb.go @@ -21,11 +21,8 @@ package retailpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/catalog_client.go b/retail/apiv2alpha/catalog_client.go index 3671a36922ff..45c9415c6f99 100755 --- a/retail/apiv2alpha/catalog_client.go +++ b/retail/apiv2alpha/catalog_client.go @@ -505,13 +505,13 @@ func (c *CatalogClient) UpdateCatalog(ctx context.Context, req *retailpb.UpdateC // // More specifically: // -// PredictionService will only return product IDs from branch {newBranch}. +// PredictionService will only return product IDs from branch {newBranch}. // -// SearchService will only return product IDs from branch {newBranch} -// (if branch is not explicitly set). +// SearchService will only return product IDs from branch {newBranch} +// (if branch is not explicitly set). // -// UserEventService will only join events with products from branch -// {newBranch}. +// UserEventService will only join events with products from branch +// {newBranch}. func (c *CatalogClient) SetDefaultBranch(ctx context.Context, req *retailpb.SetDefaultBranchRequest, opts ...gax.CallOption) error { return c.internalClient.SetDefaultBranch(ctx, req, opts...) } @@ -1240,13 +1240,13 @@ func (c *catalogRESTClient) UpdateCatalog(ctx context.Context, req *retailpb.Upd // // More specifically: // -// PredictionService will only return product IDs from branch {newBranch}. +// PredictionService will only return product IDs from branch {newBranch}. // -// SearchService will only return product IDs from branch {newBranch} -// (if branch is not explicitly set). +// SearchService will only return product IDs from branch {newBranch} +// (if branch is not explicitly set). // -// UserEventService will only join events with products from branch -// {newBranch}. +// UserEventService will only join events with products from branch +// {newBranch}. func (c *catalogRESTClient) SetDefaultBranch(ctx context.Context, req *retailpb.SetDefaultBranchRequest, opts ...gax.CallOption) error { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/retail/apiv2alpha/doc.go b/retail/apiv2alpha/doc.go index bd962eb33efb..7af6164233cd 100755 --- a/retail/apiv2alpha/doc.go +++ b/retail/apiv2alpha/doc.go @@ -21,68 +21,67 @@ // recommendation systems without requiring a high level of expertise in // machine learning, recommendation system, or Google Cloud. // -// NOTE: This package is in alpha. It is not stable, and is likely to change. +// NOTE: This package is in alpha. It is not stable, and is likely to change. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := retail.NewCatalogClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := retail.NewCatalogClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := retail.NewCatalogClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &retailpb.AddCatalogAttributeRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/retail/apiv2alpha/retailpb#AddCatalogAttributeRequest. -// } -// resp, err := c.AddCatalogAttribute(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := retail.NewCatalogClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &retailpb.AddCatalogAttributeRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/retail/apiv2alpha/retailpb#AddCatalogAttributeRequest. +// } +// resp, err := c.AddCatalogAttribute(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewCatalogClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/retail/apiv2alpha/model_client.go b/retail/apiv2alpha/model_client.go index 1d6e46f13cc9..38c12525d164 100755 --- a/retail/apiv2alpha/model_client.go +++ b/retail/apiv2alpha/model_client.go @@ -338,13 +338,13 @@ type internalModelClient interface { // // This service allows you to do the following: // -// Initiate training of a model. +// Initiate training of a model. // -// Pause training of an existing model. +// Pause training of an existing model. // -// List all the available models along with their metadata. +// List all the available models along with their metadata. // -// Control their tuning schedule. +// Control their tuning schedule. type ModelClient struct { // The internal transport-dependent client. internalClient internalModelClient @@ -481,13 +481,13 @@ type modelGRPCClient struct { // // This service allows you to do the following: // -// Initiate training of a model. +// Initiate training of a model. // -// Pause training of an existing model. +// Pause training of an existing model. // -// List all the available models along with their metadata. +// List all the available models along with their metadata. // -// Control their tuning schedule. +// Control their tuning schedule. func NewModelClient(ctx context.Context, opts ...option.ClientOption) (*ModelClient, error) { clientOpts := defaultModelGRPCClientOptions() if newModelClientHook != nil { @@ -581,13 +581,13 @@ type modelRESTClient struct { // // This service allows you to do the following: // -// Initiate training of a model. +// Initiate training of a model. // -// Pause training of an existing model. +// Pause training of an existing model. // -// List all the available models along with their metadata. +// List all the available models along with their metadata. // -// Control their tuning schedule. +// Control their tuning schedule. func NewModelRESTClient(ctx context.Context, opts ...option.ClientOption) (*ModelClient, error) { clientOpts := append(defaultModelRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/retail/apiv2alpha/retailpb/catalog.pb.go b/retail/apiv2alpha/retailpb/catalog.pb.go index de7ed64bcefd..c7c9074a0bc2 100755 --- a/retail/apiv2alpha/retailpb/catalog.pb.go +++ b/retail/apiv2alpha/retailpb/catalog.pb.go @@ -21,12 +21,11 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/catalog_service.pb.go b/retail/apiv2alpha/retailpb/catalog_service.pb.go index b63982ab825d..8cccfd3f7a45 100755 --- a/retail/apiv2alpha/retailpb/catalog_service.pb.go +++ b/retail/apiv2alpha/retailpb/catalog_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/common.pb.go b/retail/apiv2alpha/retailpb/common.pb.go index 3c47735ca011..1efc0a4619f3 100755 --- a/retail/apiv2alpha/retailpb/common.pb.go +++ b/retail/apiv2alpha/retailpb/common.pb.go @@ -21,13 +21,12 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -1808,12 +1807,11 @@ func (x *Rule_BoostAction) GetProductsFilter() string { // * Rule Condition: // - No -// [Condition.query_terms][google.cloud.retail.v2alpha.Condition.query_terms] -// provided is a global match. +// [Condition.query_terms][google.cloud.retail.v2alpha.Condition.query_terms] +// provided is a global match. // - 1 or more -// [Condition.query_terms][google.cloud.retail.v2alpha.Condition.query_terms] -// provided are combined with OR operator. -// +// [Condition.query_terms][google.cloud.retail.v2alpha.Condition.query_terms] +// provided are combined with OR operator. // * Action Input: The request query and filter that are applied to the // retrieved products, in addition to any filters already provided with the // SearchRequest. The AND operator is used to combine the query's existing @@ -1887,8 +1885,7 @@ func (x *Rule_FilterAction) GetFilter() string { // // * Rule Condition: // - Must specify -// [Condition.query_terms][google.cloud.retail.v2alpha.Condition.query_terms]. -// +// [Condition.query_terms][google.cloud.retail.v2alpha.Condition.query_terms]. // * Action Input: Request Query // * Action Result: Redirects shopper to provided uri. type Rule_RedirectAction struct { @@ -1942,8 +1939,8 @@ func (x *Rule_RedirectAction) GetRedirectUri() string { // Creates a set of terms that will be treated as synonyms of each other. // Example: synonyms of "sneakers" and "shoes": // -// - "sneakers" will use a synonym of "shoes". -// - "shoes" will use a synonym of "sneakers". +// * "sneakers" will use a synonym of "shoes". +// * "shoes" will use a synonym of "sneakers". type Rule_TwowaySynonymsAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/retail/apiv2alpha/retailpb/completion_service.pb.go b/retail/apiv2alpha/retailpb/completion_service.pb.go index 81d9c54fd93e..f9ba80ae8008 100755 --- a/retail/apiv2alpha/retailpb/completion_service.pb.go +++ b/retail/apiv2alpha/retailpb/completion_service.pb.go @@ -21,17 +21,16 @@ package retailpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/control.pb.go b/retail/apiv2alpha/retailpb/control.pb.go index 6e5d1a1bf22f..f9dad30a48e2 100755 --- a/retail/apiv2alpha/retailpb/control.pb.go +++ b/retail/apiv2alpha/retailpb/control.pb.go @@ -21,12 +21,11 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/control_service.pb.go b/retail/apiv2alpha/retailpb/control_service.pb.go index b3ca72b10659..cd8d62f67f1c 100755 --- a/retail/apiv2alpha/retailpb/control_service.pb.go +++ b/retail/apiv2alpha/retailpb/control_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/export_config.pb.go b/retail/apiv2alpha/retailpb/export_config.pb.go index 6bcd49a24733..3f346edd83c8 100755 --- a/retail/apiv2alpha/retailpb/export_config.pb.go +++ b/retail/apiv2alpha/retailpb/export_config.pb.go @@ -21,14 +21,13 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/import_config.pb.go b/retail/apiv2alpha/retailpb/import_config.pb.go index 5c1e5a0be6a3..c1cd3bf310a3 100755 --- a/retail/apiv2alpha/retailpb/import_config.pb.go +++ b/retail/apiv2alpha/retailpb/import_config.pb.go @@ -21,9 +21,6 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" date "google.golang.org/genproto/googleapis/type/date" @@ -31,6 +28,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/merchant_center_account_link.pb.go b/retail/apiv2alpha/retailpb/merchant_center_account_link.pb.go index 1a1fae422b90..d2fd96558030 100755 --- a/retail/apiv2alpha/retailpb/merchant_center_account_link.pb.go +++ b/retail/apiv2alpha/retailpb/merchant_center_account_link.pb.go @@ -21,13 +21,12 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/merchant_center_account_link_service.pb.go b/retail/apiv2alpha/retailpb/merchant_center_account_link_service.pb.go index 212d4da823a4..19c573d9c7de 100755 --- a/retail/apiv2alpha/retailpb/merchant_center_account_link_service.pb.go +++ b/retail/apiv2alpha/retailpb/merchant_center_account_link_service.pb.go @@ -21,11 +21,8 @@ package retailpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/model.pb.go b/retail/apiv2alpha/retailpb/model.pb.go index d7e0828eb928..8cada4c67e6c 100755 --- a/retail/apiv2alpha/retailpb/model.pb.go +++ b/retail/apiv2alpha/retailpb/model.pb.go @@ -21,13 +21,12 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/model_service.pb.go b/retail/apiv2alpha/retailpb/model_service.pb.go index 3e905185b137..81de23e9f25e 100755 --- a/retail/apiv2alpha/retailpb/model_service.pb.go +++ b/retail/apiv2alpha/retailpb/model_service.pb.go @@ -21,11 +21,8 @@ package retailpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/prediction_service.pb.go b/retail/apiv2alpha/retailpb/prediction_service.pb.go index b0d6a63ff66a..8d81e2120724 100755 --- a/retail/apiv2alpha/retailpb/prediction_service.pb.go +++ b/retail/apiv2alpha/retailpb/prediction_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/product.pb.go b/retail/apiv2alpha/retailpb/product.pb.go index 3142ad7ab53e..c9bc3694cf7c 100755 --- a/retail/apiv2alpha/retailpb/product.pb.go +++ b/retail/apiv2alpha/retailpb/product.pb.go @@ -21,9 +21,6 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -31,6 +28,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/product_service.pb.go b/retail/apiv2alpha/retailpb/product_service.pb.go index fcecdd149ff1..621086e62686 100755 --- a/retail/apiv2alpha/retailpb/product_service.pb.go +++ b/retail/apiv2alpha/retailpb/product_service.pb.go @@ -21,11 +21,8 @@ package retailpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/promotion.pb.go b/retail/apiv2alpha/retailpb/promotion.pb.go index 97d014358bc6..e9601c40ac1e 100755 --- a/retail/apiv2alpha/retailpb/promotion.pb.go +++ b/retail/apiv2alpha/retailpb/promotion.pb.go @@ -21,11 +21,10 @@ package retailpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/purge_config.pb.go b/retail/apiv2alpha/retailpb/purge_config.pb.go index 2d675c6b5922..2fc2482e2e72 100755 --- a/retail/apiv2alpha/retailpb/purge_config.pb.go +++ b/retail/apiv2alpha/retailpb/purge_config.pb.go @@ -21,13 +21,12 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/search_service.pb.go b/retail/apiv2alpha/retailpb/search_service.pb.go index 7f72729d5605..550f82387352 100755 --- a/retail/apiv2alpha/retailpb/search_service.pb.go +++ b/retail/apiv2alpha/retailpb/search_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/serving_config.pb.go b/retail/apiv2alpha/retailpb/serving_config.pb.go index 355d9e88c673..9248b2e42487 100755 --- a/retail/apiv2alpha/retailpb/serving_config.pb.go +++ b/retail/apiv2alpha/retailpb/serving_config.pb.go @@ -21,12 +21,11 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/serving_config_service.pb.go b/retail/apiv2alpha/retailpb/serving_config_service.pb.go index d64f1c98979a..1110ae597b27 100755 --- a/retail/apiv2alpha/retailpb/serving_config_service.pb.go +++ b/retail/apiv2alpha/retailpb/serving_config_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/user_event.pb.go b/retail/apiv2alpha/retailpb/user_event.pb.go index 583cb06c4418..d1de837ff2a4 100755 --- a/retail/apiv2alpha/retailpb/user_event.pb.go +++ b/retail/apiv2alpha/retailpb/user_event.pb.go @@ -21,14 +21,13 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/user_event_service.pb.go b/retail/apiv2alpha/retailpb/user_event_service.pb.go index c7b7a3c38795..a75e8dda20a0 100755 --- a/retail/apiv2alpha/retailpb/user_event_service.pb.go +++ b/retail/apiv2alpha/retailpb/user_event_service.pb.go @@ -21,11 +21,8 @@ package retailpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/catalog_client.go b/retail/apiv2beta/catalog_client.go index 7e2f0365986f..968143bfe057 100755 --- a/retail/apiv2beta/catalog_client.go +++ b/retail/apiv2beta/catalog_client.go @@ -505,13 +505,13 @@ func (c *CatalogClient) UpdateCatalog(ctx context.Context, req *retailpb.UpdateC // // More specifically: // -// PredictionService will only return product IDs from branch {newBranch}. +// PredictionService will only return product IDs from branch {newBranch}. // -// SearchService will only return product IDs from branch {newBranch} -// (if branch is not explicitly set). +// SearchService will only return product IDs from branch {newBranch} +// (if branch is not explicitly set). // -// UserEventService will only join events with products from branch -// {newBranch}. +// UserEventService will only join events with products from branch +// {newBranch}. func (c *CatalogClient) SetDefaultBranch(ctx context.Context, req *retailpb.SetDefaultBranchRequest, opts ...gax.CallOption) error { return c.internalClient.SetDefaultBranch(ctx, req, opts...) } @@ -1240,13 +1240,13 @@ func (c *catalogRESTClient) UpdateCatalog(ctx context.Context, req *retailpb.Upd // // More specifically: // -// PredictionService will only return product IDs from branch {newBranch}. +// PredictionService will only return product IDs from branch {newBranch}. // -// SearchService will only return product IDs from branch {newBranch} -// (if branch is not explicitly set). +// SearchService will only return product IDs from branch {newBranch} +// (if branch is not explicitly set). // -// UserEventService will only join events with products from branch -// {newBranch}. +// UserEventService will only join events with products from branch +// {newBranch}. func (c *catalogRESTClient) SetDefaultBranch(ctx context.Context, req *retailpb.SetDefaultBranchRequest, opts ...gax.CallOption) error { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/retail/apiv2beta/doc.go b/retail/apiv2beta/doc.go index 3cc70874a4f7..bd065b60a15e 100755 --- a/retail/apiv2beta/doc.go +++ b/retail/apiv2beta/doc.go @@ -21,68 +21,67 @@ // recommendation systems without requiring a high level of expertise in // machine learning, recommendation system, or Google Cloud. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := retail.NewCatalogClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := retail.NewCatalogClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := retail.NewCatalogClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &retailpb.AddCatalogAttributeRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/retail/apiv2beta/retailpb#AddCatalogAttributeRequest. -// } -// resp, err := c.AddCatalogAttribute(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := retail.NewCatalogClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &retailpb.AddCatalogAttributeRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/retail/apiv2beta/retailpb#AddCatalogAttributeRequest. +// } +// resp, err := c.AddCatalogAttribute(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewCatalogClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/retail/apiv2beta/model_client.go b/retail/apiv2beta/model_client.go index 6ee51661870d..0a20aa821faf 100755 --- a/retail/apiv2beta/model_client.go +++ b/retail/apiv2beta/model_client.go @@ -154,13 +154,13 @@ type internalModelClient interface { // // This service allows you to do the following: // -// Initiate training of a model. +// Initiate training of a model. // -// Pause training of an existing model. +// Pause training of an existing model. // -// List all the available models along with their metadata. +// List all the available models along with their metadata. // -// Control their tuning schedule. +// Control their tuning schedule. type ModelClient struct { // The internal transport-dependent client. internalClient internalModelClient @@ -297,13 +297,13 @@ type modelGRPCClient struct { // // This service allows you to do the following: // -// Initiate training of a model. +// Initiate training of a model. // -// Pause training of an existing model. +// Pause training of an existing model. // -// List all the available models along with their metadata. +// List all the available models along with their metadata. // -// Control their tuning schedule. +// Control their tuning schedule. func NewModelClient(ctx context.Context, opts ...option.ClientOption) (*ModelClient, error) { clientOpts := defaultModelGRPCClientOptions() if newModelClientHook != nil { @@ -397,13 +397,13 @@ type modelRESTClient struct { // // This service allows you to do the following: // -// Initiate training of a model. +// Initiate training of a model. // -// Pause training of an existing model. +// Pause training of an existing model. // -// List all the available models along with their metadata. +// List all the available models along with their metadata. // -// Control their tuning schedule. +// Control their tuning schedule. func NewModelRESTClient(ctx context.Context, opts ...option.ClientOption) (*ModelClient, error) { clientOpts := append(defaultModelRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/retail/apiv2beta/retailpb/catalog.pb.go b/retail/apiv2beta/retailpb/catalog.pb.go index 4947e10a527b..5d498b15daf1 100755 --- a/retail/apiv2beta/retailpb/catalog.pb.go +++ b/retail/apiv2beta/retailpb/catalog.pb.go @@ -21,12 +21,11 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/catalog_service.pb.go b/retail/apiv2beta/retailpb/catalog_service.pb.go index b612aea81944..344879b31980 100755 --- a/retail/apiv2beta/retailpb/catalog_service.pb.go +++ b/retail/apiv2beta/retailpb/catalog_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/common.pb.go b/retail/apiv2beta/retailpb/common.pb.go index 050e1f264339..effcbe7e2775 100755 --- a/retail/apiv2beta/retailpb/common.pb.go +++ b/retail/apiv2beta/retailpb/common.pb.go @@ -21,13 +21,12 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -1807,12 +1806,11 @@ func (x *Rule_BoostAction) GetProductsFilter() string { // * Rule Condition: // - No -// [Condition.query_terms][google.cloud.retail.v2beta.Condition.query_terms] -// provided is a global match. +// [Condition.query_terms][google.cloud.retail.v2beta.Condition.query_terms] +// provided is a global match. // - 1 or more -// [Condition.query_terms][google.cloud.retail.v2beta.Condition.query_terms] -// provided are combined with OR operator. -// +// [Condition.query_terms][google.cloud.retail.v2beta.Condition.query_terms] +// provided are combined with OR operator. // * Action Input: The request query and filter that are applied to the // retrieved products, in addition to any filters already provided with the // SearchRequest. The AND operator is used to combine the query's existing @@ -1886,8 +1884,7 @@ func (x *Rule_FilterAction) GetFilter() string { // // * Rule Condition: // - Must specify -// [Condition.query_terms][google.cloud.retail.v2beta.Condition.query_terms]. -// +// [Condition.query_terms][google.cloud.retail.v2beta.Condition.query_terms]. // * Action Input: Request Query // * Action Result: Redirects shopper to provided uri. type Rule_RedirectAction struct { @@ -1941,8 +1938,8 @@ func (x *Rule_RedirectAction) GetRedirectUri() string { // Creates a set of terms that will be treated as synonyms of each other. // Example: synonyms of "sneakers" and "shoes": // -// - "sneakers" will use a synonym of "shoes". -// - "shoes" will use a synonym of "sneakers". +// * "sneakers" will use a synonym of "shoes". +// * "shoes" will use a synonym of "sneakers". type Rule_TwowaySynonymsAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/retail/apiv2beta/retailpb/completion_service.pb.go b/retail/apiv2beta/retailpb/completion_service.pb.go index 3062c941ff93..ebc046a7d9fb 100755 --- a/retail/apiv2beta/retailpb/completion_service.pb.go +++ b/retail/apiv2beta/retailpb/completion_service.pb.go @@ -21,17 +21,16 @@ package retailpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/control.pb.go b/retail/apiv2beta/retailpb/control.pb.go index 4f4ea0e8a5cf..ee81d0aaa4ac 100755 --- a/retail/apiv2beta/retailpb/control.pb.go +++ b/retail/apiv2beta/retailpb/control.pb.go @@ -21,12 +21,11 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/control_service.pb.go b/retail/apiv2beta/retailpb/control_service.pb.go index 05bd7fb282f7..a9d090f94e4a 100755 --- a/retail/apiv2beta/retailpb/control_service.pb.go +++ b/retail/apiv2beta/retailpb/control_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/export_config.pb.go b/retail/apiv2beta/retailpb/export_config.pb.go index 30a4603ef8f9..4baf29d2a9cf 100755 --- a/retail/apiv2beta/retailpb/export_config.pb.go +++ b/retail/apiv2beta/retailpb/export_config.pb.go @@ -21,14 +21,13 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/import_config.pb.go b/retail/apiv2beta/retailpb/import_config.pb.go index f3caf45a8dbe..a2ab1ab98233 100755 --- a/retail/apiv2beta/retailpb/import_config.pb.go +++ b/retail/apiv2beta/retailpb/import_config.pb.go @@ -21,9 +21,6 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" date "google.golang.org/genproto/googleapis/type/date" @@ -31,6 +28,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/model.pb.go b/retail/apiv2beta/retailpb/model.pb.go index 775a0e3a3295..946b28e0a8c9 100755 --- a/retail/apiv2beta/retailpb/model.pb.go +++ b/retail/apiv2beta/retailpb/model.pb.go @@ -21,13 +21,12 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/model_service.pb.go b/retail/apiv2beta/retailpb/model_service.pb.go index b6324816ed0d..05622c7cee9e 100755 --- a/retail/apiv2beta/retailpb/model_service.pb.go +++ b/retail/apiv2beta/retailpb/model_service.pb.go @@ -21,11 +21,8 @@ package retailpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/prediction_service.pb.go b/retail/apiv2beta/retailpb/prediction_service.pb.go index 4146b1de4493..69652aab690c 100755 --- a/retail/apiv2beta/retailpb/prediction_service.pb.go +++ b/retail/apiv2beta/retailpb/prediction_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/product.pb.go b/retail/apiv2beta/retailpb/product.pb.go index d0ef5dbf7a02..6780cbde3bd6 100755 --- a/retail/apiv2beta/retailpb/product.pb.go +++ b/retail/apiv2beta/retailpb/product.pb.go @@ -21,9 +21,6 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -31,6 +28,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/product_service.pb.go b/retail/apiv2beta/retailpb/product_service.pb.go index 35e57c415cd2..1e8f6591e716 100755 --- a/retail/apiv2beta/retailpb/product_service.pb.go +++ b/retail/apiv2beta/retailpb/product_service.pb.go @@ -21,11 +21,8 @@ package retailpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/promotion.pb.go b/retail/apiv2beta/retailpb/promotion.pb.go index 8dfbbe4e1d0c..f6faddb0c7dd 100755 --- a/retail/apiv2beta/retailpb/promotion.pb.go +++ b/retail/apiv2beta/retailpb/promotion.pb.go @@ -21,11 +21,10 @@ package retailpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/purge_config.pb.go b/retail/apiv2beta/retailpb/purge_config.pb.go index 648b9226b9ff..68716c678ee8 100755 --- a/retail/apiv2beta/retailpb/purge_config.pb.go +++ b/retail/apiv2beta/retailpb/purge_config.pb.go @@ -21,12 +21,11 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/search_service.pb.go b/retail/apiv2beta/retailpb/search_service.pb.go index 78a8068570a0..e081e97544d6 100755 --- a/retail/apiv2beta/retailpb/search_service.pb.go +++ b/retail/apiv2beta/retailpb/search_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/serving_config.pb.go b/retail/apiv2beta/retailpb/serving_config.pb.go index 488548cf983b..cc977ab4ede4 100755 --- a/retail/apiv2beta/retailpb/serving_config.pb.go +++ b/retail/apiv2beta/retailpb/serving_config.pb.go @@ -21,12 +21,11 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/serving_config_service.pb.go b/retail/apiv2beta/retailpb/serving_config_service.pb.go index b7e49e85e747..489b1c36c725 100755 --- a/retail/apiv2beta/retailpb/serving_config_service.pb.go +++ b/retail/apiv2beta/retailpb/serving_config_service.pb.go @@ -22,9 +22,6 @@ package retailpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/user_event.pb.go b/retail/apiv2beta/retailpb/user_event.pb.go index f8b91390f021..e04ea26c0753 100755 --- a/retail/apiv2beta/retailpb/user_event.pb.go +++ b/retail/apiv2beta/retailpb/user_event.pb.go @@ -21,14 +21,13 @@ package retailpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/user_event_service.pb.go b/retail/apiv2beta/retailpb/user_event_service.pb.go index 07ac0fa5b5f6..b1b910598d09 100755 --- a/retail/apiv2beta/retailpb/user_event_service.pb.go +++ b/retail/apiv2beta/retailpb/user_event_service.pb.go @@ -21,11 +21,8 @@ package retailpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -33,6 +30,8 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/run/apiv2/doc.go b/run/apiv2/doc.go index 67d4191e920f..025979d1a6e9 100755 --- a/run/apiv2/doc.go +++ b/run/apiv2/doc.go @@ -23,71 +23,70 @@ // API standards, as described in https://google.aip.dev/ (at // https://google.aip.dev/). // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := run.NewExecutionsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := run.NewExecutionsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := run.NewExecutionsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &runpb.CancelExecutionRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/run/apiv2/runpb#CancelExecutionRequest. -// } -// op, err := c.CancelExecution(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := run.NewExecutionsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &runpb.CancelExecutionRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/run/apiv2/runpb#CancelExecutionRequest. +// } +// op, err := c.CancelExecution(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewExecutionsClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/run/apiv2/runpb/condition.pb.go b/run/apiv2/runpb/condition.pb.go index c0695161c535..46dbc78e3026 100755 --- a/run/apiv2/runpb/condition.pb.go +++ b/run/apiv2/runpb/condition.pb.go @@ -21,12 +21,11 @@ package runpb 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" + reflect "reflect" + sync "sync" ) const ( diff --git a/run/apiv2/runpb/execution.pb.go b/run/apiv2/runpb/execution.pb.go index e9475a4951e9..68e4a2269f8d 100755 --- a/run/apiv2/runpb/execution.pb.go +++ b/run/apiv2/runpb/execution.pb.go @@ -21,11 +21,8 @@ package runpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" api "google.golang.org/genproto/googleapis/api" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" @@ -34,6 +31,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/run/apiv2/runpb/execution_template.pb.go b/run/apiv2/runpb/execution_template.pb.go index d28b3b55c20a..703ec939a8ed 100755 --- a/run/apiv2/runpb/execution_template.pb.go +++ b/run/apiv2/runpb/execution_template.pb.go @@ -21,12 +21,11 @@ package runpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/run/apiv2/runpb/job.pb.go b/run/apiv2/runpb/job.pb.go index c6bc4581fa82..cb96e5d1772e 100755 --- a/run/apiv2/runpb/job.pb.go +++ b/run/apiv2/runpb/job.pb.go @@ -21,12 +21,9 @@ package runpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" api "google.golang.org/genproto/googleapis/api" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/run/apiv2/runpb/k8s.min.pb.go b/run/apiv2/runpb/k8s.min.pb.go index 5483369eb3d0..4ead647d84ce 100755 --- a/run/apiv2/runpb/k8s.min.pb.go +++ b/run/apiv2/runpb/k8s.min.pb.go @@ -21,12 +21,11 @@ package runpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/run/apiv2/runpb/revision.pb.go b/run/apiv2/runpb/revision.pb.go index 1fa28083fc60..427778ca87b8 100755 --- a/run/apiv2/runpb/revision.pb.go +++ b/run/apiv2/runpb/revision.pb.go @@ -21,11 +21,8 @@ package runpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" api "google.golang.org/genproto/googleapis/api" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/run/apiv2/runpb/revision_template.pb.go b/run/apiv2/runpb/revision_template.pb.go index 46658af32abe..f149224d629f 100755 --- a/run/apiv2/runpb/revision_template.pb.go +++ b/run/apiv2/runpb/revision_template.pb.go @@ -21,13 +21,12 @@ package runpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/run/apiv2/runpb/service.pb.go b/run/apiv2/runpb/service.pb.go index 746c884c8f1c..f6a3d40cafc0 100755 --- a/run/apiv2/runpb/service.pb.go +++ b/run/apiv2/runpb/service.pb.go @@ -21,12 +21,9 @@ package runpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" api "google.golang.org/genproto/googleapis/api" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/run/apiv2/runpb/task.pb.go b/run/apiv2/runpb/task.pb.go index 9b047fa7eb54..1bce0aa22e12 100755 --- a/run/apiv2/runpb/task.pb.go +++ b/run/apiv2/runpb/task.pb.go @@ -22,9 +22,6 @@ package runpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/run/apiv2/runpb/task_template.pb.go b/run/apiv2/runpb/task_template.pb.go index e52ed79baf94..72d95d6da16a 100755 --- a/run/apiv2/runpb/task_template.pb.go +++ b/run/apiv2/runpb/task_template.pb.go @@ -21,13 +21,12 @@ package runpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/run/apiv2/runpb/traffic_target.pb.go b/run/apiv2/runpb/traffic_target.pb.go index d1a13eda8279..d6d632912bfb 100755 --- a/run/apiv2/runpb/traffic_target.pb.go +++ b/run/apiv2/runpb/traffic_target.pb.go @@ -21,12 +21,11 @@ package runpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/run/apiv2/runpb/vendor_settings.pb.go b/run/apiv2/runpb/vendor_settings.pb.go index 37b4b7d467e6..6ac88a1c197b 100755 --- a/run/apiv2/runpb/vendor_settings.pb.go +++ b/run/apiv2/runpb/vendor_settings.pb.go @@ -21,12 +21,11 @@ package runpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/scheduler/apiv1/doc.go b/scheduler/apiv1/doc.go index ecda9292fe6e..828dfb7ea02e 100755 --- a/scheduler/apiv1/doc.go +++ b/scheduler/apiv1/doc.go @@ -19,66 +19,65 @@ // // Creates and manages jobs run on a regular recurring schedule. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := scheduler.NewCloudSchedulerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := scheduler.NewCloudSchedulerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := scheduler.NewCloudSchedulerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &schedulerpb.CreateJobRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/scheduler/apiv1/schedulerpb#CreateJobRequest. -// } -// resp, err := c.CreateJob(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := scheduler.NewCloudSchedulerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &schedulerpb.CreateJobRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/scheduler/apiv1/schedulerpb#CreateJobRequest. +// } +// resp, err := c.CreateJob(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewCloudSchedulerClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/scheduler/apiv1/schedulerpb/cloudscheduler.pb.go b/scheduler/apiv1/schedulerpb/cloudscheduler.pb.go index 31fbacfe41cd..2472d558b8ca 100755 --- a/scheduler/apiv1/schedulerpb/cloudscheduler.pb.go +++ b/scheduler/apiv1/schedulerpb/cloudscheduler.pb.go @@ -22,9 +22,6 @@ package schedulerpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/scheduler/apiv1/schedulerpb/job.pb.go b/scheduler/apiv1/schedulerpb/job.pb.go index 9a0dff04d090..34e7c7a94e26 100755 --- a/scheduler/apiv1/schedulerpb/job.pb.go +++ b/scheduler/apiv1/schedulerpb/job.pb.go @@ -21,15 +21,14 @@ package schedulerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/scheduler/apiv1/schedulerpb/target.pb.go b/scheduler/apiv1/schedulerpb/target.pb.go index b9e93cf83b15..abf76060e720 100755 --- a/scheduler/apiv1/schedulerpb/target.pb.go +++ b/scheduler/apiv1/schedulerpb/target.pb.go @@ -21,12 +21,11 @@ package schedulerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/scheduler/apiv1beta1/doc.go b/scheduler/apiv1beta1/doc.go index ebeb35d868b4..808b47b18714 100755 --- a/scheduler/apiv1beta1/doc.go +++ b/scheduler/apiv1beta1/doc.go @@ -19,68 +19,67 @@ // // Creates and manages jobs run on a regular recurring schedule. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := scheduler.NewCloudSchedulerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := scheduler.NewCloudSchedulerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := scheduler.NewCloudSchedulerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &schedulerpb.CreateJobRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/scheduler/apiv1beta1/schedulerpb#CreateJobRequest. -// } -// resp, err := c.CreateJob(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := scheduler.NewCloudSchedulerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &schedulerpb.CreateJobRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/scheduler/apiv1beta1/schedulerpb#CreateJobRequest. +// } +// resp, err := c.CreateJob(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewCloudSchedulerClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/scheduler/apiv1beta1/schedulerpb/cloudscheduler.pb.go b/scheduler/apiv1beta1/schedulerpb/cloudscheduler.pb.go index 2fd4620758d2..b7c363212f6d 100755 --- a/scheduler/apiv1beta1/schedulerpb/cloudscheduler.pb.go +++ b/scheduler/apiv1beta1/schedulerpb/cloudscheduler.pb.go @@ -22,9 +22,6 @@ package schedulerpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/scheduler/apiv1beta1/schedulerpb/job.pb.go b/scheduler/apiv1beta1/schedulerpb/job.pb.go index b600fab202d1..105c79a82ca5 100755 --- a/scheduler/apiv1beta1/schedulerpb/job.pb.go +++ b/scheduler/apiv1beta1/schedulerpb/job.pb.go @@ -21,15 +21,14 @@ package schedulerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/scheduler/apiv1beta1/schedulerpb/target.pb.go b/scheduler/apiv1beta1/schedulerpb/target.pb.go index e98d3bd758a6..65b32e0ddc4e 100755 --- a/scheduler/apiv1beta1/schedulerpb/target.pb.go +++ b/scheduler/apiv1beta1/schedulerpb/target.pb.go @@ -21,12 +21,11 @@ package schedulerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/secretmanager/apiv1/doc.go b/secretmanager/apiv1/doc.go index 86305897e02c..06dd98e5a4d1 100755 --- a/secretmanager/apiv1/doc.go +++ b/secretmanager/apiv1/doc.go @@ -20,66 +20,65 @@ // Stores sensitive data such as API keys, passwords, and certificates. // Provides convenience while improving security. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := secretmanager.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := secretmanager.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := secretmanager.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &secretmanagerpb.AccessSecretVersionRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/secretmanager/apiv1/secretmanagerpb#AccessSecretVersionRequest. -// } -// resp, err := c.AccessSecretVersion(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := secretmanager.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &secretmanagerpb.AccessSecretVersionRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/secretmanager/apiv1/secretmanagerpb#AccessSecretVersionRequest. +// } +// resp, err := c.AccessSecretVersion(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/secretmanager/apiv1/secret_manager_client.go b/secretmanager/apiv1/secret_manager_client.go index 73dc83a82c57..6a69409d5264 100755 --- a/secretmanager/apiv1/secret_manager_client.go +++ b/secretmanager/apiv1/secret_manager_client.go @@ -218,14 +218,14 @@ type internalClient interface { // Client is a client for interacting with Secret Manager API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// # Secret Manager Service +// Secret Manager Service // // Manages secrets and operations using those secrets. Implements a REST // model with the following objects: // -// Secret +// Secret // -// SecretVersion +// SecretVersion type Client struct { // The internal transport-dependent client. internalClient internalClient @@ -381,14 +381,14 @@ type gRPCClient struct { // NewClient creates a new secret manager service client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// # Secret Manager Service +// Secret Manager Service // // Manages secrets and operations using those secrets. Implements a REST // model with the following objects: // -// Secret +// Secret // -// SecretVersion +// SecretVersion func NewClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { clientOpts := defaultGRPCClientOptions() if newClientHook != nil { @@ -457,14 +457,14 @@ type restClient struct { // NewRESTClient creates a new secret manager service rest client. // -// # Secret Manager Service +// Secret Manager Service // // Manages secrets and operations using those secrets. Implements a REST // model with the following objects: // -// Secret +// Secret // -// SecretVersion +// SecretVersion func NewRESTClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { clientOpts := append(defaultRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/secretmanager/apiv1/secretmanagerpb/resources.pb.go b/secretmanager/apiv1/secretmanagerpb/resources.pb.go index 05e828237503..cd4e792ff41e 100755 --- a/secretmanager/apiv1/secretmanagerpb/resources.pb.go +++ b/secretmanager/apiv1/secretmanagerpb/resources.pb.go @@ -21,14 +21,13 @@ package secretmanagerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/secretmanager/apiv1/secretmanagerpb/service.pb.go b/secretmanager/apiv1/secretmanagerpb/service.pb.go index ac0cf8128eae..2838135ef7e1 100755 --- a/secretmanager/apiv1/secretmanagerpb/service.pb.go +++ b/secretmanager/apiv1/secretmanagerpb/service.pb.go @@ -21,11 +21,8 @@ package secretmanagerpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securesourcemanager/apiv1/doc.go b/securesourcemanager/apiv1/doc.go index ff9c36ac4700..b592402cdc7a 100755 --- a/securesourcemanager/apiv1/doc.go +++ b/securesourcemanager/apiv1/doc.go @@ -20,73 +20,72 @@ // Regionally deployed, single-tenant managed source code repository hosted // on Google Cloud. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := securesourcemanager.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := securesourcemanager.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := securesourcemanager.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &securesourcemanagerpb.CreateInstanceRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/securesourcemanager/apiv1/securesourcemanagerpb#CreateInstanceRequest. -// } -// op, err := c.CreateInstance(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := securesourcemanager.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &securesourcemanagerpb.CreateInstanceRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/securesourcemanager/apiv1/securesourcemanagerpb#CreateInstanceRequest. +// } +// op, err := c.CreateInstance(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/securesourcemanager/apiv1/secure_source_manager_client.go b/securesourcemanager/apiv1/secure_source_manager_client.go index 4a8f1311e1ba..3e1ee306d1b1 100755 --- a/securesourcemanager/apiv1/secure_source_manager_client.go +++ b/securesourcemanager/apiv1/secure_source_manager_client.go @@ -272,7 +272,7 @@ type internalClient interface { // Client is a client for interacting with Secure Source Manager API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// # Secure Source Manager API +// Secure Source Manager API // // Access Secure Source Manager instances, resources, and repositories. // @@ -499,7 +499,7 @@ type gRPCClient struct { // NewClient creates a new secure source manager client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// # Secure Source Manager API +// Secure Source Manager API // // Access Secure Source Manager instances, resources, and repositories. // @@ -602,7 +602,7 @@ type restClient struct { // NewRESTClient creates a new secure source manager rest client. // -// # Secure Source Manager API +// Secure Source Manager API // // Access Secure Source Manager instances, resources, and repositories. // diff --git a/securesourcemanager/apiv1/securesourcemanagerpb/secure_source_manager.pb.go b/securesourcemanager/apiv1/securesourcemanagerpb/secure_source_manager.pb.go index ef3456141a67..92ac33fd15fd 100755 --- a/securesourcemanager/apiv1/securesourcemanagerpb/secure_source_manager.pb.go +++ b/securesourcemanager/apiv1/securesourcemanagerpb/secure_source_manager.pb.go @@ -21,12 +21,9 @@ package securesourcemanagerpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/security/privateca/apiv1/doc.go b/security/privateca/apiv1/doc.go index 4109d0334273..f92e2c4d9f42 100755 --- a/security/privateca/apiv1/doc.go +++ b/security/privateca/apiv1/doc.go @@ -22,71 +22,70 @@ // private certificate authorities (CAs) while staying in control of your // private keys. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := privateca.NewCertificateAuthorityClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := privateca.NewCertificateAuthorityClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := privateca.NewCertificateAuthorityClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &privatecapb.ActivateCertificateAuthorityRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/security/privateca/apiv1/privatecapb#ActivateCertificateAuthorityRequest. -// } -// op, err := c.ActivateCertificateAuthority(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := privateca.NewCertificateAuthorityClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &privatecapb.ActivateCertificateAuthorityRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/security/privateca/apiv1/privatecapb#ActivateCertificateAuthorityRequest. +// } +// op, err := c.ActivateCertificateAuthority(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewCertificateAuthorityClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/security/privateca/apiv1/privatecapb/resources.pb.go b/security/privateca/apiv1/privatecapb/resources.pb.go index 205b30c3c2dc..eb780f7fb97e 100755 --- a/security/privateca/apiv1/privatecapb/resources.pb.go +++ b/security/privateca/apiv1/privatecapb/resources.pb.go @@ -21,15 +21,14 @@ package privatecapb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" expr "google.golang.org/genproto/googleapis/type/expr" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/security/privateca/apiv1/privatecapb/service.pb.go b/security/privateca/apiv1/privatecapb/service.pb.go index 8097d19e201a..8db793f934ac 100755 --- a/security/privateca/apiv1/privatecapb/service.pb.go +++ b/security/privateca/apiv1/privatecapb/service.pb.go @@ -21,11 +21,8 @@ package privatecapb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/security/publicca/apiv1beta1/auxiliary.go b/security/publicca/apiv1beta1/auxiliary.go index 54c1b9535dfe..9b25f2c4c416 100755 --- a/security/publicca/apiv1beta1/auxiliary.go +++ b/security/publicca/apiv1beta1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package publicca + +import () diff --git a/security/publicca/apiv1beta1/doc.go b/security/publicca/apiv1beta1/doc.go index 0408b4ab63b3..9535bc18c59d 100755 --- a/security/publicca/apiv1beta1/doc.go +++ b/security/publicca/apiv1beta1/doc.go @@ -21,68 +21,67 @@ // external account binding keys associated with Google Trust Services’ // publicly trusted certificate authority. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := publicca.NewPublicCertificateAuthorityClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := publicca.NewPublicCertificateAuthorityClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := publicca.NewPublicCertificateAuthorityClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &publiccapb.CreateExternalAccountKeyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/security/publicca/apiv1beta1/publiccapb#CreateExternalAccountKeyRequest. -// } -// resp, err := c.CreateExternalAccountKey(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := publicca.NewPublicCertificateAuthorityClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &publiccapb.CreateExternalAccountKeyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/security/publicca/apiv1beta1/publiccapb#CreateExternalAccountKeyRequest. +// } +// resp, err := c.CreateExternalAccountKey(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewPublicCertificateAuthorityClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/security/publicca/apiv1beta1/publiccapb/resources.pb.go b/security/publicca/apiv1beta1/publiccapb/resources.pb.go index 6a4c278f8c10..7661b8322f68 100755 --- a/security/publicca/apiv1beta1/publiccapb/resources.pb.go +++ b/security/publicca/apiv1beta1/publiccapb/resources.pb.go @@ -21,12 +21,11 @@ package publiccapb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/security/publicca/apiv1beta1/publiccapb/service.pb.go b/security/publicca/apiv1beta1/publiccapb/service.pb.go index b8c1db6159c4..de7cd899b364 100755 --- a/security/publicca/apiv1beta1/publiccapb/service.pb.go +++ b/security/publicca/apiv1beta1/publiccapb/service.pb.go @@ -22,15 +22,14 @@ package publiccapb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/doc.go b/securitycenter/apiv1/doc.go index 10547822b858..0ffec4109c67 100755 --- a/securitycenter/apiv1/doc.go +++ b/securitycenter/apiv1/doc.go @@ -20,71 +20,70 @@ // Security Command Center API provides access to temporal views of assets // and findings within an organization. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := securitycenter.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := securitycenter.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := securitycenter.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &securitycenterpb.BulkMuteFindingsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/securitycenter/apiv1/securitycenterpb#BulkMuteFindingsRequest. -// } -// op, err := c.BulkMuteFindings(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := securitycenter.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &securitycenterpb.BulkMuteFindingsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/securitycenter/apiv1/securitycenterpb#BulkMuteFindingsRequest. +// } +// op, err := c.BulkMuteFindings(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/securitycenter/apiv1/securitycenterpb/access.pb.go b/securitycenter/apiv1/securitycenterpb/access.pb.go index 5fab4b8c36fe..648a8f46000a 100755 --- a/securitycenter/apiv1/securitycenterpb/access.pb.go +++ b/securitycenter/apiv1/securitycenterpb/access.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/asset.pb.go b/securitycenter/apiv1/securitycenterpb/asset.pb.go index 671ce470850d..257b28d911bf 100755 --- a/securitycenter/apiv1/securitycenterpb/asset.pb.go +++ b/securitycenter/apiv1/securitycenterpb/asset.pb.go @@ -21,14 +21,13 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/bigquery_export.pb.go b/securitycenter/apiv1/securitycenterpb/bigquery_export.pb.go index 8171d4924d30..285ed6013333 100755 --- a/securitycenter/apiv1/securitycenterpb/bigquery_export.pb.go +++ b/securitycenter/apiv1/securitycenterpb/bigquery_export.pb.go @@ -21,13 +21,12 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/cloud_dlp_data_profile.pb.go b/securitycenter/apiv1/securitycenterpb/cloud_dlp_data_profile.pb.go index 8e69d5e8db04..03cfe5f2af39 100755 --- a/securitycenter/apiv1/securitycenterpb/cloud_dlp_data_profile.pb.go +++ b/securitycenter/apiv1/securitycenterpb/cloud_dlp_data_profile.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/cloud_dlp_inspection.pb.go b/securitycenter/apiv1/securitycenterpb/cloud_dlp_inspection.pb.go index 010c6052a417..1e852b394b11 100755 --- a/securitycenter/apiv1/securitycenterpb/cloud_dlp_inspection.pb.go +++ b/securitycenter/apiv1/securitycenterpb/cloud_dlp_inspection.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/compliance.pb.go b/securitycenter/apiv1/securitycenterpb/compliance.pb.go index eae85ad5912d..adc392b90171 100755 --- a/securitycenter/apiv1/securitycenterpb/compliance.pb.go +++ b/securitycenter/apiv1/securitycenterpb/compliance.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/connection.pb.go b/securitycenter/apiv1/securitycenterpb/connection.pb.go index cb38f8c165ca..d6c0ecda2716 100755 --- a/securitycenter/apiv1/securitycenterpb/connection.pb.go +++ b/securitycenter/apiv1/securitycenterpb/connection.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/contact_details.pb.go b/securitycenter/apiv1/securitycenterpb/contact_details.pb.go index 2e90cb65f937..08b22ae8d366 100755 --- a/securitycenter/apiv1/securitycenterpb/contact_details.pb.go +++ b/securitycenter/apiv1/securitycenterpb/contact_details.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/container.pb.go b/securitycenter/apiv1/securitycenterpb/container.pb.go index e7fb3ff0a15c..20d451b4f0ab 100755 --- a/securitycenter/apiv1/securitycenterpb/container.pb.go +++ b/securitycenter/apiv1/securitycenterpb/container.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/database.pb.go b/securitycenter/apiv1/securitycenterpb/database.pb.go index fd16e3cb4242..87cf189665ce 100755 --- a/securitycenter/apiv1/securitycenterpb/database.pb.go +++ b/securitycenter/apiv1/securitycenterpb/database.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/effective_security_health_analytics_custom_module.pb.go b/securitycenter/apiv1/securitycenterpb/effective_security_health_analytics_custom_module.pb.go index b87bb5a0c5be..bfd239c36947 100755 --- a/securitycenter/apiv1/securitycenterpb/effective_security_health_analytics_custom_module.pb.go +++ b/securitycenter/apiv1/securitycenterpb/effective_security_health_analytics_custom_module.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/exfiltration.pb.go b/securitycenter/apiv1/securitycenterpb/exfiltration.pb.go index 37ba54fe8e16..658bfa0f8849 100755 --- a/securitycenter/apiv1/securitycenterpb/exfiltration.pb.go +++ b/securitycenter/apiv1/securitycenterpb/exfiltration.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/external_system.pb.go b/securitycenter/apiv1/securitycenterpb/external_system.pb.go index 082c8f4d97d9..632a7f6f644b 100755 --- a/securitycenter/apiv1/securitycenterpb/external_system.pb.go +++ b/securitycenter/apiv1/securitycenterpb/external_system.pb.go @@ -21,13 +21,12 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/file.pb.go b/securitycenter/apiv1/securitycenterpb/file.pb.go index 04ec06fcea12..571b9d5643d4 100755 --- a/securitycenter/apiv1/securitycenterpb/file.pb.go +++ b/securitycenter/apiv1/securitycenterpb/file.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/finding.pb.go b/securitycenter/apiv1/securitycenterpb/finding.pb.go index 94a1a90a19b3..37bb33924dce 100755 --- a/securitycenter/apiv1/securitycenterpb/finding.pb.go +++ b/securitycenter/apiv1/securitycenterpb/finding.pb.go @@ -21,14 +21,13 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/folder.pb.go b/securitycenter/apiv1/securitycenterpb/folder.pb.go index c1502d73e7ff..f11cac2abc2f 100755 --- a/securitycenter/apiv1/securitycenterpb/folder.pb.go +++ b/securitycenter/apiv1/securitycenterpb/folder.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/iam_binding.pb.go b/securitycenter/apiv1/securitycenterpb/iam_binding.pb.go index ec73be65433d..ac09daffe0e6 100755 --- a/securitycenter/apiv1/securitycenterpb/iam_binding.pb.go +++ b/securitycenter/apiv1/securitycenterpb/iam_binding.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/indicator.pb.go b/securitycenter/apiv1/securitycenterpb/indicator.pb.go index ae67aee28e29..6f95c2f9678e 100755 --- a/securitycenter/apiv1/securitycenterpb/indicator.pb.go +++ b/securitycenter/apiv1/securitycenterpb/indicator.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/kernel_rootkit.pb.go b/securitycenter/apiv1/securitycenterpb/kernel_rootkit.pb.go index b8362f8f98fb..bf7ca334d793 100755 --- a/securitycenter/apiv1/securitycenterpb/kernel_rootkit.pb.go +++ b/securitycenter/apiv1/securitycenterpb/kernel_rootkit.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/kubernetes.pb.go b/securitycenter/apiv1/securitycenterpb/kubernetes.pb.go index e75ff7dd2dd9..7f9f7a3f6ffd 100755 --- a/securitycenter/apiv1/securitycenterpb/kubernetes.pb.go +++ b/securitycenter/apiv1/securitycenterpb/kubernetes.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/label.pb.go b/securitycenter/apiv1/securitycenterpb/label.pb.go index 17d09af4dea0..8fcb49f08675 100755 --- a/securitycenter/apiv1/securitycenterpb/label.pb.go +++ b/securitycenter/apiv1/securitycenterpb/label.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/mitre_attack.pb.go b/securitycenter/apiv1/securitycenterpb/mitre_attack.pb.go index cf7608ce8764..e9bff8b94393 100755 --- a/securitycenter/apiv1/securitycenterpb/mitre_attack.pb.go +++ b/securitycenter/apiv1/securitycenterpb/mitre_attack.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/mute_config.pb.go b/securitycenter/apiv1/securitycenterpb/mute_config.pb.go index a2f88bfb349b..450bb462f5d0 100755 --- a/securitycenter/apiv1/securitycenterpb/mute_config.pb.go +++ b/securitycenter/apiv1/securitycenterpb/mute_config.pb.go @@ -21,13 +21,12 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/notification_config.pb.go b/securitycenter/apiv1/securitycenterpb/notification_config.pb.go index 8904870e389d..8b9c8f0fe1da 100755 --- a/securitycenter/apiv1/securitycenterpb/notification_config.pb.go +++ b/securitycenter/apiv1/securitycenterpb/notification_config.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/notification_message.pb.go b/securitycenter/apiv1/securitycenterpb/notification_message.pb.go index a3e6e6999e6a..9d2a204c75be 100755 --- a/securitycenter/apiv1/securitycenterpb/notification_message.pb.go +++ b/securitycenter/apiv1/securitycenterpb/notification_message.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/organization_settings.pb.go b/securitycenter/apiv1/securitycenterpb/organization_settings.pb.go index c73854ec00fc..cbfd825dd97e 100755 --- a/securitycenter/apiv1/securitycenterpb/organization_settings.pb.go +++ b/securitycenter/apiv1/securitycenterpb/organization_settings.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/process.pb.go b/securitycenter/apiv1/securitycenterpb/process.pb.go index e73eab1578c6..f5def7b557f2 100755 --- a/securitycenter/apiv1/securitycenterpb/process.pb.go +++ b/securitycenter/apiv1/securitycenterpb/process.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/resource.pb.go b/securitycenter/apiv1/securitycenterpb/resource.pb.go index 2875a3292f3d..8e73cd4571b0 100755 --- a/securitycenter/apiv1/securitycenterpb/resource.pb.go +++ b/securitycenter/apiv1/securitycenterpb/resource.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/run_asset_discovery_response.pb.go b/securitycenter/apiv1/securitycenterpb/run_asset_discovery_response.pb.go index 52763d63e251..4eb7699c696c 100755 --- a/securitycenter/apiv1/securitycenterpb/run_asset_discovery_response.pb.go +++ b/securitycenter/apiv1/securitycenterpb/run_asset_discovery_response.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/security_health_analytics_custom_config.pb.go b/securitycenter/apiv1/securitycenterpb/security_health_analytics_custom_config.pb.go index 76daa6d7881e..c25b3d0c60ba 100755 --- a/securitycenter/apiv1/securitycenterpb/security_health_analytics_custom_config.pb.go +++ b/securitycenter/apiv1/securitycenterpb/security_health_analytics_custom_config.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - expr "google.golang.org/genproto/googleapis/type/expr" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/security_health_analytics_custom_module.pb.go b/securitycenter/apiv1/securitycenterpb/security_health_analytics_custom_module.pb.go index e95fcb73f883..07b648f8ca00 100755 --- a/securitycenter/apiv1/securitycenterpb/security_health_analytics_custom_module.pb.go +++ b/securitycenter/apiv1/securitycenterpb/security_health_analytics_custom_module.pb.go @@ -21,13 +21,12 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/security_marks.pb.go b/securitycenter/apiv1/securitycenterpb/security_marks.pb.go index b34c611d11c3..6efa4f33d8ab 100755 --- a/securitycenter/apiv1/securitycenterpb/security_marks.pb.go +++ b/securitycenter/apiv1/securitycenterpb/security_marks.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/securitycenter_service.pb.go b/securitycenter/apiv1/securitycenterpb/securitycenter_service.pb.go index aa651a8ad779..23b93dc85b5a 100755 --- a/securitycenter/apiv1/securitycenterpb/securitycenter_service.pb.go +++ b/securitycenter/apiv1/securitycenterpb/securitycenter_service.pb.go @@ -21,12 +21,9 @@ package securitycenterpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -39,6 +36,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/source.pb.go b/securitycenter/apiv1/securitycenterpb/source.pb.go index 6bbb92b93c4c..7e66a2d34487 100755 --- a/securitycenter/apiv1/securitycenterpb/source.pb.go +++ b/securitycenter/apiv1/securitycenterpb/source.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/vulnerability.pb.go b/securitycenter/apiv1/securitycenterpb/vulnerability.pb.go index 6ce808c8d0dd..b22a62ed038d 100755 --- a/securitycenter/apiv1/securitycenterpb/vulnerability.pb.go +++ b/securitycenter/apiv1/securitycenterpb/vulnerability.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1beta1/doc.go b/securitycenter/apiv1beta1/doc.go index 35f32b5cbacb..6e3905043965 100755 --- a/securitycenter/apiv1beta1/doc.go +++ b/securitycenter/apiv1beta1/doc.go @@ -20,68 +20,67 @@ // Security Command Center API provides access to temporal views of assets // and findings within an organization. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := securitycenter.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := securitycenter.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := securitycenter.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &securitycenterpb.CreateFindingRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/securitycenter/apiv1beta1/securitycenterpb#CreateFindingRequest. -// } -// resp, err := c.CreateFinding(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := securitycenter.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &securitycenterpb.CreateFindingRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/securitycenter/apiv1beta1/securitycenterpb#CreateFindingRequest. +// } +// resp, err := c.CreateFinding(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/securitycenter/apiv1beta1/securitycenterpb/asset.pb.go b/securitycenter/apiv1beta1/securitycenterpb/asset.pb.go index cb2e0d2f1e78..4f2218592d2b 100755 --- a/securitycenter/apiv1beta1/securitycenterpb/asset.pb.go +++ b/securitycenter/apiv1beta1/securitycenterpb/asset.pb.go @@ -21,14 +21,13 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1beta1/securitycenterpb/finding.pb.go b/securitycenter/apiv1beta1/securitycenterpb/finding.pb.go index c81b6447e56e..49316ac52fdd 100755 --- a/securitycenter/apiv1beta1/securitycenterpb/finding.pb.go +++ b/securitycenter/apiv1beta1/securitycenterpb/finding.pb.go @@ -21,14 +21,13 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1beta1/securitycenterpb/organization_settings.pb.go b/securitycenter/apiv1beta1/securitycenterpb/organization_settings.pb.go index 691fba19dc83..d7869dc9feff 100755 --- a/securitycenter/apiv1beta1/securitycenterpb/organization_settings.pb.go +++ b/securitycenter/apiv1beta1/securitycenterpb/organization_settings.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1beta1/securitycenterpb/run_asset_discovery_response.pb.go b/securitycenter/apiv1beta1/securitycenterpb/run_asset_discovery_response.pb.go index c771723b339b..782ffdc0be47 100755 --- a/securitycenter/apiv1beta1/securitycenterpb/run_asset_discovery_response.pb.go +++ b/securitycenter/apiv1beta1/securitycenterpb/run_asset_discovery_response.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1beta1/securitycenterpb/security_marks.pb.go b/securitycenter/apiv1beta1/securitycenterpb/security_marks.pb.go index 797b49b6c92f..83c010551b2a 100755 --- a/securitycenter/apiv1beta1/securitycenterpb/security_marks.pb.go +++ b/securitycenter/apiv1beta1/securitycenterpb/security_marks.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1beta1/securitycenterpb/securitycenter_service.pb.go b/securitycenter/apiv1beta1/securitycenterpb/securitycenter_service.pb.go index 1631094027e3..0c7ba347dceb 100755 --- a/securitycenter/apiv1beta1/securitycenterpb/securitycenter_service.pb.go +++ b/securitycenter/apiv1beta1/securitycenterpb/securitycenter_service.pb.go @@ -21,12 +21,9 @@ package securitycenterpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -37,6 +34,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1beta1/securitycenterpb/source.pb.go b/securitycenter/apiv1beta1/securitycenterpb/source.pb.go index 63f789d5341d..62725fee72f0 100755 --- a/securitycenter/apiv1beta1/securitycenterpb/source.pb.go +++ b/securitycenter/apiv1beta1/securitycenterpb/source.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/doc.go b/securitycenter/apiv1p1beta1/doc.go index c7d4662ab12f..a06119541d30 100755 --- a/securitycenter/apiv1p1beta1/doc.go +++ b/securitycenter/apiv1p1beta1/doc.go @@ -20,68 +20,67 @@ // Security Command Center API provides access to temporal views of assets // and findings within an organization. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := securitycenter.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := securitycenter.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := securitycenter.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &securitycenterpb.CreateFindingRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb#CreateFindingRequest. -// } -// resp, err := c.CreateFinding(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := securitycenter.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &securitycenterpb.CreateFindingRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb#CreateFindingRequest. +// } +// resp, err := c.CreateFinding(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/asset.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/asset.pb.go index c708d039b831..d796dc0997d5 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/asset.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/asset.pb.go @@ -21,14 +21,13 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/finding.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/finding.pb.go index 6a952a5cc894..dd9285fb2f5c 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/finding.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/finding.pb.go @@ -21,14 +21,13 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/folder.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/folder.pb.go index 1751eac9e888..37944cc09428 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/folder.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/folder.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/notification_config.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/notification_config.pb.go index dc7ac50d967b..45a70678276d 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/notification_config.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/notification_config.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/notification_message.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/notification_message.pb.go index fcc0d6fabd69..c2ace0456365 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/notification_message.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/notification_message.pb.go @@ -21,11 +21,10 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/organization_settings.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/organization_settings.pb.go index 1f4f8928d63a..a1f7fa3ef277 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/organization_settings.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/organization_settings.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/resource.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/resource.pb.go index 72ee26a917d8..aa42d1b44e8f 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/resource.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/resource.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/run_asset_discovery_response.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/run_asset_discovery_response.pb.go index a5f7970a02a6..b25e8f17c6a9 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/run_asset_discovery_response.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/run_asset_discovery_response.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/security_marks.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/security_marks.pb.go index 35f6634a02eb..e09f08f5d89c 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/security_marks.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/security_marks.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/securitycenter_service.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/securitycenter_service.pb.go index d1d343e9ca4c..74cadbbd080d 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/securitycenter_service.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/securitycenter_service.pb.go @@ -21,12 +21,9 @@ package securitycenterpb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -38,6 +35,8 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/source.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/source.pb.go index 7cad8c47890d..a5bf5477f871 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/source.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/source.pb.go @@ -21,12 +21,11 @@ package securitycenterpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/settings/apiv1beta1/doc.go b/securitycenter/settings/apiv1beta1/doc.go index 59bf864f9057..c9fdfee55d1c 100755 --- a/securitycenter/settings/apiv1beta1/doc.go +++ b/securitycenter/settings/apiv1beta1/doc.go @@ -20,68 +20,67 @@ // Cloud Security Command Center Settings API provides functionality to // retrieve and update configurations. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := settings.NewSecurityCenterSettingsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := settings.NewSecurityCenterSettingsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := settings.NewSecurityCenterSettingsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &settingspb.BatchCalculateEffectiveSettingsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/securitycenter/settings/apiv1beta1/settingspb#BatchCalculateEffectiveSettingsRequest. -// } -// resp, err := c.BatchCalculateEffectiveSettings(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := settings.NewSecurityCenterSettingsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &settingspb.BatchCalculateEffectiveSettingsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/securitycenter/settings/apiv1beta1/settingspb#BatchCalculateEffectiveSettingsRequest. +// } +// resp, err := c.BatchCalculateEffectiveSettings(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewSecurityCenterSettingsClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/securitycenter/settings/apiv1beta1/security_center_settings_client.go b/securitycenter/settings/apiv1beta1/security_center_settings_client.go index 8b05b1cad5af..30c16f7de32f 100755 --- a/securitycenter/settings/apiv1beta1/security_center_settings_client.go +++ b/securitycenter/settings/apiv1beta1/security_center_settings_client.go @@ -511,16 +511,16 @@ func (c *SecurityCenterSettingsClient) BatchGetSettings(ctx context.Context, req // Settings resources in the GCP resource hierarchy, and calculates the // effective settings on that resource by applying the following rules: // -// Settings provided closer to the target resource take precedence over -// those further away (e.g. folder will override organization level -// settings). +// Settings provided closer to the target resource take precedence over +// those further away (e.g. folder will override organization level +// settings). // -// Product defaults can be overridden at org, folder, project, and cluster -// levels. +// Product defaults can be overridden at org, folder, project, and cluster +// levels. // -// Detectors will be filtered out if they belong to a billing tier the -// customer -// has not configured. +// Detectors will be filtered out if they belong to a billing tier the +// customer +// has not configured. func (c *SecurityCenterSettingsClient) CalculateEffectiveSettings(ctx context.Context, req *settingspb.CalculateEffectiveSettingsRequest, opts ...gax.CallOption) (*settingspb.Settings, error) { return c.internalClient.CalculateEffectiveSettings(ctx, req, opts...) } @@ -1304,16 +1304,16 @@ func (c *securityCenterSettingsRESTClient) BatchGetSettings(ctx context.Context, // Settings resources in the GCP resource hierarchy, and calculates the // effective settings on that resource by applying the following rules: // -// Settings provided closer to the target resource take precedence over -// those further away (e.g. folder will override organization level -// settings). +// Settings provided closer to the target resource take precedence over +// those further away (e.g. folder will override organization level +// settings). // -// Product defaults can be overridden at org, folder, project, and cluster -// levels. +// Product defaults can be overridden at org, folder, project, and cluster +// levels. // -// Detectors will be filtered out if they belong to a billing tier the -// customer -// has not configured. +// Detectors will be filtered out if they belong to a billing tier the +// customer +// has not configured. func (c *securityCenterSettingsRESTClient) CalculateEffectiveSettings(ctx context.Context, req *settingspb.CalculateEffectiveSettingsRequest, opts ...gax.CallOption) (*settingspb.Settings, error) { baseUrl, err := url.Parse(c.endpoint) if err != nil { diff --git a/securitycenter/settings/apiv1beta1/settingspb/billing_settings.pb.go b/securitycenter/settings/apiv1beta1/settingspb/billing_settings.pb.go index 42efa2ec01c2..4ddd8d62eb13 100755 --- a/securitycenter/settings/apiv1beta1/settingspb/billing_settings.pb.go +++ b/securitycenter/settings/apiv1beta1/settingspb/billing_settings.pb.go @@ -21,13 +21,12 @@ package settingspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/settings/apiv1beta1/settingspb/component_settings.pb.go b/securitycenter/settings/apiv1beta1/settingspb/component_settings.pb.go index 10a70958ec84..e56e35c224d4 100755 --- a/securitycenter/settings/apiv1beta1/settingspb/component_settings.pb.go +++ b/securitycenter/settings/apiv1beta1/settingspb/component_settings.pb.go @@ -21,13 +21,12 @@ package settingspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/settings/apiv1beta1/settingspb/detector.pb.go b/securitycenter/settings/apiv1beta1/settingspb/detector.pb.go index 7f65701bd7f8..24aa6e1793f8 100755 --- a/securitycenter/settings/apiv1beta1/settingspb/detector.pb.go +++ b/securitycenter/settings/apiv1beta1/settingspb/detector.pb.go @@ -21,12 +21,11 @@ package settingspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/settings/apiv1beta1/settingspb/securitycenter_settings_service.pb.go b/securitycenter/settings/apiv1beta1/settingspb/securitycenter_settings_service.pb.go index 0ffface13516..28b2b2ad88c6 100755 --- a/securitycenter/settings/apiv1beta1/settingspb/securitycenter_settings_service.pb.go +++ b/securitycenter/settings/apiv1beta1/settingspb/securitycenter_settings_service.pb.go @@ -22,9 +22,6 @@ package settingspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/settings/apiv1beta1/settingspb/settings.pb.go b/securitycenter/settings/apiv1beta1/settingspb/settings.pb.go index 208783c659e4..b3523d2de94a 100755 --- a/securitycenter/settings/apiv1beta1/settingspb/settings.pb.go +++ b/securitycenter/settings/apiv1beta1/settingspb/settings.pb.go @@ -21,13 +21,12 @@ package settingspb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/securitycenter/settings/apiv1beta1/settingspb/sink_settings.pb.go b/securitycenter/settings/apiv1beta1/settingspb/sink_settings.pb.go index 010d1967905b..c947c4ca6e05 100755 --- a/securitycenter/settings/apiv1beta1/settingspb/sink_settings.pb.go +++ b/securitycenter/settings/apiv1beta1/settingspb/sink_settings.pb.go @@ -21,11 +21,10 @@ package settingspb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicecontrol/apiv1/auxiliary.go b/servicecontrol/apiv1/auxiliary.go index 194d7d2f37cb..b350ee7bbf75 100755 --- a/servicecontrol/apiv1/auxiliary.go +++ b/servicecontrol/apiv1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package servicecontrol + +import () diff --git a/servicecontrol/apiv1/doc.go b/servicecontrol/apiv1/doc.go index 7e05f0cd35a5..daa22c223f62 100755 --- a/servicecontrol/apiv1/doc.go +++ b/servicecontrol/apiv1/doc.go @@ -20,66 +20,65 @@ // Provides admission control and telemetry reporting for services integrated // with Service Infrastructure. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := servicecontrol.NewQuotaControllerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := servicecontrol.NewQuotaControllerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := servicecontrol.NewQuotaControllerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &servicecontrolpb.AllocateQuotaRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb#AllocateQuotaRequest. -// } -// resp, err := c.AllocateQuota(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := servicecontrol.NewQuotaControllerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &servicecontrolpb.AllocateQuotaRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb#AllocateQuotaRequest. +// } +// resp, err := c.AllocateQuota(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewQuotaControllerClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/servicecontrol/apiv1/servicecontrolpb/check_error.pb.go b/servicecontrol/apiv1/servicecontrolpb/check_error.pb.go index 3c2cfcd72526..dd5751a5c9fa 100755 --- a/servicecontrol/apiv1/servicecontrolpb/check_error.pb.go +++ b/servicecontrol/apiv1/servicecontrolpb/check_error.pb.go @@ -21,12 +21,11 @@ package servicecontrolpb import ( - reflect "reflect" - sync "sync" - status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicecontrol/apiv1/servicecontrolpb/distribution.pb.go b/servicecontrol/apiv1/servicecontrolpb/distribution.pb.go index 79871427ba90..9f6191ad2369 100755 --- a/servicecontrol/apiv1/servicecontrolpb/distribution.pb.go +++ b/servicecontrol/apiv1/servicecontrolpb/distribution.pb.go @@ -21,12 +21,11 @@ package servicecontrolpb import ( - reflect "reflect" - sync "sync" - distribution "google.golang.org/genproto/googleapis/api/distribution" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicecontrol/apiv1/servicecontrolpb/http_request.pb.go b/servicecontrol/apiv1/servicecontrolpb/http_request.pb.go index 50629dc4a539..a06020d89b41 100755 --- a/servicecontrol/apiv1/servicecontrolpb/http_request.pb.go +++ b/servicecontrol/apiv1/servicecontrolpb/http_request.pb.go @@ -21,12 +21,11 @@ package servicecontrolpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicecontrol/apiv1/servicecontrolpb/log_entry.pb.go b/servicecontrol/apiv1/servicecontrolpb/log_entry.pb.go index bb1cd09a83c8..86bb483f8277 100755 --- a/servicecontrol/apiv1/servicecontrolpb/log_entry.pb.go +++ b/servicecontrol/apiv1/servicecontrolpb/log_entry.pb.go @@ -21,15 +21,14 @@ package servicecontrolpb import ( - reflect "reflect" - sync "sync" - _type "google.golang.org/genproto/googleapis/logging/type" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicecontrol/apiv1/servicecontrolpb/metric_value.pb.go b/servicecontrol/apiv1/servicecontrolpb/metric_value.pb.go index 679f1057aecc..030112df15a6 100755 --- a/servicecontrol/apiv1/servicecontrolpb/metric_value.pb.go +++ b/servicecontrol/apiv1/servicecontrolpb/metric_value.pb.go @@ -21,12 +21,11 @@ package servicecontrolpb 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" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicecontrol/apiv1/servicecontrolpb/operation.pb.go b/servicecontrol/apiv1/servicecontrolpb/operation.pb.go index b62ba48453ef..89fa9192b436 100755 --- a/servicecontrol/apiv1/servicecontrolpb/operation.pb.go +++ b/servicecontrol/apiv1/servicecontrolpb/operation.pb.go @@ -21,13 +21,12 @@ package servicecontrolpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicecontrol/apiv1/servicecontrolpb/quota_controller.pb.go b/servicecontrol/apiv1/servicecontrolpb/quota_controller.pb.go index caf468d6d724..6c70179cf8b6 100755 --- a/servicecontrol/apiv1/servicecontrolpb/quota_controller.pb.go +++ b/servicecontrol/apiv1/servicecontrolpb/quota_controller.pb.go @@ -22,9 +22,6 @@ package servicecontrolpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -32,6 +29,8 @@ import ( status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicecontrol/apiv1/servicecontrolpb/service_controller.pb.go b/servicecontrol/apiv1/servicecontrolpb/service_controller.pb.go index a6f519d9720d..b74e1d90e920 100755 --- a/servicecontrol/apiv1/servicecontrolpb/service_controller.pb.go +++ b/servicecontrol/apiv1/servicecontrolpb/service_controller.pb.go @@ -22,9 +22,6 @@ package servicecontrolpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -32,6 +29,8 @@ import ( status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicedirectory/apiv1/doc.go b/servicedirectory/apiv1/doc.go index 173bdb19bdf1..bd22d4fc9f5b 100755 --- a/servicedirectory/apiv1/doc.go +++ b/servicedirectory/apiv1/doc.go @@ -20,66 +20,65 @@ // Service Directory is a platform for discovering, publishing, and // connecting services. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := servicedirectory.NewLookupClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := servicedirectory.NewLookupClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := servicedirectory.NewLookupClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &servicedirectorypb.ResolveServiceRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/servicedirectory/apiv1/servicedirectorypb#ResolveServiceRequest. -// } -// resp, err := c.ResolveService(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := servicedirectory.NewLookupClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &servicedirectorypb.ResolveServiceRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/servicedirectory/apiv1/servicedirectorypb#ResolveServiceRequest. +// } +// resp, err := c.ResolveService(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewLookupClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/servicedirectory/apiv1/registration_client.go b/servicedirectory/apiv1/registration_client.go index 4bf5e761639b..d50dc67dc6f1 100755 --- a/servicedirectory/apiv1/registration_client.go +++ b/servicedirectory/apiv1/registration_client.go @@ -577,18 +577,18 @@ type internalRegistrationClient interface { // Service Directory API for registering services. It defines the following // resource model: // -// The API has a collection of -// Namespace -// resources, named projects/*/locations/*/namespaces/*. +// The API has a collection of +// Namespace +// resources, named projects/*/locations/*/namespaces/*. // -// Each Namespace has a collection of -// Service resources, named -// projects/*/locations/*/namespaces/*/services/*. +// Each Namespace has a collection of +// Service resources, named +// projects/*/locations/*/namespaces/*/services/*. // -// Each Service has a collection of -// Endpoint -// resources, named -// projects/*/locations/*/namespaces/*/services/*/endpoints/*. +// Each Service has a collection of +// Endpoint +// resources, named +// projects/*/locations/*/namespaces/*/services/*/endpoints/*. type RegistrationClient struct { // The internal transport-dependent client. internalClient internalRegistrationClient @@ -747,18 +747,18 @@ type registrationGRPCClient struct { // Service Directory API for registering services. It defines the following // resource model: // -// The API has a collection of -// Namespace -// resources, named projects/*/locations/*/namespaces/*. +// The API has a collection of +// Namespace +// resources, named projects/*/locations/*/namespaces/*. // -// Each Namespace has a collection of -// Service resources, named -// projects/*/locations/*/namespaces/*/services/*. +// Each Namespace has a collection of +// Service resources, named +// projects/*/locations/*/namespaces/*/services/*. // -// Each Service has a collection of -// Endpoint -// resources, named -// projects/*/locations/*/namespaces/*/services/*/endpoints/*. +// Each Service has a collection of +// Endpoint +// resources, named +// projects/*/locations/*/namespaces/*/services/*/endpoints/*. func NewRegistrationClient(ctx context.Context, opts ...option.ClientOption) (*RegistrationClient, error) { clientOpts := defaultRegistrationGRPCClientOptions() if newRegistrationClientHook != nil { @@ -831,18 +831,18 @@ type registrationRESTClient struct { // Service Directory API for registering services. It defines the following // resource model: // -// The API has a collection of -// Namespace -// resources, named projects/*/locations/*/namespaces/*. +// The API has a collection of +// Namespace +// resources, named projects/*/locations/*/namespaces/*. // -// Each Namespace has a collection of -// Service resources, named -// projects/*/locations/*/namespaces/*/services/*. +// Each Namespace has a collection of +// Service resources, named +// projects/*/locations/*/namespaces/*/services/*. // -// Each Service has a collection of -// Endpoint -// resources, named -// projects/*/locations/*/namespaces/*/services/*/endpoints/*. +// Each Service has a collection of +// Endpoint +// resources, named +// projects/*/locations/*/namespaces/*/services/*/endpoints/*. func NewRegistrationRESTClient(ctx context.Context, opts ...option.ClientOption) (*RegistrationClient, error) { clientOpts := append(defaultRegistrationRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/servicedirectory/apiv1/servicedirectorypb/endpoint.pb.go b/servicedirectory/apiv1/servicedirectorypb/endpoint.pb.go index 7471862556c4..d7fa25fac58c 100755 --- a/servicedirectory/apiv1/servicedirectorypb/endpoint.pb.go +++ b/servicedirectory/apiv1/servicedirectorypb/endpoint.pb.go @@ -21,12 +21,11 @@ package servicedirectorypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicedirectory/apiv1/servicedirectorypb/lookup_service.pb.go b/servicedirectory/apiv1/servicedirectorypb/lookup_service.pb.go index e0fe110cde89..c15568a16c5f 100755 --- a/servicedirectory/apiv1/servicedirectorypb/lookup_service.pb.go +++ b/servicedirectory/apiv1/servicedirectorypb/lookup_service.pb.go @@ -22,15 +22,14 @@ package servicedirectorypb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicedirectory/apiv1/servicedirectorypb/namespace.pb.go b/servicedirectory/apiv1/servicedirectorypb/namespace.pb.go index c2a139767f68..f95667e29eff 100755 --- a/servicedirectory/apiv1/servicedirectorypb/namespace.pb.go +++ b/servicedirectory/apiv1/servicedirectorypb/namespace.pb.go @@ -21,12 +21,11 @@ package servicedirectorypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicedirectory/apiv1/servicedirectorypb/registration_service.pb.go b/servicedirectory/apiv1/servicedirectorypb/registration_service.pb.go index d844f6165140..031ae88ef9b6 100755 --- a/servicedirectory/apiv1/servicedirectorypb/registration_service.pb.go +++ b/servicedirectory/apiv1/servicedirectorypb/registration_service.pb.go @@ -21,11 +21,8 @@ package servicedirectorypb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicedirectory/apiv1/servicedirectorypb/service.pb.go b/servicedirectory/apiv1/servicedirectorypb/service.pb.go index 039680e9e20f..334224899f1b 100755 --- a/servicedirectory/apiv1/servicedirectorypb/service.pb.go +++ b/servicedirectory/apiv1/servicedirectorypb/service.pb.go @@ -21,12 +21,11 @@ package servicedirectorypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicedirectory/apiv1beta1/doc.go b/servicedirectory/apiv1beta1/doc.go index 0f9ddef49b3f..92cdd69f54bb 100755 --- a/servicedirectory/apiv1beta1/doc.go +++ b/servicedirectory/apiv1beta1/doc.go @@ -20,68 +20,67 @@ // Service Directory is a platform for discovering, publishing, and // connecting services. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := servicedirectory.NewLookupClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := servicedirectory.NewLookupClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := servicedirectory.NewLookupClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &servicedirectorypb.ResolveServiceRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/servicedirectory/apiv1beta1/servicedirectorypb#ResolveServiceRequest. -// } -// resp, err := c.ResolveService(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := servicedirectory.NewLookupClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &servicedirectorypb.ResolveServiceRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/servicedirectory/apiv1beta1/servicedirectorypb#ResolveServiceRequest. +// } +// resp, err := c.ResolveService(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewLookupClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/servicedirectory/apiv1beta1/registration_client.go b/servicedirectory/apiv1beta1/registration_client.go index 147ae79cde37..27ba34591671 100755 --- a/servicedirectory/apiv1beta1/registration_client.go +++ b/servicedirectory/apiv1beta1/registration_client.go @@ -577,18 +577,18 @@ type internalRegistrationClient interface { // Service Directory API for registering services. It defines the following // resource model: // -// The API has a collection of -// Namespace -// resources, named projects/*/locations/*/namespaces/*. +// The API has a collection of +// Namespace +// resources, named projects/*/locations/*/namespaces/*. // -// Each Namespace has a collection of -// Service resources, named -// projects/*/locations/*/namespaces/*/services/*. +// Each Namespace has a collection of +// Service resources, named +// projects/*/locations/*/namespaces/*/services/*. // -// Each Service has a collection of -// Endpoint -// resources, named -// projects/*/locations/*/namespaces/*/services/*/endpoints/*. +// Each Service has a collection of +// Endpoint +// resources, named +// projects/*/locations/*/namespaces/*/services/*/endpoints/*. type RegistrationClient struct { // The internal transport-dependent client. internalClient internalRegistrationClient @@ -748,18 +748,18 @@ type registrationGRPCClient struct { // Service Directory API for registering services. It defines the following // resource model: // -// The API has a collection of -// Namespace -// resources, named projects/*/locations/*/namespaces/*. +// The API has a collection of +// Namespace +// resources, named projects/*/locations/*/namespaces/*. // -// Each Namespace has a collection of -// Service resources, named -// projects/*/locations/*/namespaces/*/services/*. +// Each Namespace has a collection of +// Service resources, named +// projects/*/locations/*/namespaces/*/services/*. // -// Each Service has a collection of -// Endpoint -// resources, named -// projects/*/locations/*/namespaces/*/services/*/endpoints/*. +// Each Service has a collection of +// Endpoint +// resources, named +// projects/*/locations/*/namespaces/*/services/*/endpoints/*. func NewRegistrationClient(ctx context.Context, opts ...option.ClientOption) (*RegistrationClient, error) { clientOpts := defaultRegistrationGRPCClientOptions() if newRegistrationClientHook != nil { @@ -832,18 +832,18 @@ type registrationRESTClient struct { // Service Directory API for registering services. It defines the following // resource model: // -// The API has a collection of -// Namespace -// resources, named projects/*/locations/*/namespaces/*. +// The API has a collection of +// Namespace +// resources, named projects/*/locations/*/namespaces/*. // -// Each Namespace has a collection of -// Service resources, named -// projects/*/locations/*/namespaces/*/services/*. +// Each Namespace has a collection of +// Service resources, named +// projects/*/locations/*/namespaces/*/services/*. // -// Each Service has a collection of -// Endpoint -// resources, named -// projects/*/locations/*/namespaces/*/services/*/endpoints/*. +// Each Service has a collection of +// Endpoint +// resources, named +// projects/*/locations/*/namespaces/*/services/*/endpoints/*. func NewRegistrationRESTClient(ctx context.Context, opts ...option.ClientOption) (*RegistrationClient, error) { clientOpts := append(defaultRegistrationRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/servicedirectory/apiv1beta1/servicedirectorypb/endpoint.pb.go b/servicedirectory/apiv1beta1/servicedirectorypb/endpoint.pb.go index 7c0033f92294..98ca46e684a4 100755 --- a/servicedirectory/apiv1beta1/servicedirectorypb/endpoint.pb.go +++ b/servicedirectory/apiv1beta1/servicedirectorypb/endpoint.pb.go @@ -21,13 +21,12 @@ package servicedirectorypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicedirectory/apiv1beta1/servicedirectorypb/lookup_service.pb.go b/servicedirectory/apiv1beta1/servicedirectorypb/lookup_service.pb.go index 6ce442964e91..9350b80cfb35 100755 --- a/servicedirectory/apiv1beta1/servicedirectorypb/lookup_service.pb.go +++ b/servicedirectory/apiv1beta1/servicedirectorypb/lookup_service.pb.go @@ -22,15 +22,14 @@ package servicedirectorypb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicedirectory/apiv1beta1/servicedirectorypb/namespace.pb.go b/servicedirectory/apiv1beta1/servicedirectorypb/namespace.pb.go index a7f219b0beb8..361461725051 100755 --- a/servicedirectory/apiv1beta1/servicedirectorypb/namespace.pb.go +++ b/servicedirectory/apiv1beta1/servicedirectorypb/namespace.pb.go @@ -21,13 +21,12 @@ package servicedirectorypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicedirectory/apiv1beta1/servicedirectorypb/registration_service.pb.go b/servicedirectory/apiv1beta1/servicedirectorypb/registration_service.pb.go index ca37cdbacb9f..0bc854c46687 100755 --- a/servicedirectory/apiv1beta1/servicedirectorypb/registration_service.pb.go +++ b/servicedirectory/apiv1beta1/servicedirectorypb/registration_service.pb.go @@ -21,11 +21,8 @@ package servicedirectorypb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicedirectory/apiv1beta1/servicedirectorypb/service.pb.go b/servicedirectory/apiv1beta1/servicedirectorypb/service.pb.go index 09edae037422..143af5696dba 100755 --- a/servicedirectory/apiv1beta1/servicedirectorypb/service.pb.go +++ b/servicedirectory/apiv1beta1/servicedirectorypb/service.pb.go @@ -21,13 +21,12 @@ package servicedirectorypb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/servicemanagement/apiv1/doc.go b/servicemanagement/apiv1/doc.go index e272f37293e6..f4f017f9ffba 100755 --- a/servicemanagement/apiv1/doc.go +++ b/servicemanagement/apiv1/doc.go @@ -21,71 +21,70 @@ // services on Google Cloud Platform so that they can be discovered and used // by service consumers. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := servicemanagement.NewServiceManagerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := servicemanagement.NewServiceManagerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := servicemanagement.NewServiceManagerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &servicemanagementpb.CreateServiceRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/servicemanagement/apiv1/servicemanagementpb#CreateServiceRequest. -// } -// op, err := c.CreateService(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := servicemanagement.NewServiceManagerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &servicemanagementpb.CreateServiceRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/servicemanagement/apiv1/servicemanagementpb#CreateServiceRequest. +// } +// op, err := c.CreateService(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewServiceManagerClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/servicemanagement/apiv1/servicemanagementpb/resources.pb.go b/servicemanagement/apiv1/servicemanagementpb/resources.pb.go index 5b3732a37dec..d35774cec810 100755 --- a/servicemanagement/apiv1/servicemanagementpb/resources.pb.go +++ b/servicemanagement/apiv1/servicemanagementpb/resources.pb.go @@ -21,14 +21,13 @@ package servicemanagementpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" configchange "google.golang.org/genproto/googleapis/api/configchange" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -952,26 +951,26 @@ func (x *OperationMetadata_Step) GetStatus() OperationMetadata_Status { // strategy: // Day 1 // -// Rollout { -// id: "example.googleapis.com/rollout_20160206" -// traffic_percent_strategy { -// percentages: { -// "example.googleapis.com/20160201": 70.00 -// "example.googleapis.com/20160206": 30.00 -// } -// } -// } +// Rollout { +// id: "example.googleapis.com/rollout_20160206" +// traffic_percent_strategy { +// percentages: { +// "example.googleapis.com/20160201": 70.00 +// "example.googleapis.com/20160206": 30.00 +// } +// } +// } // // Day 2 // -// Rollout { -// id: "example.googleapis.com/rollout_20160207" -// traffic_percent_strategy: { -// percentages: { -// "example.googleapis.com/20160206": 100.00 -// } -// } -// } +// Rollout { +// id: "example.googleapis.com/rollout_20160207" +// traffic_percent_strategy: { +// percentages: { +// "example.googleapis.com/20160206": 100.00 +// } +// } +// } type Rollout_TrafficPercentStrategy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/servicemanagement/apiv1/servicemanagementpb/servicemanager.pb.go b/servicemanagement/apiv1/servicemanagementpb/servicemanager.pb.go index 8dc37697c4c1..c2a6ac71f98b 100755 --- a/servicemanagement/apiv1/servicemanagementpb/servicemanager.pb.go +++ b/servicemanagement/apiv1/servicemanagementpb/servicemanager.pb.go @@ -21,11 +21,8 @@ package servicemanagementpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" serviceconfig "google.golang.org/genproto/googleapis/api/serviceconfig" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" _ "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( @@ -869,6 +868,7 @@ func (x *SubmitConfigSourceResponse) GetServiceConfig() *serviceconfig.Service { return nil } +// // Request message for 'CreateServiceRollout' type CreateServiceRolloutRequest struct { state protoimpl.MessageState diff --git a/serviceusage/apiv1/doc.go b/serviceusage/apiv1/doc.go index a16d0be0fd7c..49f73df1acf3 100755 --- a/serviceusage/apiv1/doc.go +++ b/serviceusage/apiv1/doc.go @@ -21,71 +21,70 @@ // Platform, lists the available or enabled services, or disables services // that service consumers no longer use. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := serviceusage.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := serviceusage.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := serviceusage.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &serviceusagepb.BatchEnableServicesRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/serviceusage/apiv1/serviceusagepb#BatchEnableServicesRequest. -// } -// op, err := c.BatchEnableServices(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := serviceusage.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &serviceusagepb.BatchEnableServicesRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/serviceusage/apiv1/serviceusagepb#BatchEnableServicesRequest. +// } +// op, err := c.BatchEnableServices(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/serviceusage/apiv1/serviceusagepb/resources.pb.go b/serviceusage/apiv1/serviceusagepb/resources.pb.go index ba7fa15aaa1b..9504fe5db4c9 100755 --- a/serviceusage/apiv1/serviceusagepb/resources.pb.go +++ b/serviceusage/apiv1/serviceusagepb/resources.pb.go @@ -21,15 +21,14 @@ package serviceusagepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" serviceconfig "google.golang.org/genproto/googleapis/api/serviceconfig" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" apipb "google.golang.org/protobuf/types/known/apipb" + reflect "reflect" + sync "sync" ) const ( diff --git a/serviceusage/apiv1/serviceusagepb/serviceusage.pb.go b/serviceusage/apiv1/serviceusagepb/serviceusage.pb.go index d3dddaf0ebdf..ff15cd5360fb 100755 --- a/serviceusage/apiv1/serviceusagepb/serviceusage.pb.go +++ b/serviceusage/apiv1/serviceusagepb/serviceusage.pb.go @@ -21,17 +21,16 @@ package serviceusagepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/shell/apiv1/doc.go b/shell/apiv1/doc.go index 5d7e3bcac774..d944674e8e41 100755 --- a/shell/apiv1/doc.go +++ b/shell/apiv1/doc.go @@ -20,71 +20,70 @@ // Allows users to start, configure, and connect to interactive shell // sessions running in the cloud. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := shell.NewCloudShellClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := shell.NewCloudShellClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := shell.NewCloudShellClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &shellpb.AddPublicKeyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/shell/apiv1/shellpb#AddPublicKeyRequest. -// } -// op, err := c.AddPublicKey(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := shell.NewCloudShellClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &shellpb.AddPublicKeyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/shell/apiv1/shellpb#AddPublicKeyRequest. +// } +// op, err := c.AddPublicKey(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewCloudShellClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/shell/apiv1/shellpb/cloudshell.pb.go b/shell/apiv1/shellpb/cloudshell.pb.go index 0d0257d23953..0e71ca62a61c 100755 --- a/shell/apiv1/shellpb/cloudshell.pb.go +++ b/shell/apiv1/shellpb/cloudshell.pb.go @@ -21,11 +21,8 @@ package shellpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/inventories/apiv1beta/doc.go b/shopping/merchant/inventories/apiv1beta/doc.go index e5ddaf182dfd..e840052de7ef 100755 --- a/shopping/merchant/inventories/apiv1beta/doc.go +++ b/shopping/merchant/inventories/apiv1beta/doc.go @@ -19,66 +19,65 @@ // // Programmatically manage your Merchant Center accounts. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := inventories.NewLocalInventoryClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := inventories.NewLocalInventoryClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := inventories.NewLocalInventoryClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &inventoriespb.DeleteLocalInventoryRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/shopping/merchant/inventories/apiv1beta/inventoriespb#DeleteLocalInventoryRequest. -// } -// err = c.DeleteLocalInventory(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := inventories.NewLocalInventoryClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &inventoriespb.DeleteLocalInventoryRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/shopping/merchant/inventories/apiv1beta/inventoriespb#DeleteLocalInventoryRequest. +// } +// err = c.DeleteLocalInventory(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// Use of Context // // The ctx passed to NewLocalInventoryClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/shopping/merchant/inventories/apiv1beta/inventoriespb/localinventory.pb.go b/shopping/merchant/inventories/apiv1beta/inventoriespb/localinventory.pb.go index c2eeb04363cd..b7f787bf05dc 100755 --- a/shopping/merchant/inventories/apiv1beta/inventoriespb/localinventory.pb.go +++ b/shopping/merchant/inventories/apiv1beta/inventoriespb/localinventory.pb.go @@ -21,11 +21,8 @@ package inventoriespb import ( - context "context" - reflect "reflect" - sync "sync" - typepb "cloud.google.com/go/shopping/type/typepb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" interval "google.golang.org/genproto/googleapis/type/interval" grpc "google.golang.org/grpc" @@ -34,6 +31,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/merchant/inventories/apiv1beta/inventoriespb/regionalinventory.pb.go b/shopping/merchant/inventories/apiv1beta/inventoriespb/regionalinventory.pb.go index 9c7302f109ed..4bafa8d81999 100755 --- a/shopping/merchant/inventories/apiv1beta/inventoriespb/regionalinventory.pb.go +++ b/shopping/merchant/inventories/apiv1beta/inventoriespb/regionalinventory.pb.go @@ -21,11 +21,8 @@ package inventoriespb import ( - context "context" - reflect "reflect" - sync "sync" - typepb "cloud.google.com/go/shopping/type/typepb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" interval "google.golang.org/genproto/googleapis/type/interval" grpc "google.golang.org/grpc" @@ -34,6 +31,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/shopping/type/typepb/types.pb.go b/shopping/type/typepb/types.pb.go index 4d153cf8ef93..1881eb63e8bd 100755 --- a/shopping/type/typepb/types.pb.go +++ b/shopping/type/typepb/types.pb.go @@ -21,11 +21,10 @@ package typepb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( @@ -396,6 +395,7 @@ func (x *CustomAttribute) GetGroupValues() []*CustomAttribute { // // Destinations are used in Merchant Center to allow you to control where the // products from your data feed should be displayed. +// type Destination struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -441,6 +441,7 @@ func (*Destination) Descriptor() ([]byte, []int) { // ads](https://support.google.com/merchants/answer/6149970)) or a subset of // formats within a destination (for example, [Discovery // ads](https://support.google.com/merchants/answer/13389785)). +// type ReportingContext struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/spanner/admin/database/apiv1/database_admin_client.go b/spanner/admin/database/apiv1/database_admin_client.go index 4869d589f89d..738cdd4e8084 100755 --- a/spanner/admin/database/apiv1/database_admin_client.go +++ b/spanner/admin/database/apiv1/database_admin_client.go @@ -530,17 +530,17 @@ type internalDatabaseAdminClient interface { // DatabaseAdminClient is a client for interacting with Cloud Spanner API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// # Cloud Spanner Database Admin API +// Cloud Spanner Database Admin API // // The Cloud Spanner Database Admin API can be used to: // -// create, drop, and list databases +// create, drop, and list databases // -// update the schema of pre-existing databases +// update the schema of pre-existing databases // -// create, delete and list backups for a database +// create, delete and list backups for a database // -// restore a database from an existing backup +// restore a database from an existing backup type DatabaseAdminClient struct { // The internal transport-dependent client. internalClient internalDatabaseAdminClient @@ -612,30 +612,30 @@ func (c *DatabaseAdminClient) GetDatabase(ctx context.Context, req *databasepb.G // // While the operation is pending: // -// The database’s -// reconciling -// field is set to true. +// The database’s +// reconciling +// field is set to true. // -// Cancelling the operation is best-effort. If the cancellation succeeds, -// the operation metadata’s -// cancel_time -// is set, the updates are reverted, and the operation terminates with a -// CANCELLED status. +// Cancelling the operation is best-effort. If the cancellation succeeds, +// the operation metadata’s +// cancel_time +// is set, the updates are reverted, and the operation terminates with a +// CANCELLED status. // -// New UpdateDatabase requests will return a FAILED_PRECONDITION error -// until the pending operation is done (returns successfully or with -// error). +// New UpdateDatabase requests will return a FAILED_PRECONDITION error +// until the pending operation is done (returns successfully or with +// error). // -// Reading the database via the API continues to give the pre-request -// values. +// Reading the database via the API continues to give the pre-request +// values. // // Upon completion of the returned operation: // -// The new values are in effect and readable via the API. +// The new values are in effect and readable via the API. // -// The database’s -// reconciling -// field becomes false. +// The database’s +// reconciling +// field becomes false. // // The returned [long-running operation][google.longrunning.Operation] will // have a name of the format @@ -896,17 +896,17 @@ type databaseAdminGRPCClient struct { // NewDatabaseAdminClient creates a new database admin client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// # Cloud Spanner Database Admin API +// Cloud Spanner Database Admin API // // The Cloud Spanner Database Admin API can be used to: // -// create, drop, and list databases +// create, drop, and list databases // -// update the schema of pre-existing databases +// update the schema of pre-existing databases // -// create, delete and list backups for a database +// create, delete and list backups for a database // -// restore a database from an existing backup +// restore a database from an existing backup func NewDatabaseAdminClient(ctx context.Context, opts ...option.ClientOption) (*DatabaseAdminClient, error) { clientOpts := defaultDatabaseAdminGRPCClientOptions() if newDatabaseAdminClientHook != nil { @@ -992,17 +992,17 @@ type databaseAdminRESTClient struct { // NewDatabaseAdminRESTClient creates a new database admin rest client. // -// # Cloud Spanner Database Admin API +// Cloud Spanner Database Admin API // // The Cloud Spanner Database Admin API can be used to: // -// create, drop, and list databases +// create, drop, and list databases // -// update the schema of pre-existing databases +// update the schema of pre-existing databases // -// create, delete and list backups for a database +// create, delete and list backups for a database // -// restore a database from an existing backup +// restore a database from an existing backup func NewDatabaseAdminRESTClient(ctx context.Context, opts ...option.ClientOption) (*DatabaseAdminClient, error) { clientOpts := append(defaultDatabaseAdminRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) @@ -1892,30 +1892,30 @@ func (c *databaseAdminRESTClient) GetDatabase(ctx context.Context, req *database // // While the operation is pending: // -// The database’s -// reconciling -// field is set to true. +// The database’s +// reconciling +// field is set to true. // -// Cancelling the operation is best-effort. If the cancellation succeeds, -// the operation metadata’s -// cancel_time -// is set, the updates are reverted, and the operation terminates with a -// CANCELLED status. +// Cancelling the operation is best-effort. If the cancellation succeeds, +// the operation metadata’s +// cancel_time +// is set, the updates are reverted, and the operation terminates with a +// CANCELLED status. // -// New UpdateDatabase requests will return a FAILED_PRECONDITION error -// until the pending operation is done (returns successfully or with -// error). +// New UpdateDatabase requests will return a FAILED_PRECONDITION error +// until the pending operation is done (returns successfully or with +// error). // -// Reading the database via the API continues to give the pre-request -// values. +// Reading the database via the API continues to give the pre-request +// values. // // Upon completion of the returned operation: // -// The new values are in effect and readable via the API. +// The new values are in effect and readable via the API. // -// The database’s -// reconciling -// field becomes false. +// The database’s +// reconciling +// field becomes false. // // The returned [long-running operation][google.longrunning.Operation] will // have a name of the format diff --git a/spanner/admin/database/apiv1/databasepb/backup.pb.go b/spanner/admin/database/apiv1/databasepb/backup.pb.go index 2636f853a5c0..611a9c5d3231 100755 --- a/spanner/admin/database/apiv1/databasepb/backup.pb.go +++ b/spanner/admin/database/apiv1/databasepb/backup.pb.go @@ -21,15 +21,14 @@ package databasepb import ( - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/spanner/admin/database/apiv1/databasepb/common.pb.go b/spanner/admin/database/apiv1/databasepb/common.pb.go index 48ce9a18899e..9dbbb07b232d 100755 --- a/spanner/admin/database/apiv1/databasepb/common.pb.go +++ b/spanner/admin/database/apiv1/databasepb/common.pb.go @@ -21,14 +21,13 @@ package databasepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/spanner/admin/database/apiv1/databasepb/spanner_database_admin.pb.go b/spanner/admin/database/apiv1/databasepb/spanner_database_admin.pb.go index ac588a9a19ae..4f2b1d6ffd19 100755 --- a/spanner/admin/database/apiv1/databasepb/spanner_database_admin.pb.go +++ b/spanner/admin/database/apiv1/databasepb/spanner_database_admin.pb.go @@ -21,12 +21,9 @@ package databasepb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/spanner/admin/database/apiv1/doc.go b/spanner/admin/database/apiv1/doc.go index ff3fbdbb4b16..b8f5b4974095 100755 --- a/spanner/admin/database/apiv1/doc.go +++ b/spanner/admin/database/apiv1/doc.go @@ -20,71 +20,70 @@ // Cloud Spanner is a managed, mission-critical, globally consistent and // scalable relational database service. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := database.NewDatabaseAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := database.NewDatabaseAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := database.NewDatabaseAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &databasepb.CopyBackupRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/spanner/admin/database/apiv1/databasepb#CopyBackupRequest. -// } -// op, err := c.CopyBackup(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := database.NewDatabaseAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &databasepb.CopyBackupRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/spanner/admin/database/apiv1/databasepb#CopyBackupRequest. +// } +// op, err := c.CopyBackup(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewDatabaseAdminClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/spanner/admin/instance/apiv1/doc.go b/spanner/admin/instance/apiv1/doc.go index 7b373f913c6f..faf184960281 100755 --- a/spanner/admin/instance/apiv1/doc.go +++ b/spanner/admin/instance/apiv1/doc.go @@ -17,71 +17,70 @@ // Package instance is an auto-generated package for the // Cloud Spanner Instance Admin API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := instance.NewInstanceAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := instance.NewInstanceAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := instance.NewInstanceAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &instancepb.CreateInstanceRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/spanner/admin/instance/apiv1/instancepb#CreateInstanceRequest. -// } -// op, err := c.CreateInstance(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := instance.NewInstanceAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &instancepb.CreateInstanceRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/spanner/admin/instance/apiv1/instancepb#CreateInstanceRequest. +// } +// op, err := c.CreateInstance(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewInstanceAdminClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/spanner/admin/instance/apiv1/instance_admin_client.go b/spanner/admin/instance/apiv1/instance_admin_client.go index 2ab8da7d39a5..4bf5c8b9d7e8 100755 --- a/spanner/admin/instance/apiv1/instance_admin_client.go +++ b/spanner/admin/instance/apiv1/instance_admin_client.go @@ -296,7 +296,7 @@ type internalInstanceAdminClient interface { // InstanceAdminClient is a client for interacting with Cloud Spanner Instance Admin API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// # Cloud Spanner Instance Admin API +// Cloud Spanner Instance Admin API // // The Cloud Spanner Instance Admin API can be used to create, delete, // modify and list instances. Instances are dedicated Cloud Spanner serving @@ -372,26 +372,26 @@ func (c *InstanceAdminClient) GetInstanceConfig(ctx context.Context, req *instan // // Immediately after the request returns: // -// The instance config is readable via the API, with all requested -// attributes. The instance config’s -// reconciling -// field is set to true. Its state is CREATING. +// The instance config is readable via the API, with all requested +// attributes. The instance config’s +// reconciling +// field is set to true. Its state is CREATING. // // While the operation is pending: // -// Cancelling the operation renders the instance config immediately -// unreadable via the API. +// Cancelling the operation renders the instance config immediately +// unreadable via the API. // -// Except for deleting the creating resource, all other attempts to modify -// the instance config are rejected. +// Except for deleting the creating resource, all other attempts to modify +// the instance config are rejected. // // Upon completion of the returned operation: // -// Instances can be created using the instance configuration. +// Instances can be created using the instance configuration. // -// The instance config’s -// reconciling -// field becomes false. Its state becomes READY. +// The instance config’s +// reconciling +// field becomes false. Its state becomes READY. // // The returned [long-running operation][google.longrunning.Operation] will // have a name of the format @@ -425,32 +425,32 @@ func (c *InstanceAdminClient) CreateInstanceConfigOperation(name string) *Create // // Immediately after the request returns: // -// The instance config’s -// reconciling -// field is set to true. +// The instance config’s +// reconciling +// field is set to true. // // While the operation is pending: // -// Cancelling the operation sets its metadata’s -// cancel_time. -// The operation is guaranteed to succeed at undoing all changes, after -// which point it terminates with a CANCELLED status. +// Cancelling the operation sets its metadata’s +// cancel_time. +// The operation is guaranteed to succeed at undoing all changes, after +// which point it terminates with a CANCELLED status. // -// All other attempts to modify the instance config are rejected. +// All other attempts to modify the instance config are rejected. // -// Reading the instance config via the API continues to give the -// pre-request values. +// Reading the instance config via the API continues to give the +// pre-request values. // // Upon completion of the returned operation: // -// Creating instances using the instance configuration uses the new -// values. +// Creating instances using the instance configuration uses the new +// values. // -// The instance config’s new values are readable via the API. +// The instance config’s new values are readable via the API. // -// The instance config’s -// reconciling -// field becomes false. +// The instance config’s +// reconciling +// field becomes false. // // The returned [long-running operation][google.longrunning.Operation] will // have a name of the format @@ -520,28 +520,28 @@ func (c *InstanceAdminClient) GetInstance(ctx context.Context, req *instancepb.G // // Immediately upon completion of this request: // -// The instance is readable via the API, with all requested attributes -// but no allocated resources. Its state is CREATING. +// The instance is readable via the API, with all requested attributes +// but no allocated resources. Its state is CREATING. // // Until completion of the returned operation: // -// Cancelling the operation renders the instance immediately unreadable -// via the API. +// Cancelling the operation renders the instance immediately unreadable +// via the API. // -// The instance can be deleted. +// The instance can be deleted. // -// All other attempts to modify the instance are rejected. +// All other attempts to modify the instance are rejected. // // Upon completion of the returned operation: // -// Billing for all successfully-allocated resources begins (some types -// may have lower than the requested levels). +// Billing for all successfully-allocated resources begins (some types +// may have lower than the requested levels). // -// Databases can be created in the instance. +// Databases can be created in the instance. // -// The instance’s allocated resource levels are readable via the API. +// The instance’s allocated resource levels are readable via the API. // -// The instance’s state becomes READY. +// The instance’s state becomes READY. // // The returned [long-running operation][google.longrunning.Operation] will // have a name of the format /operations/ and @@ -568,31 +568,31 @@ func (c *InstanceAdminClient) CreateInstanceOperation(name string) *CreateInstan // // Immediately upon completion of this request: // -// For resource types for which a decrease in the instance’s allocation -// has been requested, billing is based on the newly-requested level. +// For resource types for which a decrease in the instance’s allocation +// has been requested, billing is based on the newly-requested level. // // Until completion of the returned operation: // -// Cancelling the operation sets its metadata’s -// cancel_time, -// and begins restoring resources to their pre-request values. The -// operation is guaranteed to succeed at undoing all resource changes, -// after which point it terminates with a CANCELLED status. +// Cancelling the operation sets its metadata’s +// cancel_time, +// and begins restoring resources to their pre-request values. The +// operation is guaranteed to succeed at undoing all resource changes, +// after which point it terminates with a CANCELLED status. // -// All other attempts to modify the instance are rejected. +// All other attempts to modify the instance are rejected. // -// Reading the instance via the API continues to give the pre-request -// resource levels. +// Reading the instance via the API continues to give the pre-request +// resource levels. // // Upon completion of the returned operation: // -// Billing begins for all successfully-allocated resources (some types -// may have lower than the requested levels). +// Billing begins for all successfully-allocated resources (some types +// may have lower than the requested levels). // -// All newly-reserved resources are available for serving the instance’s -// tables. +// All newly-reserved resources are available for serving the instance’s +// tables. // -// The instance’s new resource levels are readable via the API. +// The instance’s new resource levels are readable via the API. // // The returned [long-running operation][google.longrunning.Operation] will // have a name of the format /operations/ and @@ -618,13 +618,13 @@ func (c *InstanceAdminClient) UpdateInstanceOperation(name string) *UpdateInstan // // Immediately upon completion of the request: // -// Billing ceases for all of the instance’s reserved resources. +// Billing ceases for all of the instance’s reserved resources. // // Soon afterward: // -// The instance and all of its databases immediately and -// irrevocably disappear from the API. All data in the databases -// is permanently deleted. +// The instance and all of its databases immediately and +// irrevocably disappear from the API. All data in the databases +// is permanently deleted. func (c *InstanceAdminClient) DeleteInstance(ctx context.Context, req *instancepb.DeleteInstanceRequest, opts ...gax.CallOption) error { return c.internalClient.DeleteInstance(ctx, req, opts...) } @@ -682,7 +682,7 @@ type instanceAdminGRPCClient struct { // NewInstanceAdminClient creates a new instance admin client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// # Cloud Spanner Instance Admin API +// Cloud Spanner Instance Admin API // // The Cloud Spanner Instance Admin API can be used to create, delete, // modify and list instances. Instances are dedicated Cloud Spanner serving @@ -787,7 +787,7 @@ type instanceAdminRESTClient struct { // NewInstanceAdminRESTClient creates a new instance admin rest client. // -// # Cloud Spanner Instance Admin API +// Cloud Spanner Instance Admin API // // The Cloud Spanner Instance Admin API can be used to create, delete, // modify and list instances. Instances are dedicated Cloud Spanner serving @@ -1362,26 +1362,26 @@ func (c *instanceAdminRESTClient) GetInstanceConfig(ctx context.Context, req *in // // Immediately after the request returns: // -// The instance config is readable via the API, with all requested -// attributes. The instance config’s -// reconciling -// field is set to true. Its state is CREATING. +// The instance config is readable via the API, with all requested +// attributes. The instance config’s +// reconciling +// field is set to true. Its state is CREATING. // // While the operation is pending: // -// Cancelling the operation renders the instance config immediately -// unreadable via the API. +// Cancelling the operation renders the instance config immediately +// unreadable via the API. // -// Except for deleting the creating resource, all other attempts to modify -// the instance config are rejected. +// Except for deleting the creating resource, all other attempts to modify +// the instance config are rejected. // // Upon completion of the returned operation: // -// Instances can be created using the instance configuration. +// Instances can be created using the instance configuration. // -// The instance config’s -// reconciling -// field becomes false. Its state becomes READY. +// The instance config’s +// reconciling +// field becomes false. Its state becomes READY. // // The returned [long-running operation][google.longrunning.Operation] will // have a name of the format @@ -1474,32 +1474,32 @@ func (c *instanceAdminRESTClient) CreateInstanceConfig(ctx context.Context, req // // Immediately after the request returns: // -// The instance config’s -// reconciling -// field is set to true. +// The instance config’s +// reconciling +// field is set to true. // // While the operation is pending: // -// Cancelling the operation sets its metadata’s -// cancel_time. -// The operation is guaranteed to succeed at undoing all changes, after -// which point it terminates with a CANCELLED status. +// Cancelling the operation sets its metadata’s +// cancel_time. +// The operation is guaranteed to succeed at undoing all changes, after +// which point it terminates with a CANCELLED status. // -// All other attempts to modify the instance config are rejected. +// All other attempts to modify the instance config are rejected. // -// Reading the instance config via the API continues to give the -// pre-request values. +// Reading the instance config via the API continues to give the +// pre-request values. // // Upon completion of the returned operation: // -// Creating instances using the instance configuration uses the new -// values. +// Creating instances using the instance configuration uses the new +// values. // -// The instance config’s new values are readable via the API. +// The instance config’s new values are readable via the API. // -// The instance config’s -// reconciling -// field becomes false. +// The instance config’s +// reconciling +// field becomes false. // // The returned [long-running operation][google.longrunning.Operation] will // have a name of the format @@ -1907,28 +1907,28 @@ func (c *instanceAdminRESTClient) GetInstance(ctx context.Context, req *instance // // Immediately upon completion of this request: // -// The instance is readable via the API, with all requested attributes -// but no allocated resources. Its state is CREATING. +// The instance is readable via the API, with all requested attributes +// but no allocated resources. Its state is CREATING. // // Until completion of the returned operation: // -// Cancelling the operation renders the instance immediately unreadable -// via the API. +// Cancelling the operation renders the instance immediately unreadable +// via the API. // -// The instance can be deleted. +// The instance can be deleted. // -// All other attempts to modify the instance are rejected. +// All other attempts to modify the instance are rejected. // // Upon completion of the returned operation: // -// Billing for all successfully-allocated resources begins (some types -// may have lower than the requested levels). +// Billing for all successfully-allocated resources begins (some types +// may have lower than the requested levels). // -// Databases can be created in the instance. +// Databases can be created in the instance. // -// The instance’s allocated resource levels are readable via the API. +// The instance’s allocated resource levels are readable via the API. // -// The instance’s state becomes READY. +// The instance’s state becomes READY. // // The returned [long-running operation][google.longrunning.Operation] will // have a name of the format /operations/ and @@ -2014,31 +2014,31 @@ func (c *instanceAdminRESTClient) CreateInstance(ctx context.Context, req *insta // // Immediately upon completion of this request: // -// For resource types for which a decrease in the instance’s allocation -// has been requested, billing is based on the newly-requested level. +// For resource types for which a decrease in the instance’s allocation +// has been requested, billing is based on the newly-requested level. // // Until completion of the returned operation: // -// Cancelling the operation sets its metadata’s -// cancel_time, -// and begins restoring resources to their pre-request values. The -// operation is guaranteed to succeed at undoing all resource changes, -// after which point it terminates with a CANCELLED status. +// Cancelling the operation sets its metadata’s +// cancel_time, +// and begins restoring resources to their pre-request values. The +// operation is guaranteed to succeed at undoing all resource changes, +// after which point it terminates with a CANCELLED status. // -// All other attempts to modify the instance are rejected. +// All other attempts to modify the instance are rejected. // -// Reading the instance via the API continues to give the pre-request -// resource levels. +// Reading the instance via the API continues to give the pre-request +// resource levels. // // Upon completion of the returned operation: // -// Billing begins for all successfully-allocated resources (some types -// may have lower than the requested levels). +// Billing begins for all successfully-allocated resources (some types +// may have lower than the requested levels). // -// All newly-reserved resources are available for serving the instance’s -// tables. +// All newly-reserved resources are available for serving the instance’s +// tables. // -// The instance’s new resource levels are readable via the API. +// The instance’s new resource levels are readable via the API. // // The returned [long-running operation][google.longrunning.Operation] will // have a name of the format /operations/ and @@ -2123,13 +2123,13 @@ func (c *instanceAdminRESTClient) UpdateInstance(ctx context.Context, req *insta // // Immediately upon completion of the request: // -// Billing ceases for all of the instance’s reserved resources. +// Billing ceases for all of the instance’s reserved resources. // // Soon afterward: // -// The instance and all of its databases immediately and -// irrevocably disappear from the API. All data in the databases -// is permanently deleted. +// The instance and all of its databases immediately and +// irrevocably disappear from the API. All data in the databases +// is permanently deleted. func (c *instanceAdminRESTClient) DeleteInstance(ctx context.Context, req *instancepb.DeleteInstanceRequest, opts ...gax.CallOption) error { baseUrl, err := url.Parse(c.endpoint) if err != nil { diff --git a/spanner/admin/instance/apiv1/instancepb/common.pb.go b/spanner/admin/instance/apiv1/instancepb/common.pb.go index 21ca9895d3aa..5abee47db2e2 100755 --- a/spanner/admin/instance/apiv1/instancepb/common.pb.go +++ b/spanner/admin/instance/apiv1/instancepb/common.pb.go @@ -21,12 +21,11 @@ package instancepb 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" + reflect "reflect" + sync "sync" ) const ( diff --git a/spanner/admin/instance/apiv1/instancepb/spanner_instance_admin.pb.go b/spanner/admin/instance/apiv1/instancepb/spanner_instance_admin.pb.go index a616f1d6d62a..7fbbca13732d 100755 --- a/spanner/admin/instance/apiv1/instancepb/spanner_instance_admin.pb.go +++ b/spanner/admin/instance/apiv1/instancepb/spanner_instance_admin.pb.go @@ -21,12 +21,9 @@ package instancepb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,6 +33,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/spanner/apiv1/doc.go b/spanner/apiv1/doc.go index f3e63563dce9..6f87bfbf6a53 100755 --- a/spanner/apiv1/doc.go +++ b/spanner/apiv1/doc.go @@ -20,66 +20,65 @@ // Cloud Spanner is a managed, mission-critical, globally consistent and // scalable relational database service. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := spanner.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := spanner.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := spanner.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &spannerpb.BatchCreateSessionsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/spanner/apiv1/spannerpb#BatchCreateSessionsRequest. -// } -// resp, err := c.BatchCreateSessions(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := spanner.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &spannerpb.BatchCreateSessionsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/spanner/apiv1/spannerpb#BatchCreateSessionsRequest. +// } +// resp, err := c.BatchCreateSessions(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/spanner/apiv1/spanner_client.go b/spanner/apiv1/spanner_client.go index 9a3baba7b456..7dab52b757ab 100755 --- a/spanner/apiv1/spanner_client.go +++ b/spanner/apiv1/spanner_client.go @@ -422,7 +422,7 @@ type internalClient interface { // Client is a client for interacting with Cloud Spanner API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// # Cloud Spanner API +// Cloud Spanner API // // The Cloud Spanner API can be used to manage sessions and execute // transactions on data stored in Cloud Spanner databases. @@ -689,7 +689,7 @@ type gRPCClient struct { // NewClient creates a new spanner client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// # Cloud Spanner API +// Cloud Spanner API // // The Cloud Spanner API can be used to manage sessions and execute // transactions on data stored in Cloud Spanner databases. @@ -761,7 +761,7 @@ type restClient struct { // NewRESTClient creates a new spanner rest client. // -// # Cloud Spanner API +// Cloud Spanner API // // The Cloud Spanner API can be used to manage sessions and execute // transactions on data stored in Cloud Spanner databases. diff --git a/spanner/apiv1/spannerpb/commit_response.pb.go b/spanner/apiv1/spannerpb/commit_response.pb.go index d24a08242247..12f756c92b06 100755 --- a/spanner/apiv1/spannerpb/commit_response.pb.go +++ b/spanner/apiv1/spannerpb/commit_response.pb.go @@ -21,12 +21,11 @@ package spannerpb 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" + reflect "reflect" + sync "sync" ) const ( diff --git a/spanner/apiv1/spannerpb/keys.pb.go b/spanner/apiv1/spannerpb/keys.pb.go index 606082cb38f4..14ccc158207e 100755 --- a/spanner/apiv1/spannerpb/keys.pb.go +++ b/spanner/apiv1/spannerpb/keys.pb.go @@ -21,12 +21,11 @@ package spannerpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( @@ -48,15 +47,15 @@ const ( // // For example, consider the following table definition: // -// CREATE TABLE UserEvents ( -// UserName STRING(MAX), -// EventDate STRING(10) -// ) PRIMARY KEY(UserName, EventDate); +// CREATE TABLE UserEvents ( +// UserName STRING(MAX), +// EventDate STRING(10) +// ) PRIMARY KEY(UserName, EventDate); // // The following keys name rows in this table: // -// ["Bob", "2014-09-23"] -// ["Alfred", "2015-06-12"] +// ["Bob", "2014-09-23"] +// ["Alfred", "2015-06-12"] // // Since the `UserEvents` table's `PRIMARY KEY` clause names two // columns, each `UserEvents` key has two elements; the first is the @@ -67,8 +66,8 @@ const ( // sort order. For example, the following range returns all events for // user `"Bob"` that occurred in the year 2015: // -// "start_closed": ["Bob", "2015-01-01"] -// "end_closed": ["Bob", "2015-12-31"] +// "start_closed": ["Bob", "2015-01-01"] +// "end_closed": ["Bob", "2015-12-31"] // // Start and end keys can omit trailing key components. This affects the // inclusion and exclusion of rows that exactly match the provided key @@ -79,48 +78,48 @@ const ( // For example, the following range includes all events for `"Bob"` that // occurred during and after the year 2000: // -// "start_closed": ["Bob", "2000-01-01"] -// "end_closed": ["Bob"] +// "start_closed": ["Bob", "2000-01-01"] +// "end_closed": ["Bob"] // // The next example retrieves all events for `"Bob"`: // -// "start_closed": ["Bob"] -// "end_closed": ["Bob"] +// "start_closed": ["Bob"] +// "end_closed": ["Bob"] // // To retrieve events before the year 2000: // -// "start_closed": ["Bob"] -// "end_open": ["Bob", "2000-01-01"] +// "start_closed": ["Bob"] +// "end_open": ["Bob", "2000-01-01"] // // The following range includes all rows in the table: // -// "start_closed": [] -// "end_closed": [] +// "start_closed": [] +// "end_closed": [] // // This range returns all users whose `UserName` begins with any // character from A to C: // -// "start_closed": ["A"] -// "end_open": ["D"] +// "start_closed": ["A"] +// "end_open": ["D"] // // This range returns all users whose `UserName` begins with B: // -// "start_closed": ["B"] -// "end_open": ["C"] +// "start_closed": ["B"] +// "end_open": ["C"] // // Key ranges honor column sort order. For example, suppose a table is // defined as follows: // -// CREATE TABLE DescendingSortedTable { -// Key INT64, -// ... -// ) PRIMARY KEY(Key DESC); +// CREATE TABLE DescendingSortedTable { +// Key INT64, +// ... +// ) PRIMARY KEY(Key DESC); // // The following range retrieves all rows with key values between 1 // and 100 inclusive: // -// "start_closed": ["100"] -// "end_closed": ["1"] +// "start_closed": ["100"] +// "end_closed": ["1"] // // Note that 100 is passed as the start, and 1 is passed as the end, // because `Key` is a descending column in the schema. diff --git a/spanner/apiv1/spannerpb/mutation.pb.go b/spanner/apiv1/spannerpb/mutation.pb.go index b51672ef7e73..000ed8ea85e1 100755 --- a/spanner/apiv1/spannerpb/mutation.pb.go +++ b/spanner/apiv1/spannerpb/mutation.pb.go @@ -21,13 +21,12 @@ package spannerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/spanner/apiv1/spannerpb/query_plan.pb.go b/spanner/apiv1/spannerpb/query_plan.pb.go index 605b5eb79b51..ec6e140a225e 100755 --- a/spanner/apiv1/spannerpb/query_plan.pb.go +++ b/spanner/apiv1/spannerpb/query_plan.pb.go @@ -21,12 +21,11 @@ package spannerpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/spanner/apiv1/spannerpb/result_set.pb.go b/spanner/apiv1/spannerpb/result_set.pb.go index 85ea32c2bd22..d63691986ad5 100755 --- a/spanner/apiv1/spannerpb/result_set.pb.go +++ b/spanner/apiv1/spannerpb/result_set.pb.go @@ -21,12 +21,11 @@ package spannerpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/spanner/apiv1/spannerpb/spanner.pb.go b/spanner/apiv1/spannerpb/spanner.pb.go index cfb5f505d51b..6125e1f7718c 100755 --- a/spanner/apiv1/spannerpb/spanner.pb.go +++ b/spanner/apiv1/spannerpb/spanner.pb.go @@ -22,9 +22,6 @@ package spannerpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -50,16 +49,16 @@ const ( // The priority acts as a hint to the Cloud Spanner scheduler and does not // guarantee priority or order of execution. For example: // -// - Some parts of a write operation always execute at `PRIORITY_HIGH`, -// regardless of the specified priority. This may cause you to see an -// increase in high priority workload even when executing a low priority -// request. This can also potentially cause a priority inversion where a -// lower priority request will be fulfilled ahead of a higher priority -// request. -// - If a transaction contains multiple operations with different priorities, -// Cloud Spanner does not guarantee to process the higher priority -// operations first. There may be other constraints to satisfy, such as -// order of operations. +// * Some parts of a write operation always execute at `PRIORITY_HIGH`, +// regardless of the specified priority. This may cause you to see an +// increase in high priority workload even when executing a low priority +// request. This can also potentially cause a priority inversion where a +// lower priority request will be fulfilled ahead of a higher priority +// request. +// * If a transaction contains multiple operations with different priorities, +// Cloud Spanner does not guarantee to process the higher priority +// operations first. There may be other constraints to satisfy, such as +// order of operations. type RequestOptions_Priority int32 const ( @@ -1253,12 +1252,11 @@ func (x *ExecuteBatchDmlRequest) GetRequestOptions() *RequestOptions { // // 1. Check the status in the response message. The // [google.rpc.Code][google.rpc.Code] enum -// -// value `OK` indicates that all statements were executed successfully. -// 2. If the status was not `OK`, check the number of result sets in the -// response. If the response contains `N` -// [ResultSet][google.spanner.v1.ResultSet] messages, then statement `N+1` in -// the request failed. +// value `OK` indicates that all statements were executed successfully. +// 2. If the status was not `OK`, check the number of result sets in the +// response. If the response contains `N` +// [ResultSet][google.spanner.v1.ResultSet] messages, then statement `N+1` in +// the request failed. // // Example 1: // @@ -1271,10 +1269,9 @@ func (x *ExecuteBatchDmlRequest) GetRequestOptions() *RequestOptions { // * Request: 5 DML statements. The third statement has a syntax error. // * Response: 2 [ResultSet][google.spanner.v1.ResultSet] messages, and a syntax // error (`INVALID_ARGUMENT`) -// -// status. The number of [ResultSet][google.spanner.v1.ResultSet] messages -// indicates that the third statement failed, and the fourth and fifth -// statements were not executed. +// status. The number of [ResultSet][google.spanner.v1.ResultSet] messages +// indicates that the third statement failed, and the fourth and fifth +// statements were not executed. type ExecuteBatchDmlResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2354,22 +2351,20 @@ func (x *BatchWriteResponse) GetCommitTimestamp() *timestamppb.Timestamp { // Callers must provide one or more of the following fields for replica // selection: // -// - `location` - The location must be one of the regions within the -// multi-region configuration of your database. -// - `type` - The type of the replica. +// * `location` - The location must be one of the regions within the +// multi-region configuration of your database. +// * `type` - The type of the replica. // // Some examples of using replica_selectors are: // -// - `location:us-east1` --> The "us-east1" replica(s) of any available type -// will be used to process the request. -// - `type:READ_ONLY` --> The "READ_ONLY" type replica(s) in nearest -// +// * `location:us-east1` --> The "us-east1" replica(s) of any available type +// will be used to process the request. +// * `type:READ_ONLY` --> The "READ_ONLY" type replica(s) in nearest // . available location will be used to process the -// -// request. -// * `location:us-east1 type:READ_ONLY` --> The "READ_ONLY" type replica(s) -// in location "us-east1" will be used to process -// the request. +// request. +// * `location:us-east1 type:READ_ONLY` --> The "READ_ONLY" type replica(s) +// in location "us-east1" will be used to process +// the request. type DirectedReadOptions_ReplicaSelection struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/spanner/apiv1/spannerpb/transaction.pb.go b/spanner/apiv1/spannerpb/transaction.pb.go index d9dcfbecb21b..872a5055fb76 100755 --- a/spanner/apiv1/spannerpb/transaction.pb.go +++ b/spanner/apiv1/spannerpb/transaction.pb.go @@ -21,13 +21,12 @@ package spannerpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -111,32 +110,32 @@ func (TransactionOptions_ReadWrite_ReadLockMode) EnumDescriptor() ([]byte, []int // // Cloud Spanner supports three transaction modes: // -// 1. Locking read-write. This type of transaction is the only way -// to write data into Cloud Spanner. These transactions rely on -// pessimistic locking and, if necessary, two-phase commit. -// Locking read-write transactions may abort, requiring the -// application to retry. -// -// 2. Snapshot read-only. Snapshot read-only transactions provide guaranteed -// consistency across several reads, but do not allow -// writes. Snapshot read-only transactions can be configured to read at -// timestamps in the past, or configured to perform a strong read -// (where Spanner will select a timestamp such that the read is -// guaranteed to see the effects of all transactions that have committed -// before the start of the read). Snapshot read-only transactions do not -// need to be committed. -// -// Queries on change streams must be performed with the snapshot read-only -// transaction mode, specifying a strong read. Please see -// [TransactionOptions.ReadOnly.strong][google.spanner.v1.TransactionOptions.ReadOnly.strong] -// for more details. -// -// 3. Partitioned DML. This type of transaction is used to execute -// a single Partitioned DML statement. Partitioned DML partitions -// the key space and runs the DML statement over each partition -// in parallel using separate, internal transactions that commit -// independently. Partitioned DML transactions do not need to be -// committed. +// 1. Locking read-write. This type of transaction is the only way +// to write data into Cloud Spanner. These transactions rely on +// pessimistic locking and, if necessary, two-phase commit. +// Locking read-write transactions may abort, requiring the +// application to retry. +// +// 2. Snapshot read-only. Snapshot read-only transactions provide guaranteed +// consistency across several reads, but do not allow +// writes. Snapshot read-only transactions can be configured to read at +// timestamps in the past, or configured to perform a strong read +// (where Spanner will select a timestamp such that the read is +// guaranteed to see the effects of all transactions that have committed +// before the start of the read). Snapshot read-only transactions do not +// need to be committed. +// +// Queries on change streams must be performed with the snapshot read-only +// transaction mode, specifying a strong read. Please see +// [TransactionOptions.ReadOnly.strong][google.spanner.v1.TransactionOptions.ReadOnly.strong] +// for more details. +// +// 3. Partitioned DML. This type of transaction is used to execute +// a single Partitioned DML statement. Partitioned DML partitions +// the key space and runs the DML statement over each partition +// in parallel using separate, internal transactions that commit +// independently. Partitioned DML transactions do not need to be +// committed. // // For transactions that only read, snapshot read-only transactions // provide simpler semantics and are almost always faster. In @@ -387,38 +386,38 @@ func (TransactionOptions_ReadWrite_ReadLockMode) EnumDescriptor() ([]byte, []int // That said, Partitioned DML is not a drop-in replacement for standard DML used // in ReadWrite transactions. // -// - The DML statement must be fully-partitionable. Specifically, the statement -// must be expressible as the union of many statements which each access only -// a single row of the table. -// -// - The statement is not applied atomically to all rows of the table. Rather, -// the statement is applied atomically to partitions of the table, in -// independent transactions. Secondary index rows are updated atomically -// with the base table rows. -// -// - Partitioned DML does not guarantee exactly-once execution semantics -// against a partition. The statement will be applied at least once to each -// partition. It is strongly recommended that the DML statement should be -// idempotent to avoid unexpected results. For instance, it is potentially -// dangerous to run a statement such as -// `UPDATE table SET column = column + 1` as it could be run multiple times -// against some rows. -// -// - The partitions are committed automatically - there is no support for -// Commit or Rollback. If the call returns an error, or if the client issuing -// the ExecuteSql call dies, it is possible that some rows had the statement -// executed on them successfully. It is also possible that statement was -// never executed against other rows. -// -// - Partitioned DML transactions may only contain the execution of a single -// DML statement via ExecuteSql or ExecuteStreamingSql. -// -// - If any error is encountered during the execution of the partitioned DML -// operation (for instance, a UNIQUE INDEX violation, division by zero, or a -// value that cannot be stored due to schema constraints), then the -// operation is stopped at that point and an error is returned. It is -// possible that at this point, some partitions have been committed (or even -// committed multiple times), and other partitions have not been run at all. +// - The DML statement must be fully-partitionable. Specifically, the statement +// must be expressible as the union of many statements which each access only +// a single row of the table. +// +// - The statement is not applied atomically to all rows of the table. Rather, +// the statement is applied atomically to partitions of the table, in +// independent transactions. Secondary index rows are updated atomically +// with the base table rows. +// +// - Partitioned DML does not guarantee exactly-once execution semantics +// against a partition. The statement will be applied at least once to each +// partition. It is strongly recommended that the DML statement should be +// idempotent to avoid unexpected results. For instance, it is potentially +// dangerous to run a statement such as +// `UPDATE table SET column = column + 1` as it could be run multiple times +// against some rows. +// +// - The partitions are committed automatically - there is no support for +// Commit or Rollback. If the call returns an error, or if the client issuing +// the ExecuteSql call dies, it is possible that some rows had the statement +// executed on them successfully. It is also possible that statement was +// never executed against other rows. +// +// - Partitioned DML transactions may only contain the execution of a single +// DML statement via ExecuteSql or ExecuteStreamingSql. +// +// - If any error is encountered during the execution of the partitioned DML +// operation (for instance, a UNIQUE INDEX violation, division by zero, or a +// value that cannot be stored due to schema constraints), then the +// operation is stopped at that point and an error is returned. It is +// possible that at this point, some partitions have been committed (or even +// committed multiple times), and other partitions have not been run at all. // // Given the above, Partitioned DML is good fit for large, database-wide, // operations that are idempotent, such as deleting old rows from a very large diff --git a/spanner/apiv1/spannerpb/type.pb.go b/spanner/apiv1/spannerpb/type.pb.go index f440244f8c99..511945d84776 100755 --- a/spanner/apiv1/spannerpb/type.pb.go +++ b/spanner/apiv1/spannerpb/type.pb.go @@ -21,12 +21,11 @@ package spannerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/speech/apiv1/doc.go b/speech/apiv1/doc.go index 549db888195b..c00ed17ab2fe 100755 --- a/speech/apiv1/doc.go +++ b/speech/apiv1/doc.go @@ -19,71 +19,70 @@ // // Converts audio to text by applying powerful neural network models. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := speech.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := speech.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := speech.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &speechpb.LongRunningRecognizeRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/speech/apiv1/speechpb#LongRunningRecognizeRequest. -// } -// op, err := c.LongRunningRecognize(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := speech.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &speechpb.LongRunningRecognizeRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/speech/apiv1/speechpb#LongRunningRecognizeRequest. +// } +// op, err := c.LongRunningRecognize(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/speech/apiv1/speechpb/cloud_speech.pb.go b/speech/apiv1/speechpb/cloud_speech.pb.go index f13bcdaa0070..be4027d82805 100755 --- a/speech/apiv1/speechpb/cloud_speech.pb.go +++ b/speech/apiv1/speechpb/cloud_speech.pb.go @@ -21,11 +21,8 @@ package speechpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( @@ -1939,39 +1938,39 @@ func (x *LongRunningRecognizeMetadata) GetUri() string { // // 2. results { alternatives { transcript: "to be a" } stability: 0.01 } // -// 3. results { alternatives { transcript: "to be" } stability: 0.9 } -// results { alternatives { transcript: " or not to be" } stability: 0.01 } +// 3. results { alternatives { transcript: "to be" } stability: 0.9 } +// results { alternatives { transcript: " or not to be" } stability: 0.01 } // -// 4. results { alternatives { transcript: "to be or not to be" -// confidence: 0.92 } -// alternatives { transcript: "to bee or not to bee" } -// is_final: true } +// 4. results { alternatives { transcript: "to be or not to be" +// confidence: 0.92 } +// alternatives { transcript: "to bee or not to bee" } +// is_final: true } // // 5. results { alternatives { transcript: " that's" } stability: 0.01 } // -// 6. results { alternatives { transcript: " that is" } stability: 0.9 } -// results { alternatives { transcript: " the question" } stability: 0.01 } +// 6. results { alternatives { transcript: " that is" } stability: 0.9 } +// results { alternatives { transcript: " the question" } stability: 0.01 } // -// 7. results { alternatives { transcript: " that is the question" -// confidence: 0.98 } -// alternatives { transcript: " that was the question" } -// is_final: true } +// 7. results { alternatives { transcript: " that is the question" +// confidence: 0.98 } +// alternatives { transcript: " that was the question" } +// is_final: true } // // Notes: // -// - Only two of the above responses #4 and #7 contain final results; they are -// indicated by `is_final: true`. Concatenating these together generates the -// full transcript: "to be or not to be that is the question". +// - Only two of the above responses #4 and #7 contain final results; they are +// indicated by `is_final: true`. Concatenating these together generates the +// full transcript: "to be or not to be that is the question". // -// - The others contain interim `results`. #3 and #6 contain two interim -// `results`: the first portion has a high stability and is less likely to -// change; the second portion has a low stability and is very likely to -// change. A UI designer might choose to show only high stability `results`. +// - The others contain interim `results`. #3 and #6 contain two interim +// `results`: the first portion has a high stability and is less likely to +// change; the second portion has a low stability and is very likely to +// change. A UI designer might choose to show only high stability `results`. // -// - The specific `stability` and `confidence` values shown above are only for -// illustrative purposes. Actual values may vary. +// - The specific `stability` and `confidence` values shown above are only for +// illustrative purposes. Actual values may vary. // -// - In each response, only one of these fields will be set: +// - In each response, only one of these fields will be set: // `error`, // `speech_event_type`, or // one or more (repeated) `results`. diff --git a/speech/apiv1/speechpb/cloud_speech_adaptation.pb.go b/speech/apiv1/speechpb/cloud_speech_adaptation.pb.go index f0be2b12c501..8661d1302715 100755 --- a/speech/apiv1/speechpb/cloud_speech_adaptation.pb.go +++ b/speech/apiv1/speechpb/cloud_speech_adaptation.pb.go @@ -22,9 +22,6 @@ package speechpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/speech/apiv1/speechpb/resource.pb.go b/speech/apiv1/speechpb/resource.pb.go index af49d94c353c..4d0620071bca 100755 --- a/speech/apiv1/speechpb/resource.pb.go +++ b/speech/apiv1/speechpb/resource.pb.go @@ -21,12 +21,11 @@ package speechpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/speech/apiv1p1beta1/doc.go b/speech/apiv1p1beta1/doc.go index fc6b019fa8ec..096fadb91d1f 100755 --- a/speech/apiv1p1beta1/doc.go +++ b/speech/apiv1p1beta1/doc.go @@ -19,73 +19,72 @@ // // Converts audio to text by applying powerful neural network models. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := speech.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := speech.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := speech.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &speechpb.LongRunningRecognizeRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/speech/apiv1p1beta1/speechpb#LongRunningRecognizeRequest. -// } -// op, err := c.LongRunningRecognize(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := speech.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &speechpb.LongRunningRecognizeRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/speech/apiv1p1beta1/speechpb#LongRunningRecognizeRequest. +// } +// op, err := c.LongRunningRecognize(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/speech/apiv1p1beta1/speechpb/cloud_speech.pb.go b/speech/apiv1p1beta1/speechpb/cloud_speech.pb.go index 23df3be88277..33efbabc7fad 100755 --- a/speech/apiv1p1beta1/speechpb/cloud_speech.pb.go +++ b/speech/apiv1p1beta1/speechpb/cloud_speech.pb.go @@ -21,11 +21,8 @@ package speechpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( @@ -1991,39 +1990,39 @@ func (x *LongRunningRecognizeMetadata) GetOutputConfig() *TranscriptOutputConfig // // 2. results { alternatives { transcript: "to be a" } stability: 0.01 } // -// 3. results { alternatives { transcript: "to be" } stability: 0.9 } -// results { alternatives { transcript: " or not to be" } stability: 0.01 } +// 3. results { alternatives { transcript: "to be" } stability: 0.9 } +// results { alternatives { transcript: " or not to be" } stability: 0.01 } // -// 4. results { alternatives { transcript: "to be or not to be" -// confidence: 0.92 } -// alternatives { transcript: "to bee or not to bee" } -// is_final: true } +// 4. results { alternatives { transcript: "to be or not to be" +// confidence: 0.92 } +// alternatives { transcript: "to bee or not to bee" } +// is_final: true } // // 5. results { alternatives { transcript: " that's" } stability: 0.01 } // -// 6. results { alternatives { transcript: " that is" } stability: 0.9 } -// results { alternatives { transcript: " the question" } stability: 0.01 } +// 6. results { alternatives { transcript: " that is" } stability: 0.9 } +// results { alternatives { transcript: " the question" } stability: 0.01 } // -// 7. results { alternatives { transcript: " that is the question" -// confidence: 0.98 } -// alternatives { transcript: " that was the question" } -// is_final: true } +// 7. results { alternatives { transcript: " that is the question" +// confidence: 0.98 } +// alternatives { transcript: " that was the question" } +// is_final: true } // // Notes: // -// - Only two of the above responses #4 and #7 contain final results; they are -// indicated by `is_final: true`. Concatenating these together generates the -// full transcript: "to be or not to be that is the question". +// - Only two of the above responses #4 and #7 contain final results; they are +// indicated by `is_final: true`. Concatenating these together generates the +// full transcript: "to be or not to be that is the question". // -// - The others contain interim `results`. #3 and #6 contain two interim -// `results`: the first portion has a high stability and is less likely to -// change; the second portion has a low stability and is very likely to -// change. A UI designer might choose to show only high stability `results`. +// - The others contain interim `results`. #3 and #6 contain two interim +// `results`: the first portion has a high stability and is less likely to +// change; the second portion has a low stability and is very likely to +// change. A UI designer might choose to show only high stability `results`. // -// - The specific `stability` and `confidence` values shown above are only for -// illustrative purposes. Actual values may vary. +// - The specific `stability` and `confidence` values shown above are only for +// illustrative purposes. Actual values may vary. // -// - In each response, only one of these fields will be set: +// - In each response, only one of these fields will be set: // `error`, // `speech_event_type`, or // one or more (repeated) `results`. diff --git a/speech/apiv1p1beta1/speechpb/cloud_speech_adaptation.pb.go b/speech/apiv1p1beta1/speechpb/cloud_speech_adaptation.pb.go index d43bcdcb4d0a..c7e2decadd70 100755 --- a/speech/apiv1p1beta1/speechpb/cloud_speech_adaptation.pb.go +++ b/speech/apiv1p1beta1/speechpb/cloud_speech_adaptation.pb.go @@ -22,9 +22,6 @@ package speechpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/speech/apiv1p1beta1/speechpb/resource.pb.go b/speech/apiv1p1beta1/speechpb/resource.pb.go index 3ddb7d605b05..137053c9f9e7 100755 --- a/speech/apiv1p1beta1/speechpb/resource.pb.go +++ b/speech/apiv1p1beta1/speechpb/resource.pb.go @@ -21,12 +21,11 @@ package speechpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/speech/apiv2/doc.go b/speech/apiv2/doc.go index 06531277811b..740b045ff7e5 100755 --- a/speech/apiv2/doc.go +++ b/speech/apiv2/doc.go @@ -19,71 +19,70 @@ // // Converts audio to text by applying powerful neural network models. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := speech.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := speech.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := speech.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &speechpb.BatchRecognizeRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/speech/apiv2/speechpb#BatchRecognizeRequest. -// } -// op, err := c.BatchRecognize(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := speech.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &speechpb.BatchRecognizeRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/speech/apiv2/speechpb#BatchRecognizeRequest. +// } +// op, err := c.BatchRecognize(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/speech/apiv2/speechpb/cloud_speech.pb.go b/speech/apiv2/speechpb/cloud_speech.pb.go index 78814ab1eb40..5fe6cf6c7d38 100755 --- a/speech/apiv2/speechpb/cloud_speech.pb.go +++ b/speech/apiv2/speechpb/cloud_speech.pb.go @@ -21,11 +21,8 @@ package speechpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -3968,39 +3967,39 @@ func (x *StreamingRecognitionResult) GetLanguageCode() string { // // 2. results { alternatives { transcript: "to be a" } stability: 0.01 } // -// 3. results { alternatives { transcript: "to be" } stability: 0.9 } -// results { alternatives { transcript: " or not to be" } stability: 0.01 } +// 3. results { alternatives { transcript: "to be" } stability: 0.9 } +// results { alternatives { transcript: " or not to be" } stability: 0.01 } // -// 4. results { alternatives { transcript: "to be or not to be" -// confidence: 0.92 } -// alternatives { transcript: "to bee or not to bee" } -// is_final: true } +// 4. results { alternatives { transcript: "to be or not to be" +// confidence: 0.92 } +// alternatives { transcript: "to bee or not to bee" } +// is_final: true } // // 5. results { alternatives { transcript: " that's" } stability: 0.01 } // -// 6. results { alternatives { transcript: " that is" } stability: 0.9 } -// results { alternatives { transcript: " the question" } stability: 0.01 } +// 6. results { alternatives { transcript: " that is" } stability: 0.9 } +// results { alternatives { transcript: " the question" } stability: 0.01 } // -// 7. results { alternatives { transcript: " that is the question" -// confidence: 0.98 } -// alternatives { transcript: " that was the question" } -// is_final: true } +// 7. results { alternatives { transcript: " that is the question" +// confidence: 0.98 } +// alternatives { transcript: " that was the question" } +// is_final: true } // // Notes: // -// - Only two of the above responses #4 and #7 contain final results; they are -// indicated by `is_final: true`. Concatenating these together generates the -// full transcript: "to be or not to be that is the question". +// - Only two of the above responses #4 and #7 contain final results; they are +// indicated by `is_final: true`. Concatenating these together generates the +// full transcript: "to be or not to be that is the question". // -// - The others contain interim `results`. #3 and #6 contain two interim -// `results`: the first portion has a high stability and is less likely to -// change; the second portion has a low stability and is very likely to -// change. A UI designer might choose to show only high stability `results`. +// - The others contain interim `results`. #3 and #6 contain two interim +// `results`: the first portion has a high stability and is less likely to +// change; the second portion has a low stability and is very likely to +// change. A UI designer might choose to show only high stability `results`. // -// - The specific `stability` and `confidence` values shown above are only for -// illustrative purposes. Actual values may vary. +// - The specific `stability` and `confidence` values shown above are only for +// illustrative purposes. Actual values may vary. // -// - In each response, only one of these fields will be set: +// - In each response, only one of these fields will be set: // `error`, // `speech_event_type`, or // one or more (repeated) `results`. diff --git a/storage/internal/apiv2/doc.go b/storage/internal/apiv2/doc.go index 8159589ea9be..2ddb0e3f8419 100755 --- a/storage/internal/apiv2/doc.go +++ b/storage/internal/apiv2/doc.go @@ -29,81 +29,80 @@ // any time for any users who are not registered as a part of a private // preview program. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := storage.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := storage.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := storage.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// stream, err := c.BidiWriteObject(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// go func() { -// reqs := []*storagepb.BidiWriteObjectRequest{ -// // TODO: Create requests. -// } -// for _, req := range reqs { -// if err := stream.Send(req); err != nil { -// // TODO: Handle error. -// } -// } -// stream.CloseSend() -// }() -// for { -// resp, err := stream.Recv() -// if err == io.EOF { -// break -// } -// if err != nil { -// // TODO: handle error. -// } -// // TODO: Use resp. -// _ = resp -// } -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := storage.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// stream, err := c.BidiWriteObject(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// go func() { +// reqs := []*storagepb.BidiWriteObjectRequest{ +// // TODO: Create requests. +// } +// for _, req := range reqs { +// if err := stream.Send(req); err != nil { +// // TODO: Handle error. +// } +// } +// stream.CloseSend() +// }() +// for { +// resp, err := stream.Recv() +// if err == io.EOF { +// break +// } +// if err != nil { +// // TODO: handle error. +// } +// // TODO: Use resp. +// _ = resp +// } +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/storage/internal/apiv2/storage_client.go b/storage/internal/apiv2/storage_client.go index 64819950600c..e644d2cc864b 100755 --- a/storage/internal/apiv2/storage_client.go +++ b/storage/internal/apiv2/storage_client.go @@ -553,22 +553,22 @@ type internalClient interface { // // Resources are named as follows: // -// Projects are referred to as they are defined by the Resource Manager API, -// using strings like projects/123456 or projects/my-string-id. +// Projects are referred to as they are defined by the Resource Manager API, +// using strings like projects/123456 or projects/my-string-id. // -// Buckets are named using string names of the form: -// projects/{project}/buckets/{bucket} -// For globally unique buckets, _ may be substituted for the project. +// Buckets are named using string names of the form: +// projects/{project}/buckets/{bucket} +// For globally unique buckets, _ may be substituted for the project. // -// Objects are uniquely identified by their name along with the name of the -// bucket they belong to, as separate strings in this API. For example: +// Objects are uniquely identified by their name along with the name of the +// bucket they belong to, as separate strings in this API. For example: // -// ReadObjectRequest { -// bucket: ‘projects/_/buckets/my-bucket’ -// object: ‘my-object’ -// } -// Note that object names can contain / characters, which are treated as -// any other character (no special directory semantics). +// ReadObjectRequest { +// bucket: ‘projects/_/buckets/my-bucket’ +// object: ‘my-object’ +// } +// Note that object names can contain / characters, which are treated as +// any other character (no special directory semantics). type Client struct { // The internal transport-dependent client. internalClient internalClient @@ -744,37 +744,37 @@ func (c *Client) UpdateObject(ctx context.Context, req *storagepb.UpdateObjectRe // error or an error response from the server), the client should do as // follows: // -// Check the result Status of the stream, to determine if writing can be -// resumed on this stream or must be restarted from scratch (by calling -// StartResumableWrite()). The resumable errors are DEADLINE_EXCEEDED, -// INTERNAL, and UNAVAILABLE. For each case, the client should use binary -// exponential backoff before retrying. Additionally, writes can be -// resumed after RESOURCE_EXHAUSTED errors, but only after taking -// appropriate measures, which may include reducing aggregate send rate -// across clients and/or requesting a quota increase for your project. +// Check the result Status of the stream, to determine if writing can be +// resumed on this stream or must be restarted from scratch (by calling +// StartResumableWrite()). The resumable errors are DEADLINE_EXCEEDED, +// INTERNAL, and UNAVAILABLE. For each case, the client should use binary +// exponential backoff before retrying. Additionally, writes can be +// resumed after RESOURCE_EXHAUSTED errors, but only after taking +// appropriate measures, which may include reducing aggregate send rate +// across clients and/or requesting a quota increase for your project. // -// If the call to WriteObject returns ABORTED, that indicates -// concurrent attempts to update the resumable write, caused either by -// multiple racing clients or by a single client where the previous -// request was timed out on the client side but nonetheless reached the -// server. In this case the client should take steps to prevent further -// concurrent writes (e.g., increase the timeouts, stop using more than -// one process to perform the upload, etc.), and then should follow the -// steps below for resuming the upload. +// If the call to WriteObject returns ABORTED, that indicates +// concurrent attempts to update the resumable write, caused either by +// multiple racing clients or by a single client where the previous +// request was timed out on the client side but nonetheless reached the +// server. In this case the client should take steps to prevent further +// concurrent writes (e.g., increase the timeouts, stop using more than +// one process to perform the upload, etc.), and then should follow the +// steps below for resuming the upload. // -// For resumable errors, the client should call QueryWriteStatus() and -// then continue writing from the returned persisted_size. This may be -// less than the amount of data the client previously sent. Note also that -// it is acceptable to send data starting at an offset earlier than the -// returned persisted_size; in this case, the service will skip data at -// offsets that were already persisted (without checking that it matches -// the previously written data), and write only the data starting from the -// persisted offset. Even though the data isn’t written, it may still -// incur a performance cost over resuming at the correct write offset. -// This behavior can make client-side handling simpler in some cases. +// For resumable errors, the client should call QueryWriteStatus() and +// then continue writing from the returned persisted_size. This may be +// less than the amount of data the client previously sent. Note also that +// it is acceptable to send data starting at an offset earlier than the +// returned persisted_size; in this case, the service will skip data at +// offsets that were already persisted (without checking that it matches +// the previously written data), and write only the data starting from the +// persisted offset. Even though the data isn’t written, it may still +// incur a performance cost over resuming at the correct write offset. +// This behavior can make client-side handling simpler in some cases. // -// Clients must only send data that is a multiple of 256 KiB per message, -// unless the object is being finished with finish_write set to true. +// Clients must only send data that is a multiple of 256 KiB per message, +// unless the object is being finished with finish_write set to true. // // The service will not view the object as complete until the client has // sent a WriteObjectRequest with finish_write set to true. Sending any @@ -904,22 +904,22 @@ type gRPCClient struct { // // Resources are named as follows: // -// Projects are referred to as they are defined by the Resource Manager API, -// using strings like projects/123456 or projects/my-string-id. +// Projects are referred to as they are defined by the Resource Manager API, +// using strings like projects/123456 or projects/my-string-id. // -// Buckets are named using string names of the form: -// projects/{project}/buckets/{bucket} -// For globally unique buckets, _ may be substituted for the project. +// Buckets are named using string names of the form: +// projects/{project}/buckets/{bucket} +// For globally unique buckets, _ may be substituted for the project. // -// Objects are uniquely identified by their name along with the name of the -// bucket they belong to, as separate strings in this API. For example: +// Objects are uniquely identified by their name along with the name of the +// bucket they belong to, as separate strings in this API. For example: // -// ReadObjectRequest { -// bucket: ‘projects/_/buckets/my-bucket’ -// object: ‘my-object’ -// } -// Note that object names can contain / characters, which are treated as -// any other character (no special directory semantics). +// ReadObjectRequest { +// bucket: ‘projects/_/buckets/my-bucket’ +// object: ‘my-object’ +// } +// Note that object names can contain / characters, which are treated as +// any other character (no special directory semantics). func NewClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { clientOpts := defaultGRPCClientOptions() if newClientHook != nil { diff --git a/storage/internal/apiv2/storagepb/storage.pb.go b/storage/internal/apiv2/storagepb/storage.pb.go index 3486fd1533ec..26c0cebcf7d8 100755 --- a/storage/internal/apiv2/storagepb/storage.pb.go +++ b/storage/internal/apiv2/storagepb/storage.pb.go @@ -21,11 +21,8 @@ package storagepb import ( - context "context" - reflect "reflect" - sync "sync" - iampb "cloud.google.com/go/iam/apiv1/iampb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" grpc "google.golang.org/grpc" @@ -37,6 +34,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/storageinsights/apiv1/doc.go b/storageinsights/apiv1/doc.go index 7a621fe3e977..bf2dd8fa5f42 100755 --- a/storageinsights/apiv1/doc.go +++ b/storageinsights/apiv1/doc.go @@ -17,68 +17,67 @@ // Package storageinsights is an auto-generated package for the // Storage Insights API. // -// # Provides insights capability on Google Cloud Storage +// Provides insights capability on Google Cloud Storage // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := storageinsights.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := storageinsights.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := storageinsights.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &storageinsightspb.CreateReportConfigRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/storageinsights/apiv1/storageinsightspb#CreateReportConfigRequest. -// } -// resp, err := c.CreateReportConfig(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := storageinsights.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &storageinsightspb.CreateReportConfigRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/storageinsights/apiv1/storageinsightspb#CreateReportConfigRequest. +// } +// resp, err := c.CreateReportConfig(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/storageinsights/apiv1/storageinsightspb/storageinsights.pb.go b/storageinsights/apiv1/storageinsightspb/storageinsights.pb.go index 26428807e351..c5b0f2d35339 100755 --- a/storageinsights/apiv1/storageinsightspb/storageinsights.pb.go +++ b/storageinsights/apiv1/storageinsightspb/storageinsights.pb.go @@ -22,9 +22,6 @@ package storageinsightspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" date "google.golang.org/genproto/googleapis/type/date" @@ -37,6 +34,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/storagetransfer/apiv1/doc.go b/storagetransfer/apiv1/doc.go index f4660ace5b02..b55afcad4743 100755 --- a/storagetransfer/apiv1/doc.go +++ b/storagetransfer/apiv1/doc.go @@ -20,66 +20,65 @@ // Transfers data from external data sources to a Google Cloud Storage bucket // or between Google Cloud Storage buckets. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := storagetransfer.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := storagetransfer.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := storagetransfer.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &storagetransferpb.CreateAgentPoolRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/storagetransfer/apiv1/storagetransferpb#CreateAgentPoolRequest. -// } -// resp, err := c.CreateAgentPool(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := storagetransfer.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &storagetransferpb.CreateAgentPoolRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/storagetransfer/apiv1/storagetransferpb#CreateAgentPoolRequest. +// } +// resp, err := c.CreateAgentPool(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/storagetransfer/apiv1/storagetransferpb/transfer.pb.go b/storagetransfer/apiv1/storagetransferpb/transfer.pb.go index 0a02eae8d742..2cecb71121fa 100755 --- a/storagetransfer/apiv1/storagetransferpb/transfer.pb.go +++ b/storagetransfer/apiv1/storagetransferpb/transfer.pb.go @@ -21,11 +21,8 @@ package storagetransferpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/storagetransfer/apiv1/storagetransferpb/transfer_types.pb.go b/storagetransfer/apiv1/storagetransferpb/transfer_types.pb.go index ca1096f9c443..208a45f2e66e 100755 --- a/storagetransfer/apiv1/storagetransferpb/transfer_types.pb.go +++ b/storagetransfer/apiv1/storagetransferpb/transfer_types.pb.go @@ -21,9 +21,6 @@ package storagetransferpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" code "google.golang.org/genproto/googleapis/rpc/code" date "google.golang.org/genproto/googleapis/type/date" @@ -32,6 +29,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/support/apiv2/doc.go b/support/apiv2/doc.go index 7e72b6b70eb4..5fccec9ca9ee 100755 --- a/support/apiv2/doc.go +++ b/support/apiv2/doc.go @@ -20,72 +20,71 @@ // Manages Google Cloud technical support cases for Customer Care support // offerings. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := support.NewCaseAttachmentClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := support.NewCaseAttachmentClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := support.NewCaseAttachmentClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &supportpb.ListAttachmentsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/support/apiv2/supportpb#ListAttachmentsRequest. -// } -// it := c.ListAttachments(ctx, req) -// for { -// resp, err := it.Next() -// if err == iterator.Done { -// break -// } -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// } -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := support.NewCaseAttachmentClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &supportpb.ListAttachmentsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/support/apiv2/supportpb#ListAttachmentsRequest. +// } +// it := c.ListAttachments(ctx, req) +// for { +// resp, err := it.Next() +// if err == iterator.Done { +// break +// } +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// } +// +// Use of Context // // The ctx passed to NewCaseAttachmentClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/support/apiv2/supportpb/actor.pb.go b/support/apiv2/supportpb/actor.pb.go index 82fcf19222a9..640952b47a9c 100755 --- a/support/apiv2/supportpb/actor.pb.go +++ b/support/apiv2/supportpb/actor.pb.go @@ -21,12 +21,11 @@ package supportpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/support/apiv2/supportpb/attachment.pb.go b/support/apiv2/supportpb/attachment.pb.go index d50f903126e2..4e005fbbc474 100755 --- a/support/apiv2/supportpb/attachment.pb.go +++ b/support/apiv2/supportpb/attachment.pb.go @@ -21,13 +21,12 @@ package supportpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/support/apiv2/supportpb/attachment_service.pb.go b/support/apiv2/supportpb/attachment_service.pb.go index 3572313a495e..1973378ee5d4 100755 --- a/support/apiv2/supportpb/attachment_service.pb.go +++ b/support/apiv2/supportpb/attachment_service.pb.go @@ -22,15 +22,14 @@ package supportpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/support/apiv2/supportpb/case.pb.go b/support/apiv2/supportpb/case.pb.go index 2ece446b821d..a9cece8a2daa 100755 --- a/support/apiv2/supportpb/case.pb.go +++ b/support/apiv2/supportpb/case.pb.go @@ -21,13 +21,12 @@ package supportpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/support/apiv2/supportpb/case_service.pb.go b/support/apiv2/supportpb/case_service.pb.go index 7b2506762508..e295ed894784 100755 --- a/support/apiv2/supportpb/case_service.pb.go +++ b/support/apiv2/supportpb/case_service.pb.go @@ -22,9 +22,6 @@ package supportpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/support/apiv2/supportpb/comment.pb.go b/support/apiv2/supportpb/comment.pb.go index 67b581683177..54834e7dc36b 100755 --- a/support/apiv2/supportpb/comment.pb.go +++ b/support/apiv2/supportpb/comment.pb.go @@ -21,13 +21,12 @@ package supportpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/support/apiv2/supportpb/comment_service.pb.go b/support/apiv2/supportpb/comment_service.pb.go index 97b86a0845a6..2068a8b531c9 100755 --- a/support/apiv2/supportpb/comment_service.pb.go +++ b/support/apiv2/supportpb/comment_service.pb.go @@ -22,15 +22,14 @@ package supportpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/support/apiv2/supportpb/escalation.pb.go b/support/apiv2/supportpb/escalation.pb.go index d39b232ae352..ff6537b699ce 100755 --- a/support/apiv2/supportpb/escalation.pb.go +++ b/support/apiv2/supportpb/escalation.pb.go @@ -21,12 +21,11 @@ package supportpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4/doc.go b/talent/apiv4/doc.go index 80397b1f1d7d..9ea6984aecb3 100755 --- a/talent/apiv4/doc.go +++ b/talent/apiv4/doc.go @@ -20,66 +20,65 @@ // Cloud Talent Solution provides the capability to create, read, update, and // delete job postings, as well as search jobs based on keywords and filters. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := talent.NewCompanyClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := talent.NewCompanyClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := talent.NewCompanyClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &talentpb.CreateCompanyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/talent/apiv4/talentpb#CreateCompanyRequest. -// } -// resp, err := c.CreateCompany(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := talent.NewCompanyClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &talentpb.CreateCompanyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/talent/apiv4/talentpb#CreateCompanyRequest. +// } +// resp, err := c.CreateCompany(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewCompanyClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/talent/apiv4/talentpb/common.pb.go b/talent/apiv4/talentpb/common.pb.go index f25a5811219d..8631d8f7cde1 100755 --- a/talent/apiv4/talentpb/common.pb.go +++ b/talent/apiv4/talentpb/common.pb.go @@ -21,9 +21,6 @@ package talentpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" money "google.golang.org/genproto/googleapis/type/money" @@ -32,6 +29,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/company.pb.go b/talent/apiv4/talentpb/company.pb.go index c0790f7abb86..a60ebba7c04d 100755 --- a/talent/apiv4/talentpb/company.pb.go +++ b/talent/apiv4/talentpb/company.pb.go @@ -21,12 +21,11 @@ package talentpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/company_service.pb.go b/talent/apiv4/talentpb/company_service.pb.go index bd5af391c85c..7760c6d15c7a 100755 --- a/talent/apiv4/talentpb/company_service.pb.go +++ b/talent/apiv4/talentpb/company_service.pb.go @@ -22,9 +22,6 @@ package talentpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/completion_service.pb.go b/talent/apiv4/talentpb/completion_service.pb.go index a0d24432a8cb..d0ca8345623a 100755 --- a/talent/apiv4/talentpb/completion_service.pb.go +++ b/talent/apiv4/talentpb/completion_service.pb.go @@ -22,15 +22,14 @@ package talentpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/event.pb.go b/talent/apiv4/talentpb/event.pb.go index 8252c407fd51..074c7c6655cd 100755 --- a/talent/apiv4/talentpb/event.pb.go +++ b/talent/apiv4/talentpb/event.pb.go @@ -21,13 +21,12 @@ package talentpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/event_service.pb.go b/talent/apiv4/talentpb/event_service.pb.go index 5ea306183484..ad9782a71346 100755 --- a/talent/apiv4/talentpb/event_service.pb.go +++ b/talent/apiv4/talentpb/event_service.pb.go @@ -22,15 +22,14 @@ package talentpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/filters.pb.go b/talent/apiv4/talentpb/filters.pb.go index 5711f4f6efb9..db1001327858 100755 --- a/talent/apiv4/talentpb/filters.pb.go +++ b/talent/apiv4/talentpb/filters.pb.go @@ -21,15 +21,14 @@ package talentpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" timeofday "google.golang.org/genproto/googleapis/type/timeofday" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/histogram.pb.go b/talent/apiv4/talentpb/histogram.pb.go index f5ac1941244d..a3fa249b0f9b 100755 --- a/talent/apiv4/talentpb/histogram.pb.go +++ b/talent/apiv4/talentpb/histogram.pb.go @@ -21,11 +21,10 @@ package talentpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/job.pb.go b/talent/apiv4/talentpb/job.pb.go index 43bad9685176..05256188076b 100755 --- a/talent/apiv4/talentpb/job.pb.go +++ b/talent/apiv4/talentpb/job.pb.go @@ -21,13 +21,12 @@ package talentpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/job_service.pb.go b/talent/apiv4/talentpb/job_service.pb.go index e22175e02407..7d0b00180733 100755 --- a/talent/apiv4/talentpb/job_service.pb.go +++ b/talent/apiv4/talentpb/job_service.pb.go @@ -21,11 +21,8 @@ package talentpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/tenant.pb.go b/talent/apiv4/talentpb/tenant.pb.go index 1368a73f1df4..d1e6d51bf45b 100755 --- a/talent/apiv4/talentpb/tenant.pb.go +++ b/talent/apiv4/talentpb/tenant.pb.go @@ -21,12 +21,11 @@ package talentpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/tenant_service.pb.go b/talent/apiv4/talentpb/tenant_service.pb.go index ae15ae44081d..612d4534e70f 100755 --- a/talent/apiv4/talentpb/tenant_service.pb.go +++ b/talent/apiv4/talentpb/tenant_service.pb.go @@ -22,9 +22,6 @@ package talentpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4beta1/doc.go b/talent/apiv4beta1/doc.go index 06f87f3a7947..8bccb66bf0ad 100755 --- a/talent/apiv4beta1/doc.go +++ b/talent/apiv4beta1/doc.go @@ -20,68 +20,67 @@ // Cloud Talent Solution provides the capability to create, read, update, and // delete job postings, as well as search jobs based on keywords and filters. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := talent.NewCompanyClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := talent.NewCompanyClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := talent.NewCompanyClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &talentpb.CreateCompanyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/talent/apiv4beta1/talentpb#CreateCompanyRequest. -// } -// resp, err := c.CreateCompany(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := talent.NewCompanyClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &talentpb.CreateCompanyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/talent/apiv4beta1/talentpb#CreateCompanyRequest. +// } +// resp, err := c.CreateCompany(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewCompanyClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/talent/apiv4beta1/talentpb/batch.pb.go b/talent/apiv4beta1/talentpb/batch.pb.go index 292fcf3c0406..c260c54a10bd 100755 --- a/talent/apiv4beta1/talentpb/batch.pb.go +++ b/talent/apiv4beta1/talentpb/batch.pb.go @@ -21,10 +21,9 @@ package talentpb import ( - reflect "reflect" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) const ( diff --git a/talent/apiv4beta1/talentpb/common.pb.go b/talent/apiv4beta1/talentpb/common.pb.go index 1f2b5677248f..8ca9a6bc91c9 100755 --- a/talent/apiv4beta1/talentpb/common.pb.go +++ b/talent/apiv4beta1/talentpb/common.pb.go @@ -21,9 +21,6 @@ package talentpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" money "google.golang.org/genproto/googleapis/type/money" @@ -32,6 +29,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/company.pb.go b/talent/apiv4beta1/talentpb/company.pb.go index 77cb5ded6bfd..14ff35af8fc3 100755 --- a/talent/apiv4beta1/talentpb/company.pb.go +++ b/talent/apiv4beta1/talentpb/company.pb.go @@ -21,12 +21,11 @@ package talentpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/company_service.pb.go b/talent/apiv4beta1/talentpb/company_service.pb.go index fe790da9d8c6..3e498c49a2d0 100755 --- a/talent/apiv4beta1/talentpb/company_service.pb.go +++ b/talent/apiv4beta1/talentpb/company_service.pb.go @@ -22,9 +22,6 @@ package talentpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/completion_service.pb.go b/talent/apiv4beta1/talentpb/completion_service.pb.go index 6be1ea82892c..b073f20f791b 100755 --- a/talent/apiv4beta1/talentpb/completion_service.pb.go +++ b/talent/apiv4beta1/talentpb/completion_service.pb.go @@ -22,15 +22,14 @@ package talentpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/event.pb.go b/talent/apiv4beta1/talentpb/event.pb.go index 105276656c06..4ad3349161c0 100755 --- a/talent/apiv4beta1/talentpb/event.pb.go +++ b/talent/apiv4beta1/talentpb/event.pb.go @@ -21,13 +21,12 @@ package talentpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/event_service.pb.go b/talent/apiv4beta1/talentpb/event_service.pb.go index 85620ee83b35..8c137aa33730 100755 --- a/talent/apiv4beta1/talentpb/event_service.pb.go +++ b/talent/apiv4beta1/talentpb/event_service.pb.go @@ -22,15 +22,14 @@ package talentpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/filters.pb.go b/talent/apiv4beta1/talentpb/filters.pb.go index 697e11d63911..fcfc1c669a2f 100755 --- a/talent/apiv4beta1/talentpb/filters.pb.go +++ b/talent/apiv4beta1/talentpb/filters.pb.go @@ -21,15 +21,14 @@ package talentpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" timeofday "google.golang.org/genproto/googleapis/type/timeofday" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/histogram.pb.go b/talent/apiv4beta1/talentpb/histogram.pb.go index 62969be662d0..e21647446f35 100755 --- a/talent/apiv4beta1/talentpb/histogram.pb.go +++ b/talent/apiv4beta1/talentpb/histogram.pb.go @@ -21,11 +21,10 @@ package talentpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/job.pb.go b/talent/apiv4beta1/talentpb/job.pb.go index efa9271b5111..7a2744f07963 100755 --- a/talent/apiv4beta1/talentpb/job.pb.go +++ b/talent/apiv4beta1/talentpb/job.pb.go @@ -21,13 +21,12 @@ package talentpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/job_service.pb.go b/talent/apiv4beta1/talentpb/job_service.pb.go index 7d96d7d72adc..1e33236329de 100755 --- a/talent/apiv4beta1/talentpb/job_service.pb.go +++ b/talent/apiv4beta1/talentpb/job_service.pb.go @@ -21,11 +21,8 @@ package talentpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/tenant.pb.go b/talent/apiv4beta1/talentpb/tenant.pb.go index 47fb5c609adf..381b91370ade 100755 --- a/talent/apiv4beta1/talentpb/tenant.pb.go +++ b/talent/apiv4beta1/talentpb/tenant.pb.go @@ -21,12 +21,11 @@ package talentpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/tenant_service.pb.go b/talent/apiv4beta1/talentpb/tenant_service.pb.go index 131b5ccf9d33..6a107635947a 100755 --- a/talent/apiv4beta1/talentpb/tenant_service.pb.go +++ b/talent/apiv4beta1/talentpb/tenant_service.pb.go @@ -22,9 +22,6 @@ package talentpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/telcoautomation/apiv1/doc.go b/telcoautomation/apiv1/doc.go index 319a9643c0fc..2dde93c39b19 100755 --- a/telcoautomation/apiv1/doc.go +++ b/telcoautomation/apiv1/doc.go @@ -20,68 +20,67 @@ // APIs to automate 5G deployment and management of cloud infrastructure and // network functions. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := telcoautomation.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := telcoautomation.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := telcoautomation.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &telcoautomationpb.ApplyDeploymentRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#ApplyDeploymentRequest. -// } -// resp, err := c.ApplyDeployment(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := telcoautomation.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &telcoautomationpb.ApplyDeploymentRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#ApplyDeploymentRequest. +// } +// resp, err := c.ApplyDeployment(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/telcoautomation/apiv1/telcoautomationpb/telcoautomation.pb.go b/telcoautomation/apiv1/telcoautomationpb/telcoautomation.pb.go index 2408d5325646..b2f22f158415 100755 --- a/telcoautomation/apiv1/telcoautomationpb/telcoautomation.pb.go +++ b/telcoautomation/apiv1/telcoautomationpb/telcoautomation.pb.go @@ -21,11 +21,8 @@ package telcoautomationpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/texttospeech/apiv1/doc.go b/texttospeech/apiv1/doc.go index b35cf0b67591..16a2a6582aa1 100755 --- a/texttospeech/apiv1/doc.go +++ b/texttospeech/apiv1/doc.go @@ -20,66 +20,65 @@ // Synthesizes natural-sounding speech by applying powerful neural network // models. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := texttospeech.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := texttospeech.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := texttospeech.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &texttospeechpb.ListVoicesRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/texttospeech/apiv1/texttospeechpb#ListVoicesRequest. -// } -// resp, err := c.ListVoices(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := texttospeech.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &texttospeechpb.ListVoicesRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/texttospeech/apiv1/texttospeechpb#ListVoicesRequest. +// } +// resp, err := c.ListVoices(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/texttospeech/apiv1/texttospeechpb/cloud_tts.pb.go b/texttospeech/apiv1/texttospeechpb/cloud_tts.pb.go index f9d7cb06087b..70ed40899f8d 100755 --- a/texttospeech/apiv1/texttospeechpb/cloud_tts.pb.go +++ b/texttospeech/apiv1/texttospeechpb/cloud_tts.pb.go @@ -22,15 +22,14 @@ package texttospeechpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/texttospeech/apiv1/texttospeechpb/cloud_tts_lrs.pb.go b/texttospeech/apiv1/texttospeechpb/cloud_tts_lrs.pb.go index 14e7705eafab..80917d307810 100755 --- a/texttospeech/apiv1/texttospeechpb/cloud_tts_lrs.pb.go +++ b/texttospeech/apiv1/texttospeechpb/cloud_tts_lrs.pb.go @@ -21,11 +21,8 @@ package texttospeechpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/tpu/apiv1/doc.go b/tpu/apiv1/doc.go index 0fc1e673ec12..abb888b9daa3 100755 --- a/tpu/apiv1/doc.go +++ b/tpu/apiv1/doc.go @@ -19,71 +19,70 @@ // // TPU API provides customers with access to Google TPU technology. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := tpu.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := tpu.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := tpu.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &tpupb.CreateNodeRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/tpu/apiv1/tpupb#CreateNodeRequest. -// } -// op, err := c.CreateNode(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := tpu.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &tpupb.CreateNodeRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/tpu/apiv1/tpupb#CreateNodeRequest. +// } +// op, err := c.CreateNode(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/tpu/apiv1/tpu_client.go b/tpu/apiv1/tpu_client.go index dd10083ad303..9d3635e762ff 100755 --- a/tpu/apiv1/tpu_client.go +++ b/tpu/apiv1/tpu_client.go @@ -148,7 +148,7 @@ type internalClient interface { // Client is a client for interacting with Cloud TPU API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// # Manages TPU nodes and other resources +// Manages TPU nodes and other resources // // TPU API v1 type Client struct { @@ -331,7 +331,7 @@ type gRPCClient struct { // NewClient creates a new tpu client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// # Manages TPU nodes and other resources +// Manages TPU nodes and other resources // // TPU API v1 func NewClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { diff --git a/tpu/apiv1/tpupb/cloud_tpu.pb.go b/tpu/apiv1/tpupb/cloud_tpu.pb.go index dc3aa31678a6..118de6cbb380 100755 --- a/tpu/apiv1/tpupb/cloud_tpu.pb.go +++ b/tpu/apiv1/tpupb/cloud_tpu.pb.go @@ -21,11 +21,8 @@ package tpupb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/trace/apiv1/doc.go b/trace/apiv1/doc.go index d828614388e6..660fdea44bb2 100755 --- a/trace/apiv1/doc.go +++ b/trace/apiv1/doc.go @@ -23,66 +23,65 @@ // interact with the Trace API directly. If you are looking to instrument // your application for Stackdriver Trace, we recommend using OpenTelemetry. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := trace.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := trace.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := trace.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &tracepb.GetTraceRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/trace/apiv1/tracepb#GetTraceRequest. -// } -// resp, err := c.GetTrace(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := trace.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &tracepb.GetTraceRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/trace/apiv1/tracepb#GetTraceRequest. +// } +// resp, err := c.GetTrace(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/trace/apiv1/tracepb/trace.pb.go b/trace/apiv1/tracepb/trace.pb.go index 0a2b86c3623b..18a71496f28c 100755 --- a/trace/apiv1/tracepb/trace.pb.go +++ b/trace/apiv1/tracepb/trace.pb.go @@ -22,9 +22,6 @@ package tracepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/trace/apiv2/auxiliary.go b/trace/apiv2/auxiliary.go index 7fa8fa561361..e828ffc1d792 100755 --- a/trace/apiv2/auxiliary.go +++ b/trace/apiv2/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package trace + +import () diff --git a/trace/apiv2/doc.go b/trace/apiv2/doc.go index 254e6b60b430..c797cf9a5cb0 100755 --- a/trace/apiv2/doc.go +++ b/trace/apiv2/doc.go @@ -23,66 +23,65 @@ // interact with the Trace API directly. If you are looking to instrument // your application for Stackdriver Trace, we recommend using OpenTelemetry. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := trace.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := trace.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := trace.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &tracepb.BatchWriteSpansRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/trace/apiv2/tracepb#BatchWriteSpansRequest. -// } -// err = c.BatchWriteSpans(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := trace.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &tracepb.BatchWriteSpansRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/trace/apiv2/tracepb#BatchWriteSpansRequest. +// } +// err = c.BatchWriteSpans(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/trace/apiv2/tracepb/trace.pb.go b/trace/apiv2/tracepb/trace.pb.go index c72e41ea2866..3f13acc7d3df 100755 --- a/trace/apiv2/tracepb/trace.pb.go +++ b/trace/apiv2/tracepb/trace.pb.go @@ -21,15 +21,14 @@ package tracepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( diff --git a/trace/apiv2/tracepb/tracing.pb.go b/trace/apiv2/tracepb/tracing.pb.go index 04fceab3708b..5009712e6496 100755 --- a/trace/apiv2/tracepb/tracing.pb.go +++ b/trace/apiv2/tracepb/tracing.pb.go @@ -22,9 +22,6 @@ package tracepb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/translate/apiv3/doc.go b/translate/apiv3/doc.go index 13e1c431d794..79c1a5dff134 100755 --- a/translate/apiv3/doc.go +++ b/translate/apiv3/doc.go @@ -19,71 +19,70 @@ // // Integrates text translation into your website or application. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := translate.NewTranslationClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := translate.NewTranslationClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := translate.NewTranslationClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &translatepb.BatchTranslateDocumentRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/translate/apiv3/translatepb#BatchTranslateDocumentRequest. -// } -// op, err := c.BatchTranslateDocument(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := translate.NewTranslationClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &translatepb.BatchTranslateDocumentRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/translate/apiv3/translatepb#BatchTranslateDocumentRequest. +// } +// op, err := c.BatchTranslateDocument(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewTranslationClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/translate/apiv3/translatepb/translation_service.pb.go b/translate/apiv3/translatepb/translation_service.pb.go index 04a6be4019a1..14cf0189eecf 100755 --- a/translate/apiv3/translatepb/translation_service.pb.go +++ b/translate/apiv3/translatepb/translation_service.pb.go @@ -21,11 +21,8 @@ package translatepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/livestream/apiv1/doc.go b/video/livestream/apiv1/doc.go index 6f47f7f59ff0..b5e0159cbd47 100755 --- a/video/livestream/apiv1/doc.go +++ b/video/livestream/apiv1/doc.go @@ -17,71 +17,70 @@ // Package livestream is an auto-generated package for the // Live Stream API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := livestream.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := livestream.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := livestream.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &livestreampb.CreateAssetRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/video/livestream/apiv1/livestreampb#CreateAssetRequest. -// } -// op, err := c.CreateAsset(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := livestream.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &livestreampb.CreateAssetRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/video/livestream/apiv1/livestreampb#CreateAssetRequest. +// } +// op, err := c.CreateAsset(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/video/livestream/apiv1/livestreampb/outputs.pb.go b/video/livestream/apiv1/livestreampb/outputs.pb.go index 3d779298b570..4cdacfa570b8 100755 --- a/video/livestream/apiv1/livestreampb/outputs.pb.go +++ b/video/livestream/apiv1/livestreampb/outputs.pb.go @@ -21,14 +21,13 @@ package livestreampb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" datetime "google.golang.org/genproto/googleapis/type/datetime" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/livestream/apiv1/livestreampb/resources.pb.go b/video/livestream/apiv1/livestreampb/resources.pb.go index 4f5a0702dab1..773cfb431841 100755 --- a/video/livestream/apiv1/livestreampb/resources.pb.go +++ b/video/livestream/apiv1/livestreampb/resources.pb.go @@ -21,15 +21,14 @@ package livestreampb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/livestream/apiv1/livestreampb/service.pb.go b/video/livestream/apiv1/livestreampb/service.pb.go index 870bf860a470..1bce44337a29 100755 --- a/video/livestream/apiv1/livestreampb/service.pb.go +++ b/video/livestream/apiv1/livestreampb/service.pb.go @@ -21,11 +21,8 @@ package livestreampb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/stitcher/apiv1/doc.go b/video/stitcher/apiv1/doc.go index 419f9636a833..457464b65329 100755 --- a/video/stitcher/apiv1/doc.go +++ b/video/stitcher/apiv1/doc.go @@ -17,71 +17,70 @@ // Package stitcher is an auto-generated package for the // Video Stitcher API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := stitcher.NewVideoStitcherClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := stitcher.NewVideoStitcherClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := stitcher.NewVideoStitcherClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &stitcherpb.CreateCdnKeyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/video/stitcher/apiv1/stitcherpb#CreateCdnKeyRequest. -// } -// op, err := c.CreateCdnKey(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := stitcher.NewVideoStitcherClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &stitcherpb.CreateCdnKeyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/video/stitcher/apiv1/stitcherpb#CreateCdnKeyRequest. +// } +// op, err := c.CreateCdnKey(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewVideoStitcherClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/video/stitcher/apiv1/stitcherpb/ad_tag_details.pb.go b/video/stitcher/apiv1/stitcherpb/ad_tag_details.pb.go index f3569f0e9c9c..8bf3fcf805fc 100755 --- a/video/stitcher/apiv1/stitcherpb/ad_tag_details.pb.go +++ b/video/stitcher/apiv1/stitcherpb/ad_tag_details.pb.go @@ -21,14 +21,13 @@ package stitcherpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/stitcher/apiv1/stitcherpb/cdn_keys.pb.go b/video/stitcher/apiv1/stitcherpb/cdn_keys.pb.go index acdd4998a45f..56af1a39bdb4 100755 --- a/video/stitcher/apiv1/stitcherpb/cdn_keys.pb.go +++ b/video/stitcher/apiv1/stitcherpb/cdn_keys.pb.go @@ -21,12 +21,11 @@ package stitcherpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/stitcher/apiv1/stitcherpb/companions.pb.go b/video/stitcher/apiv1/stitcherpb/companions.pb.go index 1f63a1e5dc89..3dbcc0c0b231 100755 --- a/video/stitcher/apiv1/stitcherpb/companions.pb.go +++ b/video/stitcher/apiv1/stitcherpb/companions.pb.go @@ -21,11 +21,10 @@ package stitcherpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/stitcher/apiv1/stitcherpb/events.pb.go b/video/stitcher/apiv1/stitcherpb/events.pb.go index 6cc3a44f78d1..cbef0414df6c 100755 --- a/video/stitcher/apiv1/stitcherpb/events.pb.go +++ b/video/stitcher/apiv1/stitcherpb/events.pb.go @@ -21,12 +21,11 @@ package stitcherpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/stitcher/apiv1/stitcherpb/live_configs.pb.go b/video/stitcher/apiv1/stitcherpb/live_configs.pb.go index 3a6488a0ff6b..e30e9b78f59a 100755 --- a/video/stitcher/apiv1/stitcherpb/live_configs.pb.go +++ b/video/stitcher/apiv1/stitcherpb/live_configs.pb.go @@ -21,13 +21,12 @@ package stitcherpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/stitcher/apiv1/stitcherpb/sessions.pb.go b/video/stitcher/apiv1/stitcherpb/sessions.pb.go index 70bee92bd451..837fb1e75a0e 100755 --- a/video/stitcher/apiv1/stitcherpb/sessions.pb.go +++ b/video/stitcher/apiv1/stitcherpb/sessions.pb.go @@ -21,13 +21,12 @@ package stitcherpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/stitcher/apiv1/stitcherpb/slates.pb.go b/video/stitcher/apiv1/stitcherpb/slates.pb.go index c4cc5c8a5d73..9d2195456114 100755 --- a/video/stitcher/apiv1/stitcherpb/slates.pb.go +++ b/video/stitcher/apiv1/stitcherpb/slates.pb.go @@ -21,12 +21,11 @@ package stitcherpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/stitcher/apiv1/stitcherpb/stitch_details.pb.go b/video/stitcher/apiv1/stitcherpb/stitch_details.pb.go index 2e901072d5b0..8a9e32d660e5 100755 --- a/video/stitcher/apiv1/stitcherpb/stitch_details.pb.go +++ b/video/stitcher/apiv1/stitcherpb/stitch_details.pb.go @@ -21,14 +21,13 @@ package stitcherpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/stitcher/apiv1/stitcherpb/video_stitcher_service.pb.go b/video/stitcher/apiv1/stitcherpb/video_stitcher_service.pb.go index 12c9d99e40df..3b0c3f6e841b 100755 --- a/video/stitcher/apiv1/stitcherpb/video_stitcher_service.pb.go +++ b/video/stitcher/apiv1/stitcherpb/video_stitcher_service.pb.go @@ -21,11 +21,8 @@ package stitcherpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/transcoder/apiv1/doc.go b/video/transcoder/apiv1/doc.go index 20779dc5b581..326e1dc11df4 100755 --- a/video/transcoder/apiv1/doc.go +++ b/video/transcoder/apiv1/doc.go @@ -21,66 +21,65 @@ // distribution. For more information, see the TranscoderAPI overview (at // https://cloud.google.com/transcoder/docs/concepts/overview). // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := transcoder.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := transcoder.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := transcoder.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &transcoderpb.CreateJobRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/video/transcoder/apiv1/transcoderpb#CreateJobRequest. -// } -// resp, err := c.CreateJob(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := transcoder.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &transcoderpb.CreateJobRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/video/transcoder/apiv1/transcoderpb#CreateJobRequest. +// } +// resp, err := c.CreateJob(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/video/transcoder/apiv1/transcoderpb/resources.pb.go b/video/transcoder/apiv1/transcoderpb/resources.pb.go index 71b23cf390d3..83eb1566ee21 100755 --- a/video/transcoder/apiv1/transcoderpb/resources.pb.go +++ b/video/transcoder/apiv1/transcoderpb/resources.pb.go @@ -21,15 +21,14 @@ package transcoderpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/video/transcoder/apiv1/transcoderpb/services.pb.go b/video/transcoder/apiv1/transcoderpb/services.pb.go index 080393425645..a6c3a64579d5 100755 --- a/video/transcoder/apiv1/transcoderpb/services.pb.go +++ b/video/transcoder/apiv1/transcoderpb/services.pb.go @@ -22,9 +22,6 @@ package transcoderpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" ) const ( diff --git a/videointelligence/apiv1/doc.go b/videointelligence/apiv1/doc.go index 2199fd37def8..e4b287c5fa76 100755 --- a/videointelligence/apiv1/doc.go +++ b/videointelligence/apiv1/doc.go @@ -21,71 +21,70 @@ // specifies the region for annotation and transcribes speech to text. // Supports both asynchronous API and streaming API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := videointelligence.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := videointelligence.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := videointelligence.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &videointelligencepb.AnnotateVideoRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/videointelligence/apiv1/videointelligencepb#AnnotateVideoRequest. -// } -// op, err := c.AnnotateVideo(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := videointelligence.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &videointelligencepb.AnnotateVideoRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/videointelligence/apiv1/videointelligencepb#AnnotateVideoRequest. +// } +// op, err := c.AnnotateVideo(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/videointelligence/apiv1/videointelligencepb/video_intelligence.pb.go b/videointelligence/apiv1/videointelligencepb/video_intelligence.pb.go index 4ae7510640f6..57a6a730941d 100755 --- a/videointelligence/apiv1/videointelligencepb/video_intelligence.pb.go +++ b/videointelligence/apiv1/videointelligencepb/video_intelligence.pb.go @@ -21,11 +21,8 @@ package videointelligencepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -2992,17 +2991,15 @@ func (x *NormalizedVertex) GetY() float32 { // Contains list of the corner points in clockwise order starting from // top-left corner. For example, for a rectangular bounding box: // When the text is horizontal it might look like: -// -// 0----1 -// | | -// 3----2 +// 0----1 +// | | +// 3----2 // // When it's clockwise rotated 180 degrees around the top-left corner it // becomes: -// -// 2----3 -// | | -// 1----0 +// 2----3 +// | | +// 1----0 // // and the vertex order will still be (0, 1, 2, 3). Note that values can be less // than 0, or greater than 1 due to trignometric calculations for location of diff --git a/videointelligence/apiv1beta2/doc.go b/videointelligence/apiv1beta2/doc.go index 35813f2d5375..ad24d9bf094b 100755 --- a/videointelligence/apiv1beta2/doc.go +++ b/videointelligence/apiv1beta2/doc.go @@ -21,73 +21,72 @@ // specifies the region for annotation and transcribes speech to text. // Supports both asynchronous API and streaming API. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := videointelligence.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := videointelligence.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := videointelligence.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &videointelligencepb.AnnotateVideoRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb#AnnotateVideoRequest. -// } -// op, err := c.AnnotateVideo(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := videointelligence.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &videointelligencepb.AnnotateVideoRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb#AnnotateVideoRequest. +// } +// op, err := c.AnnotateVideo(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/videointelligence/apiv1beta2/videointelligencepb/video_intelligence.pb.go b/videointelligence/apiv1beta2/videointelligencepb/video_intelligence.pb.go index d8ca9f2641c9..fb6f819661ed 100755 --- a/videointelligence/apiv1beta2/videointelligencepb/video_intelligence.pb.go +++ b/videointelligence/apiv1beta2/videointelligencepb/video_intelligence.pb.go @@ -22,11 +22,8 @@ package videointelligencepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/videointelligence/apiv1p3beta1/doc.go b/videointelligence/apiv1p3beta1/doc.go index e712effb8ba0..642067a55c7d 100755 --- a/videointelligence/apiv1p3beta1/doc.go +++ b/videointelligence/apiv1p3beta1/doc.go @@ -21,73 +21,72 @@ // specifies the region for annotation and transcribes speech to text. // Supports both asynchronous API and streaming API. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := videointelligence.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := videointelligence.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := videointelligence.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &videointelligencepb.AnnotateVideoRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb#AnnotateVideoRequest. -// } -// op, err := c.AnnotateVideo(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := videointelligence.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &videointelligencepb.AnnotateVideoRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb#AnnotateVideoRequest. +// } +// op, err := c.AnnotateVideo(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/videointelligence/apiv1p3beta1/videointelligencepb/video_intelligence.pb.go b/videointelligence/apiv1p3beta1/videointelligencepb/video_intelligence.pb.go index 4aef9367e82b..505b0e1005ad 100755 --- a/videointelligence/apiv1p3beta1/videointelligencepb/video_intelligence.pb.go +++ b/videointelligence/apiv1p3beta1/videointelligencepb/video_intelligence.pb.go @@ -21,11 +21,8 @@ package videointelligencepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -35,6 +32,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( @@ -3029,17 +3028,15 @@ func (x *NormalizedVertex) GetY() float32 { // Contains list of the corner points in clockwise order starting from // top-left corner. For example, for a rectangular bounding box: // When the text is horizontal it might look like: -// -// 0----1 -// | | -// 3----2 +// 0----1 +// | | +// 3----2 // // When it's clockwise rotated 180 degrees around the top-left corner it // becomes: -// -// 2----3 -// | | -// 1----0 +// 2----3 +// | | +// 1----0 // // and the vertex order will still be (0, 1, 2, 3). Note that values can be less // than 0, or greater than 1 due to trignometric calculations for location of diff --git a/vision/apiv1/doc.go b/vision/apiv1/doc.go index f543d9e5a7bc..6c0bb8214bbb 100755 --- a/vision/apiv1/doc.go +++ b/vision/apiv1/doc.go @@ -21,64 +21,63 @@ // and landmark detection, optical character recognition (OCR), and detection // of explicit content, into applications. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := vision.NewProductSearchClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := vision.NewProductSearchClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := vision.NewProductSearchClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &visionpb.AddProductToProductSetRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/vision/v2/apiv1/visionpb#AddProductToProductSetRequest. -// } -// err = c.AddProductToProductSet(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := vision.NewProductSearchClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &visionpb.AddProductToProductSetRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/vision/v2/apiv1/visionpb#AddProductToProductSetRequest. +// } +// err = c.AddProductToProductSet(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// Use of Context // // The ctx passed to NewProductSearchClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/vision/apiv1/product_search_client.go b/vision/apiv1/product_search_client.go index 87ad7b2c68d6..3b8c36c7163f 100755 --- a/vision/apiv1/product_search_client.go +++ b/vision/apiv1/product_search_client.go @@ -539,17 +539,17 @@ type internalProductSearchClient interface { // Manages Products and ProductSets of reference images for use in product // search. It uses the following resource model: // -// The API has a collection of ProductSet resources, named -// projects/*/locations/*/productSets/*, which acts as a way to put different -// products into groups to limit identification. +// The API has a collection of ProductSet resources, named +// projects/*/locations/*/productSets/*, which acts as a way to put different +// products into groups to limit identification. // // In parallel, // -// The API has a collection of Product resources, named -// projects/*/locations/*/products/* +// The API has a collection of Product resources, named +// projects/*/locations/*/products/* // -// Each Product has a collection of ReferenceImage resources, named -// projects/*/locations/*/products/*/referenceImages/* +// Each Product has a collection of ReferenceImage resources, named +// projects/*/locations/*/products/*/referenceImages/* type ProductSearchClient struct { // The internal transport-dependent client. internalClient internalProductSearchClient @@ -590,8 +590,8 @@ func (c *ProductSearchClient) Connection() *grpc.ClientConn { // // Possible errors: // -// Returns INVALID_ARGUMENT if display_name is missing, or is longer than -// 4096 characters. +// Returns INVALID_ARGUMENT if display_name is missing, or is longer than +// 4096 characters. func (c *ProductSearchClient) CreateProductSet(ctx context.Context, req *visionpb.CreateProductSetRequest, opts ...gax.CallOption) (*visionpb.ProductSet, error) { return c.internalClient.CreateProductSet(ctx, req, opts...) } @@ -600,8 +600,8 @@ func (c *ProductSearchClient) CreateProductSet(ctx context.Context, req *visionp // // Possible errors: // -// Returns INVALID_ARGUMENT if page_size is greater than 100, or less -// than 1. +// Returns INVALID_ARGUMENT if page_size is greater than 100, or less +// than 1. func (c *ProductSearchClient) ListProductSets(ctx context.Context, req *visionpb.ListProductSetsRequest, opts ...gax.CallOption) *ProductSetIterator { return c.internalClient.ListProductSets(ctx, req, opts...) } @@ -610,7 +610,7 @@ func (c *ProductSearchClient) ListProductSets(ctx context.Context, req *visionpb // // Possible errors: // -// Returns NOT_FOUND if the ProductSet does not exist. +// Returns NOT_FOUND if the ProductSet does not exist. func (c *ProductSearchClient) GetProductSet(ctx context.Context, req *visionpb.GetProductSetRequest, opts ...gax.CallOption) (*visionpb.ProductSet, error) { return c.internalClient.GetProductSet(ctx, req, opts...) } @@ -620,10 +620,10 @@ func (c *ProductSearchClient) GetProductSet(ctx context.Context, req *visionpb.G // // Possible errors: // -// Returns NOT_FOUND if the ProductSet does not exist. +// Returns NOT_FOUND if the ProductSet does not exist. // -// Returns INVALID_ARGUMENT if display_name is present in update_mask but -// missing from the request or longer than 4096 characters. +// Returns INVALID_ARGUMENT if display_name is present in update_mask but +// missing from the request or longer than 4096 characters. func (c *ProductSearchClient) UpdateProductSet(ctx context.Context, req *visionpb.UpdateProductSetRequest, opts ...gax.CallOption) (*visionpb.ProductSet, error) { return c.internalClient.UpdateProductSet(ctx, req, opts...) } @@ -640,12 +640,12 @@ func (c *ProductSearchClient) DeleteProductSet(ctx context.Context, req *visionp // // Possible errors: // -// Returns INVALID_ARGUMENT if display_name is missing or longer than 4096 -// characters. +// Returns INVALID_ARGUMENT if display_name is missing or longer than 4096 +// characters. // -// Returns INVALID_ARGUMENT if description is longer than 4096 characters. +// Returns INVALID_ARGUMENT if description is longer than 4096 characters. // -// Returns INVALID_ARGUMENT if product_category is missing or invalid. +// Returns INVALID_ARGUMENT if product_category is missing or invalid. func (c *ProductSearchClient) CreateProduct(ctx context.Context, req *visionpb.CreateProductRequest, opts ...gax.CallOption) (*visionpb.Product, error) { return c.internalClient.CreateProduct(ctx, req, opts...) } @@ -654,7 +654,7 @@ func (c *ProductSearchClient) CreateProduct(ctx context.Context, req *visionpb.C // // Possible errors: // -// Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1. +// Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1. func (c *ProductSearchClient) ListProducts(ctx context.Context, req *visionpb.ListProductsRequest, opts ...gax.CallOption) *ProductIterator { return c.internalClient.ListProducts(ctx, req, opts...) } @@ -663,7 +663,7 @@ func (c *ProductSearchClient) ListProducts(ctx context.Context, req *visionpb.Li // // Possible errors: // -// Returns NOT_FOUND if the Product does not exist. +// Returns NOT_FOUND if the Product does not exist. func (c *ProductSearchClient) GetProduct(ctx context.Context, req *visionpb.GetProductRequest, opts ...gax.CallOption) (*visionpb.Product, error) { return c.internalClient.GetProduct(ctx, req, opts...) } @@ -677,15 +677,15 @@ func (c *ProductSearchClient) GetProduct(ctx context.Context, req *visionpb.GetP // // Possible errors: // -// Returns NOT_FOUND if the Product does not exist. +// Returns NOT_FOUND if the Product does not exist. // -// Returns INVALID_ARGUMENT if display_name is present in update_mask but is -// missing from the request or longer than 4096 characters. +// Returns INVALID_ARGUMENT if display_name is present in update_mask but is +// missing from the request or longer than 4096 characters. // -// Returns INVALID_ARGUMENT if description is present in update_mask but is -// longer than 4096 characters. +// Returns INVALID_ARGUMENT if description is present in update_mask but is +// longer than 4096 characters. // -// Returns INVALID_ARGUMENT if product_category is present in update_mask. +// Returns INVALID_ARGUMENT if product_category is present in update_mask. func (c *ProductSearchClient) UpdateProduct(ctx context.Context, req *visionpb.UpdateProductRequest, opts ...gax.CallOption) (*visionpb.Product, error) { return c.internalClient.UpdateProduct(ctx, req, opts...) } @@ -712,15 +712,15 @@ func (c *ProductSearchClient) DeleteProduct(ctx context.Context, req *visionpb.D // // Possible errors: // -// Returns INVALID_ARGUMENT if the image_uri is missing or longer than 4096 -// characters. +// Returns INVALID_ARGUMENT if the image_uri is missing or longer than 4096 +// characters. // -// Returns INVALID_ARGUMENT if the product does not exist. +// Returns INVALID_ARGUMENT if the product does not exist. // -// Returns INVALID_ARGUMENT if bounding_poly is not provided, and nothing -// compatible with the parent product’s product_category is detected. +// Returns INVALID_ARGUMENT if bounding_poly is not provided, and nothing +// compatible with the parent product’s product_category is detected. // -// Returns INVALID_ARGUMENT if bounding_poly contains more than 10 polygons. +// Returns INVALID_ARGUMENT if bounding_poly contains more than 10 polygons. func (c *ProductSearchClient) CreateReferenceImage(ctx context.Context, req *visionpb.CreateReferenceImageRequest, opts ...gax.CallOption) (*visionpb.ReferenceImage, error) { return c.internalClient.CreateReferenceImage(ctx, req, opts...) } @@ -740,10 +740,10 @@ func (c *ProductSearchClient) DeleteReferenceImage(ctx context.Context, req *vis // // Possible errors: // -// Returns NOT_FOUND if the parent product does not exist. +// Returns NOT_FOUND if the parent product does not exist. // -// Returns INVALID_ARGUMENT if the page_size is greater than 100, or less -// than 1. +// Returns INVALID_ARGUMENT if the page_size is greater than 100, or less +// than 1. func (c *ProductSearchClient) ListReferenceImages(ctx context.Context, req *visionpb.ListReferenceImagesRequest, opts ...gax.CallOption) *ReferenceImageIterator { return c.internalClient.ListReferenceImages(ctx, req, opts...) } @@ -752,7 +752,7 @@ func (c *ProductSearchClient) ListReferenceImages(ctx context.Context, req *visi // // Possible errors: // -// Returns NOT_FOUND if the specified image does not exist. +// Returns NOT_FOUND if the specified image does not exist. func (c *ProductSearchClient) GetReferenceImage(ctx context.Context, req *visionpb.GetReferenceImageRequest, opts ...gax.CallOption) (*visionpb.ReferenceImage, error) { return c.internalClient.GetReferenceImage(ctx, req, opts...) } @@ -764,7 +764,7 @@ func (c *ProductSearchClient) GetReferenceImage(ctx context.Context, req *vision // // Possible errors: // -// Returns NOT_FOUND if the Product or the ProductSet doesn’t exist. +// Returns NOT_FOUND if the Product or the ProductSet doesn’t exist. func (c *ProductSearchClient) AddProductToProductSet(ctx context.Context, req *visionpb.AddProductToProductSetRequest, opts ...gax.CallOption) error { return c.internalClient.AddProductToProductSet(ctx, req, opts...) } @@ -780,7 +780,7 @@ func (c *ProductSearchClient) RemoveProductFromProductSet(ctx context.Context, r // // Possible errors: // -// Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1. +// Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1. func (c *ProductSearchClient) ListProductsInProductSet(ctx context.Context, req *visionpb.ListProductsInProductSetRequest, opts ...gax.CallOption) *ProductIterator { return c.internalClient.ListProductsInProductSet(ctx, req, opts...) } @@ -868,17 +868,17 @@ type productSearchGRPCClient struct { // Manages Products and ProductSets of reference images for use in product // search. It uses the following resource model: // -// The API has a collection of ProductSet resources, named -// projects/*/locations/*/productSets/*, which acts as a way to put different -// products into groups to limit identification. +// The API has a collection of ProductSet resources, named +// projects/*/locations/*/productSets/*, which acts as a way to put different +// products into groups to limit identification. // // In parallel, // -// The API has a collection of Product resources, named -// projects/*/locations/*/products/* +// The API has a collection of Product resources, named +// projects/*/locations/*/products/* // -// Each Product has a collection of ReferenceImage resources, named -// projects/*/locations/*/products/*/referenceImages/* +// Each Product has a collection of ReferenceImage resources, named +// projects/*/locations/*/products/*/referenceImages/* func NewProductSearchClient(ctx context.Context, opts ...option.ClientOption) (*ProductSearchClient, error) { clientOpts := defaultProductSearchGRPCClientOptions() if newProductSearchClientHook != nil { @@ -966,17 +966,17 @@ type productSearchRESTClient struct { // Manages Products and ProductSets of reference images for use in product // search. It uses the following resource model: // -// The API has a collection of ProductSet resources, named -// projects/*/locations/*/productSets/*, which acts as a way to put different -// products into groups to limit identification. +// The API has a collection of ProductSet resources, named +// projects/*/locations/*/productSets/*, which acts as a way to put different +// products into groups to limit identification. // // In parallel, // -// The API has a collection of Product resources, named -// projects/*/locations/*/products/* +// The API has a collection of Product resources, named +// projects/*/locations/*/products/* // -// Each Product has a collection of ReferenceImage resources, named -// projects/*/locations/*/products/*/referenceImages/* +// Each Product has a collection of ReferenceImage resources, named +// projects/*/locations/*/products/*/referenceImages/* func NewProductSearchRESTClient(ctx context.Context, opts ...option.ClientOption) (*ProductSearchClient, error) { clientOpts := append(defaultProductSearchRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) @@ -1479,8 +1479,8 @@ func (c *productSearchGRPCClient) PurgeProducts(ctx context.Context, req *vision // // Possible errors: // -// Returns INVALID_ARGUMENT if display_name is missing, or is longer than -// 4096 characters. +// Returns INVALID_ARGUMENT if display_name is missing, or is longer than +// 4096 characters. func (c *productSearchRESTClient) CreateProductSet(ctx context.Context, req *visionpb.CreateProductSetRequest, opts ...gax.CallOption) (*visionpb.ProductSet, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetProductSet() @@ -1554,8 +1554,8 @@ func (c *productSearchRESTClient) CreateProductSet(ctx context.Context, req *vis // // Possible errors: // -// Returns INVALID_ARGUMENT if page_size is greater than 100, or less -// than 1. +// Returns INVALID_ARGUMENT if page_size is greater than 100, or less +// than 1. func (c *productSearchRESTClient) ListProductSets(ctx context.Context, req *visionpb.ListProductSetsRequest, opts ...gax.CallOption) *ProductSetIterator { it := &ProductSetIterator{} req = proto.Clone(req).(*visionpb.ListProductSetsRequest) @@ -1648,7 +1648,7 @@ func (c *productSearchRESTClient) ListProductSets(ctx context.Context, req *visi // // Possible errors: // -// Returns NOT_FOUND if the ProductSet does not exist. +// Returns NOT_FOUND if the ProductSet does not exist. func (c *productSearchRESTClient) GetProductSet(ctx context.Context, req *visionpb.GetProductSetRequest, opts ...gax.CallOption) (*visionpb.ProductSet, error) { baseUrl, err := url.Parse(c.endpoint) if err != nil { @@ -1713,10 +1713,10 @@ func (c *productSearchRESTClient) GetProductSet(ctx context.Context, req *vision // // Possible errors: // -// Returns NOT_FOUND if the ProductSet does not exist. +// Returns NOT_FOUND if the ProductSet does not exist. // -// Returns INVALID_ARGUMENT if display_name is present in update_mask but -// missing from the request or longer than 4096 characters. +// Returns INVALID_ARGUMENT if display_name is present in update_mask but +// missing from the request or longer than 4096 characters. func (c *productSearchRESTClient) UpdateProductSet(ctx context.Context, req *visionpb.UpdateProductSetRequest, opts ...gax.CallOption) (*visionpb.ProductSet, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetProductSet() @@ -1839,12 +1839,12 @@ func (c *productSearchRESTClient) DeleteProductSet(ctx context.Context, req *vis // // Possible errors: // -// Returns INVALID_ARGUMENT if display_name is missing or longer than 4096 -// characters. +// Returns INVALID_ARGUMENT if display_name is missing or longer than 4096 +// characters. // -// Returns INVALID_ARGUMENT if description is longer than 4096 characters. +// Returns INVALID_ARGUMENT if description is longer than 4096 characters. // -// Returns INVALID_ARGUMENT if product_category is missing or invalid. +// Returns INVALID_ARGUMENT if product_category is missing or invalid. func (c *productSearchRESTClient) CreateProduct(ctx context.Context, req *visionpb.CreateProductRequest, opts ...gax.CallOption) (*visionpb.Product, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetProduct() @@ -1918,7 +1918,7 @@ func (c *productSearchRESTClient) CreateProduct(ctx context.Context, req *vision // // Possible errors: // -// Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1. +// Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1. func (c *productSearchRESTClient) ListProducts(ctx context.Context, req *visionpb.ListProductsRequest, opts ...gax.CallOption) *ProductIterator { it := &ProductIterator{} req = proto.Clone(req).(*visionpb.ListProductsRequest) @@ -2011,7 +2011,7 @@ func (c *productSearchRESTClient) ListProducts(ctx context.Context, req *visionp // // Possible errors: // -// Returns NOT_FOUND if the Product does not exist. +// Returns NOT_FOUND if the Product does not exist. func (c *productSearchRESTClient) GetProduct(ctx context.Context, req *visionpb.GetProductRequest, opts ...gax.CallOption) (*visionpb.Product, error) { baseUrl, err := url.Parse(c.endpoint) if err != nil { @@ -2080,15 +2080,15 @@ func (c *productSearchRESTClient) GetProduct(ctx context.Context, req *visionpb. // // Possible errors: // -// Returns NOT_FOUND if the Product does not exist. +// Returns NOT_FOUND if the Product does not exist. // -// Returns INVALID_ARGUMENT if display_name is present in update_mask but is -// missing from the request or longer than 4096 characters. +// Returns INVALID_ARGUMENT if display_name is present in update_mask but is +// missing from the request or longer than 4096 characters. // -// Returns INVALID_ARGUMENT if description is present in update_mask but is -// longer than 4096 characters. +// Returns INVALID_ARGUMENT if description is present in update_mask but is +// longer than 4096 characters. // -// Returns INVALID_ARGUMENT if product_category is present in update_mask. +// Returns INVALID_ARGUMENT if product_category is present in update_mask. func (c *productSearchRESTClient) UpdateProduct(ctx context.Context, req *visionpb.UpdateProductRequest, opts ...gax.CallOption) (*visionpb.Product, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetProduct() @@ -2221,15 +2221,15 @@ func (c *productSearchRESTClient) DeleteProduct(ctx context.Context, req *vision // // Possible errors: // -// Returns INVALID_ARGUMENT if the image_uri is missing or longer than 4096 -// characters. +// Returns INVALID_ARGUMENT if the image_uri is missing or longer than 4096 +// characters. // -// Returns INVALID_ARGUMENT if the product does not exist. +// Returns INVALID_ARGUMENT if the product does not exist. // -// Returns INVALID_ARGUMENT if bounding_poly is not provided, and nothing -// compatible with the parent product’s product_category is detected. +// Returns INVALID_ARGUMENT if bounding_poly is not provided, and nothing +// compatible with the parent product’s product_category is detected. // -// Returns INVALID_ARGUMENT if bounding_poly contains more than 10 polygons. +// Returns INVALID_ARGUMENT if bounding_poly contains more than 10 polygons. func (c *productSearchRESTClient) CreateReferenceImage(ctx context.Context, req *visionpb.CreateReferenceImageRequest, opts ...gax.CallOption) (*visionpb.ReferenceImage, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetReferenceImage() @@ -2351,10 +2351,10 @@ func (c *productSearchRESTClient) DeleteReferenceImage(ctx context.Context, req // // Possible errors: // -// Returns NOT_FOUND if the parent product does not exist. +// Returns NOT_FOUND if the parent product does not exist. // -// Returns INVALID_ARGUMENT if the page_size is greater than 100, or less -// than 1. +// Returns INVALID_ARGUMENT if the page_size is greater than 100, or less +// than 1. func (c *productSearchRESTClient) ListReferenceImages(ctx context.Context, req *visionpb.ListReferenceImagesRequest, opts ...gax.CallOption) *ReferenceImageIterator { it := &ReferenceImageIterator{} req = proto.Clone(req).(*visionpb.ListReferenceImagesRequest) @@ -2447,7 +2447,7 @@ func (c *productSearchRESTClient) ListReferenceImages(ctx context.Context, req * // // Possible errors: // -// Returns NOT_FOUND if the specified image does not exist. +// Returns NOT_FOUND if the specified image does not exist. func (c *productSearchRESTClient) GetReferenceImage(ctx context.Context, req *visionpb.GetReferenceImageRequest, opts ...gax.CallOption) (*visionpb.ReferenceImage, error) { baseUrl, err := url.Parse(c.endpoint) if err != nil { @@ -2514,7 +2514,7 @@ func (c *productSearchRESTClient) GetReferenceImage(ctx context.Context, req *vi // // Possible errors: // -// Returns NOT_FOUND if the Product or the ProductSet doesn’t exist. +// Returns NOT_FOUND if the Product or the ProductSet doesn’t exist. func (c *productSearchRESTClient) AddProductToProductSet(ctx context.Context, req *visionpb.AddProductToProductSetRequest, opts ...gax.CallOption) error { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -2616,7 +2616,7 @@ func (c *productSearchRESTClient) RemoveProductFromProductSet(ctx context.Contex // // Possible errors: // -// Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1. +// Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1. func (c *productSearchRESTClient) ListProductsInProductSet(ctx context.Context, req *visionpb.ListProductsInProductSetRequest, opts ...gax.CallOption) *ProductIterator { it := &ProductIterator{} req = proto.Clone(req).(*visionpb.ListProductsInProductSetRequest) diff --git a/vision/apiv1/visionpb/geometry.pb.go b/vision/apiv1/visionpb/geometry.pb.go index 209378e8ed9b..3c462b8a0ec2 100755 --- a/vision/apiv1/visionpb/geometry.pb.go +++ b/vision/apiv1/visionpb/geometry.pb.go @@ -21,11 +21,10 @@ package visionpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/vision/apiv1/visionpb/image_annotator.pb.go b/vision/apiv1/visionpb/image_annotator.pb.go index 8b52d8ddda37..0ed30e0810a5 100755 --- a/vision/apiv1/visionpb/image_annotator.pb.go +++ b/vision/apiv1/visionpb/image_annotator.pb.go @@ -21,11 +21,8 @@ package visionpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" color "google.golang.org/genproto/googleapis/type/color" @@ -36,6 +33,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/vision/apiv1/visionpb/product_search.pb.go b/vision/apiv1/visionpb/product_search.pb.go index 6ccf0ab23643..c04f30a747ea 100755 --- a/vision/apiv1/visionpb/product_search.pb.go +++ b/vision/apiv1/visionpb/product_search.pb.go @@ -21,13 +21,12 @@ package visionpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/vision/apiv1/visionpb/product_search_service.pb.go b/vision/apiv1/visionpb/product_search_service.pb.go index 897595326b4a..089a9b7cb909 100755 --- a/vision/apiv1/visionpb/product_search_service.pb.go +++ b/vision/apiv1/visionpb/product_search_service.pb.go @@ -21,11 +21,8 @@ package visionpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/vision/apiv1/visionpb/text_annotation.pb.go b/vision/apiv1/visionpb/text_annotation.pb.go index 7c42a64021fe..a8b2c7c7cc88 100755 --- a/vision/apiv1/visionpb/text_annotation.pb.go +++ b/vision/apiv1/visionpb/text_annotation.pb.go @@ -21,11 +21,10 @@ package visionpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( @@ -168,9 +167,7 @@ func (Block_BlockType) EnumDescriptor() ([]byte, []int) { // TextAnnotation contains a structured representation of OCR extracted text. // The hierarchy of an OCR extracted text structure is like this: -// -// TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol -// +// TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol // Each structural component, starting from Page, may further have their own // properties. Properties describe detected languages, breaks etc.. Please refer // to the [TextAnnotation.TextProperty][google.cloud.vision.v1.TextAnnotation.TextProperty] message definition below for more diff --git a/vision/apiv1/visionpb/web_detection.pb.go b/vision/apiv1/visionpb/web_detection.pb.go index 05a56ed46b64..cf50d21c8d83 100755 --- a/vision/apiv1/visionpb/web_detection.pb.go +++ b/vision/apiv1/visionpb/web_detection.pb.go @@ -21,11 +21,10 @@ package visionpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/vision/apiv1p1beta1/auxiliary.go b/vision/apiv1p1beta1/auxiliary.go index 317f27d3f447..a7cc726dd48b 100755 --- a/vision/apiv1p1beta1/auxiliary.go +++ b/vision/apiv1p1beta1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package vision + +import () diff --git a/vision/apiv1p1beta1/doc.go b/vision/apiv1p1beta1/doc.go index 0197e490e43e..df62c749fb24 100755 --- a/vision/apiv1p1beta1/doc.go +++ b/vision/apiv1p1beta1/doc.go @@ -21,68 +21,67 @@ // and landmark detection, optical character recognition (OCR), and detection // of explicit content, into applications. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := vision.NewImageAnnotatorClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := vision.NewImageAnnotatorClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := vision.NewImageAnnotatorClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &visionpb.BatchAnnotateImagesRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/vision/v2/apiv1p1beta1/visionpb#BatchAnnotateImagesRequest. -// } -// resp, err := c.BatchAnnotateImages(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := vision.NewImageAnnotatorClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &visionpb.BatchAnnotateImagesRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/vision/v2/apiv1p1beta1/visionpb#BatchAnnotateImagesRequest. +// } +// resp, err := c.BatchAnnotateImages(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewImageAnnotatorClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/vision/apiv1p1beta1/visionpb/geometry.pb.go b/vision/apiv1p1beta1/visionpb/geometry.pb.go index 2b27fd985a07..48245cc6564b 100755 --- a/vision/apiv1p1beta1/visionpb/geometry.pb.go +++ b/vision/apiv1p1beta1/visionpb/geometry.pb.go @@ -21,11 +21,10 @@ package visionpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/vision/apiv1p1beta1/visionpb/image_annotator.pb.go b/vision/apiv1p1beta1/visionpb/image_annotator.pb.go index 7a519de71752..369106c512e1 100755 --- a/vision/apiv1p1beta1/visionpb/image_annotator.pb.go +++ b/vision/apiv1p1beta1/visionpb/image_annotator.pb.go @@ -23,9 +23,6 @@ package visionpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" color "google.golang.org/genproto/googleapis/type/color" @@ -35,6 +32,8 @@ import ( status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/vision/apiv1p1beta1/visionpb/text_annotation.pb.go b/vision/apiv1p1beta1/visionpb/text_annotation.pb.go index 361157d85826..fc65d17fbd1e 100755 --- a/vision/apiv1p1beta1/visionpb/text_annotation.pb.go +++ b/vision/apiv1p1beta1/visionpb/text_annotation.pb.go @@ -21,11 +21,10 @@ package visionpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( @@ -168,9 +167,7 @@ func (Block_BlockType) EnumDescriptor() ([]byte, []int) { // TextAnnotation contains a structured representation of OCR extracted text. // The hierarchy of an OCR extracted text structure is like this: -// -// TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol -// +// TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol // Each structural component, starting from Page, may further have their own // properties. Properties describe detected languages, breaks etc.. Please refer // to the diff --git a/vision/apiv1p1beta1/visionpb/web_detection.pb.go b/vision/apiv1p1beta1/visionpb/web_detection.pb.go index 49df6efc33b1..cedc4499bd19 100755 --- a/vision/apiv1p1beta1/visionpb/web_detection.pb.go +++ b/vision/apiv1p1beta1/visionpb/web_detection.pb.go @@ -21,11 +21,10 @@ package visionpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/vmmigration/apiv1/doc.go b/vmmigration/apiv1/doc.go index dd495197f1a0..05496942a3fc 100755 --- a/vmmigration/apiv1/doc.go +++ b/vmmigration/apiv1/doc.go @@ -20,71 +20,70 @@ // Use the Migrate to Virtual Machines API to programmatically migrate // workloads. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := vmmigration.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := vmmigration.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := vmmigration.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &vmmigrationpb.AddGroupMigrationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/vmmigration/apiv1/vmmigrationpb#AddGroupMigrationRequest. -// } -// op, err := c.AddGroupMigration(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := vmmigration.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &vmmigrationpb.AddGroupMigrationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/vmmigration/apiv1/vmmigrationpb#AddGroupMigrationRequest. +// } +// op, err := c.AddGroupMigration(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/vmmigration/apiv1/vmmigrationpb/vmmigration.pb.go b/vmmigration/apiv1/vmmigrationpb/vmmigration.pb.go index a949cb2181ba..9e4cfa86b4da 100755 --- a/vmmigration/apiv1/vmmigrationpb/vmmigration.pb.go +++ b/vmmigration/apiv1/vmmigrationpb/vmmigration.pb.go @@ -21,11 +21,8 @@ package vmmigrationpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" errdetails "google.golang.org/genproto/googleapis/rpc/errdetails" status "google.golang.org/genproto/googleapis/rpc/status" @@ -37,6 +34,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/vmwareengine/apiv1/doc.go b/vmwareengine/apiv1/doc.go index d2d9590a3c72..95021b073597 100755 --- a/vmwareengine/apiv1/doc.go +++ b/vmwareengine/apiv1/doc.go @@ -20,71 +20,70 @@ // The Google VMware Engine API lets you programmatically manage VMware // environments. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := vmwareengine.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := vmwareengine.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := vmwareengine.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &vmwareenginepb.CreateClusterRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#CreateClusterRequest. -// } -// op, err := c.CreateCluster(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := vmwareengine.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &vmwareenginepb.CreateClusterRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#CreateClusterRequest. +// } +// op, err := c.CreateCluster(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/vmwareengine/apiv1/vmwareenginepb/vmwareengine.pb.go b/vmwareengine/apiv1/vmwareenginepb/vmwareengine.pb.go index 96ee3a999be0..6b4ef4dc3274 100755 --- a/vmwareengine/apiv1/vmwareenginepb/vmwareengine.pb.go +++ b/vmwareengine/apiv1/vmwareenginepb/vmwareengine.pb.go @@ -21,11 +21,8 @@ package vmwareenginepb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/vmwareengine/apiv1/vmwareenginepb/vmwareengine_resources.pb.go b/vmwareengine/apiv1/vmwareenginepb/vmwareengine_resources.pb.go index 702e451031e8..d5a8c61bc47e 100755 --- a/vmwareengine/apiv1/vmwareenginepb/vmwareengine_resources.pb.go +++ b/vmwareengine/apiv1/vmwareenginepb/vmwareengine_resources.pb.go @@ -21,13 +21,12 @@ package vmwareenginepb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/vpcaccess/apiv1/doc.go b/vpcaccess/apiv1/doc.go index b0f9aa13f75e..b7a96e4b0713 100755 --- a/vpcaccess/apiv1/doc.go +++ b/vpcaccess/apiv1/doc.go @@ -19,71 +19,70 @@ // // API for managing VPC access connectors. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := vpcaccess.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := vpcaccess.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := vpcaccess.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &vpcaccesspb.CreateConnectorRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/vpcaccess/apiv1/vpcaccesspb#CreateConnectorRequest. -// } -// op, err := c.CreateConnector(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := vpcaccess.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &vpcaccesspb.CreateConnectorRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/vpcaccess/apiv1/vpcaccesspb#CreateConnectorRequest. +// } +// op, err := c.CreateConnector(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/vpcaccess/apiv1/vpcaccesspb/vpc_access.pb.go b/vpcaccess/apiv1/vpcaccesspb/vpc_access.pb.go index 8dc22b90ee75..0c58b0f8c33a 100755 --- a/vpcaccess/apiv1/vpcaccesspb/vpc_access.pb.go +++ b/vpcaccess/apiv1/vpcaccesspb/vpc_access.pb.go @@ -21,11 +21,8 @@ package vpcaccesspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/webrisk/apiv1/doc.go b/webrisk/apiv1/doc.go index d25ff2dad3b7..15e9a1f7bea7 100755 --- a/webrisk/apiv1/doc.go +++ b/webrisk/apiv1/doc.go @@ -17,66 +17,65 @@ // Package webrisk is an auto-generated package for the // Web Risk API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := webrisk.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := webrisk.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := webrisk.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &webriskpb.ComputeThreatListDiffRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/webrisk/apiv1/webriskpb#ComputeThreatListDiffRequest. -// } -// resp, err := c.ComputeThreatListDiff(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := webrisk.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &webriskpb.ComputeThreatListDiffRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/webrisk/apiv1/webriskpb#ComputeThreatListDiffRequest. +// } +// resp, err := c.ComputeThreatListDiff(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/webrisk/apiv1/webriskpb/webrisk.pb.go b/webrisk/apiv1/webriskpb/webrisk.pb.go index 6e876e6fa02b..195928d1ce71 100755 --- a/webrisk/apiv1/webriskpb/webrisk.pb.go +++ b/webrisk/apiv1/webriskpb/webrisk.pb.go @@ -21,11 +21,8 @@ package webriskpb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/webrisk/apiv1beta1/auxiliary.go b/webrisk/apiv1beta1/auxiliary.go index 95f0fc0ed7a6..18812b8fc55e 100755 --- a/webrisk/apiv1beta1/auxiliary.go +++ b/webrisk/apiv1beta1/auxiliary.go @@ -15,3 +15,5 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package webrisk + +import () diff --git a/webrisk/apiv1beta1/doc.go b/webrisk/apiv1beta1/doc.go index 49489ac589fc..241c2ce92f63 100755 --- a/webrisk/apiv1beta1/doc.go +++ b/webrisk/apiv1beta1/doc.go @@ -17,68 +17,67 @@ // Package webrisk is an auto-generated package for the // Web Risk API. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := webrisk.NewWebRiskServiceV1Beta1Client(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := webrisk.NewWebRiskServiceV1Beta1Client(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := webrisk.NewWebRiskServiceV1Beta1Client(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &webriskpb.ComputeThreatListDiffRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/webrisk/apiv1beta1/webriskpb#ComputeThreatListDiffRequest. -// } -// resp, err := c.ComputeThreatListDiff(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := webrisk.NewWebRiskServiceV1Beta1Client(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &webriskpb.ComputeThreatListDiffRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/webrisk/apiv1beta1/webriskpb#ComputeThreatListDiffRequest. +// } +// resp, err := c.ComputeThreatListDiff(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewWebRiskServiceV1Beta1Client is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/webrisk/apiv1beta1/webriskpb/webrisk.pb.go b/webrisk/apiv1beta1/webriskpb/webrisk.pb.go index f6937f90db0c..9b0c7571fe61 100755 --- a/webrisk/apiv1beta1/webriskpb/webrisk.pb.go +++ b/webrisk/apiv1beta1/webriskpb/webrisk.pb.go @@ -23,9 +23,6 @@ package webriskpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/websecurityscanner/apiv1/doc.go b/websecurityscanner/apiv1/doc.go index abf7df499f8d..e666fe320a54 100755 --- a/websecurityscanner/apiv1/doc.go +++ b/websecurityscanner/apiv1/doc.go @@ -19,66 +19,65 @@ // // Scans your Compute and App Engine apps for common web vulnerabilities. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := websecurityscanner.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := websecurityscanner.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := websecurityscanner.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &websecurityscannerpb.CreateScanConfigRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb#CreateScanConfigRequest. -// } -// resp, err := c.CreateScanConfig(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := websecurityscanner.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &websecurityscannerpb.CreateScanConfigRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb#CreateScanConfigRequest. +// } +// resp, err := c.CreateScanConfig(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/websecurityscanner/apiv1/websecurityscannerpb/crawled_url.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/crawled_url.pb.go index 98cb24e60d06..5e7fe7d6bb65 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/crawled_url.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/crawled_url.pb.go @@ -21,11 +21,10 @@ package websecurityscannerpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/finding.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/finding.pb.go index 2425afdaec2c..7a0810d2481c 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/finding.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/finding.pb.go @@ -21,12 +21,11 @@ package websecurityscannerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/finding_addon.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/finding_addon.pb.go index 5d6bea87b4d6..6c1cc6e1f900 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/finding_addon.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/finding_addon.pb.go @@ -21,11 +21,10 @@ package websecurityscannerpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/finding_type_stats.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/finding_type_stats.pb.go index b5bb8df2d453..742b08c1ef44 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/finding_type_stats.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/finding_type_stats.pb.go @@ -21,11 +21,10 @@ package websecurityscannerpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/scan_config.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/scan_config.pb.go index 961d6a9af65a..4cb54cf60608 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/scan_config.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/scan_config.pb.go @@ -21,13 +21,12 @@ package websecurityscannerpb import ( - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/scan_config_error.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/scan_config_error.pb.go index e065faf9622a..d7c79733d484 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/scan_config_error.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/scan_config_error.pb.go @@ -21,11 +21,10 @@ package websecurityscannerpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/scan_run.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/scan_run.pb.go index 66a52f4241e5..1e41e17743f7 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/scan_run.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/scan_run.pb.go @@ -21,12 +21,11 @@ package websecurityscannerpb 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" + reflect "reflect" + sync "sync" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/scan_run_error_trace.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/scan_run_error_trace.pb.go index 79b225a8caf7..4ad4a7bd0f29 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/scan_run_error_trace.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/scan_run_error_trace.pb.go @@ -21,11 +21,10 @@ package websecurityscannerpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/scan_run_log.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/scan_run_log.pb.go index 4333f73200e5..1007383ff03f 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/scan_run_log.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/scan_run_log.pb.go @@ -21,11 +21,10 @@ package websecurityscannerpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/scan_run_warning_trace.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/scan_run_warning_trace.pb.go index 7d139d599051..33d8d2d93354 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/scan_run_warning_trace.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/scan_run_warning_trace.pb.go @@ -21,11 +21,10 @@ package websecurityscannerpb import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/web_security_scanner.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/web_security_scanner.pb.go index 60b837328a69..082ac3344313 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/web_security_scanner.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/web_security_scanner.pb.go @@ -22,9 +22,6 @@ package websecurityscannerpb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" + reflect "reflect" + sync "sync" ) const ( diff --git a/workflows/apiv1/doc.go b/workflows/apiv1/doc.go index 08d33752fe4f..6cb084e1d9ff 100755 --- a/workflows/apiv1/doc.go +++ b/workflows/apiv1/doc.go @@ -20,71 +20,70 @@ // Manage workflow definitions. To execute workflows and manage executions, // see the Workflows Executions API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := workflows.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := workflows.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := workflows.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &workflowspb.CreateWorkflowRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/workflows/apiv1/workflowspb#CreateWorkflowRequest. -// } -// op, err := c.CreateWorkflow(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := workflows.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &workflowspb.CreateWorkflowRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/workflows/apiv1/workflowspb#CreateWorkflowRequest. +// } +// op, err := c.CreateWorkflow(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/workflows/apiv1/workflowspb/workflows.pb.go b/workflows/apiv1/workflowspb/workflows.pb.go index 2841cbb9e219..8441b7c47b4f 100755 --- a/workflows/apiv1/workflowspb/workflows.pb.go +++ b/workflows/apiv1/workflowspb/workflows.pb.go @@ -21,11 +21,8 @@ package workflowspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,6 +32,8 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/workflows/apiv1beta/doc.go b/workflows/apiv1beta/doc.go index 7154b737a4bb..c6ec97e6205d 100755 --- a/workflows/apiv1beta/doc.go +++ b/workflows/apiv1beta/doc.go @@ -20,73 +20,72 @@ // Manage workflow definitions. To execute workflows and manage executions, // see the Workflows Executions API. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := workflows.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := workflows.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := workflows.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &workflowspb.CreateWorkflowRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/workflows/apiv1beta/workflowspb#CreateWorkflowRequest. -// } -// op, err := c.CreateWorkflow(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := workflows.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &workflowspb.CreateWorkflowRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/workflows/apiv1beta/workflowspb#CreateWorkflowRequest. +// } +// op, err := c.CreateWorkflow(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/workflows/apiv1beta/workflowspb/workflows.pb.go b/workflows/apiv1beta/workflowspb/workflows.pb.go index 928577417763..0cb1e3a3868d 100755 --- a/workflows/apiv1beta/workflowspb/workflows.pb.go +++ b/workflows/apiv1beta/workflowspb/workflows.pb.go @@ -21,11 +21,8 @@ package workflowspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,6 +31,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/workflows/executions/apiv1/doc.go b/workflows/executions/apiv1/doc.go index 82b1fc075551..600c77cf02ac 100755 --- a/workflows/executions/apiv1/doc.go +++ b/workflows/executions/apiv1/doc.go @@ -19,66 +19,65 @@ // // Execute workflows created with Workflows API. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := executions.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := executions.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := executions.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &executionspb.CancelExecutionRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/workflows/executions/apiv1/executionspb#CancelExecutionRequest. -// } -// resp, err := c.CancelExecution(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := executions.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &executionspb.CancelExecutionRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/workflows/executions/apiv1/executionspb#CancelExecutionRequest. +// } +// resp, err := c.CancelExecution(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/workflows/executions/apiv1/executionspb/executions.pb.go b/workflows/executions/apiv1/executionspb/executions.pb.go index 45826ce69af4..9fd58e2a18f5 100755 --- a/workflows/executions/apiv1/executionspb/executions.pb.go +++ b/workflows/executions/apiv1/executionspb/executions.pb.go @@ -22,9 +22,6 @@ package executionspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +30,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/workflows/executions/apiv1beta/doc.go b/workflows/executions/apiv1beta/doc.go index 98d43a2f4d16..e2f1be7222e9 100755 --- a/workflows/executions/apiv1beta/doc.go +++ b/workflows/executions/apiv1beta/doc.go @@ -19,68 +19,67 @@ // // Manages user-provided workflows. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := executions.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := executions.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := executions.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &executionspb.CancelExecutionRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/workflows/executions/apiv1beta/executionspb#CancelExecutionRequest. -// } -// resp, err := c.CancelExecution(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := executions.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &executionspb.CancelExecutionRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/workflows/executions/apiv1beta/executionspb#CancelExecutionRequest. +// } +// resp, err := c.CancelExecution(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/workflows/executions/apiv1beta/executionspb/executions.pb.go b/workflows/executions/apiv1beta/executionspb/executions.pb.go index 648bdcbf01f8..7af6f3b519e1 100755 --- a/workflows/executions/apiv1beta/executionspb/executions.pb.go +++ b/workflows/executions/apiv1beta/executionspb/executions.pb.go @@ -22,9 +22,6 @@ package executionspb import ( context "context" - reflect "reflect" - sync "sync" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,6 +29,8 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/workstations/apiv1/doc.go b/workstations/apiv1/doc.go index fab617186bbd..9ab86c5bfbfa 100755 --- a/workstations/apiv1/doc.go +++ b/workstations/apiv1/doc.go @@ -20,73 +20,72 @@ // Allows administrators to create managed developer environments in the // cloud. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := workstations.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := workstations.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := workstations.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &workstationspb.CreateWorkstationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/workstations/apiv1/workstationspb#CreateWorkstationRequest. -// } -// op, err := c.CreateWorkstation(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := workstations.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &workstationspb.CreateWorkstationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/workstations/apiv1/workstationspb#CreateWorkstationRequest. +// } +// op, err := c.CreateWorkstation(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/workstations/apiv1/workstationspb/workstations.pb.go b/workstations/apiv1/workstationspb/workstations.pb.go index 9005c4c974a0..898a8ec8795f 100755 --- a/workstations/apiv1/workstationspb/workstations.pb.go +++ b/workstations/apiv1/workstationspb/workstations.pb.go @@ -21,11 +21,8 @@ package workstationspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( diff --git a/workstations/apiv1beta/doc.go b/workstations/apiv1beta/doc.go index a00e28502024..281a8a5504f7 100755 --- a/workstations/apiv1beta/doc.go +++ b/workstations/apiv1beta/doc.go @@ -20,73 +20,72 @@ // Allows administrators to create managed developer environments in the // cloud. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// # General documentation +// General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// # Example usage +// Example usage // // To get started with this package, create a client. -// -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := workstations.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := workstations.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// # Using the Client +// Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := workstations.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &workstationspb.CreateWorkstationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/workstations/apiv1beta/workstationspb#CreateWorkstationRequest. -// } -// op, err := c.CreateWorkstation(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// # Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := workstations.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &workstationspb.CreateWorkstationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/workstations/apiv1beta/workstationspb#CreateWorkstationRequest. +// } +// op, err := c.CreateWorkstation(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/workstations/apiv1beta/workstationspb/workstations.pb.go b/workstations/apiv1beta/workstationspb/workstations.pb.go index 104add6ee8be..c97313cb8929 100755 --- a/workstations/apiv1beta/workstationspb/workstations.pb.go +++ b/workstations/apiv1beta/workstationspb/workstations.pb.go @@ -21,11 +21,8 @@ package workstationspb import ( - context "context" - reflect "reflect" - sync "sync" - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" + context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,6 +33,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) const ( From 7877423a73e39c314b04e53a5f7d1b3ea56c7799 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 27 Nov 2023 21:12:45 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../apiv1/access_approval_client.go | 30 +- .../accessapprovalpb/accessapproval.pb.go | 5 +- accessapproval/apiv1/doc.go | 87 +- .../access_context_manager.pb.go | 7 +- .../accesscontextmanagerpb/access_level.pb.go | 5 +- .../access_policy.pb.go | 5 +- .../gcp_user_access_binding.pb.go | 5 +- .../service_perimeter.pb.go | 5 +- accesscontextmanager/apiv1/doc.go | 97 +- .../advisorynotificationspb/service.pb.go | 5 +- advisorynotifications/apiv1/doc.go | 89 +- ai/generativelanguage/apiv1beta2/doc.go | 89 +- .../generativelanguagepb/citation.pb.go | 5 +- .../discuss_service.pb.go | 5 +- .../generativelanguagepb/model.pb.go | 5 +- .../generativelanguagepb/model_service.pb.go | 5 +- .../generativelanguagepb/safety.pb.go | 5 +- .../generativelanguagepb/text_service.pb.go | 5 +- .../apiv1/aiplatformpb/accelerator_type.pb.go | 5 +- .../apiv1/aiplatformpb/annotation.pb.go | 5 +- .../apiv1/aiplatformpb/annotation_spec.pb.go | 5 +- aiplatform/apiv1/aiplatformpb/artifact.pb.go | 5 +- .../aiplatformpb/batch_prediction_job.pb.go | 5 +- .../apiv1/aiplatformpb/completion_stats.pb.go | 5 +- aiplatform/apiv1/aiplatformpb/context.pb.go | 5 +- .../apiv1/aiplatformpb/custom_job.pb.go | 5 +- aiplatform/apiv1/aiplatformpb/data_item.pb.go | 5 +- .../aiplatformpb/data_labeling_job.pb.go | 10 +- aiplatform/apiv1/aiplatformpb/dataset.pb.go | 5 +- .../apiv1/aiplatformpb/dataset_service.pb.go | 7 +- .../apiv1/aiplatformpb/dataset_version.pb.go | 5 +- .../aiplatformpb/deployed_index_ref.pb.go | 5 +- .../aiplatformpb/deployed_model_ref.pb.go | 5 +- .../apiv1/aiplatformpb/encryption_spec.pb.go | 5 +- aiplatform/apiv1/aiplatformpb/endpoint.pb.go | 5 +- .../apiv1/aiplatformpb/endpoint_service.pb.go | 7 +- .../apiv1/aiplatformpb/entity_type.pb.go | 5 +- aiplatform/apiv1/aiplatformpb/env_var.pb.go | 5 +- .../aiplatformpb/evaluated_annotation.pb.go | 5 +- aiplatform/apiv1/aiplatformpb/event.pb.go | 5 +- aiplatform/apiv1/aiplatformpb/execution.pb.go | 5 +- .../apiv1/aiplatformpb/explanation.pb.go | 5 +- .../aiplatformpb/explanation_metadata.pb.go | 5 +- aiplatform/apiv1/aiplatformpb/feature.pb.go | 5 +- .../apiv1/aiplatformpb/feature_group.pb.go | 5 +- .../feature_monitoring_stats.pb.go | 5 +- .../aiplatformpb/feature_online_store.pb.go | 5 +- .../feature_online_store_admin_service.pb.go | 7 +- .../feature_online_store_service.pb.go | 5 +- .../feature_registry_service.pb.go | 7 +- .../apiv1/aiplatformpb/feature_selector.pb.go | 5 +- .../apiv1/aiplatformpb/feature_view.pb.go | 5 +- .../aiplatformpb/feature_view_sync.pb.go | 5 +- .../apiv1/aiplatformpb/featurestore.pb.go | 5 +- .../featurestore_monitoring.pb.go | 5 +- .../featurestore_online_service.pb.go | 5 +- .../aiplatformpb/featurestore_service.pb.go | 7 +- .../hyperparameter_tuning_job.pb.go | 5 +- aiplatform/apiv1/aiplatformpb/index.pb.go | 5 +- .../apiv1/aiplatformpb/index_endpoint.pb.go | 5 +- .../aiplatformpb/index_endpoint_service.pb.go | 7 +- .../apiv1/aiplatformpb/index_service.pb.go | 7 +- aiplatform/apiv1/aiplatformpb/io.pb.go | 5 +- .../apiv1/aiplatformpb/job_service.pb.go | 7 +- aiplatform/apiv1/aiplatformpb/job_state.pb.go | 5 +- .../apiv1/aiplatformpb/lineage_subgraph.pb.go | 5 +- .../aiplatformpb/llm_utility_service.pb.go | 5 +- .../aiplatformpb/machine_resources.pb.go | 5 +- .../manual_batch_tuning_parameters.pb.go | 5 +- .../apiv1/aiplatformpb/match_service.pb.go | 5 +- .../apiv1/aiplatformpb/metadata_schema.pb.go | 5 +- .../apiv1/aiplatformpb/metadata_service.pb.go | 7 +- .../apiv1/aiplatformpb/metadata_store.pb.go | 5 +- .../aiplatformpb/migratable_resource.pb.go | 5 +- .../aiplatformpb/migration_service.pb.go | 7 +- aiplatform/apiv1/aiplatformpb/model.pb.go | 5 +- .../model_deployment_monitoring_job.pb.go | 5 +- .../apiv1/aiplatformpb/model_evaluation.pb.go | 5 +- .../aiplatformpb/model_evaluation_slice.pb.go | 35 +- .../aiplatformpb/model_garden_service.pb.go | 5 +- .../apiv1/aiplatformpb/model_monitoring.pb.go | 5 +- .../apiv1/aiplatformpb/model_service.pb.go | 7 +- aiplatform/apiv1/aiplatformpb/nas_job.pb.go | 5 +- aiplatform/apiv1/aiplatformpb/operation.pb.go | 5 +- .../pipeline_failure_policy.pb.go | 5 +- .../apiv1/aiplatformpb/pipeline_job.pb.go | 5 +- .../apiv1/aiplatformpb/pipeline_service.pb.go | 7 +- .../apiv1/aiplatformpb/pipeline_state.pb.go | 5 +- .../aiplatformpb/prediction_service.pb.go | 5 +- .../apiv1/aiplatformpb/publisher_model.pb.go | 5 +- .../apiv1/aiplatformpb/saved_query.pb.go | 5 +- aiplatform/apiv1/aiplatformpb/schedule.pb.go | 5 +- .../apiv1/aiplatformpb/schedule_service.pb.go | 7 +- .../aiplatformpb/service_networking.pb.go | 5 +- .../apiv1/aiplatformpb/specialist_pool.pb.go | 5 +- .../specialist_pool_service.pb.go | 7 +- aiplatform/apiv1/aiplatformpb/study.pb.go | 26 +- .../apiv1/aiplatformpb/tensorboard.pb.go | 5 +- .../apiv1/aiplatformpb/tensorboard_data.pb.go | 5 +- .../aiplatformpb/tensorboard_experiment.pb.go | 5 +- .../apiv1/aiplatformpb/tensorboard_run.pb.go | 5 +- .../aiplatformpb/tensorboard_service.pb.go | 7 +- .../tensorboard_time_series.pb.go | 5 +- .../aiplatformpb/training_pipeline.pb.go | 6 +- aiplatform/apiv1/aiplatformpb/types.pb.go | 5 +- .../unmanaged_container_model.pb.go | 5 +- .../aiplatformpb/user_action_reference.pb.go | 5 +- aiplatform/apiv1/aiplatformpb/value.pb.go | 5 +- .../apiv1/aiplatformpb/vizier_service.pb.go | 7 +- aiplatform/apiv1/doc.go | 97 +- aiplatform/apiv1/featurestore_client.go | 14 +- aiplatform/apiv1/prediction_client.go | 12 +- .../aiplatformpb/accelerator_type.pb.go | 5 +- .../apiv1beta1/aiplatformpb/annotation.pb.go | 5 +- .../aiplatformpb/annotation_spec.pb.go | 5 +- .../apiv1beta1/aiplatformpb/artifact.pb.go | 5 +- .../aiplatformpb/batch_prediction_job.pb.go | 5 +- .../aiplatformpb/completion_stats.pb.go | 5 +- .../apiv1beta1/aiplatformpb/context.pb.go | 5 +- .../apiv1beta1/aiplatformpb/custom_job.pb.go | 5 +- .../apiv1beta1/aiplatformpb/data_item.pb.go | 5 +- .../aiplatformpb/data_labeling_job.pb.go | 10 +- .../apiv1beta1/aiplatformpb/dataset.pb.go | 5 +- .../aiplatformpb/dataset_service.pb.go | 7 +- .../aiplatformpb/dataset_version.pb.go | 5 +- .../aiplatformpb/deployed_index_ref.pb.go | 5 +- .../aiplatformpb/deployed_model_ref.pb.go | 5 +- .../deployment_resource_pool.pb.go | 5 +- .../deployment_resource_pool_service.pb.go | 7 +- .../aiplatformpb/encryption_spec.pb.go | 5 +- .../apiv1beta1/aiplatformpb/endpoint.pb.go | 5 +- .../aiplatformpb/endpoint_service.pb.go | 7 +- .../apiv1beta1/aiplatformpb/entity_type.pb.go | 5 +- .../apiv1beta1/aiplatformpb/env_var.pb.go | 5 +- .../aiplatformpb/evaluated_annotation.pb.go | 5 +- .../apiv1beta1/aiplatformpb/event.pb.go | 5 +- .../apiv1beta1/aiplatformpb/execution.pb.go | 5 +- .../apiv1beta1/aiplatformpb/explanation.pb.go | 5 +- .../aiplatformpb/explanation_metadata.pb.go | 5 +- .../apiv1beta1/aiplatformpb/feature.pb.go | 5 +- .../aiplatformpb/feature_group.pb.go | 5 +- .../feature_monitoring_stats.pb.go | 5 +- .../aiplatformpb/feature_online_store.pb.go | 5 +- .../feature_online_store_admin_service.pb.go | 7 +- .../feature_online_store_service.pb.go | 5 +- .../feature_registry_service.pb.go | 7 +- .../aiplatformpb/feature_selector.pb.go | 5 +- .../aiplatformpb/feature_view.pb.go | 5 +- .../aiplatformpb/feature_view_sync.pb.go | 5 +- .../aiplatformpb/featurestore.pb.go | 5 +- .../featurestore_monitoring.pb.go | 5 +- .../featurestore_online_service.pb.go | 5 +- .../aiplatformpb/featurestore_service.pb.go | 7 +- .../hyperparameter_tuning_job.pb.go | 5 +- .../apiv1beta1/aiplatformpb/index.pb.go | 5 +- .../aiplatformpb/index_endpoint.pb.go | 5 +- .../aiplatformpb/index_endpoint_service.pb.go | 7 +- .../aiplatformpb/index_service.pb.go | 7 +- aiplatform/apiv1beta1/aiplatformpb/io.pb.go | 5 +- .../apiv1beta1/aiplatformpb/job_service.pb.go | 7 +- .../apiv1beta1/aiplatformpb/job_state.pb.go | 5 +- .../aiplatformpb/lineage_subgraph.pb.go | 5 +- .../aiplatformpb/llm_utility_service.pb.go | 5 +- .../aiplatformpb/machine_resources.pb.go | 5 +- .../manual_batch_tuning_parameters.pb.go | 5 +- .../aiplatformpb/match_service.pb.go | 5 +- .../aiplatformpb/metadata_schema.pb.go | 5 +- .../aiplatformpb/metadata_service.pb.go | 7 +- .../aiplatformpb/metadata_store.pb.go | 5 +- .../aiplatformpb/migratable_resource.pb.go | 5 +- .../aiplatformpb/migration_service.pb.go | 7 +- .../apiv1beta1/aiplatformpb/model.pb.go | 5 +- .../model_deployment_monitoring_job.pb.go | 5 +- .../aiplatformpb/model_evaluation.pb.go | 5 +- .../aiplatformpb/model_evaluation_slice.pb.go | 35 +- .../aiplatformpb/model_garden_service.pb.go | 5 +- .../aiplatformpb/model_monitoring.pb.go | 5 +- .../aiplatformpb/model_service.pb.go | 7 +- .../apiv1beta1/aiplatformpb/nas_job.pb.go | 5 +- .../apiv1beta1/aiplatformpb/operation.pb.go | 5 +- .../aiplatformpb/persistent_resource.pb.go | 5 +- .../persistent_resource_service.pb.go | 7 +- .../pipeline_failure_policy.pb.go | 5 +- .../aiplatformpb/pipeline_job.pb.go | 5 +- .../aiplatformpb/pipeline_service.pb.go | 7 +- .../aiplatformpb/pipeline_state.pb.go | 5 +- .../aiplatformpb/prediction_service.pb.go | 5 +- .../aiplatformpb/publisher_model.pb.go | 5 +- .../apiv1beta1/aiplatformpb/saved_query.pb.go | 5 +- .../apiv1beta1/aiplatformpb/schedule.pb.go | 5 +- .../aiplatformpb/schedule_service.pb.go | 7 +- .../aiplatformpb/service_networking.pb.go | 5 +- .../aiplatformpb/specialist_pool.pb.go | 5 +- .../specialist_pool_service.pb.go | 7 +- .../apiv1beta1/aiplatformpb/study.pb.go | 26 +- .../apiv1beta1/aiplatformpb/tensorboard.pb.go | 5 +- .../aiplatformpb/tensorboard_data.pb.go | 5 +- .../aiplatformpb/tensorboard_experiment.pb.go | 5 +- .../aiplatformpb/tensorboard_run.pb.go | 5 +- .../aiplatformpb/tensorboard_service.pb.go | 7 +- .../tensorboard_time_series.pb.go | 5 +- .../aiplatformpb/training_pipeline.pb.go | 6 +- .../apiv1beta1/aiplatformpb/types.pb.go | 5 +- .../unmanaged_container_model.pb.go | 5 +- .../aiplatformpb/user_action_reference.pb.go | 5 +- .../apiv1beta1/aiplatformpb/value.pb.go | 5 +- .../aiplatformpb/vizier_service.pb.go | 7 +- aiplatform/apiv1beta1/doc.go | 99 +- aiplatform/apiv1beta1/featurestore_client.go | 28 +- aiplatform/apiv1beta1/prediction_client.go | 24 +- alloydb/apiv1/alloydbpb/resources.pb.go | 9 +- alloydb/apiv1/alloydbpb/service.pb.go | 15 +- alloydb/apiv1/doc.go | 97 +- alloydb/apiv1alpha/alloydbpb/resources.pb.go | 9 +- alloydb/apiv1alpha/alloydbpb/service.pb.go | 15 +- alloydb/apiv1alpha/doc.go | 99 +- alloydb/apiv1beta/alloydbpb/resources.pb.go | 9 +- alloydb/apiv1beta/alloydbpb/service.pb.go | 15 +- alloydb/apiv1beta/doc.go | 99 +- .../apiv1/connectorspb/resources.pb.go | 5 +- .../apiv1alpha/connectorspb/resources.pb.go | 5 +- .../apiv1beta/connectorspb/resources.pb.go | 5 +- .../apiv1alpha/adminpb/access_report.pb.go | 5 +- .../apiv1alpha/adminpb/analytics_admin.pb.go | 5 +- .../admin/apiv1alpha/adminpb/audience.pb.go | 5 +- .../apiv1alpha/adminpb/channel_group.pb.go | 5 +- .../adminpb/event_create_and_edit.pb.go | 5 +- .../adminpb/expanded_data_set.pb.go | 5 +- .../admin/apiv1alpha/adminpb/resources.pb.go | 5 +- .../adminpb/subproperty_event_filter.pb.go | 5 +- .../apiv1alpha/analytics_admin_client.go | 12 +- analytics/admin/apiv1alpha/doc.go | 89 +- .../apiv1/apigatewaypb/apigateway.pb.go | 5 +- .../apigatewaypb/apigateway_service.pb.go | 5 +- apigateway/apiv1/doc.go | 97 +- .../apiv1/apigeeconnectpb/connection.pb.go | 5 +- .../apiv1/apigeeconnectpb/tether.pb.go | 7 +- apigeeconnect/apiv1/doc.go | 99 +- .../provisioning_service.pb.go | 7 +- .../apigeeregistrypb/registry_models.pb.go | 5 +- .../apigeeregistrypb/registry_service.pb.go | 5 +- apigeeregistry/apiv1/doc.go | 97 +- apikeys/apiv2/apikeyspb/apikeys.pb.go | 7 +- apikeys/apiv2/apikeyspb/resources.pb.go | 5 +- apikeys/apiv2/doc.go | 97 +- appengine/apiv1/appenginepb/app_yaml.pb.go | 5 +- appengine/apiv1/appenginepb/appengine.pb.go | 7 +- appengine/apiv1/appenginepb/application.pb.go | 5 +- appengine/apiv1/appenginepb/audit_data.pb.go | 5 +- appengine/apiv1/appenginepb/certificate.pb.go | 5 +- appengine/apiv1/appenginepb/deploy.pb.go | 5 +- .../apiv1/appenginepb/deployed_files.pb.go | 3 +- appengine/apiv1/appenginepb/domain.pb.go | 5 +- .../apiv1/appenginepb/domain_mapping.pb.go | 5 +- appengine/apiv1/appenginepb/firewall.pb.go | 5 +- appengine/apiv1/appenginepb/instance.pb.go | 5 +- appengine/apiv1/appenginepb/location.pb.go | 5 +- .../apiv1/appenginepb/network_settings.pb.go | 5 +- appengine/apiv1/appenginepb/operation.pb.go | 5 +- appengine/apiv1/appenginepb/service.pb.go | 5 +- appengine/apiv1/appenginepb/version.pb.go | 5 +- appengine/apiv1/applications_client.go | 20 +- appengine/apiv1/doc.go | 97 +- appengine/apiv1/versions_client.go | 60 +- area120/tables/apiv1alpha1/doc.go | 89 +- area120/tables/apiv1alpha1/tables_client.go | 42 +- .../tables/apiv1alpha1/tablespb/tables.pb.go | 5 +- .../apiv1/artifact_registry_client.go | 36 +- .../artifactregistrypb/apt_artifact.pb.go | 5 +- .../apiv1/artifactregistrypb/artifact.pb.go | 5 +- .../apiv1/artifactregistrypb/file.pb.go | 5 +- .../apiv1/artifactregistrypb/package.pb.go | 5 +- .../apiv1/artifactregistrypb/repository.pb.go | 5 +- .../apiv1/artifactregistrypb/service.pb.go | 7 +- .../apiv1/artifactregistrypb/settings.pb.go | 5 +- .../apiv1/artifactregistrypb/tag.pb.go | 5 +- .../apiv1/artifactregistrypb/version.pb.go | 5 +- .../artifactregistrypb/vpcsc_config.pb.go | 5 +- .../artifactregistrypb/yum_artifact.pb.go | 5 +- artifactregistry/apiv1/doc.go | 93 +- .../apiv1beta2/artifact_registry_client.go | 36 +- .../artifactregistrypb/apt_artifact.pb.go | 5 +- .../apiv1beta2/artifactregistrypb/file.pb.go | 5 +- .../artifactregistrypb/package.pb.go | 5 +- .../artifactregistrypb/repository.pb.go | 5 +- .../artifactregistrypb/service.pb.go | 7 +- .../artifactregistrypb/settings.pb.go | 5 +- .../apiv1beta2/artifactregistrypb/tag.pb.go | 5 +- .../artifactregistrypb/version.pb.go | 5 +- .../artifactregistrypb/yum_artifact.pb.go | 5 +- artifactregistry/apiv1beta2/doc.go | 99 +- asset/apiv1/asset_client.go | 40 +- asset/apiv1/assetpb/asset_service.pb.go | 7 +- asset/apiv1/assetpb/assets.pb.go | 5 +- asset/apiv1/doc.go | 87 +- .../apiv1p2beta1/assetpb/asset_service.pb.go | 5 +- asset/apiv1p2beta1/assetpb/assets.pb.go | 5 +- asset/apiv1p2beta1/auxiliary.go | 2 - asset/apiv1p2beta1/doc.go | 89 +- .../apiv1p5beta1/assetpb/asset_service.pb.go | 5 +- asset/apiv1p5beta1/assetpb/assets.pb.go | 5 +- asset/apiv1p5beta1/doc.go | 101 +- .../assuredworkloadspb/assuredworkloads.pb.go | 7 +- assuredworkloads/apiv1/doc.go | 87 +- .../assuredworkloadspb/assuredworkloads.pb.go | 5 +- .../assuredworkloads_service.pb.go | 5 +- assuredworkloads/apiv1beta1/doc.go | 89 +- automl/apiv1/auto_ml_client.go | 20 +- .../apiv1/automlpb/annotation_payload.pb.go | 5 +- automl/apiv1/automlpb/annotation_spec.pb.go | 5 +- automl/apiv1/automlpb/classification.pb.go | 5 +- automl/apiv1/automlpb/data_items.pb.go | 5 +- automl/apiv1/automlpb/dataset.pb.go | 5 +- automl/apiv1/automlpb/detection.pb.go | 5 +- automl/apiv1/automlpb/geometry.pb.go | 5 +- automl/apiv1/automlpb/image.pb.go | 5 +- automl/apiv1/automlpb/io.pb.go | 1325 ++++++------- automl/apiv1/automlpb/model.pb.go | 5 +- automl/apiv1/automlpb/model_evaluation.pb.go | 5 +- automl/apiv1/automlpb/operations.pb.go | 5 +- .../apiv1/automlpb/prediction_service.pb.go | 7 +- automl/apiv1/automlpb/service.pb.go | 7 +- automl/apiv1/automlpb/text.pb.go | 5 +- automl/apiv1/automlpb/text_extraction.pb.go | 5 +- automl/apiv1/automlpb/text_segment.pb.go | 5 +- automl/apiv1/automlpb/text_sentiment.pb.go | 5 +- automl/apiv1/automlpb/translation.pb.go | 5 +- automl/apiv1/doc.go | 97 +- automl/apiv1/prediction_client.go | 76 +- automl/apiv1beta1/auto_ml_client.go | 20 +- .../automlpb/annotation_payload.pb.go | 5 +- .../apiv1beta1/automlpb/annotation_spec.pb.go | 5 +- .../apiv1beta1/automlpb/classification.pb.go | 5 +- automl/apiv1beta1/automlpb/column_spec.pb.go | 7 +- automl/apiv1beta1/automlpb/data_items.pb.go | 5 +- automl/apiv1beta1/automlpb/data_stats.pb.go | 5 +- automl/apiv1beta1/automlpb/data_types.pb.go | 5 +- automl/apiv1beta1/automlpb/dataset.pb.go | 5 +- automl/apiv1beta1/automlpb/detection.pb.go | 5 +- automl/apiv1beta1/automlpb/geometry.pb.go | 5 +- automl/apiv1beta1/automlpb/image.pb.go | 5 +- automl/apiv1beta1/automlpb/io.pb.go | 1577 +++++++-------- automl/apiv1beta1/automlpb/model.pb.go | 5 +- .../automlpb/model_evaluation.pb.go | 5 +- automl/apiv1beta1/automlpb/operations.pb.go | 5 +- .../automlpb/prediction_service.pb.go | 7 +- automl/apiv1beta1/automlpb/ranges.pb.go | 5 +- automl/apiv1beta1/automlpb/regression.pb.go | 5 +- automl/apiv1beta1/automlpb/service.pb.go | 7 +- automl/apiv1beta1/automlpb/table_spec.pb.go | 7 +- automl/apiv1beta1/automlpb/tables.pb.go | 5 +- automl/apiv1beta1/automlpb/temporal.pb.go | 5 +- automl/apiv1beta1/automlpb/text.pb.go | 5 +- .../apiv1beta1/automlpb/text_extraction.pb.go | 5 +- automl/apiv1beta1/automlpb/text_segment.pb.go | 5 +- .../apiv1beta1/automlpb/text_sentiment.pb.go | 5 +- automl/apiv1beta1/automlpb/translation.pb.go | 5 +- automl/apiv1beta1/automlpb/video.pb.go | 5 +- automl/apiv1beta1/doc.go | 99 +- automl/apiv1beta1/prediction_client.go | 76 +- .../baremetalsolution.pb.go | 7 +- .../apiv2/baremetalsolutionpb/common.pb.go | 5 +- .../apiv2/baremetalsolutionpb/instance.pb.go | 5 +- .../apiv2/baremetalsolutionpb/lun.pb.go | 5 +- .../apiv2/baremetalsolutionpb/network.pb.go | 5 +- .../apiv2/baremetalsolutionpb/nfs_share.pb.go | 5 +- .../apiv2/baremetalsolutionpb/osimage.pb.go | 5 +- .../baremetalsolutionpb/provisioning.pb.go | 5 +- .../apiv2/baremetalsolutionpb/ssh_key.pb.go | 5 +- .../apiv2/baremetalsolutionpb/volume.pb.go | 5 +- .../baremetalsolutionpb/volume_snapshot.pb.go | 5 +- baremetalsolution/apiv2/doc.go | 97 +- batch/apiv1/batchpb/batch.pb.go | 7 +- batch/apiv1/batchpb/job.pb.go | 5 +- batch/apiv1/batchpb/task.pb.go | 5 +- batch/apiv1/batchpb/volume.pb.go | 5 +- batch/apiv1/doc.go | 87 +- .../apiv1/app_connections_client.go | 8 +- .../app_connections_service.pb.go | 7 +- beyondcorp/appconnections/apiv1/doc.go | 97 +- .../apiv1/app_connectors_client.go | 8 +- .../app_connector_instance_config.pb.go | 5 +- .../app_connectors_service.pb.go | 7 +- .../apiv1/appconnectorspb/resource_info.pb.go | 17 +- beyondcorp/appconnectors/apiv1/doc.go | 97 +- .../appgateways/apiv1/app_gateways_client.go | 8 +- .../appgatewayspb/app_gateways_service.pb.go | 7 +- beyondcorp/appgateways/apiv1/doc.go | 97 +- .../apiv1/client_connector_services_client.go | 8 +- .../client_connector_services_service.pb.go | 7 +- .../clientconnectorservices/apiv1/doc.go | 97 +- .../apiv1/client_gateways_client.go | 8 +- .../client_gateways_service.pb.go | 7 +- beyondcorp/clientgateways/apiv1/doc.go | 97 +- .../apiv1/analyticshubpb/analyticshub.pb.go | 7 +- bigquery/analyticshub/apiv1/doc.go | 87 +- .../biglake/apiv1/biglakepb/metastore.pb.go | 5 +- bigquery/biglake/apiv1/doc.go | 87 +- bigquery/biglake/apiv1/metastore_client.go | 30 +- .../apiv1alpha1/biglakepb/metastore.pb.go | 5 +- bigquery/biglake/apiv1alpha1/doc.go | 89 +- .../biglake/apiv1alpha1/metastore_client.go | 30 +- .../apiv1/connectionpb/connection.pb.go | 7 +- bigquery/connection/apiv1/doc.go | 87 +- bigquery/connection/apiv1beta1/auxiliary.go | 2 - .../apiv1beta1/connectionpb/connection.pb.go | 7 +- bigquery/connection/apiv1beta1/doc.go | 89 +- .../dataexchangepb/dataexchange.pb.go | 7 +- bigquery/dataexchange/apiv1beta1/doc.go | 89 +- .../apiv1/datapoliciespb/datapolicy.pb.go | 7 +- bigquery/datapolicies/apiv1/doc.go | 87 +- .../datapoliciespb/datapolicy.pb.go | 7 +- bigquery/datapolicies/apiv1beta1/doc.go | 89 +- .../apiv1/datatransferpb/datatransfer.pb.go | 5 +- .../apiv1/datatransferpb/transfer.pb.go | 5 +- bigquery/datatransfer/apiv1/doc.go | 87 +- bigquery/migration/apiv2/doc.go | 89 +- .../migrationpb/migration_entities.pb.go | 5 +- .../migrationpb/migration_error_details.pb.go | 5 +- .../apiv2/migrationpb/migration_metrics.pb.go | 5 +- .../apiv2/migrationpb/migration_service.pb.go | 5 +- .../migrationpb/translation_config.pb.go | 5 +- bigquery/migration/apiv2alpha/doc.go | 89 +- .../migrationpb/assessment_task.pb.go | 5 +- .../migrationpb/migration_entities.pb.go | 5 +- .../migrationpb/migration_error_details.pb.go | 5 +- .../migrationpb/migration_metrics.pb.go | 5 +- .../migrationpb/migration_service.pb.go | 5 +- .../migrationpb/translation_service.pb.go | 5 +- .../migrationpb/translation_task.pb.go | 5 +- bigquery/reservation/apiv1/doc.go | 87 +- .../reservation/apiv1/reservation_client.go | 68 +- .../apiv1/reservationpb/reservation.pb.go | 5 +- bigquery/storage/apiv1/auxiliary.go | 2 - .../storage/apiv1/big_query_write_client.go | 14 +- bigquery/storage/apiv1/doc.go | 87 +- .../storage/apiv1/storagepb/annotations.pb.go | 3 +- bigquery/storage/apiv1/storagepb/arrow.pb.go | 5 +- bigquery/storage/apiv1/storagepb/avro.pb.go | 5 +- .../storage/apiv1/storagepb/protobuf.pb.go | 5 +- .../storage/apiv1/storagepb/storage.pb.go | 5 +- bigquery/storage/apiv1/storagepb/stream.pb.go | 5 +- bigquery/storage/apiv1/storagepb/table.pb.go | 5 +- bigquery/storage/apiv1beta1/auxiliary.go | 2 - bigquery/storage/apiv1beta1/doc.go | 89 +- .../storage/apiv1beta1/storagepb/arrow.pb.go | 5 +- .../storage/apiv1beta1/storagepb/avro.pb.go | 5 +- .../apiv1beta1/storagepb/read_options.pb.go | 5 +- .../apiv1beta1/storagepb/storage.pb.go | 5 +- .../storagepb/table_reference.pb.go | 5 +- bigquery/storage/apiv1beta2/auxiliary.go | 2 - bigquery/storage/apiv1beta2/doc.go | 89 +- .../storage/apiv1beta2/storagepb/arrow.pb.go | 5 +- .../storage/apiv1beta2/storagepb/avro.pb.go | 5 +- .../apiv1beta2/storagepb/protobuf.pb.go | 5 +- .../apiv1beta2/storagepb/storage.pb.go | 5 +- .../storage/apiv1beta2/storagepb/stream.pb.go | 5 +- .../storage/apiv1beta2/storagepb/table.pb.go | 5 +- billing/apiv1/billingpb/cloud_billing.pb.go | 7 +- billing/apiv1/billingpb/cloud_catalog.pb.go | 10 +- billing/apiv1/doc.go | 87 +- .../apiv1/budgetspb/budget_model.pb.go | 5 +- .../apiv1/budgetspb/budget_service.pb.go | 5 +- billing/budgets/apiv1/doc.go | 87 +- .../apiv1beta1/budgetspb/budget_model.pb.go | 5 +- .../apiv1beta1/budgetspb/budget_service.pb.go | 5 +- billing/budgets/apiv1beta1/doc.go | 89 +- .../binaryauthorizationpb/resources.pb.go | 5 +- .../apiv1/binaryauthorizationpb/service.pb.go | 5 +- .../apiv1/binauthz_management_client.go | 12 +- binaryauthorization/apiv1/doc.go | 87 +- .../continuous_validation_logging.pb.go | 5 +- .../binaryauthorizationpb/resources.pb.go | 5 +- .../binaryauthorizationpb/service.pb.go | 5 +- ...uthz_management_service_v1_beta1_client.go | 12 +- binaryauthorization/apiv1beta1/doc.go | 89 +- .../apiv1/certificate_manager_client.go | 60 +- .../certificate_issuance_config.pb.go | 5 +- .../certificate_manager.pb.go | 7 +- certificatemanager/apiv1/doc.go | 97 +- .../apiv1/channelpb/billing_accounts.pb.go | 5 +- .../channelpb/channel_partner_links.pb.go | 5 +- channel/apiv1/channelpb/common.pb.go | 5 +- channel/apiv1/channelpb/customers.pb.go | 5 +- .../apiv1/channelpb/entitlement_changes.pb.go | 5 +- channel/apiv1/channelpb/entitlements.pb.go | 5 +- channel/apiv1/channelpb/offers.pb.go | 5 +- channel/apiv1/channelpb/operations.pb.go | 5 +- channel/apiv1/channelpb/products.pb.go | 5 +- channel/apiv1/channelpb/reports_service.pb.go | 7 +- channel/apiv1/channelpb/repricing.pb.go | 5 +- channel/apiv1/channelpb/service.pb.go | 7 +- .../apiv1/channelpb/subscriber_event.pb.go | 5 +- channel/apiv1/cloud_channel_client.go | 1704 ++++++++--------- channel/apiv1/cloud_channel_reports_client.go | 32 +- channel/apiv1/doc.go | 99 +- cloudbuild/apiv1/v2/cloud_build_client.go | 56 +- .../apiv1/v2/cloudbuildpb/cloudbuild.pb.go | 27 +- cloudbuild/apiv1/v2/doc.go | 97 +- .../apiv2/cloudbuildpb/cloudbuild.pb.go | 5 +- .../apiv2/cloudbuildpb/repositories.pb.go | 7 +- cloudbuild/apiv2/doc.go | 97 +- clouddms/apiv1/clouddmspb/clouddms.pb.go | 7 +- .../apiv1/clouddmspb/clouddms_resources.pb.go | 5 +- .../conversionworkspace_resources.pb.go | 5 +- clouddms/apiv1/doc.go | 97 +- cloudprofiler/apiv2/auxiliary.go | 2 - .../apiv2/cloudprofilerpb/profiler.pb.go | 6 +- cloudprofiler/apiv2/doc.go | 89 +- cloudprofiler/apiv2/profiler_client.go | 12 +- cloudtasks/apiv2/cloud_tasks_client.go | 12 +- .../apiv2/cloudtaskspb/cloudtasks.pb.go | 7 +- cloudtasks/apiv2/cloudtaskspb/queue.pb.go | 5 +- cloudtasks/apiv2/cloudtaskspb/target.pb.go | 55 +- cloudtasks/apiv2/cloudtaskspb/task.pb.go | 5 +- cloudtasks/apiv2/doc.go | 87 +- cloudtasks/apiv2beta2/cloud_tasks_client.go | 28 +- .../apiv2beta2/cloudtaskspb/cloudtasks.pb.go | 7 +- .../apiv2beta2/cloudtaskspb/old_target.pb.go | 3 +- .../apiv2beta2/cloudtaskspb/queue.pb.go | 5 +- .../apiv2beta2/cloudtaskspb/target.pb.go | 22 +- cloudtasks/apiv2beta2/cloudtaskspb/task.pb.go | 5 +- cloudtasks/apiv2beta2/doc.go | 85 +- cloudtasks/apiv2beta3/cloud_tasks_client.go | 12 +- .../apiv2beta3/cloudtaskspb/cloudtasks.pb.go | 7 +- .../apiv2beta3/cloudtaskspb/queue.pb.go | 5 +- .../apiv2beta3/cloudtaskspb/target.pb.go | 57 +- cloudtasks/apiv2beta3/cloudtaskspb/task.pb.go | 5 +- cloudtasks/apiv2beta3/doc.go | 89 +- commerce/consumer/procurement/apiv1/doc.go | 89 +- .../apiv1/procurementpb/order.pb.go | 5 +- .../procurementpb/procurement_service.pb.go | 7 +- compute/apiv1/accelerator_types_client.go | 4 +- compute/apiv1/computepb/compute.pb.go | 350 +--- compute/apiv1/doc.go | 99 +- .../confidentialcomputingpb/service.pb.go | 5 +- confidentialcomputing/apiv1/doc.go | 87 +- .../confidentialcomputingpb/service.pb.go | 5 +- confidentialcomputing/apiv1alpha1/doc.go | 89 +- config/apiv1/configpb/config.pb.go | 7 +- config/apiv1/doc.go | 99 +- .../contact_center_insights.pb.go | 7 +- .../contactcenterinsightspb/resources.pb.go | 5 +- contactcenterinsights/apiv1/doc.go | 97 +- .../apiv1/containerpb/cluster_service.pb.go | 5 +- container/apiv1/doc.go | 83 +- .../containeranalysis.pb.go | 7 +- containeranalysis/apiv1beta1/doc.go | 89 +- datacatalog/apiv1/data_catalog_client.go | 88 +- .../apiv1/datacatalogpb/bigquery.pb.go | 5 +- datacatalog/apiv1/datacatalogpb/common.pb.go | 5 +- .../apiv1/datacatalogpb/data_source.pb.go | 5 +- .../apiv1/datacatalogpb/datacatalog.pb.go | 7 +- .../apiv1/datacatalogpb/dataplex_spec.pb.go | 5 +- .../apiv1/datacatalogpb/dump_content.pb.go | 5 +- .../datacatalogpb/gcs_fileset_spec.pb.go | 5 +- .../apiv1/datacatalogpb/physical_schema.pb.go | 5 +- .../datacatalogpb/policytagmanager.pb.go | 26 +- .../policytagmanagerserialization.pb.go | 5 +- datacatalog/apiv1/datacatalogpb/schema.pb.go | 5 +- datacatalog/apiv1/datacatalogpb/search.pb.go | 5 +- .../apiv1/datacatalogpb/table_spec.pb.go | 5 +- datacatalog/apiv1/datacatalogpb/tags.pb.go | 9 +- .../apiv1/datacatalogpb/timestamps.pb.go | 5 +- datacatalog/apiv1/datacatalogpb/usage.pb.go | 17 +- datacatalog/apiv1/doc.go | 87 +- .../apiv1/policy_tag_manager_client.go | 16 +- ...policy_tag_manager_serialization_client.go | 20 +- datacatalog/apiv1beta1/data_catalog_client.go | 92 +- .../apiv1beta1/datacatalogpb/common.pb.go | 5 +- .../datacatalogpb/datacatalog.pb.go | 7 +- .../datacatalogpb/gcs_fileset_spec.pb.go | 5 +- .../datacatalogpb/policytagmanager.pb.go | 7 +- .../policytagmanagerserialization.pb.go | 5 +- .../apiv1beta1/datacatalogpb/schema.pb.go | 5 +- .../apiv1beta1/datacatalogpb/search.pb.go | 5 +- .../apiv1beta1/datacatalogpb/table_spec.pb.go | 5 +- .../apiv1beta1/datacatalogpb/tags.pb.go | 5 +- .../apiv1beta1/datacatalogpb/timestamps.pb.go | 5 +- .../apiv1beta1/datacatalogpb/usage.pb.go | 5 +- datacatalog/apiv1beta1/doc.go | 89 +- datacatalog/lineage/apiv1/doc.go | 99 +- .../lineage/apiv1/lineagepb/lineage.pb.go | 7 +- .../apiv1beta3/dataflowpb/environment.pb.go | 5 +- dataflow/apiv1beta3/dataflowpb/jobs.pb.go | 15 +- dataflow/apiv1beta3/dataflowpb/messages.pb.go | 5 +- dataflow/apiv1beta3/dataflowpb/metrics.pb.go | 5 +- .../apiv1beta3/dataflowpb/snapshots.pb.go | 5 +- .../apiv1beta3/dataflowpb/streaming.pb.go | 5 +- .../apiv1beta3/dataflowpb/templates.pb.go | 5 +- dataflow/apiv1beta3/doc.go | 89 +- .../apiv1alpha2/dataformpb/dataform.pb.go | 5 +- dataform/apiv1alpha2/doc.go | 85 +- dataform/apiv1beta1/dataformpb/dataform.pb.go | 5 +- dataform/apiv1beta1/doc.go | 85 +- .../apiv1/datafusionpb/datafusion.pb.go | 7 +- datafusion/apiv1/doc.go | 97 +- .../datalabelingpb/annotation.pb.go | 5 +- .../datalabelingpb/annotation_spec_set.pb.go | 5 +- .../data_labeling_service.pb.go | 7 +- .../datalabelingpb/data_payloads.pb.go | 5 +- .../apiv1beta1/datalabelingpb/dataset.pb.go | 5 +- .../datalabelingpb/evaluation.pb.go | 5 +- .../datalabelingpb/evaluation_job.pb.go | 5 +- .../human_annotation_config.pb.go | 5 +- .../datalabelingpb/instruction.pb.go | 5 +- .../datalabelingpb/operations.pb.go | 5 +- datalabeling/apiv1beta1/doc.go | 89 +- dataplex/apiv1/dataplexpb/analyze.pb.go | 5 +- dataplex/apiv1/dataplexpb/content.pb.go | 7 +- dataplex/apiv1/dataplexpb/data_profile.pb.go | 5 +- dataplex/apiv1/dataplexpb/data_quality.pb.go | 5 +- dataplex/apiv1/dataplexpb/data_taxonomy.pb.go | 12 +- dataplex/apiv1/dataplexpb/datascans.pb.go | 17 +- dataplex/apiv1/dataplexpb/logs.pb.go | 5 +- dataplex/apiv1/dataplexpb/metadata.pb.go | 5 +- dataplex/apiv1/dataplexpb/processing.pb.go | 5 +- dataplex/apiv1/dataplexpb/resources.pb.go | 5 +- dataplex/apiv1/dataplexpb/security.pb.go | 5 +- dataplex/apiv1/dataplexpb/service.pb.go | 7 +- dataplex/apiv1/dataplexpb/tasks.pb.go | 5 +- dataplex/apiv1/doc.go | 87 +- .../dataprocpb/autoscaling_policies.pb.go | 5 +- dataproc/apiv1/dataprocpb/batches.pb.go | 7 +- dataproc/apiv1/dataprocpb/clusters.pb.go | 7 +- dataproc/apiv1/dataprocpb/jobs.pb.go | 7 +- dataproc/apiv1/dataprocpb/node_groups.pb.go | 7 +- dataproc/apiv1/dataprocpb/operations.pb.go | 5 +- dataproc/apiv1/dataprocpb/shared.pb.go | 5 +- .../apiv1/dataprocpb/workflow_templates.pb.go | 7 +- dataproc/apiv1/doc.go | 87 +- dataqna/apiv1alpha/auxiliary.go | 2 - .../dataqnapb/annotated_string.pb.go | 20 +- .../dataqnapb/auto_suggestion_service.pb.go | 31 +- dataqna/apiv1alpha/dataqnapb/question.pb.go | 5 +- .../dataqnapb/question_service.pb.go | 5 +- .../apiv1alpha/dataqnapb/user_feedback.pb.go | 5 +- dataqna/apiv1alpha/doc.go | 89 +- .../admin/apiv1/adminpb/datastore_admin.pb.go | 22 +- datastore/admin/apiv1/adminpb/index.pb.go | 5 +- datastore/admin/apiv1/adminpb/migration.pb.go | 5 +- .../admin/apiv1/datastore_admin_client.go | 162 +- datastore/admin/apiv1/doc.go | 97 +- .../apiv1/datastreampb/datastream.pb.go | 7 +- .../datastreampb/datastream_resources.pb.go | 5 +- datastream/apiv1/doc.go | 97 +- .../apiv1alpha1/datastreampb/datastream.pb.go | 7 +- .../datastreampb/datastream_resources.pb.go | 5 +- datastream/apiv1alpha1/doc.go | 99 +- .../apiv1/deploypb/automation_payload.pb.go | 5 +- .../deploypb/automationrun_payload.pb.go | 5 +- deploy/apiv1/deploypb/cloud_deploy.pb.go | 7 +- ...eliverypipeline_notification_payload.pb.go | 5 +- .../jobrun_notification_payload.pb.go | 5 +- deploy/apiv1/deploypb/log_enums.pb.go | 5 +- .../release_notification_payload.pb.go | 5 +- .../deploypb/release_render_payload.pb.go | 5 +- .../rollout_notification_payload.pb.go | 5 +- .../deploypb/rollout_update_payload.pb.go | 5 +- .../target_notification_payload.pb.go | 5 +- deploy/apiv1/doc.go | 87 +- dialogflow/apiv2/agents_client.go | 64 +- .../apiv2/conversation_datasets_client.go | 48 +- .../apiv2/conversation_models_client.go | 72 +- .../apiv2/conversation_profiles_client.go | 32 +- dialogflow/apiv2/dialogflowpb/agent.pb.go | 8 +- .../apiv2/dialogflowpb/answer_record.pb.go | 21 +- .../apiv2/dialogflowpb/audio_config.pb.go | 5 +- dialogflow/apiv2/dialogflowpb/context.pb.go | 5 +- .../apiv2/dialogflowpb/conversation.pb.go | 5 +- .../dialogflowpb/conversation_dataset.pb.go | 7 +- .../dialogflowpb/conversation_event.pb.go | 5 +- .../dialogflowpb/conversation_model.pb.go | 7 +- .../dialogflowpb/conversation_profile.pb.go | 7 +- dialogflow/apiv2/dialogflowpb/document.pb.go | 7 +- .../apiv2/dialogflowpb/entity_type.pb.go | 7 +- .../apiv2/dialogflowpb/environment.pb.go | 5 +- .../apiv2/dialogflowpb/fulfillment.pb.go | 5 +- dialogflow/apiv2/dialogflowpb/gcs.pb.go | 5 +- .../human_agent_assistant_event.pb.go | 5 +- dialogflow/apiv2/dialogflowpb/intent.pb.go | 7 +- .../apiv2/dialogflowpb/knowledge_base.pb.go | 5 +- .../apiv2/dialogflowpb/participant.pb.go | 46 +- dialogflow/apiv2/dialogflowpb/session.pb.go | 50 +- .../dialogflowpb/session_entity_type.pb.go | 5 +- .../dialogflowpb/validation_result.pb.go | 5 +- dialogflow/apiv2/dialogflowpb/version.pb.go | 5 +- dialogflow/apiv2/dialogflowpb/webhook.pb.go | 5 +- dialogflow/apiv2/doc.go | 83 +- dialogflow/apiv2/documents_client.go | 80 +- dialogflow/apiv2/entity_types_client.go | 80 +- dialogflow/apiv2/intents_client.go | 32 +- dialogflow/apiv2beta1/agents_client.go | 64 +- .../conversation_profiles_client.go | 32 +- .../apiv2beta1/dialogflowpb/agent.pb.go | 8 +- .../dialogflowpb/answer_record.pb.go | 21 +- .../dialogflowpb/audio_config.pb.go | 27 +- .../apiv2beta1/dialogflowpb/context.pb.go | 5 +- .../dialogflowpb/conversation.pb.go | 5 +- .../dialogflowpb/conversation_event.pb.go | 5 +- .../dialogflowpb/conversation_profile.pb.go | 7 +- .../apiv2beta1/dialogflowpb/document.pb.go | 7 +- .../apiv2beta1/dialogflowpb/entity_type.pb.go | 7 +- .../apiv2beta1/dialogflowpb/environment.pb.go | 5 +- .../apiv2beta1/dialogflowpb/fulfillment.pb.go | 5 +- dialogflow/apiv2beta1/dialogflowpb/gcs.pb.go | 5 +- .../human_agent_assistant_event.pb.go | 5 +- .../apiv2beta1/dialogflowpb/intent.pb.go | 11 +- .../dialogflowpb/knowledge_base.pb.go | 5 +- .../apiv2beta1/dialogflowpb/participant.pb.go | 62 +- .../apiv2beta1/dialogflowpb/session.pb.go | 52 +- .../dialogflowpb/session_entity_type.pb.go | 5 +- .../dialogflowpb/validation_result.pb.go | 5 +- .../apiv2beta1/dialogflowpb/version.pb.go | 5 +- .../apiv2beta1/dialogflowpb/webhook.pb.go | 5 +- dialogflow/apiv2beta1/doc.go | 85 +- dialogflow/apiv2beta1/documents_client.go | 68 +- dialogflow/apiv2beta1/entity_types_client.go | 80 +- dialogflow/apiv2beta1/intents_client.go | 32 +- dialogflow/cx/apiv3/agents_client.go | 32 +- .../cx/apiv3/cxpb/advanced_settings.pb.go | 5 +- dialogflow/cx/apiv3/cxpb/agent.pb.go | 7 +- dialogflow/cx/apiv3/cxpb/audio_config.pb.go | 17 +- dialogflow/cx/apiv3/cxpb/changelog.pb.go | 5 +- .../cx/apiv3/cxpb/data_store_connection.pb.go | 5 +- dialogflow/cx/apiv3/cxpb/deployment.pb.go | 5 +- dialogflow/cx/apiv3/cxpb/entity_type.pb.go | 11 +- dialogflow/cx/apiv3/cxpb/environment.pb.go | 7 +- dialogflow/cx/apiv3/cxpb/experiment.pb.go | 5 +- dialogflow/cx/apiv3/cxpb/flow.pb.go | 7 +- dialogflow/cx/apiv3/cxpb/fulfillment.pb.go | 11 +- dialogflow/cx/apiv3/cxpb/gcs.pb.go | 5 +- .../cx/apiv3/cxpb/generative_settings.pb.go | 5 +- .../cx/apiv3/cxpb/import_strategy.pb.go | 5 +- dialogflow/cx/apiv3/cxpb/inline.pb.go | 5 +- dialogflow/cx/apiv3/cxpb/intent.pb.go | 7 +- dialogflow/cx/apiv3/cxpb/page.pb.go | 5 +- .../cx/apiv3/cxpb/response_message.pb.go | 39 +- .../cx/apiv3/cxpb/safety_settings.pb.go | 5 +- .../cx/apiv3/cxpb/security_settings.pb.go | 5 +- dialogflow/cx/apiv3/cxpb/session.pb.go | 36 +- .../cx/apiv3/cxpb/session_entity_type.pb.go | 5 +- dialogflow/cx/apiv3/cxpb/test_case.pb.go | 7 +- .../apiv3/cxpb/transition_route_group.pb.go | 5 +- .../cx/apiv3/cxpb/validation_message.pb.go | 5 +- dialogflow/cx/apiv3/cxpb/version.pb.go | 7 +- dialogflow/cx/apiv3/cxpb/webhook.pb.go | 5 +- dialogflow/cx/apiv3/doc.go | 87 +- dialogflow/cx/apiv3/environments_client.go | 56 +- dialogflow/cx/apiv3/flows_client.go | 48 +- dialogflow/cx/apiv3/intents_client.go | 32 +- dialogflow/cx/apiv3/test_cases_client.go | 64 +- dialogflow/cx/apiv3/versions_client.go | 28 +- dialogflow/cx/apiv3beta1/agents_client.go | 32 +- .../apiv3beta1/cxpb/advanced_settings.pb.go | 5 +- dialogflow/cx/apiv3beta1/cxpb/agent.pb.go | 7 +- .../cx/apiv3beta1/cxpb/audio_config.pb.go | 17 +- dialogflow/cx/apiv3beta1/cxpb/changelog.pb.go | 5 +- .../cxpb/data_store_connection.pb.go | 5 +- .../cx/apiv3beta1/cxpb/deployment.pb.go | 5 +- .../cx/apiv3beta1/cxpb/entity_type.pb.go | 11 +- .../cx/apiv3beta1/cxpb/environment.pb.go | 7 +- .../cx/apiv3beta1/cxpb/experiment.pb.go | 5 +- dialogflow/cx/apiv3beta1/cxpb/flow.pb.go | 7 +- .../cx/apiv3beta1/cxpb/fulfillment.pb.go | 11 +- dialogflow/cx/apiv3beta1/cxpb/gcs.pb.go | 5 +- .../apiv3beta1/cxpb/generative_settings.pb.go | 5 +- .../cx/apiv3beta1/cxpb/import_strategy.pb.go | 5 +- dialogflow/cx/apiv3beta1/cxpb/inline.pb.go | 5 +- dialogflow/cx/apiv3beta1/cxpb/intent.pb.go | 7 +- dialogflow/cx/apiv3beta1/cxpb/page.pb.go | 5 +- .../cx/apiv3beta1/cxpb/response_message.pb.go | 39 +- .../cx/apiv3beta1/cxpb/safety_settings.pb.go | 5 +- .../apiv3beta1/cxpb/security_settings.pb.go | 5 +- dialogflow/cx/apiv3beta1/cxpb/session.pb.go | 36 +- .../apiv3beta1/cxpb/session_entity_type.pb.go | 5 +- dialogflow/cx/apiv3beta1/cxpb/test_case.pb.go | 7 +- .../cxpb/transition_route_group.pb.go | 5 +- .../apiv3beta1/cxpb/validation_message.pb.go | 5 +- dialogflow/cx/apiv3beta1/cxpb/version.pb.go | 7 +- dialogflow/cx/apiv3beta1/cxpb/webhook.pb.go | 5 +- dialogflow/cx/apiv3beta1/doc.go | 89 +- .../cx/apiv3beta1/environments_client.go | 56 +- dialogflow/cx/apiv3beta1/flows_client.go | 48 +- dialogflow/cx/apiv3beta1/intents_client.go | 32 +- dialogflow/cx/apiv3beta1/test_cases_client.go | 64 +- dialogflow/cx/apiv3beta1/versions_client.go | 28 +- .../apiv1/discoveryenginepb/common.pb.go | 5 +- .../completion_service.pb.go | 5 +- .../discoveryenginepb/conversation.pb.go | 5 +- .../conversational_search_service.pb.go | 5 +- .../apiv1/discoveryenginepb/document.pb.go | 5 +- .../discoveryenginepb/document_service.pb.go | 7 +- .../discoveryenginepb/import_config.pb.go | 5 +- .../discoveryenginepb/purge_config.pb.go | 5 +- .../apiv1/discoveryenginepb/schema.pb.go | 5 +- .../discoveryenginepb/schema_service.pb.go | 7 +- .../discoveryenginepb/search_service.pb.go | 5 +- .../apiv1/discoveryenginepb/user_event.pb.go | 5 +- .../user_event_service.pb.go | 7 +- discoveryengine/apiv1/doc.go | 87 +- .../apiv1beta/discoveryenginepb/common.pb.go | 5 +- .../completion_service.pb.go | 5 +- .../discoveryenginepb/conversation.pb.go | 5 +- .../conversational_search_service.pb.go | 5 +- .../discoveryenginepb/document.pb.go | 5 +- .../discoveryenginepb/document_service.pb.go | 7 +- .../discoveryenginepb/import_config.pb.go | 5 +- .../discoveryenginepb/purge_config.pb.go | 5 +- .../recommendation_service.pb.go | 5 +- .../apiv1beta/discoveryenginepb/schema.pb.go | 5 +- .../discoveryenginepb/schema_service.pb.go | 7 +- .../discoveryenginepb/search_service.pb.go | 5 +- .../discoveryenginepb/user_event.pb.go | 5 +- .../user_event_service.pb.go | 7 +- discoveryengine/apiv1beta/doc.go | 89 +- dlp/apiv2/dlppb/dlp.pb.go | 21 +- dlp/apiv2/dlppb/storage.pb.go | 5 +- dlp/apiv2/doc.go | 87 +- documentai/apiv1/doc.go | 97 +- documentai/apiv1/documentaipb/barcode.pb.go | 5 +- documentai/apiv1/documentaipb/document.pb.go | 5 +- .../apiv1/documentaipb/document_io.pb.go | 5 +- .../document_processor_service.pb.go | 7 +- .../apiv1/documentaipb/document_schema.pb.go | 5 +- .../apiv1/documentaipb/evaluation.pb.go | 5 +- documentai/apiv1/documentaipb/geometry.pb.go | 5 +- .../documentaipb/operation_metadata.pb.go | 5 +- documentai/apiv1/documentaipb/processor.pb.go | 5 +- .../apiv1/documentaipb/processor_type.pb.go | 5 +- documentai/apiv1beta3/doc.go | 99 +- .../apiv1beta3/documentaipb/barcode.pb.go | 5 +- .../apiv1beta3/documentaipb/dataset.pb.go | 5 +- .../apiv1beta3/documentaipb/document.pb.go | 5 +- .../apiv1beta3/documentaipb/document_io.pb.go | 5 +- .../document_processor_service.pb.go | 7 +- .../documentaipb/document_schema.pb.go | 5 +- .../documentaipb/document_service.pb.go | 7 +- .../apiv1beta3/documentaipb/evaluation.pb.go | 5 +- .../apiv1beta3/documentaipb/geometry.pb.go | 5 +- .../documentaipb/operation_metadata.pb.go | 5 +- .../apiv1beta3/documentaipb/processor.pb.go | 5 +- .../documentaipb/processor_type.pb.go | 5 +- domains/apiv1beta1/doc.go | 99 +- domains/apiv1beta1/domains_client.go | 24 +- domains/apiv1beta1/domainspb/domains.pb.go | 7 +- edgecontainer/apiv1/doc.go | 97 +- .../apiv1/edgecontainerpb/resources.pb.go | 5 +- .../apiv1/edgecontainerpb/service.pb.go | 7 +- edgenetwork/apiv1/doc.go | 99 +- .../apiv1/edgenetworkpb/resources.pb.go | 5 +- edgenetwork/apiv1/edgenetworkpb/service.pb.go | 7 +- essentialcontacts/apiv1/doc.go | 99 +- .../apiv1/essentialcontactspb/enums.pb.go | 5 +- .../apiv1/essentialcontactspb/service.pb.go | 5 +- eventarc/apiv1/doc.go | 97 +- eventarc/apiv1/eventarcpb/channel.pb.go | 5 +- .../apiv1/eventarcpb/channel_connection.pb.go | 5 +- eventarc/apiv1/eventarcpb/discovery.pb.go | 5 +- eventarc/apiv1/eventarcpb/eventarc.pb.go | 7 +- .../eventarcpb/google_channel_config.pb.go | 5 +- eventarc/apiv1/eventarcpb/trigger.pb.go | 5 +- eventarc/publishing/apiv1/auxiliary.go | 2 - eventarc/publishing/apiv1/doc.go | 87 +- .../apiv1/publishingpb/publisher.pb.go | 5 +- .../apiv1/cloud_filestore_manager_client.go | 60 +- filestore/apiv1/doc.go | 97 +- .../filestorepb/cloud_filestore_service.pb.go | 7 +- firestore/apiv1/admin/adminpb/database.pb.go | 5 +- firestore/apiv1/admin/adminpb/field.pb.go | 5 +- .../apiv1/admin/adminpb/firestore_admin.pb.go | 7 +- firestore/apiv1/admin/adminpb/index.pb.go | 5 +- firestore/apiv1/admin/adminpb/location.pb.go | 5 +- firestore/apiv1/admin/adminpb/operation.pb.go | 5 +- firestore/apiv1/admin/doc.go | 97 +- firestore/apiv1/doc.go | 41 +- .../firestorepb/aggregation_result.pb.go | 5 +- .../apiv1/firestorepb/bloom_filter.pb.go | 7 +- firestore/apiv1/firestorepb/common.pb.go | 5 +- firestore/apiv1/firestorepb/document.pb.go | 5 +- firestore/apiv1/firestorepb/firestore.pb.go | 5 +- firestore/apiv1/firestorepb/query.pb.go | 5 +- firestore/apiv1/firestorepb/write.pb.go | 5 +- functions/apiv1/cloud_functions_client.go | 36 +- functions/apiv1/doc.go | 87 +- functions/apiv1/functionspb/functions.pb.go | 7 +- functions/apiv1/functionspb/operations.pb.go | 5 +- functions/apiv2/doc.go | 97 +- functions/apiv2/function_client.go | 28 +- functions/apiv2/functionspb/functions.pb.go | 7 +- functions/apiv2beta/doc.go | 99 +- functions/apiv2beta/function_client.go | 28 +- .../apiv2beta/functionspb/functions.pb.go | 7 +- gkebackup/apiv1/doc.go | 97 +- gkebackup/apiv1/gkebackuppb/backup.pb.go | 5 +- gkebackup/apiv1/gkebackuppb/backup_plan.pb.go | 5 +- gkebackup/apiv1/gkebackuppb/common.pb.go | 5 +- gkebackup/apiv1/gkebackuppb/gkebackup.pb.go | 7 +- gkebackup/apiv1/gkebackuppb/restore.pb.go | 5 +- .../apiv1/gkebackuppb/restore_plan.pb.go | 5 +- gkebackup/apiv1/gkebackuppb/volume.pb.go | 5 +- gkeconnect/gateway/apiv1beta1/auxiliary.go | 2 - gkeconnect/gateway/apiv1beta1/doc.go | 89 +- .../apiv1beta1/gatewaypb/gateway.pb.go | 3 +- gkehub/apiv1beta1/doc.go | 99 +- gkehub/apiv1beta1/gkehubpb/membership.pb.go | 7 +- gkemulticloud/apiv1/doc.go | 97 +- .../gkemulticloudpb/attached_resources.pb.go | 5 +- .../gkemulticloudpb/attached_service.pb.go | 7 +- .../apiv1/gkemulticloudpb/aws_resources.pb.go | 9 +- .../apiv1/gkemulticloudpb/aws_service.pb.go | 7 +- .../gkemulticloudpb/azure_resources.pb.go | 5 +- .../apiv1/gkemulticloudpb/azure_service.pb.go | 7 +- .../gkemulticloudpb/common_resources.pb.go | 5 +- gsuiteaddons/apiv1/doc.go | 87 +- .../apiv1/gsuiteaddonspb/gsuiteaddons.pb.go | 5 +- iam/apiv1/auxiliary.go | 2 - iam/apiv1/doc.go | 87 +- iam/apiv1/iam_policy_client.go | 12 +- iam/apiv1/iampb/iam_policy.pb.go | 5 +- iam/apiv1/iampb/options.pb.go | 5 +- iam/apiv1/iampb/policy.pb.go | 192 +- iam/apiv2/doc.go | 97 +- iam/apiv2/iampb/deny.pb.go | 5 +- iam/apiv2/iampb/policy.pb.go | 7 +- iam/credentials/apiv1/auxiliary.go | 2 - .../apiv1/credentialspb/common.pb.go | 5 +- .../apiv1/credentialspb/iamcredentials.pb.go | 3 +- iam/credentials/apiv1/doc.go | 87 +- iap/apiv1/doc.go | 87 +- iap/apiv1/iappb/service.pb.go | 7 +- ids/apiv1/doc.go | 97 +- ids/apiv1/idspb/ids.pb.go | 7 +- ...tadata.google.cloud.accessapproval.v1.json | 2 +- ...ogle.identity.accesscontextmanager.v1.json | 2 +- ...google.cloud.advisorynotifications.v1.json | 2 +- ....google.ai.generativelanguage.v1beta2.json | 2 +- ...t_metadata.google.cloud.aiplatform.v1.json | 2 +- ...adata.google.cloud.aiplatform.v1beta1.json | 2 +- ...ppet_metadata.google.cloud.alloydb.v1.json | 2 +- ...metadata.google.cloud.alloydb.v1alpha.json | 2 +- ..._metadata.google.cloud.alloydb.v1beta.json | 2 +- ...tadata.google.analytics.admin.v1alpha.json | 2 +- ...t_metadata.google.cloud.apigateway.v1.json | 2 +- ...etadata.google.cloud.apigeeconnect.v1.json | 2 +- ...tadata.google.cloud.apigeeregistry.v1.json | 2 +- ...nippet_metadata.google.api.apikeys.v2.json | 2 +- .../snippet_metadata.google.appengine.v1.json | 2 +- ...tadata.google.area120.tables.v1alpha1.json | 2 +- ...a.google.devtools.artifactregistry.v1.json | 2 +- ...gle.devtools.artifactregistry.v1beta2.json | 2 +- ...nippet_metadata.google.cloud.asset.v1.json | 2 +- ...metadata.google.cloud.asset.v1p2beta1.json | 2 +- ...metadata.google.cloud.asset.v1p5beta1.json | 2 +- ...data.google.cloud.assuredworkloads.v1.json | 2 +- ...google.cloud.assuredworkloads.v1beta1.json | 2 +- ...ippet_metadata.google.cloud.automl.v1.json | 2 +- ..._metadata.google.cloud.automl.v1beta1.json | 2 +- ...ata.google.cloud.baremetalsolution.v2.json | 2 +- ...nippet_metadata.google.cloud.batch.v1.json | 2 +- ...le.cloud.beyondcorp.appconnections.v1.json | 2 +- ...gle.cloud.beyondcorp.appconnectors.v1.json | 2 +- ...oogle.cloud.beyondcorp.appgateways.v1.json | 2 +- ...beyondcorp.clientconnectorservices.v1.json | 2 +- ...le.cloud.beyondcorp.clientgateways.v1.json | 2 +- ...google.cloud.bigquery.analyticshub.v1.json | 2 +- ...data.google.cloud.bigquery.biglake.v1.json | 2 +- ...oogle.cloud.bigquery.biglake.v1alpha1.json | 2 +- ...a.google.cloud.bigquery.connection.v1.json | 2 +- ...gle.cloud.bigquery.connection.v1beta1.json | 2 +- ...e.cloud.bigquery.dataexchange.v1beta1.json | 2 +- ...google.cloud.bigquery.datapolicies.v1.json | 2 +- ...e.cloud.bigquery.datapolicies.v1beta1.json | 2 +- ...google.cloud.bigquery.datatransfer.v1.json | 2 +- ...ta.google.cloud.bigquery.migration.v2.json | 2 +- ...ogle.cloud.bigquery.migration.v2alpha.json | 2 +- ....google.cloud.bigquery.reservation.v1.json | 2 +- ...data.google.cloud.bigquery.storage.v1.json | 2 +- ...google.cloud.bigquery.storage.v1beta1.json | 2 +- ...google.cloud.bigquery.storage.v1beta2.json | 2 +- ...ppet_metadata.google.cloud.billing.v1.json | 2 +- ...adata.google.cloud.billing.budgets.v1.json | 2 +- ....google.cloud.billing.budgets.v1beta1.json | 2 +- ...a.google.cloud.binaryauthorization.v1.json | 2 +- ...gle.cloud.binaryauthorization.v1beta1.json | 2 +- ...ta.google.cloud.certificatemanager.v1.json | 2 +- ...ppet_metadata.google.cloud.channel.v1.json | 2 +- ...etadata.google.devtools.cloudbuild.v1.json | 2 +- ...etadata.google.devtools.cloudbuild.v2.json | 2 +- ...pet_metadata.google.cloud.clouddms.v1.json | 2 +- ...data.google.devtools.cloudprofiler.v2.json | 2 +- ...nippet_metadata.google.cloud.tasks.v2.json | 2 +- ...t_metadata.google.cloud.tasks.v2beta2.json | 2 +- ...t_metadata.google.cloud.tasks.v2beta3.json | 2 +- ...loud.commerce.consumer.procurement.v1.json | 2 +- ...ppet_metadata.google.cloud.compute.v1.json | 2 +- ...google.cloud.confidentialcomputing.v1.json | 2 +- ....cloud.confidentialcomputing.v1alpha1.json | 2 +- ...ippet_metadata.google.cloud.config.v1.json | 2 +- ...google.cloud.contactcenterinsights.v1.json | 2 +- .../snippet_metadata.google.container.v1.json | 2 +- ...le.devtools.containeranalysis.v1beta1.json | 2 +- ..._metadata.google.cloud.datacatalog.v1.json | 2 +- ...data.google.cloud.datacatalog.v1beta1.json | 2 +- ...a.google.cloud.datacatalog.lineage.v1.json | 2 +- ...ppet_metadata.google.dataflow.v1beta3.json | 2 +- ...tadata.google.cloud.dataform.v1alpha2.json | 2 +- ...etadata.google.cloud.dataform.v1beta1.json | 2 +- ...t_metadata.google.cloud.datafusion.v1.json | 2 +- ...ata.google.cloud.datalabeling.v1beta1.json | 2 +- ...pet_metadata.google.cloud.dataplex.v1.json | 2 +- ...pet_metadata.google.cloud.dataproc.v1.json | 2 +- ...metadata.google.cloud.dataqna.v1alpha.json | 2 +- ...et_metadata.google.datastore.admin.v1.json | 2 +- ...t_metadata.google.cloud.datastream.v1.json | 2 +- ...data.google.cloud.datastream.v1alpha1.json | 2 +- ...ippet_metadata.google.cloud.deploy.v1.json | 2 +- ...t_metadata.google.cloud.dialogflow.v2.json | 2 +- ...adata.google.cloud.dialogflow.v2beta1.json | 2 +- ...etadata.google.cloud.dialogflow.cx.v3.json | 2 +- ...ta.google.cloud.dialogflow.cx.v3beta1.json | 2 +- ...adata.google.cloud.discoveryengine.v1.json | 2 +- ...a.google.cloud.discoveryengine.v1beta.json | 2 +- ...nippet_metadata.google.privacy.dlp.v2.json | 2 +- ...t_metadata.google.cloud.documentai.v1.json | 2 +- ...adata.google.cloud.documentai.v1beta3.json | 2 +- ...metadata.google.cloud.domains.v1beta1.json | 2 +- ...etadata.google.cloud.edgecontainer.v1.json | 2 +- ..._metadata.google.cloud.edgenetwork.v1.json | 2 +- ...ata.google.cloud.essentialcontacts.v1.json | 2 +- ...pet_metadata.google.cloud.eventarc.v1.json | 2 +- ...a.google.cloud.eventarc.publishing.v1.json | 2 +- ...et_metadata.google.cloud.filestore.v1.json | 2 +- ...et_metadata.google.firestore.admin.v1.json | 2 +- .../snippet_metadata.google.firestore.v1.json | 2 +- ...et_metadata.google.cloud.functions.v1.json | 2 +- ...et_metadata.google.cloud.functions.v2.json | 2 +- ...etadata.google.cloud.functions.v2beta.json | 2 +- ...et_metadata.google.cloud.gkebackup.v1.json | 2 +- ...ogle.cloud.gkeconnect.gateway.v1beta1.json | 2 +- ..._metadata.google.cloud.gkehub.v1beta1.json | 2 +- ...etadata.google.cloud.gkemulticloud.v1.json | 2 +- ...metadata.google.cloud.gsuiteaddons.v1.json | 2 +- .../apiv1/snippet_metadata.google.iam.v1.json | 2 +- .../apiv2/snippet_metadata.google.iam.v2.json | 2 +- ...et_metadata.google.iam.credentials.v1.json | 2 +- .../snippet_metadata.google.cloud.iap.v1.json | 2 +- .../snippet_metadata.google.cloud.ids.v1.json | 2 +- .../snippet_metadata.google.cloud.iot.v1.json | 2 +- .../snippet_metadata.google.cloud.kms.v1.json | 2 +- ...etadata.google.cloud.kms.inventory.v1.json | 2 +- ...pet_metadata.google.cloud.language.v1.json | 2 +- ...etadata.google.cloud.language.v1beta2.json | 2 +- ...pet_metadata.google.cloud.language.v2.json | 2 +- ...data.google.cloud.lifesciences.v2beta.json | 2 +- .../snippet_metadata.google.logging.v2.json | 2 +- .../snippet_metadata.google.longrunning.json | 2 +- ...ata.google.cloud.managedidentities.v1.json | 2 +- ...data.google.maps.addressvalidation.v1.json | 2 +- .../snippet_metadata.maps.fleetengine.v1.json | 2 +- ...metadata.maps.fleetengine.delivery.v1.json | 2 +- ...gle.maps.mapsplatformdatasets.v1alpha.json | 2 +- ...nippet_metadata.google.maps.places.v1.json | 2 +- ...ippet_metadata.google.maps.routing.v2.json | 2 +- ...google.cloud.mediatranslation.v1beta1.json | 2 +- ...pet_metadata.google.cloud.memcache.v1.json | 2 +- ...etadata.google.cloud.memcache.v1beta2.json | 2 +- ...et_metadata.google.cloud.metastore.v1.json | 2 +- ...tadata.google.cloud.metastore.v1alpha.json | 2 +- ...etadata.google.cloud.metastore.v1beta.json | 2 +- ...adata.google.cloud.migrationcenter.v1.json | 2 +- ...snippet_metadata.google.monitoring.v3.json | 2 +- ...tadata.google.monitoring.dashboard.v1.json | 2 +- ...ata.google.monitoring.metricsscope.v1.json | 2 +- ...ippet_metadata.google.cloud.netapp.v1.json | 2 +- ...a.google.cloud.networkconnectivity.v1.json | 2 +- ...le.cloud.networkconnectivity.v1alpha1.json | 2 +- ...ata.google.cloud.networkmanagement.v1.json | 2 +- ....google.cloud.networksecurity.v1beta1.json | 2 +- ...et_metadata.google.cloud.notebooks.v1.json | 2 +- ...tadata.google.cloud.notebooks.v1beta1.json | 2 +- ...et_metadata.google.cloud.notebooks.v2.json | 2 +- ...metadata.google.cloud.optimization.v1.json | 2 +- ...loud.orchestration.airflow.service.v1.json | 2 +- ...et_metadata.google.cloud.orgpolicy.v2.json | 2 +- ...oogle.cloud.osconfig.agentendpoint.v1.json | 2 +- ...e.cloud.osconfig.agentendpoint.v1beta.json | 2 +- ...pet_metadata.google.cloud.osconfig.v1.json | 2 +- ...etadata.google.cloud.osconfig.v1alpha.json | 2 +- ...metadata.google.cloud.osconfig.v1beta.json | 2 +- ...ppet_metadata.google.cloud.oslogin.v1.json | 2 +- ..._metadata.google.cloud.oslogin.v1beta.json | 2 +- ...ogle.cloud.phishingprotection.v1beta1.json | 2 +- ...adata.google.cloud.policysimulator.v1.json | 2 +- ....google.cloud.policytroubleshooter.v1.json | 2 +- ...gle.cloud.policytroubleshooter.iam.v3.json | 2 +- ...a.google.cloud.privatecatalog.v1beta1.json | 2 +- .../snippet_metadata.google.pubsub.v1.json | 2 +- ...t_metadata.google.cloud.pubsublite.v1.json | 2 +- ...gle.cloud.rapidmigrationassessment.v1.json | 2 +- ...le.cloud.recommendationengine.v1beta1.json | 2 +- ..._metadata.google.cloud.recommender.v1.json | 2 +- ...data.google.cloud.recommender.v1beta1.json | 2 +- ...nippet_metadata.google.cloud.redis.v1.json | 2 +- ...t_metadata.google.cloud.redis.v1beta1.json | 2 +- ...etadata.google.cloud.redis.cluster.v1.json | 2 +- ...adata.google.cloud.resourcemanager.v2.json | 2 +- ...adata.google.cloud.resourcemanager.v3.json | 2 +- ...data.google.cloud.resourcesettings.v1.json | 2 +- ...ippet_metadata.google.cloud.retail.v2.json | 2 +- ..._metadata.google.cloud.retail.v2alpha.json | 2 +- ...t_metadata.google.cloud.retail.v2beta.json | 2 +- .../snippet_metadata.google.cloud.run.v2.json | 2 +- ...et_metadata.google.cloud.scheduler.v1.json | 2 +- ...tadata.google.cloud.scheduler.v1beta1.json | 2 +- ...etadata.google.cloud.secretmanager.v1.json | 2 +- ...a.google.cloud.securesourcemanager.v1.json | 2 +- ...ta.google.cloud.security.privateca.v1.json | 2 +- ...oogle.cloud.security.publicca.v1beta1.json | 2 +- ...tadata.google.cloud.securitycenter.v1.json | 2 +- ...a.google.cloud.securitycenter.v1beta1.json | 2 +- ...google.cloud.securitycenter.v1p1beta1.json | 2 +- ...cloud.securitycenter.settings.v1beta1.json | 2 +- ...metadata.google.api.servicecontrol.v1.json | 2 +- ...data.google.cloud.servicedirectory.v1.json | 2 +- ...google.cloud.servicedirectory.v1beta1.json | 2 +- ...adata.google.api.servicemanagement.v1.json | 2 +- ...t_metadata.google.api.serviceusage.v1.json | 2 +- ...nippet_metadata.google.cloud.shell.v1.json | 2 +- ....shopping.merchant.inventories.v1beta.json | 2 +- ...data.google.spanner.admin.database.v1.json | 2 +- ...data.google.spanner.admin.instance.v1.json | 2 +- .../snippet_metadata.google.spanner.v1.json | 2 +- ...ippet_metadata.google.cloud.speech.v1.json | 2 +- ...etadata.google.cloud.speech.v1p1beta1.json | 2 +- ...ippet_metadata.google.cloud.speech.v2.json | 2 +- ...adata.google.cloud.storageinsights.v1.json | 2 +- ...et_metadata.google.storagetransfer.v1.json | 2 +- ...ppet_metadata.google.cloud.support.v2.json | 2 +- ...ippet_metadata.google.cloud.talent.v4.json | 2 +- ..._metadata.google.cloud.talent.v4beta1.json | 2 +- ...adata.google.cloud.telcoautomation.v1.json | 2 +- ...metadata.google.cloud.texttospeech.v1.json | 2 +- .../snippet_metadata.google.cloud.tpu.v1.json | 2 +- ...etadata.google.devtools.cloudtrace.v1.json | 2 +- ...etadata.google.devtools.cloudtrace.v2.json | 2 +- ..._metadata.google.cloud.translation.v3.json | 2 +- ...data.google.cloud.video.livestream.v1.json | 2 +- ...tadata.google.cloud.video.stitcher.v1.json | 2 +- ...data.google.cloud.video.transcoder.v1.json | 2 +- ...ata.google.cloud.videointelligence.v1.json | 2 +- ...oogle.cloud.videointelligence.v1beta2.json | 2 +- ...gle.cloud.videointelligence.v1p3beta1.json | 2 +- ...ippet_metadata.google.cloud.vision.v1.json | 2 +- ...etadata.google.cloud.vision.v1p1beta1.json | 2 +- ..._metadata.google.cloud.vmmigration.v1.json | 2 +- ...metadata.google.cloud.vmwareengine.v1.json | 2 +- ...et_metadata.google.cloud.vpcaccess.v1.json | 2 +- ...ppet_metadata.google.cloud.webrisk.v1.json | 2 +- ...metadata.google.cloud.webrisk.v1beta1.json | 2 +- ...ta.google.cloud.websecurityscanner.v1.json | 2 +- ...et_metadata.google.cloud.workflows.v1.json | 2 +- ...etadata.google.cloud.workflows.v1beta.json | 2 +- ....google.cloud.workflows.executions.v1.json | 2 +- ...gle.cloud.workflows.executions.v1beta.json | 2 +- ...metadata.google.cloud.workstations.v1.json | 2 +- ...data.google.cloud.workstations.v1beta.json | 2 +- iot/apiv1/doc.go | 87 +- iot/apiv1/iotpb/device_manager.pb.go | 7 +- iot/apiv1/iotpb/resources.pb.go | 5 +- kms/apiv1/doc.go | 87 +- kms/apiv1/ekm_client.go | 12 +- kms/apiv1/key_management_client.go | 30 +- kms/apiv1/kmspb/ekm_service.pb.go | 5 +- kms/apiv1/kmspb/resources.pb.go | 5 +- kms/apiv1/kmspb/service.pb.go | 5 +- kms/inventory/apiv1/doc.go | 99 +- .../inventorypb/key_dashboard_service.pb.go | 7 +- .../inventorypb/key_tracking_service.pb.go | 5 +- language/apiv1/auxiliary.go | 2 - language/apiv1/doc.go | 87 +- .../apiv1/languagepb/language_service.pb.go | 5 +- language/apiv1beta2/auxiliary.go | 2 - language/apiv1beta2/doc.go | 89 +- .../languagepb/language_service.pb.go | 5 +- language/apiv2/auxiliary.go | 2 - language/apiv2/doc.go | 87 +- .../apiv2/languagepb/language_service.pb.go | 5 +- lifesciences/apiv2beta/doc.go | 99 +- .../apiv2beta/lifesciencespb/workflows.pb.go | 7 +- .../workflows_service_v2_beta_client.go | 16 +- logging/apiv2/doc.go | 83 +- logging/apiv2/loggingpb/log_entry.pb.go | 5 +- logging/apiv2/loggingpb/logging.pb.go | 5 +- logging/apiv2/loggingpb/logging_config.pb.go | 7 +- logging/apiv2/loggingpb/logging_metrics.pb.go | 5 +- longrunning/autogen/doc.go | 83 +- .../autogen/longrunningpb/operations.pb.go | 19 +- managedidentities/apiv1/doc.go | 97 +- .../apiv1/managed_identities_client.go | 60 +- .../managed_identities_service.pb.go | 7 +- .../apiv1/managedidentitiespb/resource.pb.go | 5 +- .../apiv1/addressvalidationpb/address.pb.go | 5 +- .../address_validation_service.pb.go | 5 +- .../apiv1/addressvalidationpb/geocode.pb.go | 5 +- .../apiv1/addressvalidationpb/metadata.pb.go | 5 +- .../apiv1/addressvalidationpb/usps_data.pb.go | 5 +- maps/addressvalidation/apiv1/auxiliary.go | 2 - maps/addressvalidation/apiv1/doc.go | 87 +- maps/fleetengine/apiv1/doc.go | 87 +- .../apiv1/fleetenginepb/fleetengine.pb.go | 5 +- .../apiv1/fleetenginepb/header.pb.go | 5 +- .../apiv1/fleetenginepb/traffic.pb.go | 5 +- .../apiv1/fleetenginepb/trip_api.pb.go | 5 +- .../apiv1/fleetenginepb/trips.pb.go | 5 +- .../apiv1/fleetenginepb/vehicle_api.pb.go | 5 +- .../apiv1/fleetenginepb/vehicles.pb.go | 5 +- maps/fleetengine/apiv1/vehicle_client.go | 44 +- .../delivery/apiv1/deliverypb/common.pb.go | 5 +- .../apiv1/deliverypb/delivery_api.pb.go | 5 +- .../apiv1/deliverypb/delivery_vehicles.pb.go | 5 +- .../delivery/apiv1/deliverypb/header.pb.go | 5 +- .../apiv1/deliverypb/task_tracking_info.pb.go | 5 +- .../delivery/apiv1/deliverypb/tasks.pb.go | 5 +- maps/fleetengine/delivery/apiv1/doc.go | 87 +- maps/mapsplatformdatasets/apiv1alpha/doc.go | 89 +- .../mapsplatformdatasetspb/data_source.pb.go | 5 +- .../mapsplatformdatasetspb/dataset.pb.go | 5 +- .../maps_platform_datasets.pb.go | 5 +- ...maps_platform_datasets_alpha_service.pb.go | 3 +- maps/places/apiv1/auxiliary.go | 2 - maps/places/apiv1/doc.go | 87 +- maps/places/apiv1/placespb/attribution.pb.go | 5 +- maps/places/apiv1/placespb/ev_charging.pb.go | 5 +- maps/places/apiv1/placespb/fuel_options.pb.go | 5 +- maps/places/apiv1/placespb/geometry.pb.go | 5 +- maps/places/apiv1/placespb/photo.pb.go | 5 +- maps/places/apiv1/placespb/place.pb.go | 5 +- .../apiv1/placespb/places_service.pb.go | 10 +- maps/places/apiv1/placespb/review.pb.go | 5 +- maps/routing/apiv2/auxiliary.go | 2 - maps/routing/apiv2/doc.go | 41 +- maps/routing/apiv2/routes_client.go | 124 +- .../apiv2/routingpb/fallback_info.pb.go | 5 +- .../apiv2/routingpb/geocoding_results.pb.go | 5 +- .../apiv2/routingpb/localized_time.pb.go | 5 +- maps/routing/apiv2/routingpb/location.pb.go | 5 +- maps/routing/apiv2/routingpb/maneuver.pb.go | 5 +- .../routingpb/navigation_instruction.pb.go | 5 +- maps/routing/apiv2/routingpb/polyline.pb.go | 5 +- maps/routing/apiv2/routingpb/route.pb.go | 5 +- .../routing/apiv2/routingpb/route_label.pb.go | 5 +- .../apiv2/routingpb/route_modifiers.pb.go | 5 +- .../apiv2/routingpb/route_travel_mode.pb.go | 5 +- .../apiv2/routingpb/routes_service.pb.go | 5 +- .../apiv2/routingpb/routing_preference.pb.go | 5 +- .../routingpb/speed_reading_interval.pb.go | 5 +- maps/routing/apiv2/routingpb/toll_info.pb.go | 5 +- .../routing/apiv2/routingpb/toll_passes.pb.go | 5 +- .../apiv2/routingpb/traffic_model.pb.go | 5 +- maps/routing/apiv2/routingpb/transit.pb.go | 5 +- .../apiv2/routingpb/transit_preferences.pb.go | 5 +- maps/routing/apiv2/routingpb/units.pb.go | 5 +- .../routingpb/vehicle_emission_type.pb.go | 5 +- .../apiv2/routingpb/vehicle_info.pb.go | 5 +- maps/routing/apiv2/routingpb/waypoint.pb.go | 5 +- mediatranslation/apiv1beta1/auxiliary.go | 2 - mediatranslation/apiv1beta1/doc.go | 119 +- .../media_translation.pb.go | 5 +- memcache/apiv1/cloud_memcache_client.go | 42 +- memcache/apiv1/doc.go | 97 +- .../apiv1/memcachepb/cloud_memcache.pb.go | 7 +- memcache/apiv1beta2/cloud_memcache_client.go | 42 +- memcache/apiv1beta2/doc.go | 99 +- .../memcachepb/cloud_memcache.pb.go | 7 +- metastore/apiv1/dataproc_metastore_client.go | 36 +- .../dataproc_metastore_federation_client.go | 36 +- metastore/apiv1/doc.go | 97 +- metastore/apiv1/metastorepb/metastore.pb.go | 7 +- .../metastorepb/metastore_federation.pb.go | 7 +- .../apiv1alpha/dataproc_metastore_client.go | 36 +- .../dataproc_metastore_federation_client.go | 36 +- metastore/apiv1alpha/doc.go | 99 +- .../apiv1alpha/metastorepb/metastore.pb.go | 7 +- .../metastorepb/metastore_federation.pb.go | 7 +- .../apiv1beta/dataproc_metastore_client.go | 36 +- .../dataproc_metastore_federation_client.go | 36 +- metastore/apiv1beta/doc.go | 99 +- .../apiv1beta/metastorepb/metastore.pb.go | 7 +- .../metastorepb/metastore_federation.pb.go | 7 +- migrationcenter/apiv1/doc.go | 99 +- .../migrationcenterpb/migrationcenter.pb.go | 7 +- monitoring/apiv3/v2/doc.go | 87 +- monitoring/apiv3/v2/monitoringpb/alert.pb.go | 6 +- .../apiv3/v2/monitoringpb/alert_service.pb.go | 5 +- monitoring/apiv3/v2/monitoringpb/common.pb.go | 51 +- .../v2/monitoringpb/dropped_labels.pb.go | 5 +- monitoring/apiv3/v2/monitoringpb/group.pb.go | 5 +- .../apiv3/v2/monitoringpb/group_service.pb.go | 5 +- monitoring/apiv3/v2/monitoringpb/metric.pb.go | 25 +- .../v2/monitoringpb/metric_service.pb.go | 5 +- .../v2/monitoringpb/mutation_record.pb.go | 5 +- .../apiv3/v2/monitoringpb/notification.pb.go | 5 +- .../monitoringpb/notification_service.pb.go | 5 +- .../apiv3/v2/monitoringpb/query_service.pb.go | 3 +- .../apiv3/v2/monitoringpb/service.pb.go | 5 +- .../v2/monitoringpb/service_service.pb.go | 5 +- monitoring/apiv3/v2/monitoringpb/snooze.pb.go | 5 +- .../v2/monitoringpb/snooze_service.pb.go | 11 +- .../apiv3/v2/monitoringpb/span_context.pb.go | 7 +- monitoring/apiv3/v2/monitoringpb/uptime.pb.go | 5 +- .../v2/monitoringpb/uptime_service.pb.go | 5 +- .../apiv1/dashboardpb/alertchart.pb.go | 5 +- .../apiv1/dashboardpb/collapsible_group.pb.go | 5 +- .../dashboard/apiv1/dashboardpb/common.pb.go | 5 +- .../apiv1/dashboardpb/dashboard.pb.go | 5 +- .../apiv1/dashboardpb/dashboard_filter.pb.go | 5 +- .../dashboardpb/dashboards_service.pb.go | 5 +- .../apiv1/dashboardpb/drilldowns.pb.go | 3 +- .../dashboard/apiv1/dashboardpb/layouts.pb.go | 5 +- .../apiv1/dashboardpb/logs_panel.pb.go | 5 +- .../dashboard/apiv1/dashboardpb/metrics.pb.go | 5 +- .../apiv1/dashboardpb/scorecard.pb.go | 5 +- .../dashboard/apiv1/dashboardpb/service.pb.go | 3 +- .../dashboard/apiv1/dashboardpb/table.pb.go | 5 +- .../dashboardpb/table_display_options.pb.go | 5 +- .../dashboard/apiv1/dashboardpb/text.pb.go | 5 +- .../dashboard/apiv1/dashboardpb/widget.pb.go | 5 +- .../dashboard/apiv1/dashboardpb/xychart.pb.go | 5 +- monitoring/dashboard/apiv1/doc.go | 87 +- monitoring/metricsscope/apiv1/doc.go | 97 +- .../apiv1/metricsscopepb/metrics_scope.pb.go | 5 +- .../apiv1/metricsscopepb/metrics_scopes.pb.go | 7 +- netapp/apiv1/doc.go | 99 +- netapp/apiv1/netapppb/active_directory.pb.go | 5 +- .../apiv1/netapppb/cloud_netapp_service.pb.go | 7 +- netapp/apiv1/netapppb/common.pb.go | 5 +- netapp/apiv1/netapppb/kms.pb.go | 5 +- netapp/apiv1/netapppb/replication.pb.go | 5 +- netapp/apiv1/netapppb/snapshot.pb.go | 5 +- netapp/apiv1/netapppb/storage_pool.pb.go | 5 +- netapp/apiv1/netapppb/volume.pb.go | 5 +- networkconnectivity/apiv1/doc.go | 97 +- .../apiv1/networkconnectivitypb/common.pb.go | 5 +- .../apiv1/networkconnectivitypb/hub.pb.go | 8 +- .../policy_based_routing.pb.go | 7 +- networkconnectivity/apiv1alpha1/doc.go | 99 +- .../networkconnectivitypb/common.pb.go | 5 +- .../networkconnectivitypb/hub.pb.go | 7 +- networkmanagement/apiv1/doc.go | 97 +- .../connectivity_test.pb.go | 5 +- .../networkmanagementpb/reachability.pb.go | 7 +- .../apiv1/networkmanagementpb/trace.pb.go | 22 +- networksecurity/apiv1beta1/doc.go | 99 +- .../authorization_policy.pb.go | 5 +- .../networksecuritypb/client_tls_policy.pb.go | 5 +- .../apiv1beta1/networksecuritypb/common.pb.go | 5 +- .../networksecuritypb/network_security.pb.go | 5 +- .../networksecuritypb/server_tls_policy.pb.go | 5 +- .../apiv1beta1/networksecuritypb/tls.pb.go | 5 +- notebooks/apiv1/doc.go | 97 +- .../apiv1/notebookspb/diagnostic_config.pb.go | 5 +- notebooks/apiv1/notebookspb/environment.pb.go | 5 +- notebooks/apiv1/notebookspb/event.pb.go | 5 +- notebooks/apiv1/notebookspb/execution.pb.go | 5 +- notebooks/apiv1/notebookspb/instance.pb.go | 5 +- .../apiv1/notebookspb/instance_config.pb.go | 5 +- .../apiv1/notebookspb/managed_service.pb.go | 10 +- notebooks/apiv1/notebookspb/runtime.pb.go | 5 +- notebooks/apiv1/notebookspb/schedule.pb.go | 5 +- notebooks/apiv1/notebookspb/service.pb.go | 7 +- notebooks/apiv1beta1/doc.go | 99 +- .../apiv1beta1/notebookspb/environment.pb.go | 5 +- .../apiv1beta1/notebookspb/instance.pb.go | 5 +- .../apiv1beta1/notebookspb/service.pb.go | 7 +- notebooks/apiv2/doc.go | 87 +- .../apiv2/notebookspb/diagnostic_config.pb.go | 5 +- notebooks/apiv2/notebookspb/event.pb.go | 5 +- notebooks/apiv2/notebookspb/gce_setup.pb.go | 5 +- notebooks/apiv2/notebookspb/instance.pb.go | 5 +- notebooks/apiv2/notebookspb/service.pb.go | 7 +- optimization/apiv1/doc.go | 97 +- optimization/apiv1/fleet_routing_client.go | 78 +- .../apiv1/optimizationpb/async_model.pb.go | 5 +- .../apiv1/optimizationpb/fleet_routing.pb.go | 290 +-- orchestration/airflow/service/apiv1/doc.go | 97 +- .../apiv1/servicepb/environments.pb.go | 19 +- .../apiv1/servicepb/image_versions.pb.go | 5 +- .../service/apiv1/servicepb/operations.pb.go | 5 +- orgpolicy/apiv1/orgpolicypb/orgpolicy.pb.go | 12 +- orgpolicy/apiv2/doc.go | 87 +- orgpolicy/apiv2/orgpolicypb/constraint.pb.go | 5 +- orgpolicy/apiv2/orgpolicypb/orgpolicy.pb.go | 12 +- .../apiv1/agentendpointpb/agentendpoint.pb.go | 5 +- .../apiv1/agentendpointpb/config_common.pb.go | 5 +- .../apiv1/agentendpointpb/inventory.pb.go | 5 +- .../apiv1/agentendpointpb/os_policy.pb.go | 5 +- .../apiv1/agentendpointpb/patch_jobs.pb.go | 5 +- .../apiv1/agentendpointpb/tasks.pb.go | 5 +- osconfig/agentendpoint/apiv1/auxiliary.go | 2 - osconfig/agentendpoint/apiv1/doc.go | 41 +- .../agentendpointpb/agentendpoint.pb.go | 5 +- .../agentendpointpb/guest_policies.pb.go | 10 +- .../agentendpointpb/patch_jobs.pb.go | 5 +- .../apiv1beta/agentendpointpb/tasks.pb.go | 5 +- osconfig/agentendpoint/apiv1beta/auxiliary.go | 2 - osconfig/agentendpoint/apiv1beta/doc.go | 89 +- osconfig/apiv1/doc.go | 87 +- osconfig/apiv1/os_config_client.go | 6 +- osconfig/apiv1/os_config_zonal_client.go | 6 +- osconfig/apiv1/osconfigpb/inventory.pb.go | 5 +- osconfig/apiv1/osconfigpb/os_policy.pb.go | 5 +- .../os_policy_assignment_reports.pb.go | 5 +- .../osconfigpb/os_policy_assignments.pb.go | 21 +- .../apiv1/osconfigpb/osconfig_common.pb.go | 5 +- .../apiv1/osconfigpb/osconfig_service.pb.go | 3 +- .../osconfigpb/osconfig_zonal_service.pb.go | 5 +- .../apiv1/osconfigpb/patch_deployments.pb.go | 5 +- osconfig/apiv1/osconfigpb/patch_jobs.pb.go | 5 +- osconfig/apiv1/osconfigpb/vulnerability.pb.go | 5 +- osconfig/apiv1alpha/doc.go | 99 +- osconfig/apiv1alpha/os_config_zonal_client.go | 6 +- .../apiv1alpha/osconfigpb/config_common.pb.go | 5 +- .../instance_os_policies_compliance.pb.go | 5 +- .../apiv1alpha/osconfigpb/inventory.pb.go | 5 +- .../apiv1alpha/osconfigpb/os_policy.pb.go | 5 +- .../os_policy_assignment_reports.pb.go | 5 +- .../osconfigpb/os_policy_assignments.pb.go | 21 +- .../osconfigpb/osconfig_common.pb.go | 5 +- .../osconfigpb/osconfig_zonal_service.pb.go | 5 +- .../apiv1alpha/osconfigpb/vulnerability.pb.go | 5 +- osconfig/apiv1beta/doc.go | 89 +- osconfig/apiv1beta/os_config_client.go | 6 +- .../apiv1beta/osconfigpb/guest_policies.pb.go | 10 +- .../osconfigpb/osconfig_common.pb.go | 5 +- .../osconfigpb/osconfig_service.pb.go | 3 +- .../osconfigpb/patch_deployments.pb.go | 5 +- .../apiv1beta/osconfigpb/patch_jobs.pb.go | 5 +- oslogin/apiv1/auxiliary.go | 2 - oslogin/apiv1/doc.go | 87 +- oslogin/apiv1/os_login_client.go | 6 +- oslogin/apiv1/osloginpb/oslogin.pb.go | 7 +- oslogin/apiv1beta/auxiliary.go | 2 - oslogin/apiv1beta/doc.go | 89 +- oslogin/apiv1beta/os_login_client.go | 6 +- oslogin/apiv1beta/osloginpb/oslogin.pb.go | 7 +- oslogin/common/commonpb/common.pb.go | 5 +- phishingprotection/apiv1beta1/auxiliary.go | 2 - phishingprotection/apiv1beta1/doc.go | 89 +- .../phishingprotection.pb.go | 5 +- policysimulator/apiv1/doc.go | 97 +- .../policysimulatorpb/explanations.pb.go | 5 +- .../apiv1/policysimulatorpb/simulator.pb.go | 7 +- policytroubleshooter/apiv1/auxiliary.go | 2 - policytroubleshooter/apiv1/doc.go | 87 +- .../policytroubleshooterpb/checker.pb.go | 5 +- .../policytroubleshooterpb/explanations.pb.go | 5 +- policytroubleshooter/iam/apiv3/auxiliary.go | 2 - policytroubleshooter/iam/apiv3/doc.go | 87 +- .../iam/apiv3/iampb/troubleshooter.pb.go | 7 +- privatecatalog/apiv1beta1/doc.go | 101 +- .../privatecatalogpb/private_catalog.pb.go | 7 +- pubsub/apiv1/doc.go | 87 +- pubsub/apiv1/pubsubpb/pubsub.pb.go | 5 +- pubsub/apiv1/pubsubpb/schema.pb.go | 5 +- pubsublite/apiv1/doc.go | 87 +- pubsublite/apiv1/pubsublitepb/admin.pb.go | 7 +- pubsublite/apiv1/pubsublitepb/common.pb.go | 5 +- pubsublite/apiv1/pubsublitepb/cursor.pb.go | 5 +- pubsublite/apiv1/pubsublitepb/publisher.pb.go | 5 +- .../apiv1/pubsublitepb/subscriber.pb.go | 13 +- .../apiv1/pubsublitepb/topic_stats.pb.go | 5 +- rapidmigrationassessment/apiv1/doc.go | 97 +- .../api_entities.pb.go | 5 +- .../rapidmigrationassessment.pb.go | 7 +- recaptchaenterprise/apiv1/doc.go | 87 +- .../recaptchaenterprise.pb.go | 5 +- recaptchaenterprise/apiv1beta1/auxiliary.go | 2 - recaptchaenterprise/apiv1beta1/doc.go | 89 +- .../recaptchaenterprise.pb.go | 5 +- recommendationengine/apiv1beta1/doc.go | 89 +- .../recommendationenginepb/catalog.pb.go | 5 +- .../catalog_service.pb.go | 7 +- .../recommendationenginepb/common.pb.go | 5 +- .../recommendationenginepb/import.pb.go | 5 +- .../prediction_apikey_registry_service.pb.go | 5 +- .../prediction_service.pb.go | 5 +- .../recommendationengine_resources.pb.go | 3 +- .../recommendationenginepb/user_event.pb.go | 5 +- .../user_event_service.pb.go | 7 +- recommender/apiv1/doc.go | 87 +- recommender/apiv1/recommenderpb/insight.pb.go | 5 +- .../recommenderpb/insight_type_config.pb.go | 5 +- .../apiv1/recommenderpb/recommendation.pb.go | 16 +- .../recommenderpb/recommender_config.pb.go | 5 +- .../recommenderpb/recommender_service.pb.go | 5 +- recommender/apiv1beta1/doc.go | 89 +- .../apiv1beta1/recommenderpb/insight.pb.go | 5 +- .../recommenderpb/insight_type_config.pb.go | 5 +- .../recommenderpb/recommendation.pb.go | 16 +- .../recommenderpb/recommender_config.pb.go | 5 +- .../recommenderpb/recommender_service.pb.go | 5 +- redis/apiv1/cloud_redis_client.go | 52 +- redis/apiv1/doc.go | 97 +- redis/apiv1/redispb/cloud_redis.pb.go | 7 +- redis/apiv1beta1/cloud_redis_client.go | 52 +- redis/apiv1beta1/doc.go | 99 +- redis/apiv1beta1/redispb/cloud_redis.pb.go | 7 +- .../apiv1/cloud_redis_cluster_client.go | 76 +- .../apiv1/clusterpb/cloud_redis_cluster.pb.go | 7 +- redis/cluster/apiv1/doc.go | 99 +- resourcemanager/apiv2/doc.go | 97 +- resourcemanager/apiv2/folders_client.go | 32 +- .../apiv2/resourcemanagerpb/folders.pb.go | 7 +- resourcemanager/apiv3/doc.go | 97 +- resourcemanager/apiv3/folders_client.go | 32 +- resourcemanager/apiv3/projects_client.go | 96 +- .../apiv3/resourcemanagerpb/folders.pb.go | 7 +- .../resourcemanagerpb/organizations.pb.go | 7 +- .../apiv3/resourcemanagerpb/projects.pb.go | 7 +- .../resourcemanagerpb/tag_bindings.pb.go | 7 +- .../apiv3/resourcemanagerpb/tag_holds.pb.go | 7 +- .../apiv3/resourcemanagerpb/tag_keys.pb.go | 7 +- .../apiv3/resourcemanagerpb/tag_values.pb.go | 7 +- resourcesettings/apiv1/doc.go | 87 +- .../resource_settings.pb.go | 5 +- retail/apiv2/catalog_client.go | 10 +- retail/apiv2/doc.go | 87 +- retail/apiv2/model_client.go | 16 +- retail/apiv2/retailpb/catalog.pb.go | 5 +- retail/apiv2/retailpb/catalog_service.pb.go | 5 +- retail/apiv2/retailpb/common.pb.go | 21 +- .../apiv2/retailpb/completion_service.pb.go | 7 +- retail/apiv2/retailpb/control.pb.go | 5 +- retail/apiv2/retailpb/control_service.pb.go | 5 +- retail/apiv2/retailpb/import_config.pb.go | 5 +- retail/apiv2/retailpb/model.pb.go | 5 +- retail/apiv2/retailpb/model_service.pb.go | 7 +- .../apiv2/retailpb/prediction_service.pb.go | 5 +- retail/apiv2/retailpb/product.pb.go | 5 +- retail/apiv2/retailpb/product_service.pb.go | 7 +- retail/apiv2/retailpb/promotion.pb.go | 5 +- retail/apiv2/retailpb/purge_config.pb.go | 5 +- retail/apiv2/retailpb/search_service.pb.go | 5 +- retail/apiv2/retailpb/serving_config.pb.go | 5 +- .../retailpb/serving_config_service.pb.go | 5 +- retail/apiv2/retailpb/user_event.pb.go | 5 +- .../apiv2/retailpb/user_event_service.pb.go | 7 +- retail/apiv2alpha/catalog_client.go | 20 +- retail/apiv2alpha/doc.go | 89 +- retail/apiv2alpha/model_client.go | 24 +- retail/apiv2alpha/retailpb/catalog.pb.go | 5 +- .../apiv2alpha/retailpb/catalog_service.pb.go | 5 +- retail/apiv2alpha/retailpb/common.pb.go | 21 +- .../retailpb/completion_service.pb.go | 7 +- retail/apiv2alpha/retailpb/control.pb.go | 5 +- .../apiv2alpha/retailpb/control_service.pb.go | 5 +- .../apiv2alpha/retailpb/export_config.pb.go | 5 +- .../apiv2alpha/retailpb/import_config.pb.go | 5 +- .../merchant_center_account_link.pb.go | 5 +- ...merchant_center_account_link_service.pb.go | 7 +- retail/apiv2alpha/retailpb/model.pb.go | 5 +- .../apiv2alpha/retailpb/model_service.pb.go | 7 +- .../retailpb/prediction_service.pb.go | 5 +- retail/apiv2alpha/retailpb/product.pb.go | 5 +- .../apiv2alpha/retailpb/product_service.pb.go | 7 +- retail/apiv2alpha/retailpb/promotion.pb.go | 5 +- retail/apiv2alpha/retailpb/purge_config.pb.go | 5 +- .../apiv2alpha/retailpb/search_service.pb.go | 5 +- .../apiv2alpha/retailpb/serving_config.pb.go | 5 +- .../retailpb/serving_config_service.pb.go | 5 +- retail/apiv2alpha/retailpb/user_event.pb.go | 5 +- .../retailpb/user_event_service.pb.go | 7 +- retail/apiv2beta/catalog_client.go | 20 +- retail/apiv2beta/doc.go | 89 +- retail/apiv2beta/model_client.go | 24 +- retail/apiv2beta/retailpb/catalog.pb.go | 5 +- .../apiv2beta/retailpb/catalog_service.pb.go | 5 +- retail/apiv2beta/retailpb/common.pb.go | 21 +- .../retailpb/completion_service.pb.go | 7 +- retail/apiv2beta/retailpb/control.pb.go | 5 +- .../apiv2beta/retailpb/control_service.pb.go | 5 +- retail/apiv2beta/retailpb/export_config.pb.go | 5 +- retail/apiv2beta/retailpb/import_config.pb.go | 5 +- retail/apiv2beta/retailpb/model.pb.go | 5 +- retail/apiv2beta/retailpb/model_service.pb.go | 7 +- .../retailpb/prediction_service.pb.go | 5 +- retail/apiv2beta/retailpb/product.pb.go | 5 +- .../apiv2beta/retailpb/product_service.pb.go | 7 +- retail/apiv2beta/retailpb/promotion.pb.go | 5 +- retail/apiv2beta/retailpb/purge_config.pb.go | 5 +- .../apiv2beta/retailpb/search_service.pb.go | 5 +- .../apiv2beta/retailpb/serving_config.pb.go | 5 +- .../retailpb/serving_config_service.pb.go | 5 +- retail/apiv2beta/retailpb/user_event.pb.go | 5 +- .../retailpb/user_event_service.pb.go | 7 +- run/apiv2/doc.go | 97 +- run/apiv2/runpb/condition.pb.go | 5 +- run/apiv2/runpb/execution.pb.go | 7 +- run/apiv2/runpb/execution_template.pb.go | 5 +- run/apiv2/runpb/job.pb.go | 7 +- run/apiv2/runpb/k8s.min.pb.go | 5 +- run/apiv2/runpb/revision.pb.go | 7 +- run/apiv2/runpb/revision_template.pb.go | 5 +- run/apiv2/runpb/service.pb.go | 7 +- run/apiv2/runpb/task.pb.go | 5 +- run/apiv2/runpb/task_template.pb.go | 5 +- run/apiv2/runpb/traffic_target.pb.go | 5 +- run/apiv2/runpb/vendor_settings.pb.go | 5 +- scheduler/apiv1/doc.go | 87 +- .../apiv1/schedulerpb/cloudscheduler.pb.go | 5 +- scheduler/apiv1/schedulerpb/job.pb.go | 5 +- scheduler/apiv1/schedulerpb/target.pb.go | 5 +- scheduler/apiv1beta1/doc.go | 89 +- .../schedulerpb/cloudscheduler.pb.go | 5 +- scheduler/apiv1beta1/schedulerpb/job.pb.go | 5 +- scheduler/apiv1beta1/schedulerpb/target.pb.go | 5 +- secretmanager/apiv1/doc.go | 87 +- secretmanager/apiv1/secret_manager_client.go | 18 +- .../apiv1/secretmanagerpb/resources.pb.go | 5 +- .../apiv1/secretmanagerpb/service.pb.go | 7 +- securesourcemanager/apiv1/doc.go | 99 +- .../apiv1/secure_source_manager_client.go | 6 +- .../secure_source_manager.pb.go | 7 +- security/privateca/apiv1/doc.go | 97 +- .../apiv1/privatecapb/resources.pb.go | 5 +- .../privateca/apiv1/privatecapb/service.pb.go | 7 +- security/publicca/apiv1beta1/auxiliary.go | 2 - security/publicca/apiv1beta1/doc.go | 89 +- .../apiv1beta1/publiccapb/resources.pb.go | 5 +- .../apiv1beta1/publiccapb/service.pb.go | 5 +- securitycenter/apiv1/doc.go | 97 +- .../apiv1/securitycenterpb/access.pb.go | 5 +- .../apiv1/securitycenterpb/asset.pb.go | 5 +- .../securitycenterpb/bigquery_export.pb.go | 5 +- .../cloud_dlp_data_profile.pb.go | 5 +- .../cloud_dlp_inspection.pb.go | 5 +- .../apiv1/securitycenterpb/compliance.pb.go | 5 +- .../apiv1/securitycenterpb/connection.pb.go | 5 +- .../securitycenterpb/contact_details.pb.go | 5 +- .../apiv1/securitycenterpb/container.pb.go | 5 +- .../apiv1/securitycenterpb/database.pb.go | 5 +- ...urity_health_analytics_custom_module.pb.go | 5 +- .../apiv1/securitycenterpb/exfiltration.pb.go | 5 +- .../securitycenterpb/external_system.pb.go | 5 +- .../apiv1/securitycenterpb/file.pb.go | 5 +- .../apiv1/securitycenterpb/finding.pb.go | 5 +- .../apiv1/securitycenterpb/folder.pb.go | 5 +- .../apiv1/securitycenterpb/iam_binding.pb.go | 5 +- .../apiv1/securitycenterpb/indicator.pb.go | 5 +- .../securitycenterpb/kernel_rootkit.pb.go | 5 +- .../apiv1/securitycenterpb/kubernetes.pb.go | 5 +- .../apiv1/securitycenterpb/label.pb.go | 5 +- .../apiv1/securitycenterpb/mitre_attack.pb.go | 5 +- .../apiv1/securitycenterpb/mute_config.pb.go | 5 +- .../notification_config.pb.go | 5 +- .../notification_message.pb.go | 5 +- .../organization_settings.pb.go | 5 +- .../apiv1/securitycenterpb/process.pb.go | 5 +- .../apiv1/securitycenterpb/resource.pb.go | 5 +- .../run_asset_discovery_response.pb.go | 5 +- ...urity_health_analytics_custom_config.pb.go | 5 +- ...urity_health_analytics_custom_module.pb.go | 5 +- .../securitycenterpb/security_marks.pb.go | 5 +- .../securitycenter_service.pb.go | 7 +- .../apiv1/securitycenterpb/source.pb.go | 5 +- .../securitycenterpb/vulnerability.pb.go | 5 +- securitycenter/apiv1beta1/doc.go | 89 +- .../apiv1beta1/securitycenterpb/asset.pb.go | 5 +- .../apiv1beta1/securitycenterpb/finding.pb.go | 5 +- .../organization_settings.pb.go | 5 +- .../run_asset_discovery_response.pb.go | 5 +- .../securitycenterpb/security_marks.pb.go | 5 +- .../securitycenter_service.pb.go | 7 +- .../apiv1beta1/securitycenterpb/source.pb.go | 5 +- securitycenter/apiv1p1beta1/doc.go | 89 +- .../apiv1p1beta1/securitycenterpb/asset.pb.go | 5 +- .../securitycenterpb/finding.pb.go | 5 +- .../securitycenterpb/folder.pb.go | 5 +- .../notification_config.pb.go | 5 +- .../notification_message.pb.go | 5 +- .../organization_settings.pb.go | 5 +- .../securitycenterpb/resource.pb.go | 5 +- .../run_asset_discovery_response.pb.go | 5 +- .../securitycenterpb/security_marks.pb.go | 5 +- .../securitycenter_service.pb.go | 7 +- .../securitycenterpb/source.pb.go | 5 +- securitycenter/settings/apiv1beta1/doc.go | 89 +- .../security_center_settings_client.go | 32 +- .../settingspb/billing_settings.pb.go | 5 +- .../settingspb/component_settings.pb.go | 5 +- .../apiv1beta1/settingspb/detector.pb.go | 5 +- .../securitycenter_settings_service.pb.go | 5 +- .../apiv1beta1/settingspb/settings.pb.go | 5 +- .../apiv1beta1/settingspb/sink_settings.pb.go | 5 +- servicecontrol/apiv1/auxiliary.go | 2 - servicecontrol/apiv1/doc.go | 87 +- .../apiv1/servicecontrolpb/check_error.pb.go | 5 +- .../apiv1/servicecontrolpb/distribution.pb.go | 5 +- .../apiv1/servicecontrolpb/http_request.pb.go | 5 +- .../apiv1/servicecontrolpb/log_entry.pb.go | 5 +- .../apiv1/servicecontrolpb/metric_value.pb.go | 5 +- .../apiv1/servicecontrolpb/operation.pb.go | 5 +- .../servicecontrolpb/quota_controller.pb.go | 5 +- .../servicecontrolpb/service_controller.pb.go | 5 +- servicedirectory/apiv1/doc.go | 87 +- servicedirectory/apiv1/registration_client.go | 60 +- .../apiv1/servicedirectorypb/endpoint.pb.go | 5 +- .../servicedirectorypb/lookup_service.pb.go | 5 +- .../apiv1/servicedirectorypb/namespace.pb.go | 5 +- .../registration_service.pb.go | 7 +- .../apiv1/servicedirectorypb/service.pb.go | 5 +- servicedirectory/apiv1beta1/doc.go | 89 +- .../apiv1beta1/registration_client.go | 60 +- .../servicedirectorypb/endpoint.pb.go | 5 +- .../servicedirectorypb/lookup_service.pb.go | 5 +- .../servicedirectorypb/namespace.pb.go | 5 +- .../registration_service.pb.go | 7 +- .../servicedirectorypb/service.pb.go | 5 +- servicemanagement/apiv1/doc.go | 97 +- .../apiv1/servicemanagementpb/resources.pb.go | 39 +- .../servicemanagementpb/servicemanager.pb.go | 8 +- serviceusage/apiv1/doc.go | 97 +- .../apiv1/serviceusagepb/resources.pb.go | 5 +- .../apiv1/serviceusagepb/serviceusage.pb.go | 7 +- shell/apiv1/doc.go | 97 +- shell/apiv1/shellpb/cloudshell.pb.go | 7 +- .../merchant/inventories/apiv1beta/doc.go | 85 +- .../inventoriespb/localinventory.pb.go | 7 +- .../inventoriespb/regionalinventory.pb.go | 7 +- shopping/type/typepb/types.pb.go | 7 +- .../database/apiv1/database_admin_client.go | 98 +- .../database/apiv1/databasepb/backup.pb.go | 5 +- .../database/apiv1/databasepb/common.pb.go | 5 +- .../databasepb/spanner_database_admin.pb.go | 7 +- spanner/admin/database/apiv1/doc.go | 97 +- spanner/admin/instance/apiv1/doc.go | 97 +- .../instance/apiv1/instance_admin_client.go | 238 +-- .../instance/apiv1/instancepb/common.pb.go | 5 +- .../instancepb/spanner_instance_admin.pb.go | 7 +- spanner/apiv1/doc.go | 87 +- spanner/apiv1/spanner_client.go | 6 +- spanner/apiv1/spannerpb/commit_response.pb.go | 5 +- spanner/apiv1/spannerpb/keys.pb.go | 57 +- spanner/apiv1/spannerpb/mutation.pb.go | 5 +- spanner/apiv1/spannerpb/query_plan.pb.go | 5 +- spanner/apiv1/spannerpb/result_set.pb.go | 5 +- spanner/apiv1/spannerpb/spanner.pb.go | 65 +- spanner/apiv1/spannerpb/transaction.pb.go | 121 +- spanner/apiv1/spannerpb/type.pb.go | 5 +- speech/apiv1/doc.go | 97 +- speech/apiv1/speechpb/cloud_speech.pb.go | 51 +- .../speechpb/cloud_speech_adaptation.pb.go | 5 +- speech/apiv1/speechpb/resource.pb.go | 5 +- speech/apiv1p1beta1/doc.go | 99 +- .../apiv1p1beta1/speechpb/cloud_speech.pb.go | 51 +- .../speechpb/cloud_speech_adaptation.pb.go | 5 +- speech/apiv1p1beta1/speechpb/resource.pb.go | 5 +- speech/apiv2/doc.go | 97 +- speech/apiv2/speechpb/cloud_speech.pb.go | 51 +- storage/internal/apiv2/doc.go | 117 +- storage/internal/apiv2/storage_client.go | 108 +- .../internal/apiv2/storagepb/storage.pb.go | 7 +- storageinsights/apiv1/doc.go | 89 +- .../storageinsightspb/storageinsights.pb.go | 5 +- storagetransfer/apiv1/doc.go | 87 +- .../apiv1/storagetransferpb/transfer.pb.go | 7 +- .../storagetransferpb/transfer_types.pb.go | 5 +- support/apiv2/doc.go | 99 +- support/apiv2/supportpb/actor.pb.go | 5 +- support/apiv2/supportpb/attachment.pb.go | 5 +- .../apiv2/supportpb/attachment_service.pb.go | 5 +- support/apiv2/supportpb/case.pb.go | 5 +- support/apiv2/supportpb/case_service.pb.go | 5 +- support/apiv2/supportpb/comment.pb.go | 5 +- support/apiv2/supportpb/comment_service.pb.go | 5 +- support/apiv2/supportpb/escalation.pb.go | 5 +- talent/apiv4/doc.go | 87 +- talent/apiv4/talentpb/common.pb.go | 5 +- talent/apiv4/talentpb/company.pb.go | 5 +- talent/apiv4/talentpb/company_service.pb.go | 5 +- .../apiv4/talentpb/completion_service.pb.go | 5 +- talent/apiv4/talentpb/event.pb.go | 5 +- talent/apiv4/talentpb/event_service.pb.go | 5 +- talent/apiv4/talentpb/filters.pb.go | 5 +- talent/apiv4/talentpb/histogram.pb.go | 5 +- talent/apiv4/talentpb/job.pb.go | 5 +- talent/apiv4/talentpb/job_service.pb.go | 7 +- talent/apiv4/talentpb/tenant.pb.go | 5 +- talent/apiv4/talentpb/tenant_service.pb.go | 5 +- talent/apiv4beta1/doc.go | 89 +- talent/apiv4beta1/talentpb/batch.pb.go | 3 +- talent/apiv4beta1/talentpb/common.pb.go | 5 +- talent/apiv4beta1/talentpb/company.pb.go | 5 +- .../apiv4beta1/talentpb/company_service.pb.go | 5 +- .../talentpb/completion_service.pb.go | 5 +- talent/apiv4beta1/talentpb/event.pb.go | 5 +- .../apiv4beta1/talentpb/event_service.pb.go | 5 +- talent/apiv4beta1/talentpb/filters.pb.go | 5 +- talent/apiv4beta1/talentpb/histogram.pb.go | 5 +- talent/apiv4beta1/talentpb/job.pb.go | 5 +- talent/apiv4beta1/talentpb/job_service.pb.go | 7 +- talent/apiv4beta1/talentpb/tenant.pb.go | 5 +- .../apiv4beta1/talentpb/tenant_service.pb.go | 5 +- telcoautomation/apiv1/doc.go | 89 +- .../telcoautomationpb/telcoautomation.pb.go | 7 +- texttospeech/apiv1/doc.go | 87 +- .../apiv1/texttospeechpb/cloud_tts.pb.go | 5 +- .../apiv1/texttospeechpb/cloud_tts_lrs.pb.go | 7 +- tpu/apiv1/doc.go | 97 +- tpu/apiv1/tpu_client.go | 4 +- tpu/apiv1/tpupb/cloud_tpu.pb.go | 7 +- trace/apiv1/doc.go | 87 +- trace/apiv1/tracepb/trace.pb.go | 5 +- trace/apiv2/auxiliary.go | 2 - trace/apiv2/doc.go | 85 +- trace/apiv2/tracepb/trace.pb.go | 5 +- trace/apiv2/tracepb/tracing.pb.go | 5 +- translate/apiv3/doc.go | 97 +- .../translatepb/translation_service.pb.go | 7 +- video/livestream/apiv1/doc.go | 97 +- .../apiv1/livestreampb/outputs.pb.go | 5 +- .../apiv1/livestreampb/resources.pb.go | 5 +- .../apiv1/livestreampb/service.pb.go | 7 +- video/stitcher/apiv1/doc.go | 97 +- .../apiv1/stitcherpb/ad_tag_details.pb.go | 5 +- .../stitcher/apiv1/stitcherpb/cdn_keys.pb.go | 5 +- .../apiv1/stitcherpb/companions.pb.go | 5 +- video/stitcher/apiv1/stitcherpb/events.pb.go | 5 +- .../apiv1/stitcherpb/live_configs.pb.go | 5 +- .../stitcher/apiv1/stitcherpb/sessions.pb.go | 5 +- video/stitcher/apiv1/stitcherpb/slates.pb.go | 5 +- .../apiv1/stitcherpb/stitch_details.pb.go | 5 +- .../stitcherpb/video_stitcher_service.pb.go | 7 +- video/transcoder/apiv1/doc.go | 87 +- .../apiv1/transcoderpb/resources.pb.go | 5 +- .../apiv1/transcoderpb/services.pb.go | 5 +- videointelligence/apiv1/doc.go | 97 +- .../video_intelligence.pb.go | 21 +- videointelligence/apiv1beta2/doc.go | 99 +- .../video_intelligence.pb.go | 7 +- videointelligence/apiv1p3beta1/doc.go | 99 +- .../video_intelligence.pb.go | 21 +- vision/apiv1/doc.go | 83 +- vision/apiv1/product_search_client.go | 170 +- vision/apiv1/visionpb/geometry.pb.go | 5 +- vision/apiv1/visionpb/image_annotator.pb.go | 7 +- vision/apiv1/visionpb/product_search.pb.go | 5 +- .../visionpb/product_search_service.pb.go | 7 +- vision/apiv1/visionpb/text_annotation.pb.go | 9 +- vision/apiv1/visionpb/web_detection.pb.go | 5 +- vision/apiv1p1beta1/auxiliary.go | 2 - vision/apiv1p1beta1/doc.go | 89 +- vision/apiv1p1beta1/visionpb/geometry.pb.go | 5 +- .../visionpb/image_annotator.pb.go | 5 +- .../visionpb/text_annotation.pb.go | 9 +- .../apiv1p1beta1/visionpb/web_detection.pb.go | 5 +- vmmigration/apiv1/doc.go | 97 +- .../apiv1/vmmigrationpb/vmmigration.pb.go | 7 +- vmwareengine/apiv1/doc.go | 97 +- .../apiv1/vmwareenginepb/vmwareengine.pb.go | 7 +- .../vmwareengine_resources.pb.go | 5 +- vpcaccess/apiv1/doc.go | 97 +- vpcaccess/apiv1/vpcaccesspb/vpc_access.pb.go | 7 +- webrisk/apiv1/doc.go | 87 +- webrisk/apiv1/webriskpb/webrisk.pb.go | 7 +- webrisk/apiv1beta1/auxiliary.go | 2 - webrisk/apiv1beta1/doc.go | 89 +- webrisk/apiv1beta1/webriskpb/webrisk.pb.go | 5 +- websecurityscanner/apiv1/doc.go | 87 +- .../websecurityscannerpb/crawled_url.pb.go | 5 +- .../apiv1/websecurityscannerpb/finding.pb.go | 5 +- .../websecurityscannerpb/finding_addon.pb.go | 5 +- .../finding_type_stats.pb.go | 5 +- .../websecurityscannerpb/scan_config.pb.go | 5 +- .../scan_config_error.pb.go | 5 +- .../apiv1/websecurityscannerpb/scan_run.pb.go | 5 +- .../scan_run_error_trace.pb.go | 5 +- .../websecurityscannerpb/scan_run_log.pb.go | 5 +- .../scan_run_warning_trace.pb.go | 5 +- .../web_security_scanner.pb.go | 5 +- workflows/apiv1/doc.go | 97 +- workflows/apiv1/workflowspb/workflows.pb.go | 7 +- workflows/apiv1beta/doc.go | 99 +- .../apiv1beta/workflowspb/workflows.pb.go | 7 +- workflows/executions/apiv1/doc.go | 87 +- .../apiv1/executionspb/executions.pb.go | 5 +- workflows/executions/apiv1beta/doc.go | 89 +- .../apiv1beta/executionspb/executions.pb.go | 5 +- workstations/apiv1/doc.go | 99 +- .../apiv1/workstationspb/workstations.pb.go | 7 +- workstations/apiv1beta/doc.go | 99 +- .../workstationspb/workstations.pb.go | 7 +- 1893 files changed, 21030 insertions(+), 19783 deletions(-) diff --git a/accessapproval/apiv1/access_approval_client.go b/accessapproval/apiv1/access_approval_client.go index 1a4a1688ae06..1a4aaf7f6867 100755 --- a/accessapproval/apiv1/access_approval_client.go +++ b/accessapproval/apiv1/access_approval_client.go @@ -200,12 +200,12 @@ type internalClient interface { // This API allows a customer to manage accesses to cloud resources by // Google personnel. It defines the following resource model: // -// The API has a collection of -// ApprovalRequest -// resources, named approvalRequests/{approval_request} +// The API has a collection of +// ApprovalRequest +// resources, named approvalRequests/{approval_request} // -// The API has top-level settings per Project/Folder/Organization, named -// accessApprovalSettings +// The API has top-level settings per Project/Folder/Organization, named +// accessApprovalSettings // // The service also periodically emails a list of recipients, defined at the // Project/Folder/Organization level in the accessApprovalSettings, when there @@ -358,12 +358,12 @@ type gRPCClient struct { // This API allows a customer to manage accesses to cloud resources by // Google personnel. It defines the following resource model: // -// The API has a collection of -// ApprovalRequest -// resources, named approvalRequests/{approval_request} +// The API has a collection of +// ApprovalRequest +// resources, named approvalRequests/{approval_request} // -// The API has top-level settings per Project/Folder/Organization, named -// accessApprovalSettings +// The API has top-level settings per Project/Folder/Organization, named +// accessApprovalSettings // // The service also periodically emails a list of recipients, defined at the // Project/Folder/Organization level in the accessApprovalSettings, when there @@ -460,12 +460,12 @@ type restClient struct { // This API allows a customer to manage accesses to cloud resources by // Google personnel. It defines the following resource model: // -// The API has a collection of -// ApprovalRequest -// resources, named approvalRequests/{approval_request} +// The API has a collection of +// ApprovalRequest +// resources, named approvalRequests/{approval_request} // -// The API has top-level settings per Project/Folder/Organization, named -// accessApprovalSettings +// The API has top-level settings per Project/Folder/Organization, named +// accessApprovalSettings // // The service also periodically emails a list of recipients, defined at the // Project/Folder/Organization level in the accessApprovalSettings, when there diff --git a/accessapproval/apiv1/accessapprovalpb/accessapproval.pb.go b/accessapproval/apiv1/accessapprovalpb/accessapproval.pb.go index a21d12635ad9..53d4d128cd27 100755 --- a/accessapproval/apiv1/accessapprovalpb/accessapproval.pb.go +++ b/accessapproval/apiv1/accessapprovalpb/accessapproval.pb.go @@ -22,6 +22,9 @@ package accessapprovalpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/accessapproval/apiv1/doc.go b/accessapproval/apiv1/doc.go index fca060ecd1ee..bf47499413bd 100755 --- a/accessapproval/apiv1/doc.go +++ b/accessapproval/apiv1/doc.go @@ -19,65 +19,66 @@ // // An API for controlling access to data by Google personnel. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := accessapproval.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := accessapproval.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := accessapproval.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &accessapprovalpb.ApproveApprovalRequestMessage{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/accessapproval/apiv1/accessapprovalpb#ApproveApprovalRequestMessage. -// } -// resp, err := c.ApproveApprovalRequest(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := accessapproval.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &accessapprovalpb.ApproveApprovalRequestMessage{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/accessapproval/apiv1/accessapprovalpb#ApproveApprovalRequestMessage. +// } +// resp, err := c.ApproveApprovalRequest(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/accesscontextmanager/apiv1/accesscontextmanagerpb/access_context_manager.pb.go b/accesscontextmanager/apiv1/accesscontextmanagerpb/access_context_manager.pb.go index 1fbb15f690a2..d9e4a97b33f5 100755 --- a/accesscontextmanager/apiv1/accesscontextmanagerpb/access_context_manager.pb.go +++ b/accesscontextmanager/apiv1/accesscontextmanagerpb/access_context_manager.pb.go @@ -21,9 +21,12 @@ package accesscontextmanagerpb import ( + context "context" + reflect "reflect" + sync "sync" + iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" - context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/accesscontextmanager/apiv1/accesscontextmanagerpb/access_level.pb.go b/accesscontextmanager/apiv1/accesscontextmanagerpb/access_level.pb.go index 1492933f6466..cfd6a4059050 100755 --- a/accesscontextmanager/apiv1/accesscontextmanagerpb/access_level.pb.go +++ b/accesscontextmanager/apiv1/accesscontextmanagerpb/access_level.pb.go @@ -21,14 +21,15 @@ package accesscontextmanagerpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" _type "google.golang.org/genproto/googleapis/identity/accesscontextmanager/type" expr "google.golang.org/genproto/googleapis/type/expr" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/accesscontextmanager/apiv1/accesscontextmanagerpb/access_policy.pb.go b/accesscontextmanager/apiv1/accesscontextmanagerpb/access_policy.pb.go index b8a74f2da00e..1d0adf16a4bb 100755 --- a/accesscontextmanager/apiv1/accesscontextmanagerpb/access_policy.pb.go +++ b/accesscontextmanager/apiv1/accesscontextmanagerpb/access_policy.pb.go @@ -21,12 +21,13 @@ package accesscontextmanagerpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/accesscontextmanager/apiv1/accesscontextmanagerpb/gcp_user_access_binding.pb.go b/accesscontextmanager/apiv1/accesscontextmanagerpb/gcp_user_access_binding.pb.go index 05e37d072e91..74026ec73fbb 100755 --- a/accesscontextmanager/apiv1/accesscontextmanagerpb/gcp_user_access_binding.pb.go +++ b/accesscontextmanager/apiv1/accesscontextmanagerpb/gcp_user_access_binding.pb.go @@ -21,11 +21,12 @@ package accesscontextmanagerpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/accesscontextmanager/apiv1/accesscontextmanagerpb/service_perimeter.pb.go b/accesscontextmanager/apiv1/accesscontextmanagerpb/service_perimeter.pb.go index 1cd0a245428e..7c76f6a39cdd 100755 --- a/accesscontextmanager/apiv1/accesscontextmanagerpb/service_perimeter.pb.go +++ b/accesscontextmanager/apiv1/accesscontextmanagerpb/service_perimeter.pb.go @@ -21,12 +21,13 @@ package accesscontextmanagerpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/accesscontextmanager/apiv1/doc.go b/accesscontextmanager/apiv1/doc.go index 6f83416e9056..e14d39b2d547 100755 --- a/accesscontextmanager/apiv1/doc.go +++ b/accesscontextmanager/apiv1/doc.go @@ -20,70 +20,71 @@ // An API for setting attribute based access control to requests to GCP // services. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := accesscontextmanager.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := accesscontextmanager.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := accesscontextmanager.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &accesscontextmanagerpb.CommitServicePerimetersRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/accesscontextmanager/apiv1/accesscontextmanagerpb#CommitServicePerimetersRequest. -// } -// op, err := c.CommitServicePerimeters(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := accesscontextmanager.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &accesscontextmanagerpb.CommitServicePerimetersRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/accesscontextmanager/apiv1/accesscontextmanagerpb#CommitServicePerimetersRequest. +// } +// op, err := c.CommitServicePerimeters(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/advisorynotifications/apiv1/advisorynotificationspb/service.pb.go b/advisorynotifications/apiv1/advisorynotificationspb/service.pb.go index 6ee36d9564c5..30fbd4d4498f 100755 --- a/advisorynotifications/apiv1/advisorynotificationspb/service.pb.go +++ b/advisorynotifications/apiv1/advisorynotificationspb/service.pb.go @@ -22,6 +22,9 @@ package advisorynotificationspb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/advisorynotifications/apiv1/doc.go b/advisorynotifications/apiv1/doc.go index d74ec12be0f0..65cf37dab9f8 100755 --- a/advisorynotifications/apiv1/doc.go +++ b/advisorynotifications/apiv1/doc.go @@ -17,67 +17,68 @@ // Package advisorynotifications is an auto-generated package for the // Advisory Notifications API. // -// An API for accessing Advisory Notifications in Google Cloud +// # An API for accessing Advisory Notifications in Google Cloud // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := advisorynotifications.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := advisorynotifications.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := advisorynotifications.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &advisorynotificationspb.GetNotificationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/advisorynotifications/apiv1/advisorynotificationspb#GetNotificationRequest. -// } -// resp, err := c.GetNotification(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := advisorynotifications.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &advisorynotificationspb.GetNotificationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/advisorynotifications/apiv1/advisorynotificationspb#GetNotificationRequest. +// } +// resp, err := c.GetNotification(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/ai/generativelanguage/apiv1beta2/doc.go b/ai/generativelanguage/apiv1beta2/doc.go index f011637c4191..ef2085ba5fe9 100755 --- a/ai/generativelanguage/apiv1beta2/doc.go +++ b/ai/generativelanguage/apiv1beta2/doc.go @@ -27,67 +27,68 @@ // content generation, dialogue agents, summarization and classification // systems, and more. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := generativelanguage.NewDiscussClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := generativelanguage.NewDiscussClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := generativelanguage.NewDiscussClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &generativelanguagepb.CountMessageTokensRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/ai/generativelanguage/apiv1beta2/generativelanguagepb#CountMessageTokensRequest. -// } -// resp, err := c.CountMessageTokens(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := generativelanguage.NewDiscussClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &generativelanguagepb.CountMessageTokensRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/ai/generativelanguage/apiv1beta2/generativelanguagepb#CountMessageTokensRequest. +// } +// resp, err := c.CountMessageTokens(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewDiscussClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/ai/generativelanguage/apiv1beta2/generativelanguagepb/citation.pb.go b/ai/generativelanguage/apiv1beta2/generativelanguagepb/citation.pb.go index 7b7cf3592762..1d6ee0d9328f 100755 --- a/ai/generativelanguage/apiv1beta2/generativelanguagepb/citation.pb.go +++ b/ai/generativelanguage/apiv1beta2/generativelanguagepb/citation.pb.go @@ -21,11 +21,12 @@ package generativelanguagepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta2/generativelanguagepb/discuss_service.pb.go b/ai/generativelanguage/apiv1beta2/generativelanguagepb/discuss_service.pb.go index 917922410459..63b9a4a2b29d 100755 --- a/ai/generativelanguage/apiv1beta2/generativelanguagepb/discuss_service.pb.go +++ b/ai/generativelanguage/apiv1beta2/generativelanguagepb/discuss_service.pb.go @@ -22,14 +22,15 @@ package generativelanguagepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta2/generativelanguagepb/model.pb.go b/ai/generativelanguage/apiv1beta2/generativelanguagepb/model.pb.go index bd9980edf01d..a25dcfce0819 100755 --- a/ai/generativelanguage/apiv1beta2/generativelanguagepb/model.pb.go +++ b/ai/generativelanguage/apiv1beta2/generativelanguagepb/model.pb.go @@ -21,11 +21,12 @@ package generativelanguagepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta2/generativelanguagepb/model_service.pb.go b/ai/generativelanguage/apiv1beta2/generativelanguagepb/model_service.pb.go index 2774a9e8b15a..c549a4769f2e 100755 --- a/ai/generativelanguage/apiv1beta2/generativelanguagepb/model_service.pb.go +++ b/ai/generativelanguage/apiv1beta2/generativelanguagepb/model_service.pb.go @@ -22,14 +22,15 @@ package generativelanguagepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta2/generativelanguagepb/safety.pb.go b/ai/generativelanguage/apiv1beta2/generativelanguagepb/safety.pb.go index 745ed7cd136d..ab7a3a4b0b8d 100755 --- a/ai/generativelanguage/apiv1beta2/generativelanguagepb/safety.pb.go +++ b/ai/generativelanguage/apiv1beta2/generativelanguagepb/safety.pb.go @@ -21,11 +21,12 @@ package generativelanguagepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/ai/generativelanguage/apiv1beta2/generativelanguagepb/text_service.pb.go b/ai/generativelanguage/apiv1beta2/generativelanguagepb/text_service.pb.go index 488f779e14d3..b7d5e2d0d9d4 100755 --- a/ai/generativelanguage/apiv1beta2/generativelanguagepb/text_service.pb.go +++ b/ai/generativelanguage/apiv1beta2/generativelanguagepb/text_service.pb.go @@ -22,14 +22,15 @@ package generativelanguagepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/accelerator_type.pb.go b/aiplatform/apiv1/aiplatformpb/accelerator_type.pb.go index 80a6c096d350..04668ffefca7 100755 --- a/aiplatform/apiv1/aiplatformpb/accelerator_type.pb.go +++ b/aiplatform/apiv1/aiplatformpb/accelerator_type.pb.go @@ -21,10 +21,11 @@ package aiplatformpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/annotation.pb.go b/aiplatform/apiv1/aiplatformpb/annotation.pb.go index 63559b743d4a..82b9e1790683 100755 --- a/aiplatform/apiv1/aiplatformpb/annotation.pb.go +++ b/aiplatform/apiv1/aiplatformpb/annotation.pb.go @@ -21,13 +21,14 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/annotation_spec.pb.go b/aiplatform/apiv1/aiplatformpb/annotation_spec.pb.go index e99c9ba97366..04662584b784 100755 --- a/aiplatform/apiv1/aiplatformpb/annotation_spec.pb.go +++ b/aiplatform/apiv1/aiplatformpb/annotation_spec.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/artifact.pb.go b/aiplatform/apiv1/aiplatformpb/artifact.pb.go index 9978da8fa5e1..86e747d3dc11 100755 --- a/aiplatform/apiv1/aiplatformpb/artifact.pb.go +++ b/aiplatform/apiv1/aiplatformpb/artifact.pb.go @@ -21,13 +21,14 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/batch_prediction_job.pb.go b/aiplatform/apiv1/aiplatformpb/batch_prediction_job.pb.go index dcc1f2fea710..d551593dbdf5 100755 --- a/aiplatform/apiv1/aiplatformpb/batch_prediction_job.pb.go +++ b/aiplatform/apiv1/aiplatformpb/batch_prediction_job.pb.go @@ -21,14 +21,15 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/completion_stats.pb.go b/aiplatform/apiv1/aiplatformpb/completion_stats.pb.go index 5b6c8e64715d..c06ba73dd29e 100755 --- a/aiplatform/apiv1/aiplatformpb/completion_stats.pb.go +++ b/aiplatform/apiv1/aiplatformpb/completion_stats.pb.go @@ -21,11 +21,12 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/context.pb.go b/aiplatform/apiv1/aiplatformpb/context.pb.go index cb3e09fc1464..eed536a97e0f 100755 --- a/aiplatform/apiv1/aiplatformpb/context.pb.go +++ b/aiplatform/apiv1/aiplatformpb/context.pb.go @@ -21,13 +21,14 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/custom_job.pb.go b/aiplatform/apiv1/aiplatformpb/custom_job.pb.go index d22f8f4553fb..0f2508778c15 100755 --- a/aiplatform/apiv1/aiplatformpb/custom_job.pb.go +++ b/aiplatform/apiv1/aiplatformpb/custom_job.pb.go @@ -21,14 +21,15 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/data_item.pb.go b/aiplatform/apiv1/aiplatformpb/data_item.pb.go index 1441cfbcf49b..3b28b5bbe2a9 100755 --- a/aiplatform/apiv1/aiplatformpb/data_item.pb.go +++ b/aiplatform/apiv1/aiplatformpb/data_item.pb.go @@ -21,13 +21,14 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/data_labeling_job.pb.go b/aiplatform/apiv1/aiplatformpb/data_labeling_job.pb.go index c631065f39a9..3deb1248629e 100755 --- a/aiplatform/apiv1/aiplatformpb/data_labeling_job.pb.go +++ b/aiplatform/apiv1/aiplatformpb/data_labeling_job.pb.go @@ -21,6 +21,9 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" money "google.golang.org/genproto/googleapis/type/money" @@ -28,8 +31,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -332,8 +333,9 @@ func (x *DataLabelingJob) GetActiveLearningConfig() *ActiveLearningConfig { } // Parameters that configure the active learning pipeline. Active learning will -// label the data incrementally by several iterations. For every iteration, it -// will select a batch of data based on the sampling strategy. +// +// label the data incrementally by several iterations. For every iteration, it +// will select a batch of data based on the sampling strategy. type ActiveLearningConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/aiplatform/apiv1/aiplatformpb/dataset.pb.go b/aiplatform/apiv1/aiplatformpb/dataset.pb.go index bbeaea6775f5..6dd14b2b16c7 100755 --- a/aiplatform/apiv1/aiplatformpb/dataset.pb.go +++ b/aiplatform/apiv1/aiplatformpb/dataset.pb.go @@ -21,13 +21,14 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/dataset_service.pb.go b/aiplatform/apiv1/aiplatformpb/dataset_service.pb.go index 49bad38bb615..3ef2ade99d0c 100755 --- a/aiplatform/apiv1/aiplatformpb/dataset_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/dataset_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/dataset_version.pb.go b/aiplatform/apiv1/aiplatformpb/dataset_version.pb.go index 582b1dd7baf1..bff569acd317 100755 --- a/aiplatform/apiv1/aiplatformpb/dataset_version.pb.go +++ b/aiplatform/apiv1/aiplatformpb/dataset_version.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/deployed_index_ref.pb.go b/aiplatform/apiv1/aiplatformpb/deployed_index_ref.pb.go index ce54af78ca87..7ec7d75bbff2 100755 --- a/aiplatform/apiv1/aiplatformpb/deployed_index_ref.pb.go +++ b/aiplatform/apiv1/aiplatformpb/deployed_index_ref.pb.go @@ -21,11 +21,12 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/deployed_model_ref.pb.go b/aiplatform/apiv1/aiplatformpb/deployed_model_ref.pb.go index e793548fe607..c10013e782ae 100755 --- a/aiplatform/apiv1/aiplatformpb/deployed_model_ref.pb.go +++ b/aiplatform/apiv1/aiplatformpb/deployed_model_ref.pb.go @@ -21,11 +21,12 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/encryption_spec.pb.go b/aiplatform/apiv1/aiplatformpb/encryption_spec.pb.go index 20cab64e71e8..ee789c56c9a8 100755 --- a/aiplatform/apiv1/aiplatformpb/encryption_spec.pb.go +++ b/aiplatform/apiv1/aiplatformpb/encryption_spec.pb.go @@ -21,11 +21,12 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/endpoint.pb.go b/aiplatform/apiv1/aiplatformpb/endpoint.pb.go index 082c6b831723..2d0d14fd8330 100755 --- a/aiplatform/apiv1/aiplatformpb/endpoint.pb.go +++ b/aiplatform/apiv1/aiplatformpb/endpoint.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/endpoint_service.pb.go b/aiplatform/apiv1/aiplatformpb/endpoint_service.pb.go index cf5210ed9c6d..04e864f0041d 100755 --- a/aiplatform/apiv1/aiplatformpb/endpoint_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/endpoint_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/entity_type.pb.go b/aiplatform/apiv1/aiplatformpb/entity_type.pb.go index bab986699aa0..6bfc86de7c91 100755 --- a/aiplatform/apiv1/aiplatformpb/entity_type.pb.go +++ b/aiplatform/apiv1/aiplatformpb/entity_type.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/env_var.pb.go b/aiplatform/apiv1/aiplatformpb/env_var.pb.go index d26782f89d40..4e2aa5d2bb4a 100755 --- a/aiplatform/apiv1/aiplatformpb/env_var.pb.go +++ b/aiplatform/apiv1/aiplatformpb/env_var.pb.go @@ -21,11 +21,12 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/evaluated_annotation.pb.go b/aiplatform/apiv1/aiplatformpb/evaluated_annotation.pb.go index b184bdd700cd..4bfc213a146f 100755 --- a/aiplatform/apiv1/aiplatformpb/evaluated_annotation.pb.go +++ b/aiplatform/apiv1/aiplatformpb/evaluated_annotation.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/event.pb.go b/aiplatform/apiv1/aiplatformpb/event.pb.go index da2dfa340d9c..cebfabb6ee47 100755 --- a/aiplatform/apiv1/aiplatformpb/event.pb.go +++ b/aiplatform/apiv1/aiplatformpb/event.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/execution.pb.go b/aiplatform/apiv1/aiplatformpb/execution.pb.go index fb9b42607e9c..1804f6dda7d4 100755 --- a/aiplatform/apiv1/aiplatformpb/execution.pb.go +++ b/aiplatform/apiv1/aiplatformpb/execution.pb.go @@ -21,13 +21,14 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/explanation.pb.go b/aiplatform/apiv1/aiplatformpb/explanation.pb.go index 921c41ef8591..9e2c9fd46eaf 100755 --- a/aiplatform/apiv1/aiplatformpb/explanation.pb.go +++ b/aiplatform/apiv1/aiplatformpb/explanation.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/explanation_metadata.pb.go b/aiplatform/apiv1/aiplatformpb/explanation_metadata.pb.go index 4a00b4d86b1c..a0b45c7aea68 100755 --- a/aiplatform/apiv1/aiplatformpb/explanation_metadata.pb.go +++ b/aiplatform/apiv1/aiplatformpb/explanation_metadata.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature.pb.go b/aiplatform/apiv1/aiplatformpb/feature.pb.go index 372cf6965434..e6e74f43bc8a 100755 --- a/aiplatform/apiv1/aiplatformpb/feature.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature_group.pb.go b/aiplatform/apiv1/aiplatformpb/feature_group.pb.go index da4f607e00dc..a90f9f3ae6e2 100755 --- a/aiplatform/apiv1/aiplatformpb/feature_group.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature_group.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature_monitoring_stats.pb.go b/aiplatform/apiv1/aiplatformpb/feature_monitoring_stats.pb.go index 6b81a3e249a2..d7f2a85f5429 100755 --- a/aiplatform/apiv1/aiplatformpb/feature_monitoring_stats.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature_monitoring_stats.pb.go @@ -21,11 +21,12 @@ package aiplatformpb 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" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature_online_store.pb.go b/aiplatform/apiv1/aiplatformpb/feature_online_store.pb.go index 79ff7b81cd66..e3d6bedd6c4d 100755 --- a/aiplatform/apiv1/aiplatformpb/feature_online_store.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature_online_store.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature_online_store_admin_service.pb.go b/aiplatform/apiv1/aiplatformpb/feature_online_store_admin_service.pb.go index 033f96c8e1c7..d3688cf346ea 100755 --- a/aiplatform/apiv1/aiplatformpb/feature_online_store_admin_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature_online_store_admin_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature_online_store_service.pb.go b/aiplatform/apiv1/aiplatformpb/feature_online_store_service.pb.go index 3a8976a20e31..6aa772879d8f 100755 --- a/aiplatform/apiv1/aiplatformpb/feature_online_store_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature_online_store_service.pb.go @@ -22,6 +22,9 @@ package aiplatformpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature_registry_service.pb.go b/aiplatform/apiv1/aiplatformpb/feature_registry_service.pb.go index 529925d3c207..f6f0d60d248e 100755 --- a/aiplatform/apiv1/aiplatformpb/feature_registry_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature_registry_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature_selector.pb.go b/aiplatform/apiv1/aiplatformpb/feature_selector.pb.go index ba682c944c3f..f3ee4fecf86d 100755 --- a/aiplatform/apiv1/aiplatformpb/feature_selector.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature_selector.pb.go @@ -21,11 +21,12 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature_view.pb.go b/aiplatform/apiv1/aiplatformpb/feature_view.pb.go index 0779c4d64daf..594832c2a577 100755 --- a/aiplatform/apiv1/aiplatformpb/feature_view.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature_view.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/feature_view_sync.pb.go b/aiplatform/apiv1/aiplatformpb/feature_view_sync.pb.go index 15f700dd3c97..01779f00a7ec 100755 --- a/aiplatform/apiv1/aiplatformpb/feature_view_sync.pb.go +++ b/aiplatform/apiv1/aiplatformpb/feature_view_sync.pb.go @@ -21,14 +21,15 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" interval "google.golang.org/genproto/googleapis/type/interval" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/featurestore.pb.go b/aiplatform/apiv1/aiplatformpb/featurestore.pb.go index b31fdca7af6b..89ae28f9dfd9 100755 --- a/aiplatform/apiv1/aiplatformpb/featurestore.pb.go +++ b/aiplatform/apiv1/aiplatformpb/featurestore.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/featurestore_monitoring.pb.go b/aiplatform/apiv1/aiplatformpb/featurestore_monitoring.pb.go index 697c732ad3ee..794c57322165 100755 --- a/aiplatform/apiv1/aiplatformpb/featurestore_monitoring.pb.go +++ b/aiplatform/apiv1/aiplatformpb/featurestore_monitoring.pb.go @@ -21,10 +21,11 @@ package aiplatformpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/featurestore_online_service.pb.go b/aiplatform/apiv1/aiplatformpb/featurestore_online_service.pb.go index 18d8d70c91f1..12b60843e990 100755 --- a/aiplatform/apiv1/aiplatformpb/featurestore_online_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/featurestore_online_service.pb.go @@ -22,6 +22,9 @@ package aiplatformpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/featurestore_service.pb.go b/aiplatform/apiv1/aiplatformpb/featurestore_service.pb.go index e442040c4327..76b37d187239 100755 --- a/aiplatform/apiv1/aiplatformpb/featurestore_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/featurestore_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" interval "google.golang.org/genproto/googleapis/type/interval" grpc "google.golang.org/grpc" @@ -33,8 +36,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/hyperparameter_tuning_job.pb.go b/aiplatform/apiv1/aiplatformpb/hyperparameter_tuning_job.pb.go index b04bd3bf7b53..7886e49ecedf 100755 --- a/aiplatform/apiv1/aiplatformpb/hyperparameter_tuning_job.pb.go +++ b/aiplatform/apiv1/aiplatformpb/hyperparameter_tuning_job.pb.go @@ -21,13 +21,14 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/index.pb.go b/aiplatform/apiv1/aiplatformpb/index.pb.go index 054d6454de21..5f450620b365 100755 --- a/aiplatform/apiv1/aiplatformpb/index.pb.go +++ b/aiplatform/apiv1/aiplatformpb/index.pb.go @@ -21,13 +21,14 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/index_endpoint.pb.go b/aiplatform/apiv1/aiplatformpb/index_endpoint.pb.go index 8f2652cb9bf7..00d4d0ebe423 100755 --- a/aiplatform/apiv1/aiplatformpb/index_endpoint.pb.go +++ b/aiplatform/apiv1/aiplatformpb/index_endpoint.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/index_endpoint_service.pb.go b/aiplatform/apiv1/aiplatformpb/index_endpoint_service.pb.go index f7e16b4e296a..95b5ae345b92 100755 --- a/aiplatform/apiv1/aiplatformpb/index_endpoint_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/index_endpoint_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/index_service.pb.go b/aiplatform/apiv1/aiplatformpb/index_service.pb.go index cb0b9bf43bd5..4ac5bade296e 100755 --- a/aiplatform/apiv1/aiplatformpb/index_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/index_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/io.pb.go b/aiplatform/apiv1/aiplatformpb/io.pb.go index dce0ac428251..4d107cce57ee 100755 --- a/aiplatform/apiv1/aiplatformpb/io.pb.go +++ b/aiplatform/apiv1/aiplatformpb/io.pb.go @@ -21,11 +21,12 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/job_service.pb.go b/aiplatform/apiv1/aiplatformpb/job_service.pb.go index 0b17bd8f039d..48d411dc8757 100755 --- a/aiplatform/apiv1/aiplatformpb/job_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/job_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/job_state.pb.go b/aiplatform/apiv1/aiplatformpb/job_state.pb.go index b03b6ddf0865..cca0377924e9 100755 --- a/aiplatform/apiv1/aiplatformpb/job_state.pb.go +++ b/aiplatform/apiv1/aiplatformpb/job_state.pb.go @@ -21,10 +21,11 @@ package aiplatformpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/lineage_subgraph.pb.go b/aiplatform/apiv1/aiplatformpb/lineage_subgraph.pb.go index 498d4419f69e..8b4f22231c5f 100755 --- a/aiplatform/apiv1/aiplatformpb/lineage_subgraph.pb.go +++ b/aiplatform/apiv1/aiplatformpb/lineage_subgraph.pb.go @@ -21,10 +21,11 @@ package aiplatformpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/llm_utility_service.pb.go b/aiplatform/apiv1/aiplatformpb/llm_utility_service.pb.go index cd897d77077a..9f8076c1dc5f 100755 --- a/aiplatform/apiv1/aiplatformpb/llm_utility_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/llm_utility_service.pb.go @@ -22,6 +22,9 @@ package aiplatformpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/machine_resources.pb.go b/aiplatform/apiv1/aiplatformpb/machine_resources.pb.go index a76498b31ce4..2edf0fc67713 100755 --- a/aiplatform/apiv1/aiplatformpb/machine_resources.pb.go +++ b/aiplatform/apiv1/aiplatformpb/machine_resources.pb.go @@ -21,11 +21,12 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/manual_batch_tuning_parameters.pb.go b/aiplatform/apiv1/aiplatformpb/manual_batch_tuning_parameters.pb.go index f0ab2e4fe36b..01dd903fcccf 100755 --- a/aiplatform/apiv1/aiplatformpb/manual_batch_tuning_parameters.pb.go +++ b/aiplatform/apiv1/aiplatformpb/manual_batch_tuning_parameters.pb.go @@ -21,11 +21,12 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/match_service.pb.go b/aiplatform/apiv1/aiplatformpb/match_service.pb.go index 12a85749d661..6378efb849e3 100755 --- a/aiplatform/apiv1/aiplatformpb/match_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/match_service.pb.go @@ -22,14 +22,15 @@ package aiplatformpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/metadata_schema.pb.go b/aiplatform/apiv1/aiplatformpb/metadata_schema.pb.go index 12477006a24f..7ba7f0363138 100755 --- a/aiplatform/apiv1/aiplatformpb/metadata_schema.pb.go +++ b/aiplatform/apiv1/aiplatformpb/metadata_schema.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/metadata_service.pb.go b/aiplatform/apiv1/aiplatformpb/metadata_service.pb.go index dc7f40dcbbc9..97dfd83620e8 100755 --- a/aiplatform/apiv1/aiplatformpb/metadata_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/metadata_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/metadata_store.pb.go b/aiplatform/apiv1/aiplatformpb/metadata_store.pb.go index 772c429b8e55..ab2f9a9c05ad 100755 --- a/aiplatform/apiv1/aiplatformpb/metadata_store.pb.go +++ b/aiplatform/apiv1/aiplatformpb/metadata_store.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/migratable_resource.pb.go b/aiplatform/apiv1/aiplatformpb/migratable_resource.pb.go index c7ef410aa42c..eef52eaae511 100755 --- a/aiplatform/apiv1/aiplatformpb/migratable_resource.pb.go +++ b/aiplatform/apiv1/aiplatformpb/migratable_resource.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/migration_service.pb.go b/aiplatform/apiv1/aiplatformpb/migration_service.pb.go index 9e77f912bcf2..17762940ba17 100755 --- a/aiplatform/apiv1/aiplatformpb/migration_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/migration_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -30,8 +33,6 @@ import ( status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/model.pb.go b/aiplatform/apiv1/aiplatformpb/model.pb.go index ffef802733c9..fdbc7210bca2 100755 --- a/aiplatform/apiv1/aiplatformpb/model.pb.go +++ b/aiplatform/apiv1/aiplatformpb/model.pb.go @@ -21,14 +21,15 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/model_deployment_monitoring_job.pb.go b/aiplatform/apiv1/aiplatformpb/model_deployment_monitoring_job.pb.go index 0c265648f692..826e68bada88 100755 --- a/aiplatform/apiv1/aiplatformpb/model_deployment_monitoring_job.pb.go +++ b/aiplatform/apiv1/aiplatformpb/model_deployment_monitoring_job.pb.go @@ -21,6 +21,9 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -28,8 +31,6 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/model_evaluation.pb.go b/aiplatform/apiv1/aiplatformpb/model_evaluation.pb.go index aca97d43076c..acf29c831bfc 100755 --- a/aiplatform/apiv1/aiplatformpb/model_evaluation.pb.go +++ b/aiplatform/apiv1/aiplatformpb/model_evaluation.pb.go @@ -21,13 +21,14 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/model_evaluation_slice.pb.go b/aiplatform/apiv1/aiplatformpb/model_evaluation_slice.pb.go index 0d611f15db8a..7c64d5611e11 100755 --- a/aiplatform/apiv1/aiplatformpb/model_evaluation_slice.pb.go +++ b/aiplatform/apiv1/aiplatformpb/model_evaluation_slice.pb.go @@ -21,14 +21,15 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( @@ -279,17 +280,17 @@ func (x *ModelEvaluationSlice_Slice_SliceSpec) GetConfigs() map[string]*ModelEva // // Example 1: // -// { -// "zip_code": { "value": { "float_value": 12345.0 } } -// } +// { +// "zip_code": { "value": { "float_value": 12345.0 } } +// } // // A single slice for any data with zip_code 12345 in the dataset. // // Example 2: // -// { -// "zip_code": { "range": { "low": 12345, "high": 20000 } } -// } +// { +// "zip_code": { "range": { "low": 12345, "high": 20000 } } +// } // // A single slice containing data where the zip_codes between 12345 and // 20000 For this example, data with the zip_code of 12345 will be in this @@ -297,10 +298,10 @@ func (x *ModelEvaluationSlice_Slice_SliceSpec) GetConfigs() map[string]*ModelEva // // Example 3: // -// { -// "zip_code": { "range": { "low": 10000, "high": 20000 } }, -// "country": { "value": { "string_value": "US" } } -// } +// { +// "zip_code": { "range": { "low": 10000, "high": 20000 } }, +// "country": { "value": { "string_value": "US" } } +// } // // A single slice containing data where the zip_codes between 10000 and // 20000 has the country "US". For this example, data with the zip_code of @@ -308,16 +309,16 @@ func (x *ModelEvaluationSlice_Slice_SliceSpec) GetConfigs() map[string]*ModelEva // // Example 4: // -// { "country": {"all_values": { "value": true } } } +// { "country": {"all_values": { "value": true } } } // // Three slices are computed, one for each unique country in the dataset. // // Example 5: // -// { -// "country": { "all_values": { "value": true } }, -// "zip_code": { "value": { "float_value": 12345.0 } } -// } +// { +// "country": { "all_values": { "value": true } }, +// "zip_code": { "value": { "float_value": 12345.0 } } +// } // // Three slices are computed, one for each unique country in the dataset // where the zip_code is also 12345. For this example, data with zip_code diff --git a/aiplatform/apiv1/aiplatformpb/model_garden_service.pb.go b/aiplatform/apiv1/aiplatformpb/model_garden_service.pb.go index 928b264b5a61..cc04f66e0639 100755 --- a/aiplatform/apiv1/aiplatformpb/model_garden_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/model_garden_service.pb.go @@ -22,14 +22,15 @@ package aiplatformpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/model_monitoring.pb.go b/aiplatform/apiv1/aiplatformpb/model_monitoring.pb.go index 77907e880944..6f777f87675f 100755 --- a/aiplatform/apiv1/aiplatformpb/model_monitoring.pb.go +++ b/aiplatform/apiv1/aiplatformpb/model_monitoring.pb.go @@ -21,11 +21,12 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/model_service.pb.go b/aiplatform/apiv1/aiplatformpb/model_service.pb.go index 352e4ecac51d..1d7e11c64452 100755 --- a/aiplatform/apiv1/aiplatformpb/model_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/model_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/nas_job.pb.go b/aiplatform/apiv1/aiplatformpb/nas_job.pb.go index 692213278563..13a8c7fdbd63 100755 --- a/aiplatform/apiv1/aiplatformpb/nas_job.pb.go +++ b/aiplatform/apiv1/aiplatformpb/nas_job.pb.go @@ -21,13 +21,14 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/operation.pb.go b/aiplatform/apiv1/aiplatformpb/operation.pb.go index 6c0c5044c48c..fe4aea84e27d 100755 --- a/aiplatform/apiv1/aiplatformpb/operation.pb.go +++ b/aiplatform/apiv1/aiplatformpb/operation.pb.go @@ -21,13 +21,14 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/pipeline_failure_policy.pb.go b/aiplatform/apiv1/aiplatformpb/pipeline_failure_policy.pb.go index 00c0625f411b..f84ddd1dab0a 100755 --- a/aiplatform/apiv1/aiplatformpb/pipeline_failure_policy.pb.go +++ b/aiplatform/apiv1/aiplatformpb/pipeline_failure_policy.pb.go @@ -21,10 +21,11 @@ package aiplatformpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/pipeline_job.pb.go b/aiplatform/apiv1/aiplatformpb/pipeline_job.pb.go index a7e317a31fc8..187992a10e86 100755 --- a/aiplatform/apiv1/aiplatformpb/pipeline_job.pb.go +++ b/aiplatform/apiv1/aiplatformpb/pipeline_job.pb.go @@ -21,14 +21,15 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/pipeline_service.pb.go b/aiplatform/apiv1/aiplatformpb/pipeline_service.pb.go index 4d688b2ce266..e01f0b646b37 100755 --- a/aiplatform/apiv1/aiplatformpb/pipeline_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/pipeline_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/pipeline_state.pb.go b/aiplatform/apiv1/aiplatformpb/pipeline_state.pb.go index 5e6aa7b5da67..54e0bfb4d6ae 100755 --- a/aiplatform/apiv1/aiplatformpb/pipeline_state.pb.go +++ b/aiplatform/apiv1/aiplatformpb/pipeline_state.pb.go @@ -21,10 +21,11 @@ package aiplatformpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/prediction_service.pb.go b/aiplatform/apiv1/aiplatformpb/prediction_service.pb.go index 9bb9d202839e..ed187eb02876 100755 --- a/aiplatform/apiv1/aiplatformpb/prediction_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/prediction_service.pb.go @@ -22,6 +22,9 @@ package aiplatformpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/publisher_model.pb.go b/aiplatform/apiv1/aiplatformpb/publisher_model.pb.go index 46d3c434716f..ed33ca214ef0 100755 --- a/aiplatform/apiv1/aiplatformpb/publisher_model.pb.go +++ b/aiplatform/apiv1/aiplatformpb/publisher_model.pb.go @@ -21,11 +21,12 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/saved_query.pb.go b/aiplatform/apiv1/aiplatformpb/saved_query.pb.go index d39a47eaa069..6e8627416423 100755 --- a/aiplatform/apiv1/aiplatformpb/saved_query.pb.go +++ b/aiplatform/apiv1/aiplatformpb/saved_query.pb.go @@ -21,13 +21,14 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/schedule.pb.go b/aiplatform/apiv1/aiplatformpb/schedule.pb.go index 5ccfa9e1bee9..2c222ccf6bc5 100755 --- a/aiplatform/apiv1/aiplatformpb/schedule.pb.go +++ b/aiplatform/apiv1/aiplatformpb/schedule.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/schedule_service.pb.go b/aiplatform/apiv1/aiplatformpb/schedule_service.pb.go index e7a8166673bd..dc865d8bafc6 100755 --- a/aiplatform/apiv1/aiplatformpb/schedule_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/schedule_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/service_networking.pb.go b/aiplatform/apiv1/aiplatformpb/service_networking.pb.go index 24888c3bc3fa..0b45d13e3e1e 100755 --- a/aiplatform/apiv1/aiplatformpb/service_networking.pb.go +++ b/aiplatform/apiv1/aiplatformpb/service_networking.pb.go @@ -21,11 +21,12 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/specialist_pool.pb.go b/aiplatform/apiv1/aiplatformpb/specialist_pool.pb.go index 669457f4ce1c..5333b3b5e3f6 100755 --- a/aiplatform/apiv1/aiplatformpb/specialist_pool.pb.go +++ b/aiplatform/apiv1/aiplatformpb/specialist_pool.pb.go @@ -21,11 +21,12 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/specialist_pool_service.pb.go b/aiplatform/apiv1/aiplatformpb/specialist_pool_service.pb.go index c830fea22cbb..00f0cce52a18 100755 --- a/aiplatform/apiv1/aiplatformpb/specialist_pool_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/specialist_pool_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/study.pb.go b/aiplatform/apiv1/aiplatformpb/study.pb.go index 7aca899e3ac3..e9bebaa552ef 100755 --- a/aiplatform/apiv1/aiplatformpb/study.pb.go +++ b/aiplatform/apiv1/aiplatformpb/study.pb.go @@ -21,6 +21,9 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -28,8 +31,6 @@ import ( structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( @@ -283,16 +284,17 @@ func (StudySpec_ObservationNoise) EnumDescriptor() ([]byte, []int) { // This indicates which measurement to use if/when the service automatically // selects the final measurement from previously reported intermediate // measurements. Choose this based on two considerations: -// A) Do you expect your measurements to monotonically improve? -// If so, choose LAST_MEASUREMENT. On the other hand, if you're in a -// situation where your system can "over-train" and you expect the -// performance to get better for a while but then start declining, -// choose BEST_MEASUREMENT. -// B) Are your measurements significantly noisy and/or irreproducible? -// If so, BEST_MEASUREMENT will tend to be over-optimistic, and it -// may be better to choose LAST_MEASUREMENT. -// If both or neither of (A) and (B) apply, it doesn't matter which -// selection type is chosen. +// +// A) Do you expect your measurements to monotonically improve? +// If so, choose LAST_MEASUREMENT. On the other hand, if you're in a +// situation where your system can "over-train" and you expect the +// performance to get better for a while but then start declining, +// choose BEST_MEASUREMENT. +// B) Are your measurements significantly noisy and/or irreproducible? +// If so, BEST_MEASUREMENT will tend to be over-optimistic, and it +// may be better to choose LAST_MEASUREMENT. +// If both or neither of (A) and (B) apply, it doesn't matter which +// selection type is chosen. type StudySpec_MeasurementSelectionType int32 const ( diff --git a/aiplatform/apiv1/aiplatformpb/tensorboard.pb.go b/aiplatform/apiv1/aiplatformpb/tensorboard.pb.go index 6c08df1616fa..a135d417958c 100755 --- a/aiplatform/apiv1/aiplatformpb/tensorboard.pb.go +++ b/aiplatform/apiv1/aiplatformpb/tensorboard.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/tensorboard_data.pb.go b/aiplatform/apiv1/aiplatformpb/tensorboard_data.pb.go index c1416f82828e..bbe0c60a73be 100755 --- a/aiplatform/apiv1/aiplatformpb/tensorboard_data.pb.go +++ b/aiplatform/apiv1/aiplatformpb/tensorboard_data.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/tensorboard_experiment.pb.go b/aiplatform/apiv1/aiplatformpb/tensorboard_experiment.pb.go index 6505057e9eb9..7f274e7f2605 100755 --- a/aiplatform/apiv1/aiplatformpb/tensorboard_experiment.pb.go +++ b/aiplatform/apiv1/aiplatformpb/tensorboard_experiment.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/tensorboard_run.pb.go b/aiplatform/apiv1/aiplatformpb/tensorboard_run.pb.go index f4586c553497..d9756a71a181 100755 --- a/aiplatform/apiv1/aiplatformpb/tensorboard_run.pb.go +++ b/aiplatform/apiv1/aiplatformpb/tensorboard_run.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/tensorboard_service.pb.go b/aiplatform/apiv1/aiplatformpb/tensorboard_service.pb.go index e1034fdfe0e6..68540bbe9be9 100755 --- a/aiplatform/apiv1/aiplatformpb/tensorboard_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/tensorboard_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/tensorboard_time_series.pb.go b/aiplatform/apiv1/aiplatformpb/tensorboard_time_series.pb.go index db6c3b1539c2..ba10302e08a0 100755 --- a/aiplatform/apiv1/aiplatformpb/tensorboard_time_series.pb.go +++ b/aiplatform/apiv1/aiplatformpb/tensorboard_time_series.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/training_pipeline.pb.go b/aiplatform/apiv1/aiplatformpb/training_pipeline.pb.go index b5e8e57d0d90..e457e2692bab 100755 --- a/aiplatform/apiv1/aiplatformpb/training_pipeline.pb.go +++ b/aiplatform/apiv1/aiplatformpb/training_pipeline.pb.go @@ -21,14 +21,15 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -711,7 +712,6 @@ func (x *FractionSplit) GetTestFraction() float64 { // set as '-' (the minus sign). // // Supported only for unstructured Datasets. -// type FilterSplit struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/aiplatform/apiv1/aiplatformpb/types.pb.go b/aiplatform/apiv1/aiplatformpb/types.pb.go index af73fea88ac2..8a1e5996ac78 100755 --- a/aiplatform/apiv1/aiplatformpb/types.pb.go +++ b/aiplatform/apiv1/aiplatformpb/types.pb.go @@ -21,10 +21,11 @@ package aiplatformpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/unmanaged_container_model.pb.go b/aiplatform/apiv1/aiplatformpb/unmanaged_container_model.pb.go index e18fdb4cd06f..bf1a00ba0d51 100755 --- a/aiplatform/apiv1/aiplatformpb/unmanaged_container_model.pb.go +++ b/aiplatform/apiv1/aiplatformpb/unmanaged_container_model.pb.go @@ -21,11 +21,12 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/user_action_reference.pb.go b/aiplatform/apiv1/aiplatformpb/user_action_reference.pb.go index 69876d56c905..940f803a30ef 100755 --- a/aiplatform/apiv1/aiplatformpb/user_action_reference.pb.go +++ b/aiplatform/apiv1/aiplatformpb/user_action_reference.pb.go @@ -21,10 +21,11 @@ package aiplatformpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/value.pb.go b/aiplatform/apiv1/aiplatformpb/value.pb.go index 0769b5c2c001..4545f27d6f13 100755 --- a/aiplatform/apiv1/aiplatformpb/value.pb.go +++ b/aiplatform/apiv1/aiplatformpb/value.pb.go @@ -21,10 +21,11 @@ package aiplatformpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/aiplatform/apiv1/aiplatformpb/vizier_service.pb.go b/aiplatform/apiv1/aiplatformpb/vizier_service.pb.go index f3ebb35498a4..f670b63c54e8 100755 --- a/aiplatform/apiv1/aiplatformpb/vizier_service.pb.go +++ b/aiplatform/apiv1/aiplatformpb/vizier_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1/doc.go b/aiplatform/apiv1/doc.go index 1f06f17a15f1..c6079e630764 100755 --- a/aiplatform/apiv1/doc.go +++ b/aiplatform/apiv1/doc.go @@ -20,70 +20,71 @@ // Train high-quality custom machine learning models with minimal machine // learning expertise and effort. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := aiplatform.NewDatasetClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := aiplatform.NewDatasetClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := aiplatform.NewDatasetClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &aiplatformpb.CreateDatasetRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1/aiplatformpb#CreateDatasetRequest. -// } -// op, err := c.CreateDataset(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := aiplatform.NewDatasetClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &aiplatformpb.CreateDatasetRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1/aiplatformpb#CreateDatasetRequest. +// } +// op, err := c.CreateDataset(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewDatasetClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/aiplatform/apiv1/featurestore_client.go b/aiplatform/apiv1/featurestore_client.go index 429787855f5b..327b82f1eb93 100755 --- a/aiplatform/apiv1/featurestore_client.go +++ b/aiplatform/apiv1/featurestore_client.go @@ -355,15 +355,15 @@ func (c *FeaturestoreClient) DeleteFeatureOperation(name string) *DeleteFeatureO // // There are also scenarios where the caller can cause inconsistency. // -// Source data for import contains multiple distinct Feature values for -// the same entity ID and timestamp. +// Source data for import contains multiple distinct Feature values for +// the same entity ID and timestamp. // -// Source is modified during an import. This includes adding, updating, or -// removing source data and/or metadata. Examples of updating metadata -// include but are not limited to changing storage location, storage class, -// or retention policy. +// Source is modified during an import. This includes adding, updating, or +// removing source data and/or metadata. Examples of updating metadata +// include but are not limited to changing storage location, storage class, +// or retention policy. // -// Online serving cluster is under-provisioned. +// Online serving cluster is under-provisioned. func (c *FeaturestoreClient) ImportFeatureValues(ctx context.Context, req *aiplatformpb.ImportFeatureValuesRequest, opts ...gax.CallOption) (*ImportFeatureValuesOperation, error) { return c.internalClient.ImportFeatureValues(ctx, req, opts...) } diff --git a/aiplatform/apiv1/prediction_client.go b/aiplatform/apiv1/prediction_client.go index 2773ac669a8e..c2f43f0784ad 100755 --- a/aiplatform/apiv1/prediction_client.go +++ b/aiplatform/apiv1/prediction_client.go @@ -164,13 +164,13 @@ func (c *PredictionClient) Predict(ctx context.Context, req *aiplatformpb.Predic // // The response includes the following HTTP headers: // -// X-Vertex-AI-Endpoint-Id: ID of the -// Endpoint that served this -// prediction. +// X-Vertex-AI-Endpoint-Id: ID of the +// Endpoint that served this +// prediction. // -// X-Vertex-AI-Deployed-Model-Id: ID of the Endpoint’s -// DeployedModel that served this -// prediction. +// X-Vertex-AI-Deployed-Model-Id: ID of the Endpoint’s +// DeployedModel that served this +// prediction. func (c *PredictionClient) RawPredict(ctx context.Context, req *aiplatformpb.RawPredictRequest, opts ...gax.CallOption) (*httpbodypb.HttpBody, error) { return c.internalClient.RawPredict(ctx, req, opts...) } diff --git a/aiplatform/apiv1beta1/aiplatformpb/accelerator_type.pb.go b/aiplatform/apiv1beta1/aiplatformpb/accelerator_type.pb.go index e58cd9722727..dd73742fa6a9 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/accelerator_type.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/accelerator_type.pb.go @@ -21,10 +21,11 @@ package aiplatformpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/annotation.pb.go b/aiplatform/apiv1beta1/aiplatformpb/annotation.pb.go index d22376cab026..6d31135498b2 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/annotation.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/annotation.pb.go @@ -21,13 +21,14 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/annotation_spec.pb.go b/aiplatform/apiv1beta1/aiplatformpb/annotation_spec.pb.go index c18ab4593ebc..695bb3a0a3d4 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/annotation_spec.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/annotation_spec.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/artifact.pb.go b/aiplatform/apiv1beta1/aiplatformpb/artifact.pb.go index 398878f28519..806d2d83dc00 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/artifact.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/artifact.pb.go @@ -21,13 +21,14 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/batch_prediction_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/batch_prediction_job.pb.go index d2c504d20ef3..4781702dd81c 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/batch_prediction_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/batch_prediction_job.pb.go @@ -21,14 +21,15 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/completion_stats.pb.go b/aiplatform/apiv1beta1/aiplatformpb/completion_stats.pb.go index 0770061320a0..dc6f180eeb7b 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/completion_stats.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/completion_stats.pb.go @@ -21,11 +21,12 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/context.pb.go b/aiplatform/apiv1beta1/aiplatformpb/context.pb.go index 60bd4fa23682..0ec96b43af14 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/context.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/context.pb.go @@ -21,13 +21,14 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/custom_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/custom_job.pb.go index b656c1509755..10cd46234041 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/custom_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/custom_job.pb.go @@ -21,14 +21,15 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/data_item.pb.go b/aiplatform/apiv1beta1/aiplatformpb/data_item.pb.go index 716b59a931ea..c58d7bcd4647 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/data_item.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/data_item.pb.go @@ -21,13 +21,14 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/data_labeling_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/data_labeling_job.pb.go index 9d9b0fa47555..49492e750500 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/data_labeling_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/data_labeling_job.pb.go @@ -21,6 +21,9 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" money "google.golang.org/genproto/googleapis/type/money" @@ -28,8 +31,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -332,8 +333,9 @@ func (x *DataLabelingJob) GetActiveLearningConfig() *ActiveLearningConfig { } // Parameters that configure the active learning pipeline. Active learning will -// label the data incrementally by several iterations. For every iteration, it -// will select a batch of data based on the sampling strategy. +// +// label the data incrementally by several iterations. For every iteration, it +// will select a batch of data based on the sampling strategy. type ActiveLearningConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/aiplatform/apiv1beta1/aiplatformpb/dataset.pb.go b/aiplatform/apiv1beta1/aiplatformpb/dataset.pb.go index 472ae481152f..6d3249c88595 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/dataset.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/dataset.pb.go @@ -21,13 +21,14 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/dataset_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/dataset_service.pb.go index 96b1d3105cfc..f44b40b3a91d 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/dataset_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/dataset_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/dataset_version.pb.go b/aiplatform/apiv1beta1/aiplatformpb/dataset_version.pb.go index b55fa6448032..e7a1cd343bb8 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/dataset_version.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/dataset_version.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/deployed_index_ref.pb.go b/aiplatform/apiv1beta1/aiplatformpb/deployed_index_ref.pb.go index 5c964611043f..b2f6fbb45d0e 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/deployed_index_ref.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/deployed_index_ref.pb.go @@ -21,11 +21,12 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/deployed_model_ref.pb.go b/aiplatform/apiv1beta1/aiplatformpb/deployed_model_ref.pb.go index 1076a2624408..7095342d9150 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/deployed_model_ref.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/deployed_model_ref.pb.go @@ -21,11 +21,12 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool.pb.go b/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool.pb.go index 4d5146838d2f..63722d26928d 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool_service.pb.go index 9851f52f37b3..8193efc74f80 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/deployment_resource_pool_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/encryption_spec.pb.go b/aiplatform/apiv1beta1/aiplatformpb/encryption_spec.pb.go index ebc50160418c..71f35c83cb70 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/encryption_spec.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/encryption_spec.pb.go @@ -21,11 +21,12 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/endpoint.pb.go b/aiplatform/apiv1beta1/aiplatformpb/endpoint.pb.go index d29b5914662a..236f628f3bd4 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/endpoint.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/endpoint.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/endpoint_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/endpoint_service.pb.go index 3094172dd376..264cdaea6a58 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/endpoint_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/endpoint_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/entity_type.pb.go b/aiplatform/apiv1beta1/aiplatformpb/entity_type.pb.go index b267f0c34d10..ca6998be48c4 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/entity_type.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/entity_type.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/env_var.pb.go b/aiplatform/apiv1beta1/aiplatformpb/env_var.pb.go index 66733c43181b..5fe0bd23ee81 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/env_var.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/env_var.pb.go @@ -21,11 +21,12 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/evaluated_annotation.pb.go b/aiplatform/apiv1beta1/aiplatformpb/evaluated_annotation.pb.go index bd6824f9e05b..2fec76c4b154 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/evaluated_annotation.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/evaluated_annotation.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/event.pb.go b/aiplatform/apiv1beta1/aiplatformpb/event.pb.go index afa4026cdbaa..4581a76f277f 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/event.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/event.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/execution.pb.go b/aiplatform/apiv1beta1/aiplatformpb/execution.pb.go index 3d0521a193e6..ef4f0877c17c 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/execution.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/execution.pb.go @@ -21,13 +21,14 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/explanation.pb.go b/aiplatform/apiv1beta1/aiplatformpb/explanation.pb.go index d07262ebbda5..5411ecc2dc07 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/explanation.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/explanation.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/explanation_metadata.pb.go b/aiplatform/apiv1beta1/aiplatformpb/explanation_metadata.pb.go index c164ce14f047..d9baa9f08ae8 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/explanation_metadata.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/explanation_metadata.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature.pb.go index ad63249d2cec..caf77b680959 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature_group.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature_group.pb.go index 499f39adae22..a7a24429a0e3 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature_group.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature_group.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature_monitoring_stats.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature_monitoring_stats.pb.go index 839db10e754f..5f3a5bcb9d5f 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature_monitoring_stats.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature_monitoring_stats.pb.go @@ -21,11 +21,12 @@ package aiplatformpb 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" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature_online_store.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature_online_store.pb.go index 6cf3ed76ae57..e02b922463b3 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature_online_store.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature_online_store.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature_online_store_admin_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature_online_store_admin_service.pb.go index e2f60b9afa29..ff86d464e74f 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature_online_store_admin_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature_online_store_admin_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature_online_store_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature_online_store_service.pb.go index a33e32970b5c..bbd7e7d18916 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature_online_store_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature_online_store_service.pb.go @@ -22,6 +22,9 @@ package aiplatformpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature_registry_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature_registry_service.pb.go index b33bff9058b8..872336561982 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature_registry_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature_registry_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature_selector.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature_selector.pb.go index 688915a2c527..296c1c2dc29a 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature_selector.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature_selector.pb.go @@ -21,11 +21,12 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature_view.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature_view.pb.go index a3b19883cb2d..5b4708a857a0 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature_view.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature_view.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/feature_view_sync.pb.go b/aiplatform/apiv1beta1/aiplatformpb/feature_view_sync.pb.go index 675683b73376..4f21984bf425 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/feature_view_sync.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/feature_view_sync.pb.go @@ -21,14 +21,15 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" interval "google.golang.org/genproto/googleapis/type/interval" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/featurestore.pb.go b/aiplatform/apiv1beta1/aiplatformpb/featurestore.pb.go index 1d190d370edb..00ac0e115269 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/featurestore.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/featurestore.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/featurestore_monitoring.pb.go b/aiplatform/apiv1beta1/aiplatformpb/featurestore_monitoring.pb.go index 6e3efc573f27..e9a376ed70e3 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/featurestore_monitoring.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/featurestore_monitoring.pb.go @@ -21,11 +21,12 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/featurestore_online_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/featurestore_online_service.pb.go index e8cefea16800..73db6f6dc174 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/featurestore_online_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/featurestore_online_service.pb.go @@ -22,6 +22,9 @@ package aiplatformpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/featurestore_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/featurestore_service.pb.go index 299e3e1bdf55..b31500ed4e01 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/featurestore_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/featurestore_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" interval "google.golang.org/genproto/googleapis/type/interval" grpc "google.golang.org/grpc" @@ -33,8 +36,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/hyperparameter_tuning_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/hyperparameter_tuning_job.pb.go index d58fff8c33e3..63bb713c323e 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/hyperparameter_tuning_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/hyperparameter_tuning_job.pb.go @@ -21,13 +21,14 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/index.pb.go b/aiplatform/apiv1beta1/aiplatformpb/index.pb.go index e0a2a49fd30b..e72995f0cdae 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/index.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/index.pb.go @@ -21,13 +21,14 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/index_endpoint.pb.go b/aiplatform/apiv1beta1/aiplatformpb/index_endpoint.pb.go index 9a189b9edb32..bb9cdaaeb422 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/index_endpoint.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/index_endpoint.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/index_endpoint_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/index_endpoint_service.pb.go index 65f681b01bc4..7178971912c5 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/index_endpoint_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/index_endpoint_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/index_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/index_service.pb.go index ef221628ef7e..21c47d5c025b 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/index_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/index_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/io.pb.go b/aiplatform/apiv1beta1/aiplatformpb/io.pb.go index c761fd773797..e664d99ce137 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/io.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/io.pb.go @@ -21,11 +21,12 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/job_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/job_service.pb.go index 221b420047d9..d46f62f64a4e 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/job_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/job_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/job_state.pb.go b/aiplatform/apiv1beta1/aiplatformpb/job_state.pb.go index be703c20f295..57b151484d1d 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/job_state.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/job_state.pb.go @@ -21,10 +21,11 @@ package aiplatformpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/lineage_subgraph.pb.go b/aiplatform/apiv1beta1/aiplatformpb/lineage_subgraph.pb.go index 5c31e2518e44..3555fb69c639 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/lineage_subgraph.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/lineage_subgraph.pb.go @@ -21,10 +21,11 @@ package aiplatformpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/llm_utility_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/llm_utility_service.pb.go index 27e9c49e6795..dadb29c35b04 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/llm_utility_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/llm_utility_service.pb.go @@ -22,6 +22,9 @@ package aiplatformpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/machine_resources.pb.go b/aiplatform/apiv1beta1/aiplatformpb/machine_resources.pb.go index c9d7fe3879a3..8a24d2c716b9 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/machine_resources.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/machine_resources.pb.go @@ -21,11 +21,12 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/manual_batch_tuning_parameters.pb.go b/aiplatform/apiv1beta1/aiplatformpb/manual_batch_tuning_parameters.pb.go index 67b2aae4d63c..e17bc428a001 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/manual_batch_tuning_parameters.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/manual_batch_tuning_parameters.pb.go @@ -21,11 +21,12 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/match_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/match_service.pb.go index 87e65bf53185..34595a7ee015 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/match_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/match_service.pb.go @@ -22,14 +22,15 @@ package aiplatformpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/metadata_schema.pb.go b/aiplatform/apiv1beta1/aiplatformpb/metadata_schema.pb.go index 26a338f2bb68..caf5d3104bfd 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/metadata_schema.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/metadata_schema.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/metadata_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/metadata_service.pb.go index ceabaf25b7fd..8ffee9f07f58 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/metadata_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/metadata_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/metadata_store.pb.go b/aiplatform/apiv1beta1/aiplatformpb/metadata_store.pb.go index 95f4fc36f389..790a6d13f251 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/metadata_store.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/metadata_store.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/migratable_resource.pb.go b/aiplatform/apiv1beta1/aiplatformpb/migratable_resource.pb.go index f8ed930a09e7..1392ba0305a3 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/migratable_resource.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/migratable_resource.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/migration_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/migration_service.pb.go index d5aac146c341..2168be261571 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/migration_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/migration_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -30,8 +33,6 @@ import ( status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/model.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model.pb.go index 1bc341d399b8..ed5254241a0b 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/model.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model.pb.go @@ -21,14 +21,15 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/model_deployment_monitoring_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model_deployment_monitoring_job.pb.go index b9ea279c894f..9200960fbd19 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/model_deployment_monitoring_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model_deployment_monitoring_job.pb.go @@ -21,6 +21,9 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -28,8 +31,6 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/model_evaluation.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model_evaluation.pb.go index 5f0d32f0cac7..29590f238729 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/model_evaluation.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model_evaluation.pb.go @@ -21,13 +21,14 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/model_evaluation_slice.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model_evaluation_slice.pb.go index e99bab0a8304..0f40ddd5fe4d 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/model_evaluation_slice.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model_evaluation_slice.pb.go @@ -21,14 +21,15 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( @@ -280,17 +281,17 @@ func (x *ModelEvaluationSlice_Slice_SliceSpec) GetConfigs() map[string]*ModelEva // // Example 1: // -// { -// "zip_code": { "value": { "float_value": 12345.0 } } -// } +// { +// "zip_code": { "value": { "float_value": 12345.0 } } +// } // // A single slice for any data with zip_code 12345 in the dataset. // // Example 2: // -// { -// "zip_code": { "range": { "low": 12345, "high": 20000 } } -// } +// { +// "zip_code": { "range": { "low": 12345, "high": 20000 } } +// } // // A single slice containing data where the zip_codes between 12345 and // 20000 For this example, data with the zip_code of 12345 will be in this @@ -298,10 +299,10 @@ func (x *ModelEvaluationSlice_Slice_SliceSpec) GetConfigs() map[string]*ModelEva // // Example 3: // -// { -// "zip_code": { "range": { "low": 10000, "high": 20000 } }, -// "country": { "value": { "string_value": "US" } } -// } +// { +// "zip_code": { "range": { "low": 10000, "high": 20000 } }, +// "country": { "value": { "string_value": "US" } } +// } // // A single slice containing data where the zip_codes between 10000 and // 20000 has the country "US". For this example, data with the zip_code of @@ -309,16 +310,16 @@ func (x *ModelEvaluationSlice_Slice_SliceSpec) GetConfigs() map[string]*ModelEva // // Example 4: // -// { "country": {"all_values": { "value": true } } } +// { "country": {"all_values": { "value": true } } } // // Three slices are computed, one for each unique country in the dataset. // // Example 5: // -// { -// "country": { "all_values": { "value": true } }, -// "zip_code": { "value": { "float_value": 12345.0 } } -// } +// { +// "country": { "all_values": { "value": true } }, +// "zip_code": { "value": { "float_value": 12345.0 } } +// } // // Three slices are computed, one for each unique country in the dataset // where the zip_code is also 12345. For this example, data with zip_code diff --git a/aiplatform/apiv1beta1/aiplatformpb/model_garden_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model_garden_service.pb.go index f50dd7b9a126..a095c9fce99a 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/model_garden_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model_garden_service.pb.go @@ -22,14 +22,15 @@ package aiplatformpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/model_monitoring.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model_monitoring.pb.go index 2b2076f736b5..9444337b86dc 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/model_monitoring.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model_monitoring.pb.go @@ -21,11 +21,12 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/model_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/model_service.pb.go index 271ce3a9c4c3..b4356bd4b209 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/model_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/model_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/nas_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/nas_job.pb.go index ebcd3cc35ee2..47672cbfa0c1 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/nas_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/nas_job.pb.go @@ -21,13 +21,14 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/operation.pb.go b/aiplatform/apiv1beta1/aiplatformpb/operation.pb.go index a261bb740b9d..e2aa22df4d16 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/operation.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/operation.pb.go @@ -21,13 +21,14 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/persistent_resource.pb.go b/aiplatform/apiv1beta1/aiplatformpb/persistent_resource.pb.go index e1bf9fe892c3..4f081f392716 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/persistent_resource.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/persistent_resource.pb.go @@ -21,13 +21,14 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/persistent_resource_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/persistent_resource_service.pb.go index fbd6117825bf..d9ccf99747c6 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/persistent_resource_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/persistent_resource_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/pipeline_failure_policy.pb.go b/aiplatform/apiv1beta1/aiplatformpb/pipeline_failure_policy.pb.go index 9a20245f595f..61a69248dcde 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/pipeline_failure_policy.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/pipeline_failure_policy.pb.go @@ -21,10 +21,11 @@ package aiplatformpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/pipeline_job.pb.go b/aiplatform/apiv1beta1/aiplatformpb/pipeline_job.pb.go index a3f59358ee1b..537aa0ff9c30 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/pipeline_job.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/pipeline_job.pb.go @@ -21,14 +21,15 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/pipeline_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/pipeline_service.pb.go index d26a9a8b7136..60b85e65f53b 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/pipeline_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/pipeline_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/pipeline_state.pb.go b/aiplatform/apiv1beta1/aiplatformpb/pipeline_state.pb.go index 985afca395af..a10dd416e055 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/pipeline_state.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/pipeline_state.pb.go @@ -21,10 +21,11 @@ package aiplatformpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/prediction_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/prediction_service.pb.go index 69a5d516e738..eb9a1309045a 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/prediction_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/prediction_service.pb.go @@ -22,6 +22,9 @@ package aiplatformpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/publisher_model.pb.go b/aiplatform/apiv1beta1/aiplatformpb/publisher_model.pb.go index ebfc67f492cb..caa0982be8fc 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/publisher_model.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/publisher_model.pb.go @@ -21,11 +21,12 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/saved_query.pb.go b/aiplatform/apiv1beta1/aiplatformpb/saved_query.pb.go index 22589eee3365..7d2fba31ebd5 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/saved_query.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/saved_query.pb.go @@ -21,13 +21,14 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/schedule.pb.go b/aiplatform/apiv1beta1/aiplatformpb/schedule.pb.go index d7b840602cc9..4e6e4ee242d5 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/schedule.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/schedule.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/schedule_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/schedule_service.pb.go index 4317a9db6155..38c46da13593 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/schedule_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/schedule_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/service_networking.pb.go b/aiplatform/apiv1beta1/aiplatformpb/service_networking.pb.go index 8253d6409bc6..6723c820d5ea 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/service_networking.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/service_networking.pb.go @@ -21,11 +21,12 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/specialist_pool.pb.go b/aiplatform/apiv1beta1/aiplatformpb/specialist_pool.pb.go index 8e14bf72949d..99c805caec5c 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/specialist_pool.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/specialist_pool.pb.go @@ -21,11 +21,12 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/specialist_pool_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/specialist_pool_service.pb.go index c4f99857b30e..43a0e3fd0412 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/specialist_pool_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/specialist_pool_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/study.pb.go b/aiplatform/apiv1beta1/aiplatformpb/study.pb.go index 0ffdd10105ee..a37dfdaf1ded 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/study.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/study.pb.go @@ -21,6 +21,9 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -28,8 +31,6 @@ import ( structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( @@ -283,16 +284,17 @@ func (StudySpec_ObservationNoise) EnumDescriptor() ([]byte, []int) { // This indicates which measurement to use if/when the service automatically // selects the final measurement from previously reported intermediate // measurements. Choose this based on two considerations: -// A) Do you expect your measurements to monotonically improve? -// If so, choose LAST_MEASUREMENT. On the other hand, if you're in a -// situation where your system can "over-train" and you expect the -// performance to get better for a while but then start declining, -// choose BEST_MEASUREMENT. -// B) Are your measurements significantly noisy and/or irreproducible? -// If so, BEST_MEASUREMENT will tend to be over-optimistic, and it -// may be better to choose LAST_MEASUREMENT. -// If both or neither of (A) and (B) apply, it doesn't matter which -// selection type is chosen. +// +// A) Do you expect your measurements to monotonically improve? +// If so, choose LAST_MEASUREMENT. On the other hand, if you're in a +// situation where your system can "over-train" and you expect the +// performance to get better for a while but then start declining, +// choose BEST_MEASUREMENT. +// B) Are your measurements significantly noisy and/or irreproducible? +// If so, BEST_MEASUREMENT will tend to be over-optimistic, and it +// may be better to choose LAST_MEASUREMENT. +// If both or neither of (A) and (B) apply, it doesn't matter which +// selection type is chosen. type StudySpec_MeasurementSelectionType int32 const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/tensorboard.pb.go b/aiplatform/apiv1beta1/aiplatformpb/tensorboard.pb.go index 8dbec3710a1c..c94696cbd67b 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/tensorboard.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/tensorboard.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_data.pb.go b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_data.pb.go index f102f0c71a0b..50bc6be5bb68 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_data.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_data.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_experiment.pb.go b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_experiment.pb.go index fe14bd0dc0ee..0b12f635beaa 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_experiment.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_experiment.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_run.pb.go b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_run.pb.go index 938de4ae15d3..f7d69c9be824 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_run.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_run.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_service.pb.go index 998b27d777d3..5762dabc3e94 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_time_series.pb.go b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_time_series.pb.go index 4d9e8983f8c1..3f26972f7e4f 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/tensorboard_time_series.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/tensorboard_time_series.pb.go @@ -21,12 +21,13 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/training_pipeline.pb.go b/aiplatform/apiv1beta1/aiplatformpb/training_pipeline.pb.go index eba95f64e42b..8b69d3d93237 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/training_pipeline.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/training_pipeline.pb.go @@ -21,14 +21,15 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -712,7 +713,6 @@ func (x *FractionSplit) GetTestFraction() float64 { // set as '-' (the minus sign). // // Supported only for unstructured Datasets. -// type FilterSplit struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/aiplatform/apiv1beta1/aiplatformpb/types.pb.go b/aiplatform/apiv1beta1/aiplatformpb/types.pb.go index 88dc4357c9d6..b3b9b03bca82 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/types.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/types.pb.go @@ -21,10 +21,11 @@ package aiplatformpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/unmanaged_container_model.pb.go b/aiplatform/apiv1beta1/aiplatformpb/unmanaged_container_model.pb.go index dd3dff57ef77..35bb9693845a 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/unmanaged_container_model.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/unmanaged_container_model.pb.go @@ -21,11 +21,12 @@ package aiplatformpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/user_action_reference.pb.go b/aiplatform/apiv1beta1/aiplatformpb/user_action_reference.pb.go index 01e659113304..a1ee26a83f22 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/user_action_reference.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/user_action_reference.pb.go @@ -21,10 +21,11 @@ package aiplatformpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/value.pb.go b/aiplatform/apiv1beta1/aiplatformpb/value.pb.go index 8d85d17b739f..db19226d6c8b 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/value.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/value.pb.go @@ -21,10 +21,11 @@ package aiplatformpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/aiplatform/apiv1beta1/aiplatformpb/vizier_service.pb.go b/aiplatform/apiv1beta1/aiplatformpb/vizier_service.pb.go index ac49ae3f9ee8..c3acbc82699f 100755 --- a/aiplatform/apiv1beta1/aiplatformpb/vizier_service.pb.go +++ b/aiplatform/apiv1beta1/aiplatformpb/vizier_service.pb.go @@ -21,8 +21,11 @@ package aiplatformpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/aiplatform/apiv1beta1/doc.go b/aiplatform/apiv1beta1/doc.go index 7724812b9098..63d99fddd922 100755 --- a/aiplatform/apiv1beta1/doc.go +++ b/aiplatform/apiv1beta1/doc.go @@ -20,72 +20,73 @@ // Train high-quality custom machine learning models with minimal machine // learning expertise and effort. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := aiplatform.NewDatasetClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := aiplatform.NewDatasetClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := aiplatform.NewDatasetClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &aiplatformpb.CreateDatasetRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateDatasetRequest. -// } -// op, err := c.CreateDataset(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := aiplatform.NewDatasetClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &aiplatformpb.CreateDatasetRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateDatasetRequest. +// } +// op, err := c.CreateDataset(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewDatasetClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/aiplatform/apiv1beta1/featurestore_client.go b/aiplatform/apiv1beta1/featurestore_client.go index 75981371209d..ce60e6db97a1 100755 --- a/aiplatform/apiv1beta1/featurestore_client.go +++ b/aiplatform/apiv1beta1/featurestore_client.go @@ -474,15 +474,15 @@ func (c *FeaturestoreClient) DeleteFeatureOperation(name string) *DeleteFeatureO // // There are also scenarios where the caller can cause inconsistency. // -// Source data for import contains multiple distinct Feature values for -// the same entity ID and timestamp. +// Source data for import contains multiple distinct Feature values for +// the same entity ID and timestamp. // -// Source is modified during an import. This includes adding, updating, or -// removing source data and/or metadata. Examples of updating metadata -// include but are not limited to changing storage location, storage class, -// or retention policy. +// Source is modified during an import. This includes adding, updating, or +// removing source data and/or metadata. Examples of updating metadata +// include but are not limited to changing storage location, storage class, +// or retention policy. // -// Online serving cluster is under-provisioned. +// Online serving cluster is under-provisioned. func (c *FeaturestoreClient) ImportFeatureValues(ctx context.Context, req *aiplatformpb.ImportFeatureValuesRequest, opts ...gax.CallOption) (*ImportFeatureValuesOperation, error) { return c.internalClient.ImportFeatureValues(ctx, req, opts...) } @@ -2706,15 +2706,15 @@ func (c *featurestoreRESTClient) DeleteFeature(ctx context.Context, req *aiplatf // // There are also scenarios where the caller can cause inconsistency. // -// Source data for import contains multiple distinct Feature values for -// the same entity ID and timestamp. +// Source data for import contains multiple distinct Feature values for +// the same entity ID and timestamp. // -// Source is modified during an import. This includes adding, updating, or -// removing source data and/or metadata. Examples of updating metadata -// include but are not limited to changing storage location, storage class, -// or retention policy. +// Source is modified during an import. This includes adding, updating, or +// removing source data and/or metadata. Examples of updating metadata +// include but are not limited to changing storage location, storage class, +// or retention policy. // -// Online serving cluster is under-provisioned. +// Online serving cluster is under-provisioned. func (c *featurestoreRESTClient) ImportFeatureValues(ctx context.Context, req *aiplatformpb.ImportFeatureValuesRequest, opts ...gax.CallOption) (*ImportFeatureValuesOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/aiplatform/apiv1beta1/prediction_client.go b/aiplatform/apiv1beta1/prediction_client.go index 4879ac36d386..0d86c910af43 100755 --- a/aiplatform/apiv1beta1/prediction_client.go +++ b/aiplatform/apiv1beta1/prediction_client.go @@ -191,13 +191,13 @@ func (c *PredictionClient) Predict(ctx context.Context, req *aiplatformpb.Predic // // The response includes the following HTTP headers: // -// X-Vertex-AI-Endpoint-Id: ID of the -// Endpoint that served this -// prediction. +// X-Vertex-AI-Endpoint-Id: ID of the +// Endpoint that served this +// prediction. // -// X-Vertex-AI-Deployed-Model-Id: ID of the Endpoint’s -// DeployedModel that served -// this prediction. +// X-Vertex-AI-Deployed-Model-Id: ID of the Endpoint’s +// DeployedModel that served +// this prediction. func (c *PredictionClient) RawPredict(ctx context.Context, req *aiplatformpb.RawPredictRequest, opts ...gax.CallOption) (*httpbodypb.HttpBody, error) { return c.internalClient.RawPredict(ctx, req, opts...) } @@ -821,13 +821,13 @@ func (c *predictionRESTClient) Predict(ctx context.Context, req *aiplatformpb.Pr // // The response includes the following HTTP headers: // -// X-Vertex-AI-Endpoint-Id: ID of the -// Endpoint that served this -// prediction. +// X-Vertex-AI-Endpoint-Id: ID of the +// Endpoint that served this +// prediction. // -// X-Vertex-AI-Deployed-Model-Id: ID of the Endpoint’s -// DeployedModel that served -// this prediction. +// X-Vertex-AI-Deployed-Model-Id: ID of the Endpoint’s +// DeployedModel that served +// this prediction. func (c *predictionRESTClient) RawPredict(ctx context.Context, req *aiplatformpb.RawPredictRequest, opts ...gax.CallOption) (*httpbodypb.HttpBody, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/alloydb/apiv1/alloydbpb/resources.pb.go b/alloydb/apiv1/alloydbpb/resources.pb.go index 066d965673e7..cd35652e85e6 100755 --- a/alloydb/apiv1/alloydbpb/resources.pb.go +++ b/alloydb/apiv1/alloydbpb/resources.pb.go @@ -21,6 +21,9 @@ package alloydbpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" timeofday "google.golang.org/genproto/googleapis/type/timeofday" @@ -29,8 +32,6 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( @@ -729,9 +730,9 @@ func (Instance_InstanceType) EnumDescriptor() ([]byte, []int) { // The Availability type of an instance. Potential values: // -// - ZONAL: The instance serves data from only one zone. Outages in that +// - ZONAL: The instance serves data from only one zone. Outages in that // zone affect instance availability. -// - REGIONAL: The instance can serve data from more than one zone in a +// - REGIONAL: The instance can serve data from more than one zone in a // region (it is highly available). type Instance_AvailabilityType int32 diff --git a/alloydb/apiv1/alloydbpb/service.pb.go b/alloydb/apiv1/alloydbpb/service.pb.go index 6aec60842b0c..b095b96cdd22 100755 --- a/alloydb/apiv1/alloydbpb/service.pb.go +++ b/alloydb/apiv1/alloydbpb/service.pb.go @@ -21,8 +21,11 @@ package alloydbpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -34,8 +37,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -1698,10 +1699,10 @@ func (x *BatchCreateInstancesMetadata) GetInstanceStatuses() map[string]*BatchCr // but the third failed to create and the 4th was never picked up for creation // because of failure of the previous one. Then, resulting states would look // something like: -// 1. Instance1 = ROLLED_BACK -// 2. Instance2 = ROLLED_BACK -// 3. Instance3 = FAILED -// 4. Instance4 = FAILED +// 1. Instance1 = ROLLED_BACK +// 2. Instance2 = ROLLED_BACK +// 3. Instance3 = FAILED +// 4. Instance4 = FAILED // // However, while the operation is running, the instance might be in other // states including PENDING_CREATE, ACTIVE, DELETING and CREATING. The states diff --git a/alloydb/apiv1/doc.go b/alloydb/apiv1/doc.go index e863f433691a..0717427bea45 100755 --- a/alloydb/apiv1/doc.go +++ b/alloydb/apiv1/doc.go @@ -29,70 +29,71 @@ // read resources; scale existing PostgreSQL workloads with no application // changes; and modernize legacy proprietary databases. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := alloydb.NewAlloyDBAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := alloydb.NewAlloyDBAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := alloydb.NewAlloyDBAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &alloydbpb.BatchCreateInstancesRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/alloydb/apiv1/alloydbpb#BatchCreateInstancesRequest. -// } -// op, err := c.BatchCreateInstances(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := alloydb.NewAlloyDBAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &alloydbpb.BatchCreateInstancesRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/alloydb/apiv1/alloydbpb#BatchCreateInstancesRequest. +// } +// op, err := c.BatchCreateInstances(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewAlloyDBAdminClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/alloydb/apiv1alpha/alloydbpb/resources.pb.go b/alloydb/apiv1alpha/alloydbpb/resources.pb.go index d2a142df001d..412f14121aae 100755 --- a/alloydb/apiv1alpha/alloydbpb/resources.pb.go +++ b/alloydb/apiv1alpha/alloydbpb/resources.pb.go @@ -21,6 +21,9 @@ package alloydbpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" timeofday "google.golang.org/genproto/googleapis/type/timeofday" @@ -29,8 +32,6 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( @@ -733,9 +734,9 @@ func (Instance_InstanceType) EnumDescriptor() ([]byte, []int) { // The Availability type of an instance. Potential values: // -// - ZONAL: The instance serves data from only one zone. Outages in that +// - ZONAL: The instance serves data from only one zone. Outages in that // zone affect instance availability. -// - REGIONAL: The instance can serve data from more than one zone in a +// - REGIONAL: The instance can serve data from more than one zone in a // region (it is highly available). type Instance_AvailabilityType int32 diff --git a/alloydb/apiv1alpha/alloydbpb/service.pb.go b/alloydb/apiv1alpha/alloydbpb/service.pb.go index df8c98dadb59..9607beeb9314 100755 --- a/alloydb/apiv1alpha/alloydbpb/service.pb.go +++ b/alloydb/apiv1alpha/alloydbpb/service.pb.go @@ -21,8 +21,11 @@ package alloydbpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -34,8 +37,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -1698,10 +1699,10 @@ func (x *BatchCreateInstancesMetadata) GetInstanceStatuses() map[string]*BatchCr // but the third failed to create and the 4th was never picked up for creation // because of failure of the previous one. Then, resulting states would look // something like: -// 1. Instance1 = ROLLED_BACK -// 2. Instance2 = ROLLED_BACK -// 3. Instance3 = FAILED -// 4. Instance4 = FAILED +// 1. Instance1 = ROLLED_BACK +// 2. Instance2 = ROLLED_BACK +// 3. Instance3 = FAILED +// 4. Instance4 = FAILED // // However, while the operation is running, the instance might be in other // states including PENDING_CREATE, ACTIVE, DELETING and CREATING. The states diff --git a/alloydb/apiv1alpha/doc.go b/alloydb/apiv1alpha/doc.go index b0e8be34966e..8bf875e92748 100755 --- a/alloydb/apiv1alpha/doc.go +++ b/alloydb/apiv1alpha/doc.go @@ -29,72 +29,73 @@ // read resources; scale existing PostgreSQL workloads with no application // changes; and modernize legacy proprietary databases. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := alloydb.NewAlloyDBAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := alloydb.NewAlloyDBAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := alloydb.NewAlloyDBAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &alloydbpb.BatchCreateInstancesRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/alloydb/apiv1alpha/alloydbpb#BatchCreateInstancesRequest. -// } -// op, err := c.BatchCreateInstances(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := alloydb.NewAlloyDBAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &alloydbpb.BatchCreateInstancesRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/alloydb/apiv1alpha/alloydbpb#BatchCreateInstancesRequest. +// } +// op, err := c.BatchCreateInstances(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewAlloyDBAdminClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/alloydb/apiv1beta/alloydbpb/resources.pb.go b/alloydb/apiv1beta/alloydbpb/resources.pb.go index a6f59c669922..508eb72b8ca0 100755 --- a/alloydb/apiv1beta/alloydbpb/resources.pb.go +++ b/alloydb/apiv1beta/alloydbpb/resources.pb.go @@ -21,6 +21,9 @@ package alloydbpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" timeofday "google.golang.org/genproto/googleapis/type/timeofday" @@ -29,8 +32,6 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( @@ -733,9 +734,9 @@ func (Instance_InstanceType) EnumDescriptor() ([]byte, []int) { // The Availability type of an instance. Potential values: // -// - ZONAL: The instance serves data from only one zone. Outages in that +// - ZONAL: The instance serves data from only one zone. Outages in that // zone affect instance availability. -// - REGIONAL: The instance can serve data from more than one zone in a +// - REGIONAL: The instance can serve data from more than one zone in a // region (it is highly available). type Instance_AvailabilityType int32 diff --git a/alloydb/apiv1beta/alloydbpb/service.pb.go b/alloydb/apiv1beta/alloydbpb/service.pb.go index a54eafe3d406..bf431e6ce22f 100755 --- a/alloydb/apiv1beta/alloydbpb/service.pb.go +++ b/alloydb/apiv1beta/alloydbpb/service.pb.go @@ -21,8 +21,11 @@ package alloydbpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -34,8 +37,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -1698,10 +1699,10 @@ func (x *BatchCreateInstancesMetadata) GetInstanceStatuses() map[string]*BatchCr // but the third failed to create and the 4th was never picked up for creation // because of failure of the previous one. Then, resulting states would look // something like: -// 1. Instance1 = ROLLED_BACK -// 2. Instance2 = ROLLED_BACK -// 3. Instance3 = FAILED -// 4. Instance4 = FAILED +// 1. Instance1 = ROLLED_BACK +// 2. Instance2 = ROLLED_BACK +// 3. Instance3 = FAILED +// 4. Instance4 = FAILED // // However, while the operation is running, the instance might be in other // states including PENDING_CREATE, ACTIVE, DELETING and CREATING. The states diff --git a/alloydb/apiv1beta/doc.go b/alloydb/apiv1beta/doc.go index 5c4e1c60ca00..9abd7148962c 100755 --- a/alloydb/apiv1beta/doc.go +++ b/alloydb/apiv1beta/doc.go @@ -29,72 +29,73 @@ // read resources; scale existing PostgreSQL workloads with no application // changes; and modernize legacy proprietary databases. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := alloydb.NewAlloyDBAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := alloydb.NewAlloyDBAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := alloydb.NewAlloyDBAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &alloydbpb.BatchCreateInstancesRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/alloydb/apiv1beta/alloydbpb#BatchCreateInstancesRequest. -// } -// op, err := c.BatchCreateInstances(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := alloydb.NewAlloyDBAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &alloydbpb.BatchCreateInstancesRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/alloydb/apiv1beta/alloydbpb#BatchCreateInstancesRequest. +// } +// op, err := c.BatchCreateInstances(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewAlloyDBAdminClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/alloydb/connectors/apiv1/connectorspb/resources.pb.go b/alloydb/connectors/apiv1/connectorspb/resources.pb.go index eeea6d242773..9a6b5bd3b20f 100755 --- a/alloydb/connectors/apiv1/connectorspb/resources.pb.go +++ b/alloydb/connectors/apiv1/connectorspb/resources.pb.go @@ -21,11 +21,12 @@ package connectorspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/alloydb/connectors/apiv1alpha/connectorspb/resources.pb.go b/alloydb/connectors/apiv1alpha/connectorspb/resources.pb.go index 77e2291edaa0..ce5525d701df 100755 --- a/alloydb/connectors/apiv1alpha/connectorspb/resources.pb.go +++ b/alloydb/connectors/apiv1alpha/connectorspb/resources.pb.go @@ -21,11 +21,12 @@ package connectorspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/alloydb/connectors/apiv1beta/connectorspb/resources.pb.go b/alloydb/connectors/apiv1beta/connectorspb/resources.pb.go index 72a32246b868..c18f8646fd8b 100755 --- a/alloydb/connectors/apiv1beta/connectorspb/resources.pb.go +++ b/alloydb/connectors/apiv1beta/connectorspb/resources.pb.go @@ -21,11 +21,12 @@ package connectorspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/analytics/admin/apiv1alpha/adminpb/access_report.pb.go b/analytics/admin/apiv1alpha/adminpb/access_report.pb.go index 46b1f148f7ae..9d09afb8dab2 100755 --- a/analytics/admin/apiv1alpha/adminpb/access_report.pb.go +++ b/analytics/admin/apiv1alpha/adminpb/access_report.pb.go @@ -21,10 +21,11 @@ package adminpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/analytics/admin/apiv1alpha/adminpb/analytics_admin.pb.go b/analytics/admin/apiv1alpha/adminpb/analytics_admin.pb.go index b43373ea611b..4e43136f53f6 100755 --- a/analytics/admin/apiv1alpha/adminpb/analytics_admin.pb.go +++ b/analytics/admin/apiv1alpha/adminpb/analytics_admin.pb.go @@ -22,6 +22,9 @@ package adminpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/analytics/admin/apiv1alpha/adminpb/audience.pb.go b/analytics/admin/apiv1alpha/adminpb/audience.pb.go index b9736d0b5a14..f8ab3c557c2c 100755 --- a/analytics/admin/apiv1alpha/adminpb/audience.pb.go +++ b/analytics/admin/apiv1alpha/adminpb/audience.pb.go @@ -21,12 +21,13 @@ package adminpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/analytics/admin/apiv1alpha/adminpb/channel_group.pb.go b/analytics/admin/apiv1alpha/adminpb/channel_group.pb.go index d19398a8c2c7..ac443bb0eae2 100755 --- a/analytics/admin/apiv1alpha/adminpb/channel_group.pb.go +++ b/analytics/admin/apiv1alpha/adminpb/channel_group.pb.go @@ -21,11 +21,12 @@ package adminpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/analytics/admin/apiv1alpha/adminpb/event_create_and_edit.pb.go b/analytics/admin/apiv1alpha/adminpb/event_create_and_edit.pb.go index a60ffcf96724..1a363d49a515 100755 --- a/analytics/admin/apiv1alpha/adminpb/event_create_and_edit.pb.go +++ b/analytics/admin/apiv1alpha/adminpb/event_create_and_edit.pb.go @@ -21,11 +21,12 @@ package adminpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/analytics/admin/apiv1alpha/adminpb/expanded_data_set.pb.go b/analytics/admin/apiv1alpha/adminpb/expanded_data_set.pb.go index 4c7c6a8ec016..a6216a3248ca 100755 --- a/analytics/admin/apiv1alpha/adminpb/expanded_data_set.pb.go +++ b/analytics/admin/apiv1alpha/adminpb/expanded_data_set.pb.go @@ -21,12 +21,13 @@ package adminpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/analytics/admin/apiv1alpha/adminpb/resources.pb.go b/analytics/admin/apiv1alpha/adminpb/resources.pb.go index a1480097e393..2188edbf350a 100755 --- a/analytics/admin/apiv1alpha/adminpb/resources.pb.go +++ b/analytics/admin/apiv1alpha/adminpb/resources.pb.go @@ -21,13 +21,14 @@ package adminpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/analytics/admin/apiv1alpha/adminpb/subproperty_event_filter.pb.go b/analytics/admin/apiv1alpha/adminpb/subproperty_event_filter.pb.go index 7f0a659f1243..08b16ac19b55 100755 --- a/analytics/admin/apiv1alpha/adminpb/subproperty_event_filter.pb.go +++ b/analytics/admin/apiv1alpha/adminpb/subproperty_event_filter.pb.go @@ -21,11 +21,12 @@ package adminpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/analytics/admin/apiv1alpha/analytics_admin_client.go b/analytics/admin/apiv1alpha/analytics_admin_client.go index e7cb3d59dd46..217b3312e2c7 100755 --- a/analytics/admin/apiv1alpha/analytics_admin_client.go +++ b/analytics/admin/apiv1alpha/analytics_admin_client.go @@ -3484,10 +3484,10 @@ func (c *AnalyticsAdminClient) ApproveDisplayVideo360AdvertiserLinkProposal(ctx // CancelDisplayVideo360AdvertiserLinkProposal cancels a DisplayVideo360AdvertiserLinkProposal. // Cancelling can mean either: // -// Declining a proposal initiated from Display & Video 360 +// Declining a proposal initiated from Display & Video 360 // -// Withdrawing a proposal initiated from Google Analytics -// After being cancelled, a proposal will eventually be deleted automatically. +// Withdrawing a proposal initiated from Google Analytics +// After being cancelled, a proposal will eventually be deleted automatically. func (c *AnalyticsAdminClient) CancelDisplayVideo360AdvertiserLinkProposal(ctx context.Context, req *adminpb.CancelDisplayVideo360AdvertiserLinkProposalRequest, opts ...gax.CallOption) (*adminpb.DisplayVideo360AdvertiserLinkProposal, error) { return c.internalClient.CancelDisplayVideo360AdvertiserLinkProposal(ctx, req, opts...) } @@ -10242,10 +10242,10 @@ func (c *analyticsAdminRESTClient) ApproveDisplayVideo360AdvertiserLinkProposal( // CancelDisplayVideo360AdvertiserLinkProposal cancels a DisplayVideo360AdvertiserLinkProposal. // Cancelling can mean either: // -// Declining a proposal initiated from Display & Video 360 +// Declining a proposal initiated from Display & Video 360 // -// Withdrawing a proposal initiated from Google Analytics -// After being cancelled, a proposal will eventually be deleted automatically. +// Withdrawing a proposal initiated from Google Analytics +// After being cancelled, a proposal will eventually be deleted automatically. func (c *analyticsAdminRESTClient) CancelDisplayVideo360AdvertiserLinkProposal(ctx context.Context, req *adminpb.CancelDisplayVideo360AdvertiserLinkProposalRequest, opts ...gax.CallOption) (*adminpb.DisplayVideo360AdvertiserLinkProposal, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/analytics/admin/apiv1alpha/doc.go b/analytics/admin/apiv1alpha/doc.go index dfd1aa6760f3..e6b7c75e4848 100755 --- a/analytics/admin/apiv1alpha/doc.go +++ b/analytics/admin/apiv1alpha/doc.go @@ -25,67 +25,68 @@ // These actions can result in immediate termination of your GCP project(s) // without any warning. // -// NOTE: This package is in alpha. It is not stable, and is likely to change. +// NOTE: This package is in alpha. It is not stable, and is likely to change. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := admin.NewAnalyticsAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := admin.NewAnalyticsAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := admin.NewAnalyticsAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &adminpb.AcknowledgeUserDataCollectionRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/analytics/admin/apiv1alpha/adminpb#AcknowledgeUserDataCollectionRequest. -// } -// resp, err := c.AcknowledgeUserDataCollection(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := admin.NewAnalyticsAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &adminpb.AcknowledgeUserDataCollectionRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/analytics/admin/apiv1alpha/adminpb#AcknowledgeUserDataCollectionRequest. +// } +// resp, err := c.AcknowledgeUserDataCollection(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewAnalyticsAdminClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/apigateway/apiv1/apigatewaypb/apigateway.pb.go b/apigateway/apiv1/apigatewaypb/apigateway.pb.go index 4132ef337af9..91fe45e1a0ab 100755 --- a/apigateway/apiv1/apigatewaypb/apigateway.pb.go +++ b/apigateway/apiv1/apigatewaypb/apigateway.pb.go @@ -21,13 +21,14 @@ package apigatewaypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/apigateway/apiv1/apigatewaypb/apigateway_service.pb.go b/apigateway/apiv1/apigatewaypb/apigateway_service.pb.go index 3e98ae290090..13960ba8a094 100755 --- a/apigateway/apiv1/apigatewaypb/apigateway_service.pb.go +++ b/apigateway/apiv1/apigatewaypb/apigateway_service.pb.go @@ -21,15 +21,16 @@ package apigatewaypb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" ) const ( diff --git a/apigateway/apiv1/doc.go b/apigateway/apiv1/doc.go index 68695310d19d..1fed2abe78f7 100755 --- a/apigateway/apiv1/doc.go +++ b/apigateway/apiv1/doc.go @@ -17,70 +17,71 @@ // Package apigateway is an auto-generated package for the // API Gateway API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := apigateway.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := apigateway.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := apigateway.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &apigatewaypb.CreateApiRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/apigateway/apiv1/apigatewaypb#CreateApiRequest. -// } -// op, err := c.CreateApi(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := apigateway.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &apigatewaypb.CreateApiRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/apigateway/apiv1/apigatewaypb#CreateApiRequest. +// } +// op, err := c.CreateApi(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/apigeeconnect/apiv1/apigeeconnectpb/connection.pb.go b/apigeeconnect/apiv1/apigeeconnectpb/connection.pb.go index f2c4d5840746..7bae33a12222 100755 --- a/apigeeconnect/apiv1/apigeeconnectpb/connection.pb.go +++ b/apigeeconnect/apiv1/apigeeconnectpb/connection.pb.go @@ -22,14 +22,15 @@ package apigeeconnectpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/apigeeconnect/apiv1/apigeeconnectpb/tether.pb.go b/apigeeconnect/apiv1/apigeeconnectpb/tether.pb.go index 3e82b77600ee..96d7922fff5c 100755 --- a/apigeeconnect/apiv1/apigeeconnectpb/tether.pb.go +++ b/apigeeconnect/apiv1/apigeeconnectpb/tether.pb.go @@ -22,6 +22,9 @@ package apigeeconnectpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( @@ -635,7 +636,7 @@ func (x *HttpRequest) GetBody() []byte { // The proto definition of url. // A url represents a URL and the general form represented is: // -// `[scheme://][google.cloud.apigeeconnect.v1.Url.host][path]` +// `[scheme://][google.cloud.apigeeconnect.v1.Url.host][path]` type Url struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/apigeeconnect/apiv1/doc.go b/apigeeconnect/apiv1/doc.go index fc7e34a126cc..1dbb60e605f0 100755 --- a/apigeeconnect/apiv1/doc.go +++ b/apigeeconnect/apiv1/doc.go @@ -17,71 +17,72 @@ // Package apigeeconnect is an auto-generated package for the // Apigee Connect API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := apigeeconnect.NewConnectionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := apigeeconnect.NewConnectionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := apigeeconnect.NewConnectionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &apigeeconnectpb.ListConnectionsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb#ListConnectionsRequest. -// } -// it := c.ListConnections(ctx, req) -// for { -// resp, err := it.Next() -// if err == iterator.Done { -// break -// } -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// } -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := apigeeconnect.NewConnectionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &apigeeconnectpb.ListConnectionsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb#ListConnectionsRequest. +// } +// it := c.ListConnections(ctx, req) +// for { +// resp, err := it.Next() +// if err == iterator.Done { +// break +// } +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// } +// +// # Use of Context // // The ctx passed to NewConnectionClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/apigeeregistry/apiv1/apigeeregistrypb/provisioning_service.pb.go b/apigeeregistry/apiv1/apigeeregistrypb/provisioning_service.pb.go index 991783a0fd54..309e8a6d7358 100755 --- a/apigeeregistry/apiv1/apigeeregistrypb/provisioning_service.pb.go +++ b/apigeeregistry/apiv1/apigeeregistrypb/provisioning_service.pb.go @@ -21,8 +21,11 @@ package apigeeregistrypb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/apigeeregistry/apiv1/apigeeregistrypb/registry_models.pb.go b/apigeeregistry/apiv1/apigeeregistrypb/registry_models.pb.go index e872c34f39f6..0e313965b00d 100755 --- a/apigeeregistry/apiv1/apigeeregistrypb/registry_models.pb.go +++ b/apigeeregistry/apiv1/apigeeregistrypb/registry_models.pb.go @@ -21,12 +21,13 @@ package apigeeregistrypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/apigeeregistry/apiv1/apigeeregistrypb/registry_service.pb.go b/apigeeregistry/apiv1/apigeeregistrypb/registry_service.pb.go index 48c16b434441..102abc43cff0 100755 --- a/apigeeregistry/apiv1/apigeeregistrypb/registry_service.pb.go +++ b/apigeeregistry/apiv1/apigeeregistrypb/registry_service.pb.go @@ -22,6 +22,9 @@ package apigeeregistrypb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/apigeeregistry/apiv1/doc.go b/apigeeregistry/apiv1/doc.go index b2db37ca374d..753713e5a369 100755 --- a/apigeeregistry/apiv1/doc.go +++ b/apigeeregistry/apiv1/doc.go @@ -17,70 +17,71 @@ // Package apigeeregistry is an auto-generated package for the // Apigee Registry API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := apigeeregistry.NewProvisioningClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := apigeeregistry.NewProvisioningClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := apigeeregistry.NewProvisioningClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &apigeeregistrypb.CreateInstanceRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/apigeeregistry/apiv1/apigeeregistrypb#CreateInstanceRequest. -// } -// op, err := c.CreateInstance(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := apigeeregistry.NewProvisioningClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &apigeeregistrypb.CreateInstanceRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/apigeeregistry/apiv1/apigeeregistrypb#CreateInstanceRequest. +// } +// op, err := c.CreateInstance(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewProvisioningClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/apikeys/apiv2/apikeyspb/apikeys.pb.go b/apikeys/apiv2/apikeyspb/apikeys.pb.go index b0af86e185b4..fb7c75ce313a 100755 --- a/apikeys/apiv2/apikeyspb/apikeys.pb.go +++ b/apikeys/apiv2/apikeyspb/apikeys.pb.go @@ -21,8 +21,11 @@ package apikeyspb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/apikeys/apiv2/apikeyspb/resources.pb.go b/apikeys/apiv2/apikeyspb/resources.pb.go index d371a47aa50d..73db8978d083 100755 --- a/apikeys/apiv2/apikeyspb/resources.pb.go +++ b/apikeys/apiv2/apikeyspb/resources.pb.go @@ -21,12 +21,13 @@ package apikeyspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/apikeys/apiv2/doc.go b/apikeys/apiv2/doc.go index 7a21b11a2b30..6de0c97d10f4 100755 --- a/apikeys/apiv2/doc.go +++ b/apikeys/apiv2/doc.go @@ -19,70 +19,71 @@ // // Manages the API keys associated with developer projects. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := apikeys.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := apikeys.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := apikeys.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &apikeyspb.CreateKeyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/apikeys/apiv2/apikeyspb#CreateKeyRequest. -// } -// op, err := c.CreateKey(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := apikeys.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &apikeyspb.CreateKeyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/apikeys/apiv2/apikeyspb#CreateKeyRequest. +// } +// op, err := c.CreateKey(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/appengine/apiv1/appenginepb/app_yaml.pb.go b/appengine/apiv1/appenginepb/app_yaml.pb.go index 450f2e3c184d..6a0249a087f7 100755 --- a/appengine/apiv1/appenginepb/app_yaml.pb.go +++ b/appengine/apiv1/appenginepb/app_yaml.pb.go @@ -21,11 +21,12 @@ package appenginepb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/appengine.pb.go b/appengine/apiv1/appenginepb/appengine.pb.go index 14d3c8cbd126..765b04df94b6 100755 --- a/appengine/apiv1/appenginepb/appengine.pb.go +++ b/appengine/apiv1/appenginepb/appengine.pb.go @@ -21,8 +21,11 @@ package appenginepb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/application.pb.go b/appengine/apiv1/appenginepb/application.pb.go index e545d706837a..670ba6112aef 100755 --- a/appengine/apiv1/appenginepb/application.pb.go +++ b/appengine/apiv1/appenginepb/application.pb.go @@ -21,11 +21,12 @@ package appenginepb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/audit_data.pb.go b/appengine/apiv1/appenginepb/audit_data.pb.go index a40fdff614a5..c5265c7e1e6e 100755 --- a/appengine/apiv1/appenginepb/audit_data.pb.go +++ b/appengine/apiv1/appenginepb/audit_data.pb.go @@ -21,10 +21,11 @@ package appenginepb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/appengine/apiv1/appenginepb/certificate.pb.go b/appengine/apiv1/appenginepb/certificate.pb.go index 44c986dacebd..3a094336105f 100755 --- a/appengine/apiv1/appenginepb/certificate.pb.go +++ b/appengine/apiv1/appenginepb/certificate.pb.go @@ -21,11 +21,12 @@ package appenginepb 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" - reflect "reflect" - sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/deploy.pb.go b/appengine/apiv1/appenginepb/deploy.pb.go index 0ee9110ea4ca..646e09be2890 100755 --- a/appengine/apiv1/appenginepb/deploy.pb.go +++ b/appengine/apiv1/appenginepb/deploy.pb.go @@ -21,11 +21,12 @@ package appenginepb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/deployed_files.pb.go b/appengine/apiv1/appenginepb/deployed_files.pb.go index 35adcee33e25..def434b7ec2e 100755 --- a/appengine/apiv1/appenginepb/deployed_files.pb.go +++ b/appengine/apiv1/appenginepb/deployed_files.pb.go @@ -21,9 +21,10 @@ package appenginepb import ( + reflect "reflect" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" ) const ( diff --git a/appengine/apiv1/appenginepb/domain.pb.go b/appengine/apiv1/appenginepb/domain.pb.go index a63ac44f0b12..924f44ba5047 100755 --- a/appengine/apiv1/appenginepb/domain.pb.go +++ b/appengine/apiv1/appenginepb/domain.pb.go @@ -21,10 +21,11 @@ package appenginepb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/appengine/apiv1/appenginepb/domain_mapping.pb.go b/appengine/apiv1/appenginepb/domain_mapping.pb.go index 160cc868dc2d..5535650ddc74 100755 --- a/appengine/apiv1/appenginepb/domain_mapping.pb.go +++ b/appengine/apiv1/appenginepb/domain_mapping.pb.go @@ -21,10 +21,11 @@ package appenginepb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/appengine/apiv1/appenginepb/firewall.pb.go b/appengine/apiv1/appenginepb/firewall.pb.go index 51b5f3d51c0e..b24554c8bbc4 100755 --- a/appengine/apiv1/appenginepb/firewall.pb.go +++ b/appengine/apiv1/appenginepb/firewall.pb.go @@ -21,10 +21,11 @@ package appenginepb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/appengine/apiv1/appenginepb/instance.pb.go b/appengine/apiv1/appenginepb/instance.pb.go index fd3f341c5933..74617d03fd1b 100755 --- a/appengine/apiv1/appenginepb/instance.pb.go +++ b/appengine/apiv1/appenginepb/instance.pb.go @@ -21,12 +21,13 @@ package appenginepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/location.pb.go b/appengine/apiv1/appenginepb/location.pb.go index e529d9859118..9467f92521d0 100755 --- a/appengine/apiv1/appenginepb/location.pb.go +++ b/appengine/apiv1/appenginepb/location.pb.go @@ -21,11 +21,12 @@ package appenginepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/network_settings.pb.go b/appengine/apiv1/appenginepb/network_settings.pb.go index 73f7acbfbf02..6678e48d41d3 100755 --- a/appengine/apiv1/appenginepb/network_settings.pb.go +++ b/appengine/apiv1/appenginepb/network_settings.pb.go @@ -21,10 +21,11 @@ package appenginepb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/appengine/apiv1/appenginepb/operation.pb.go b/appengine/apiv1/appenginepb/operation.pb.go index b64e1f467437..2faf6dcdb5c3 100755 --- a/appengine/apiv1/appenginepb/operation.pb.go +++ b/appengine/apiv1/appenginepb/operation.pb.go @@ -21,11 +21,12 @@ package appenginepb 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" - reflect "reflect" - sync "sync" ) const ( diff --git a/appengine/apiv1/appenginepb/service.pb.go b/appengine/apiv1/appenginepb/service.pb.go index f73c5fc53bf1..5a1bc16453b0 100755 --- a/appengine/apiv1/appenginepb/service.pb.go +++ b/appengine/apiv1/appenginepb/service.pb.go @@ -21,10 +21,11 @@ package appenginepb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/appengine/apiv1/appenginepb/version.pb.go b/appengine/apiv1/appenginepb/version.pb.go index ad96340894b1..5fa9cb14a251 100755 --- a/appengine/apiv1/appenginepb/version.pb.go +++ b/appengine/apiv1/appenginepb/version.pb.go @@ -21,12 +21,13 @@ package appenginepb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/appengine/apiv1/applications_client.go b/appengine/apiv1/applications_client.go index 754dc2a86b9a..dce12885f560 100755 --- a/appengine/apiv1/applications_client.go +++ b/appengine/apiv1/applications_client.go @@ -158,9 +158,9 @@ func (c *ApplicationsClient) GetApplication(ctx context.Context, req *appenginep // CreateApplication creates an App Engine application for a Google Cloud Platform project. // Required fields: // -// id - The ID of the target Cloud Platform project. +// id - The ID of the target Cloud Platform project. // -// location - The region (at https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located. +// location - The region (at https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located. // // For more information about App Engine applications, see Managing Projects, Applications, and Billing (at https://cloud.google.com/appengine/docs/standard/python/console/). func (c *ApplicationsClient) CreateApplication(ctx context.Context, req *appenginepb.CreateApplicationRequest, opts ...gax.CallOption) (*CreateApplicationOperation, error) { @@ -176,11 +176,11 @@ func (c *ApplicationsClient) CreateApplicationOperation(name string) *CreateAppl // UpdateApplication updates the specified Application resource. // You can update the following fields: // -// auth_domain - Google authentication domain for controlling user access to the application. +// auth_domain - Google authentication domain for controlling user access to the application. // -// default_cookie_expiration - Cookie expiration policy for the application. +// default_cookie_expiration - Cookie expiration policy for the application. // -// iap - Identity-Aware Proxy properties for the application. +// iap - Identity-Aware Proxy properties for the application. func (c *ApplicationsClient) UpdateApplication(ctx context.Context, req *appenginepb.UpdateApplicationRequest, opts ...gax.CallOption) (*UpdateApplicationOperation, error) { return c.internalClient.UpdateApplication(ctx, req, opts...) } @@ -520,9 +520,9 @@ func (c *applicationsRESTClient) GetApplication(ctx context.Context, req *appeng // CreateApplication creates an App Engine application for a Google Cloud Platform project. // Required fields: // -// id - The ID of the target Cloud Platform project. +// id - The ID of the target Cloud Platform project. // -// location - The region (at https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located. +// location - The region (at https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located. // // For more information about App Engine applications, see Managing Projects, Applications, and Billing (at https://cloud.google.com/appengine/docs/standard/python/console/). func (c *applicationsRESTClient) CreateApplication(ctx context.Context, req *appenginepb.CreateApplicationRequest, opts ...gax.CallOption) (*CreateApplicationOperation, error) { @@ -595,11 +595,11 @@ func (c *applicationsRESTClient) CreateApplication(ctx context.Context, req *app // UpdateApplication updates the specified Application resource. // You can update the following fields: // -// auth_domain - Google authentication domain for controlling user access to the application. +// auth_domain - Google authentication domain for controlling user access to the application. // -// default_cookie_expiration - Cookie expiration policy for the application. +// default_cookie_expiration - Cookie expiration policy for the application. // -// iap - Identity-Aware Proxy properties for the application. +// iap - Identity-Aware Proxy properties for the application. func (c *applicationsRESTClient) UpdateApplication(ctx context.Context, req *appenginepb.UpdateApplicationRequest, opts ...gax.CallOption) (*UpdateApplicationOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetApplication() diff --git a/appengine/apiv1/doc.go b/appengine/apiv1/doc.go index 57ea13ec1bbd..e1d8af750eba 100755 --- a/appengine/apiv1/doc.go +++ b/appengine/apiv1/doc.go @@ -19,70 +19,71 @@ // // Provisions and manages developers’ App Engine applications. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := appengine.NewApplicationsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := appengine.NewApplicationsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := appengine.NewApplicationsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &appenginepb.CreateApplicationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/appengine/apiv1/appenginepb#CreateApplicationRequest. -// } -// op, err := c.CreateApplication(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := appengine.NewApplicationsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &appenginepb.CreateApplicationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/appengine/apiv1/appenginepb#CreateApplicationRequest. +// } +// op, err := c.CreateApplication(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewApplicationsClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/appengine/apiv1/versions_client.go b/appengine/apiv1/versions_client.go index dbefa5f65bd3..3bad3523314a 100755 --- a/appengine/apiv1/versions_client.go +++ b/appengine/apiv1/versions_client.go @@ -189,45 +189,45 @@ func (c *VersionsClient) CreateVersionOperation(name string) *CreateVersionOpera // // Standard environment // -// instance_class (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class) +// instance_class (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class) // // automatic scaling in the standard environment: // -// automatic_scaling.min_idle_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) +// automatic_scaling.min_idle_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) // -// automatic_scaling.max_idle_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) +// automatic_scaling.max_idle_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) // -// automaticScaling.standard_scheduler_settings.max_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) +// automaticScaling.standard_scheduler_settings.max_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) // -// automaticScaling.standard_scheduler_settings.min_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) +// automaticScaling.standard_scheduler_settings.min_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) // -// automaticScaling.standard_scheduler_settings.target_cpu_utilization (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) +// automaticScaling.standard_scheduler_settings.target_cpu_utilization (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) // -// automaticScaling.standard_scheduler_settings.target_throughput_utilization (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) +// automaticScaling.standard_scheduler_settings.target_throughput_utilization (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) // // basic scaling or manual scaling in the standard environment: // -// serving_status (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) +// serving_status (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) // -// manual_scaling.instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling) +// manual_scaling.instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling) // // Flexible environment // -// serving_status (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) +// serving_status (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) // // automatic scaling in the flexible environment: // -// automatic_scaling.min_total_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) +// automatic_scaling.min_total_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) // -// automatic_scaling.max_total_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) +// automatic_scaling.max_total_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) // -// automatic_scaling.cool_down_period_sec (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) +// automatic_scaling.cool_down_period_sec (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) // -// automatic_scaling.cpu_utilization.target_utilization (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) +// automatic_scaling.cpu_utilization.target_utilization (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) // // manual scaling in the flexible environment: // -// manual_scaling.instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling) +// manual_scaling.instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling) func (c *VersionsClient) UpdateVersion(ctx context.Context, req *appenginepb.UpdateVersionRequest, opts ...gax.CallOption) (*UpdateVersionOperation, error) { return c.internalClient.UpdateVersion(ctx, req, opts...) } @@ -778,45 +778,45 @@ func (c *versionsRESTClient) CreateVersion(ctx context.Context, req *appenginepb // // Standard environment // -// instance_class (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class) +// instance_class (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class) // // automatic scaling in the standard environment: // -// automatic_scaling.min_idle_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) +// automatic_scaling.min_idle_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) // -// automatic_scaling.max_idle_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) +// automatic_scaling.max_idle_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) // -// automaticScaling.standard_scheduler_settings.max_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) +// automaticScaling.standard_scheduler_settings.max_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) // -// automaticScaling.standard_scheduler_settings.min_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) +// automaticScaling.standard_scheduler_settings.min_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) // -// automaticScaling.standard_scheduler_settings.target_cpu_utilization (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) +// automaticScaling.standard_scheduler_settings.target_cpu_utilization (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) // -// automaticScaling.standard_scheduler_settings.target_throughput_utilization (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) +// automaticScaling.standard_scheduler_settings.target_throughput_utilization (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) // // basic scaling or manual scaling in the standard environment: // -// serving_status (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) +// serving_status (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) // -// manual_scaling.instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling) +// manual_scaling.instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling) // // Flexible environment // -// serving_status (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) +// serving_status (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) // // automatic scaling in the flexible environment: // -// automatic_scaling.min_total_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) +// automatic_scaling.min_total_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) // -// automatic_scaling.max_total_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) +// automatic_scaling.max_total_instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) // -// automatic_scaling.cool_down_period_sec (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) +// automatic_scaling.cool_down_period_sec (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) // -// automatic_scaling.cpu_utilization.target_utilization (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) +// automatic_scaling.cpu_utilization.target_utilization (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) // // manual scaling in the flexible environment: // -// manual_scaling.instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling) +// manual_scaling.instances (at https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling) func (c *versionsRESTClient) UpdateVersion(ctx context.Context, req *appenginepb.UpdateVersionRequest, opts ...gax.CallOption) (*UpdateVersionOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetVersion() diff --git a/area120/tables/apiv1alpha1/doc.go b/area120/tables/apiv1alpha1/doc.go index a75a567b40a8..fb47cfa60bda 100755 --- a/area120/tables/apiv1alpha1/doc.go +++ b/area120/tables/apiv1alpha1/doc.go @@ -17,67 +17,68 @@ // Package tables is an auto-generated package for the // Area120 Tables API. // -// NOTE: This package is in alpha. It is not stable, and is likely to change. +// NOTE: This package is in alpha. It is not stable, and is likely to change. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := tables.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := tables.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := tables.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &tablespb.BatchCreateRowsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/area120/tables/apiv1alpha1/tablespb#BatchCreateRowsRequest. -// } -// resp, err := c.BatchCreateRows(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := tables.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &tablespb.BatchCreateRowsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/area120/tables/apiv1alpha1/tablespb#BatchCreateRowsRequest. +// } +// resp, err := c.BatchCreateRows(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/area120/tables/apiv1alpha1/tables_client.go b/area120/tables/apiv1alpha1/tables_client.go index e90d2d5c01e4..de7d068d4488 100755 --- a/area120/tables/apiv1alpha1/tables_client.go +++ b/area120/tables/apiv1alpha1/tables_client.go @@ -176,15 +176,15 @@ type internalClient interface { // The Tables Service provides an API for reading and updating tables. // It defines the following resource model: // -// The API has a collection of [Table][google.area120.tables.v1alpha1.Table] -// resources, named tables/* +// The API has a collection of [Table][google.area120.tables.v1alpha1.Table] +// resources, named tables/* // -// Each Table has a collection of [Row][google.area120.tables.v1alpha1.Row] -// resources, named tables/*/rows/* +// Each Table has a collection of [Row][google.area120.tables.v1alpha1.Row] +// resources, named tables/*/rows/* // -// The API has a collection of -// [Workspace][google.area120.tables.v1alpha1.Workspace] -// resources, named workspaces/*. +// The API has a collection of +// [Workspace][google.area120.tables.v1alpha1.Workspace] +// resources, named workspaces/*. type Client struct { // The internal transport-dependent client. internalClient internalClient @@ -299,15 +299,15 @@ type gRPCClient struct { // The Tables Service provides an API for reading and updating tables. // It defines the following resource model: // -// The API has a collection of [Table][google.area120.tables.v1alpha1.Table] -// resources, named tables/* +// The API has a collection of [Table][google.area120.tables.v1alpha1.Table] +// resources, named tables/* // -// Each Table has a collection of [Row][google.area120.tables.v1alpha1.Row] -// resources, named tables/*/rows/* +// Each Table has a collection of [Row][google.area120.tables.v1alpha1.Row] +// resources, named tables/*/rows/* // -// The API has a collection of -// [Workspace][google.area120.tables.v1alpha1.Workspace] -// resources, named workspaces/*. +// The API has a collection of +// [Workspace][google.area120.tables.v1alpha1.Workspace] +// resources, named workspaces/*. func NewClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { clientOpts := defaultGRPCClientOptions() if newClientHook != nil { @@ -379,15 +379,15 @@ type restClient struct { // The Tables Service provides an API for reading and updating tables. // It defines the following resource model: // -// The API has a collection of [Table][google.area120.tables.v1alpha1.Table] -// resources, named tables/* +// The API has a collection of [Table][google.area120.tables.v1alpha1.Table] +// resources, named tables/* // -// Each Table has a collection of [Row][google.area120.tables.v1alpha1.Row] -// resources, named tables/*/rows/* +// Each Table has a collection of [Row][google.area120.tables.v1alpha1.Row] +// resources, named tables/*/rows/* // -// The API has a collection of -// [Workspace][google.area120.tables.v1alpha1.Workspace] -// resources, named workspaces/*. +// The API has a collection of +// [Workspace][google.area120.tables.v1alpha1.Workspace] +// resources, named workspaces/*. func NewRESTClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { clientOpts := append(defaultRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/area120/tables/apiv1alpha1/tablespb/tables.pb.go b/area120/tables/apiv1alpha1/tablespb/tables.pb.go index 844203e900c0..e79b3965aab4 100755 --- a/area120/tables/apiv1alpha1/tablespb/tables.pb.go +++ b/area120/tables/apiv1alpha1/tablespb/tables.pb.go @@ -22,6 +22,9 @@ package tablespb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifact_registry_client.go b/artifactregistry/apiv1/artifact_registry_client.go index d40e91fe4655..abca28f1900e 100755 --- a/artifactregistry/apiv1/artifact_registry_client.go +++ b/artifactregistry/apiv1/artifact_registry_client.go @@ -396,16 +396,16 @@ type internalClient interface { // // The resources managed by this API are: // -// Repositories, which group packages and their data. +// Repositories, which group packages and their data. // -// Packages, which group versions and their tags. +// Packages, which group versions and their tags. // -// Versions, which are specific forms of a package. +// Versions, which are specific forms of a package. // -// Tags, which represent alternative names for versions. +// Tags, which represent alternative names for versions. // -// Files, which contain content and are optionally associated with a Package -// or Version. +// Files, which contain content and are optionally associated with a Package +// or Version. type Client struct { // The internal transport-dependent client. internalClient internalClient @@ -727,16 +727,16 @@ type gRPCClient struct { // // The resources managed by this API are: // -// Repositories, which group packages and their data. +// Repositories, which group packages and their data. // -// Packages, which group versions and their tags. +// Packages, which group versions and their tags. // -// Versions, which are specific forms of a package. +// Versions, which are specific forms of a package. // -// Tags, which represent alternative names for versions. +// Tags, which represent alternative names for versions. // -// Files, which contain content and are optionally associated with a Package -// or Version. +// Files, which contain content and are optionally associated with a Package +// or Version. func NewClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { clientOpts := defaultGRPCClientOptions() if newClientHook != nil { @@ -830,16 +830,16 @@ type restClient struct { // // The resources managed by this API are: // -// Repositories, which group packages and their data. +// Repositories, which group packages and their data. // -// Packages, which group versions and their tags. +// Packages, which group versions and their tags. // -// Versions, which are specific forms of a package. +// Versions, which are specific forms of a package. // -// Tags, which represent alternative names for versions. +// Tags, which represent alternative names for versions. // -// Files, which contain content and are optionally associated with a Package -// or Version. +// Files, which contain content and are optionally associated with a Package +// or Version. func NewRESTClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { clientOpts := append(defaultRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/artifactregistry/apiv1/artifactregistrypb/apt_artifact.pb.go b/artifactregistry/apiv1/artifactregistrypb/apt_artifact.pb.go index bc0d8cff5fe1..deee8ec26e9c 100755 --- a/artifactregistry/apiv1/artifactregistrypb/apt_artifact.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/apt_artifact.pb.go @@ -21,12 +21,13 @@ package artifactregistrypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/artifact.pb.go b/artifactregistry/apiv1/artifactregistrypb/artifact.pb.go index 164d71722793..0dd61d87e949 100755 --- a/artifactregistry/apiv1/artifactregistrypb/artifact.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/artifact.pb.go @@ -21,12 +21,13 @@ package artifactregistrypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/file.pb.go b/artifactregistry/apiv1/artifactregistrypb/file.pb.go index bc1624033d79..4b04eb9a521a 100755 --- a/artifactregistry/apiv1/artifactregistrypb/file.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/file.pb.go @@ -21,12 +21,13 @@ package artifactregistrypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/package.pb.go b/artifactregistry/apiv1/artifactregistrypb/package.pb.go index 40b583d99525..1f08fdc5f9d6 100755 --- a/artifactregistry/apiv1/artifactregistrypb/package.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/package.pb.go @@ -21,12 +21,13 @@ package artifactregistrypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/repository.pb.go b/artifactregistry/apiv1/artifactregistrypb/repository.pb.go index f8ca4d411550..01acad80f925 100755 --- a/artifactregistry/apiv1/artifactregistrypb/repository.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/repository.pb.go @@ -21,14 +21,15 @@ package artifactregistrypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/service.pb.go b/artifactregistry/apiv1/artifactregistrypb/service.pb.go index 58a0924ada89..6cc496b3f0bb 100755 --- a/artifactregistry/apiv1/artifactregistrypb/service.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/service.pb.go @@ -21,9 +21,12 @@ package artifactregistrypb import ( + context "context" + reflect "reflect" + sync "sync" + iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" - context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" - sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/settings.pb.go b/artifactregistry/apiv1/artifactregistrypb/settings.pb.go index ec03f1260f98..95abb30f7a4b 100755 --- a/artifactregistry/apiv1/artifactregistrypb/settings.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/settings.pb.go @@ -21,12 +21,13 @@ package artifactregistrypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/tag.pb.go b/artifactregistry/apiv1/artifactregistrypb/tag.pb.go index 0f149c307bbd..f43bfa35774e 100755 --- a/artifactregistry/apiv1/artifactregistrypb/tag.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/tag.pb.go @@ -21,12 +21,13 @@ package artifactregistrypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/version.pb.go b/artifactregistry/apiv1/artifactregistrypb/version.pb.go index 201633f0234a..033ca447e0dc 100755 --- a/artifactregistry/apiv1/artifactregistrypb/version.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/version.pb.go @@ -21,13 +21,14 @@ package artifactregistrypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/vpcsc_config.pb.go b/artifactregistry/apiv1/artifactregistrypb/vpcsc_config.pb.go index 65a1bc1b10db..7e705a4ef4df 100755 --- a/artifactregistry/apiv1/artifactregistrypb/vpcsc_config.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/vpcsc_config.pb.go @@ -21,12 +21,13 @@ package artifactregistrypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/artifactregistry/apiv1/artifactregistrypb/yum_artifact.pb.go b/artifactregistry/apiv1/artifactregistrypb/yum_artifact.pb.go index c32326e2da9c..d954a6fe0670 100755 --- a/artifactregistry/apiv1/artifactregistrypb/yum_artifact.pb.go +++ b/artifactregistry/apiv1/artifactregistrypb/yum_artifact.pb.go @@ -21,12 +21,13 @@ package artifactregistrypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/artifactregistry/apiv1/doc.go b/artifactregistry/apiv1/doc.go index 3a5abf96b097..8f546aa96512 100755 --- a/artifactregistry/apiv1/doc.go +++ b/artifactregistry/apiv1/doc.go @@ -20,68 +20,69 @@ // Store and manage build artifacts in a scalable and integrated service // built on Google infrastructure. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := artifactregistry.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := artifactregistry.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := artifactregistry.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &artifactregistrypb.BatchDeleteVersionsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb#BatchDeleteVersionsRequest. -// } -// op, err := c.BatchDeleteVersions(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// err = op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := artifactregistry.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &artifactregistrypb.BatchDeleteVersionsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb#BatchDeleteVersionsRequest. +// } +// op, err := c.BatchDeleteVersions(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// err = op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/artifactregistry/apiv1beta2/artifact_registry_client.go b/artifactregistry/apiv1beta2/artifact_registry_client.go index 91951a4391f5..fbd4ed8f925f 100755 --- a/artifactregistry/apiv1beta2/artifact_registry_client.go +++ b/artifactregistry/apiv1beta2/artifact_registry_client.go @@ -539,16 +539,16 @@ type internalClient interface { // // The resources managed by this API are: // -// Repositories, which group packages and their data. +// Repositories, which group packages and their data. // -// Packages, which group versions and their tags. +// Packages, which group versions and their tags. // -// Versions, which are specific forms of a package. +// Versions, which are specific forms of a package. // -// Tags, which represent alternative names for versions. +// Tags, which represent alternative names for versions. // -// Files, which contain content and are optionally associated with a Package -// or Version. +// Files, which contain content and are optionally associated with a Package +// or Version. type Client struct { // The internal transport-dependent client. internalClient internalClient @@ -801,16 +801,16 @@ type gRPCClient struct { // // The resources managed by this API are: // -// Repositories, which group packages and their data. +// Repositories, which group packages and their data. // -// Packages, which group versions and their tags. +// Packages, which group versions and their tags. // -// Versions, which are specific forms of a package. +// Versions, which are specific forms of a package. // -// Tags, which represent alternative names for versions. +// Tags, which represent alternative names for versions. // -// Files, which contain content and are optionally associated with a Package -// or Version. +// Files, which contain content and are optionally associated with a Package +// or Version. func NewClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { clientOpts := defaultGRPCClientOptions() if newClientHook != nil { @@ -903,16 +903,16 @@ type restClient struct { // // The resources managed by this API are: // -// Repositories, which group packages and their data. +// Repositories, which group packages and their data. // -// Packages, which group versions and their tags. +// Packages, which group versions and their tags. // -// Versions, which are specific forms of a package. +// Versions, which are specific forms of a package. // -// Tags, which represent alternative names for versions. +// Tags, which represent alternative names for versions. // -// Files, which contain content and are optionally associated with a Package -// or Version. +// Files, which contain content and are optionally associated with a Package +// or Version. func NewRESTClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { clientOpts := append(defaultRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/apt_artifact.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/apt_artifact.pb.go index 3c06e76da447..59e84f6b31bf 100755 --- a/artifactregistry/apiv1beta2/artifactregistrypb/apt_artifact.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/apt_artifact.pb.go @@ -21,12 +21,13 @@ package artifactregistrypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/file.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/file.pb.go index a906c8cc42d2..1722fe588b38 100755 --- a/artifactregistry/apiv1beta2/artifactregistrypb/file.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/file.pb.go @@ -21,12 +21,13 @@ package artifactregistrypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/package.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/package.pb.go index 0a1cefb339ea..afeb71b0be89 100755 --- a/artifactregistry/apiv1beta2/artifactregistrypb/package.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/package.pb.go @@ -21,11 +21,12 @@ package artifactregistrypb 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" - reflect "reflect" - sync "sync" ) const ( diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/repository.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/repository.pb.go index cd61378377fc..3af5b5082854 100755 --- a/artifactregistry/apiv1beta2/artifactregistrypb/repository.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/repository.pb.go @@ -21,13 +21,14 @@ package artifactregistrypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/service.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/service.pb.go index 831a112f6095..efebbe572d43 100755 --- a/artifactregistry/apiv1beta2/artifactregistrypb/service.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/service.pb.go @@ -21,9 +21,12 @@ package artifactregistrypb import ( + context "context" + reflect "reflect" + sync "sync" + iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" - context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" - sync "sync" ) const ( diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/settings.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/settings.pb.go index 48a8440a8ba5..e06ea412ee80 100755 --- a/artifactregistry/apiv1beta2/artifactregistrypb/settings.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/settings.pb.go @@ -21,12 +21,13 @@ package artifactregistrypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/tag.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/tag.pb.go index 412d1c39ce79..34528e739893 100755 --- a/artifactregistry/apiv1beta2/artifactregistrypb/tag.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/tag.pb.go @@ -21,12 +21,13 @@ package artifactregistrypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/version.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/version.pb.go index 4473ad03b92b..893516b584c3 100755 --- a/artifactregistry/apiv1beta2/artifactregistrypb/version.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/version.pb.go @@ -21,13 +21,14 @@ package artifactregistrypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/artifactregistry/apiv1beta2/artifactregistrypb/yum_artifact.pb.go b/artifactregistry/apiv1beta2/artifactregistrypb/yum_artifact.pb.go index c76935c283db..e835b3616d48 100755 --- a/artifactregistry/apiv1beta2/artifactregistrypb/yum_artifact.pb.go +++ b/artifactregistry/apiv1beta2/artifactregistrypb/yum_artifact.pb.go @@ -21,12 +21,13 @@ package artifactregistrypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/artifactregistry/apiv1beta2/doc.go b/artifactregistry/apiv1beta2/doc.go index 23a856998377..578ceadff2ab 100755 --- a/artifactregistry/apiv1beta2/doc.go +++ b/artifactregistry/apiv1beta2/doc.go @@ -20,72 +20,73 @@ // Store and manage build artifacts in a scalable and integrated service // built on Google infrastructure. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := artifactregistry.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := artifactregistry.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := artifactregistry.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &artifactregistrypb.CreateRepositoryRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb#CreateRepositoryRequest. -// } -// op, err := c.CreateRepository(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := artifactregistry.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &artifactregistrypb.CreateRepositoryRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb#CreateRepositoryRequest. +// } +// op, err := c.CreateRepository(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/asset/apiv1/asset_client.go b/asset/apiv1/asset_client.go index a03b228da5b4..c33aeeb7318d 100755 --- a/asset/apiv1/asset_client.go +++ b/asset/apiv1/asset_client.go @@ -774,25 +774,25 @@ func (c *Client) AnalyzeOrgPolicyGovernedContainers(ctx context.Context, req *as // policies) under a scope. This RPC supports custom constraints and the // following 10 canned constraints: // -// storage.uniformBucketLevelAccess +// storage.uniformBucketLevelAccess // -// iam.disableServiceAccountKeyCreation +// iam.disableServiceAccountKeyCreation // -// iam.allowedPolicyMemberDomains +// iam.allowedPolicyMemberDomains // -// compute.vmExternalIpAccess +// compute.vmExternalIpAccess // -// appengine.enforceServiceAccountActAsCheck +// appengine.enforceServiceAccountActAsCheck // -// gcp.resourceLocations +// gcp.resourceLocations // -// compute.trustedImageProjects +// compute.trustedImageProjects // -// compute.skipDefaultNetworkCreation +// compute.skipDefaultNetworkCreation // -// compute.requireOsLogin +// compute.requireOsLogin // -// compute.disableNestedVirtualization +// compute.disableNestedVirtualization // // This RPC only returns either resources of types supported by searchable // asset @@ -3320,25 +3320,25 @@ func (c *restClient) AnalyzeOrgPolicyGovernedContainers(ctx context.Context, req // policies) under a scope. This RPC supports custom constraints and the // following 10 canned constraints: // -// storage.uniformBucketLevelAccess +// storage.uniformBucketLevelAccess // -// iam.disableServiceAccountKeyCreation +// iam.disableServiceAccountKeyCreation // -// iam.allowedPolicyMemberDomains +// iam.allowedPolicyMemberDomains // -// compute.vmExternalIpAccess +// compute.vmExternalIpAccess // -// appengine.enforceServiceAccountActAsCheck +// appengine.enforceServiceAccountActAsCheck // -// gcp.resourceLocations +// gcp.resourceLocations // -// compute.trustedImageProjects +// compute.trustedImageProjects // -// compute.skipDefaultNetworkCreation +// compute.skipDefaultNetworkCreation // -// compute.requireOsLogin +// compute.requireOsLogin // -// compute.disableNestedVirtualization +// compute.disableNestedVirtualization // // This RPC only returns either resources of types supported by searchable // asset diff --git a/asset/apiv1/assetpb/asset_service.pb.go b/asset/apiv1/assetpb/asset_service.pb.go index bab990829221..378cccae5a76 100755 --- a/asset/apiv1/assetpb/asset_service.pb.go +++ b/asset/apiv1/assetpb/asset_service.pb.go @@ -21,9 +21,12 @@ package assetpb import ( + context "context" + reflect "reflect" + sync "sync" + iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" - context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" expr "google.golang.org/genproto/googleapis/type/expr" @@ -37,8 +40,6 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/asset/apiv1/assetpb/assets.pb.go b/asset/apiv1/assetpb/assets.pb.go index 11cffed288ad..cf5a96906e90 100755 --- a/asset/apiv1/assetpb/assets.pb.go +++ b/asset/apiv1/assetpb/assets.pb.go @@ -21,6 +21,9 @@ package assetpb import ( + reflect "reflect" + sync "sync" + accesscontextmanagerpb "cloud.google.com/go/accesscontextmanager/apiv1/accesscontextmanagerpb" iampb "cloud.google.com/go/iam/apiv1/iampb" orgpolicypb "cloud.google.com/go/orgpolicy/apiv1/orgpolicypb" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/asset/apiv1/doc.go b/asset/apiv1/doc.go index 4eac94d2beb5..8632ecc90a7a 100755 --- a/asset/apiv1/doc.go +++ b/asset/apiv1/doc.go @@ -20,65 +20,66 @@ // The Cloud Asset API manages the history and inventory of Google Cloud // resources. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := asset.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := asset.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := asset.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &assetpb.AnalyzeIamPolicyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/asset/apiv1/assetpb#AnalyzeIamPolicyRequest. -// } -// resp, err := c.AnalyzeIamPolicy(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := asset.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &assetpb.AnalyzeIamPolicyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/asset/apiv1/assetpb#AnalyzeIamPolicyRequest. +// } +// resp, err := c.AnalyzeIamPolicy(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/asset/apiv1p2beta1/assetpb/asset_service.pb.go b/asset/apiv1p2beta1/assetpb/asset_service.pb.go index 4d968dd10a62..6302e8b61605 100755 --- a/asset/apiv1p2beta1/assetpb/asset_service.pb.go +++ b/asset/apiv1p2beta1/assetpb/asset_service.pb.go @@ -23,6 +23,9 @@ package assetpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/asset/apiv1p2beta1/assetpb/assets.pb.go b/asset/apiv1p2beta1/assetpb/assets.pb.go index 81fb632ad0e8..3ceb5dc16aab 100755 --- a/asset/apiv1p2beta1/assetpb/assets.pb.go +++ b/asset/apiv1p2beta1/assetpb/assets.pb.go @@ -22,13 +22,14 @@ package assetpb import ( + reflect "reflect" + sync "sync" + iampb "cloud.google.com/go/iam/apiv1/iampb" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/asset/apiv1p2beta1/auxiliary.go b/asset/apiv1p2beta1/auxiliary.go index c838232584ae..2468164fa6cc 100755 --- a/asset/apiv1p2beta1/auxiliary.go +++ b/asset/apiv1p2beta1/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package asset - -import () diff --git a/asset/apiv1p2beta1/doc.go b/asset/apiv1p2beta1/doc.go index c171dabc2a92..c9be14722b41 100755 --- a/asset/apiv1p2beta1/doc.go +++ b/asset/apiv1p2beta1/doc.go @@ -19,67 +19,68 @@ // // The cloud asset API manages the history and inventory of cloud resources. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := asset.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := asset.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := asset.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &assetpb.CreateFeedRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/asset/apiv1p2beta1/assetpb#CreateFeedRequest. -// } -// resp, err := c.CreateFeed(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := asset.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &assetpb.CreateFeedRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/asset/apiv1p2beta1/assetpb#CreateFeedRequest. +// } +// resp, err := c.CreateFeed(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/asset/apiv1p5beta1/assetpb/asset_service.pb.go b/asset/apiv1p5beta1/assetpb/asset_service.pb.go index 488e4ce71210..1b61e94a2ab7 100755 --- a/asset/apiv1p5beta1/assetpb/asset_service.pb.go +++ b/asset/apiv1p5beta1/assetpb/asset_service.pb.go @@ -22,6 +22,9 @@ package assetpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/asset/apiv1p5beta1/assetpb/assets.pb.go b/asset/apiv1p5beta1/assetpb/assets.pb.go index 71331d11fa4b..0513d95ae315 100755 --- a/asset/apiv1p5beta1/assetpb/assets.pb.go +++ b/asset/apiv1p5beta1/assetpb/assets.pb.go @@ -21,6 +21,9 @@ package assetpb import ( + reflect "reflect" + sync "sync" + accesscontextmanagerpb "cloud.google.com/go/accesscontextmanager/apiv1/accesscontextmanagerpb" iampb "cloud.google.com/go/iam/apiv1/iampb" orgpolicypb "cloud.google.com/go/orgpolicy/apiv1/orgpolicypb" @@ -28,8 +31,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/asset/apiv1p5beta1/doc.go b/asset/apiv1p5beta1/doc.go index 0080d86fc358..521dea648df6 100755 --- a/asset/apiv1p5beta1/doc.go +++ b/asset/apiv1p5beta1/doc.go @@ -20,73 +20,74 @@ // The Cloud Asset API manages the history and inventory of Google Cloud // resources. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := asset.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := asset.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := asset.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &assetpb.ListAssetsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/asset/apiv1p5beta1/assetpb#ListAssetsRequest. -// } -// it := c.ListAssets(ctx, req) -// for { -// resp, err := it.Next() -// if err == iterator.Done { -// break -// } -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// } -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := asset.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &assetpb.ListAssetsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/asset/apiv1p5beta1/assetpb#ListAssetsRequest. +// } +// it := c.ListAssets(ctx, req) +// for { +// resp, err := it.Next() +// if err == iterator.Done { +// break +// } +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// } +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/assuredworkloads/apiv1/assuredworkloadspb/assuredworkloads.pb.go b/assuredworkloads/apiv1/assuredworkloadspb/assuredworkloads.pb.go index 468a593813d2..4fe06e580c02 100755 --- a/assuredworkloads/apiv1/assuredworkloadspb/assuredworkloads.pb.go +++ b/assuredworkloads/apiv1/assuredworkloadspb/assuredworkloads.pb.go @@ -21,8 +21,11 @@ package assuredworkloadspb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,8 +36,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/assuredworkloads/apiv1/doc.go b/assuredworkloads/apiv1/doc.go index c61088335c15..6c9f0ead859d 100755 --- a/assuredworkloads/apiv1/doc.go +++ b/assuredworkloads/apiv1/doc.go @@ -17,65 +17,66 @@ // Package assuredworkloads is an auto-generated package for the // Assured Workloads API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := assuredworkloads.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := assuredworkloads.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := assuredworkloads.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &assuredworkloadspb.AcknowledgeViolationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/assuredworkloads/apiv1/assuredworkloadspb#AcknowledgeViolationRequest. -// } -// resp, err := c.AcknowledgeViolation(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := assuredworkloads.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &assuredworkloadspb.AcknowledgeViolationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/assuredworkloads/apiv1/assuredworkloadspb#AcknowledgeViolationRequest. +// } +// resp, err := c.AcknowledgeViolation(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads.pb.go b/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads.pb.go index 73ebf18918d4..84988e5a6633 100755 --- a/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads.pb.go +++ b/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads.pb.go @@ -21,14 +21,15 @@ package assuredworkloadspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads_service.pb.go b/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads_service.pb.go index 8c4dfe1ff27c..9980a3d69a27 100755 --- a/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads_service.pb.go +++ b/assuredworkloads/apiv1beta1/assuredworkloadspb/assuredworkloads_service.pb.go @@ -21,8 +21,10 @@ package assuredworkloadspb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,7 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" ) const ( diff --git a/assuredworkloads/apiv1beta1/doc.go b/assuredworkloads/apiv1beta1/doc.go index 2ccc0dd842e6..d2d5ca2284ba 100755 --- a/assuredworkloads/apiv1beta1/doc.go +++ b/assuredworkloads/apiv1beta1/doc.go @@ -17,67 +17,68 @@ // Package assuredworkloads is an auto-generated package for the // Assured Workloads API. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := assuredworkloads.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := assuredworkloads.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := assuredworkloads.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &assuredworkloadspb.AnalyzeWorkloadMoveRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/assuredworkloads/apiv1beta1/assuredworkloadspb#AnalyzeWorkloadMoveRequest. -// } -// resp, err := c.AnalyzeWorkloadMove(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := assuredworkloads.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &assuredworkloadspb.AnalyzeWorkloadMoveRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/assuredworkloads/apiv1beta1/assuredworkloadspb#AnalyzeWorkloadMoveRequest. +// } +// resp, err := c.AnalyzeWorkloadMove(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/automl/apiv1/auto_ml_client.go b/automl/apiv1/auto_ml_client.go index 5e24da58d480..7a8f647def41 100755 --- a/automl/apiv1/auto_ml_client.go +++ b/automl/apiv1/auto_ml_client.go @@ -501,11 +501,11 @@ func (c *Client) DeleteDatasetOperation(name string) *DeleteDatasetOperation { // // For Tables: // -// A -// schema_inference_version -// parameter must be explicitly set. -// Returns an empty response in the -// response field when it completes. +// A +// schema_inference_version +// parameter must be explicitly set. +// Returns an empty response in the +// response field when it completes. func (c *Client) ImportData(ctx context.Context, req *automlpb.ImportDataRequest, opts ...gax.CallOption) (*ImportDataOperation, error) { return c.internalClient.ImportData(ctx, req, opts...) } @@ -1637,11 +1637,11 @@ func (c *restClient) DeleteDataset(ctx context.Context, req *automlpb.DeleteData // // For Tables: // -// A -// schema_inference_version -// parameter must be explicitly set. -// Returns an empty response in the -// response field when it completes. +// A +// schema_inference_version +// parameter must be explicitly set. +// Returns an empty response in the +// response field when it completes. func (c *restClient) ImportData(ctx context.Context, req *automlpb.ImportDataRequest, opts ...gax.CallOption) (*ImportDataOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/automl/apiv1/automlpb/annotation_payload.pb.go b/automl/apiv1/automlpb/annotation_payload.pb.go index da91df2c32e7..1abc4980b7e5 100755 --- a/automl/apiv1/automlpb/annotation_payload.pb.go +++ b/automl/apiv1/automlpb/annotation_payload.pb.go @@ -21,10 +21,11 @@ package automlpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/automl/apiv1/automlpb/annotation_spec.pb.go b/automl/apiv1/automlpb/annotation_spec.pb.go index 6a0dcdac016c..7e4c92c43c66 100755 --- a/automl/apiv1/automlpb/annotation_spec.pb.go +++ b/automl/apiv1/automlpb/annotation_spec.pb.go @@ -21,11 +21,12 @@ package automlpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/classification.pb.go b/automl/apiv1/automlpb/classification.pb.go index a3ab29a65a90..98d94b1c7b21 100755 --- a/automl/apiv1/automlpb/classification.pb.go +++ b/automl/apiv1/automlpb/classification.pb.go @@ -21,10 +21,11 @@ package automlpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/automl/apiv1/automlpb/data_items.pb.go b/automl/apiv1/automlpb/data_items.pb.go index 03dca47d339e..3fdea8b16641 100755 --- a/automl/apiv1/automlpb/data_items.pb.go +++ b/automl/apiv1/automlpb/data_items.pb.go @@ -21,10 +21,11 @@ package automlpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/automl/apiv1/automlpb/dataset.pb.go b/automl/apiv1/automlpb/dataset.pb.go index e857e3e66166..42149d9e480b 100755 --- a/automl/apiv1/automlpb/dataset.pb.go +++ b/automl/apiv1/automlpb/dataset.pb.go @@ -21,12 +21,13 @@ package automlpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/detection.pb.go b/automl/apiv1/automlpb/detection.pb.go index 07914f9878df..13bee354bcb4 100755 --- a/automl/apiv1/automlpb/detection.pb.go +++ b/automl/apiv1/automlpb/detection.pb.go @@ -21,10 +21,11 @@ package automlpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/automl/apiv1/automlpb/geometry.pb.go b/automl/apiv1/automlpb/geometry.pb.go index c6695cfec40e..61a0aba75fb7 100755 --- a/automl/apiv1/automlpb/geometry.pb.go +++ b/automl/apiv1/automlpb/geometry.pb.go @@ -21,10 +21,11 @@ package automlpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/automl/apiv1/automlpb/image.pb.go b/automl/apiv1/automlpb/image.pb.go index 7a08bb94a264..262b03785fa0 100755 --- a/automl/apiv1/automlpb/image.pb.go +++ b/automl/apiv1/automlpb/image.pb.go @@ -21,11 +21,12 @@ package automlpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/io.pb.go b/automl/apiv1/automlpb/io.pb.go index 97524c7469ec..e36906bfbfcc 100755 --- a/automl/apiv1/automlpb/io.pb.go +++ b/automl/apiv1/automlpb/io.pb.go @@ -21,11 +21,12 @@ package automlpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( @@ -53,7 +54,6 @@ const ( // //

AutoML Vision

// -// //
Classification
// // See [Preparing your training @@ -62,20 +62,21 @@ const ( // // CSV file(s) with each line in format: // -// ML_USE,GCS_FILE_PATH,LABEL,LABEL,... +// ML_USE,GCS_FILE_PATH,LABEL,LABEL,... // // * `ML_USE` - Identifies the data set that the current row (file) applies // to. -// This value can be one of the following: -// * `TRAIN` - Rows in this file are used to train the model. -// * `TEST` - Rows in this file are used to test the model during training. -// * `UNASSIGNED` - Rows in this file are not categorized. They are -// Automatically divided into train and test data. 80% for training and -// 20% for testing. // -// * `GCS_FILE_PATH` - The Google Cloud Storage location of an image of up to -// 30MB in size. Supported extensions: .JPEG, .GIF, .PNG, .WEBP, .BMP, -// .TIFF, .ICO. +// This value can be one of the following: +// * `TRAIN` - Rows in this file are used to train the model. +// * `TEST` - Rows in this file are used to test the model during training. +// * `UNASSIGNED` - Rows in this file are not categorized. They are +// Automatically divided into train and test data. 80% for training and +// 20% for testing. +// +// - `GCS_FILE_PATH` - The Google Cloud Storage location of an image of up to +// 30MB in size. Supported extensions: .JPEG, .GIF, .PNG, .WEBP, .BMP, +// .TIFF, .ICO. // // * `LABEL` - A label that identifies the object in the image. // @@ -85,11 +86,10 @@ const ( // // Some sample rows: // -// TRAIN,gs://folder/image1.jpg,daisy -// TEST,gs://folder/image2.jpg,dandelion,tulip,rose -// UNASSIGNED,gs://folder/image3.jpg,daisy -// UNASSIGNED,gs://folder/image4.jpg -// +// TRAIN,gs://folder/image1.jpg,daisy +// TEST,gs://folder/image2.jpg,dandelion,tulip,rose +// UNASSIGNED,gs://folder/image3.jpg,daisy +// UNASSIGNED,gs://folder/image4.jpg // //
Object Detection
// See [Preparing your training @@ -98,44 +98,44 @@ const ( // // A CSV file(s) with each line in format: // -// ML_USE,GCS_FILE_PATH,[LABEL],(BOUNDING_BOX | ,,,,,,,) +// ML_USE,GCS_FILE_PATH,[LABEL],(BOUNDING_BOX | ,,,,,,,) // // * `ML_USE` - Identifies the data set that the current row (file) applies // to. -// This value can be one of the following: -// * `TRAIN` - Rows in this file are used to train the model. -// * `TEST` - Rows in this file are used to test the model during training. -// * `UNASSIGNED` - Rows in this file are not categorized. They are -// Automatically divided into train and test data. 80% for training and -// 20% for testing. -// -// * `GCS_FILE_PATH` - The Google Cloud Storage location of an image of up to -// 30MB in size. Supported extensions: .JPEG, .GIF, .PNG. Each image -// is assumed to be exhaustively labeled. -// -// * `LABEL` - A label that identifies the object in the image specified by the -// `BOUNDING_BOX`. -// -// * `BOUNDING BOX` - The vertices of an object in the example image. -// The minimum allowed `BOUNDING_BOX` edge length is 0.01, and no more than -// 500 `BOUNDING_BOX` instances per image are allowed (one `BOUNDING_BOX` -// per line). If an image has no looked for objects then it should be -// mentioned just once with no LABEL and the ",,,,,,," in place of the -// `BOUNDING_BOX`. +// +// This value can be one of the following: +// * `TRAIN` - Rows in this file are used to train the model. +// * `TEST` - Rows in this file are used to test the model during training. +// * `UNASSIGNED` - Rows in this file are not categorized. They are +// Automatically divided into train and test data. 80% for training and +// 20% for testing. +// +// - `GCS_FILE_PATH` - The Google Cloud Storage location of an image of up to +// 30MB in size. Supported extensions: .JPEG, .GIF, .PNG. Each image +// is assumed to be exhaustively labeled. +// +// - `LABEL` - A label that identifies the object in the image specified by the +// `BOUNDING_BOX`. +// +// - `BOUNDING BOX` - The vertices of an object in the example image. +// The minimum allowed `BOUNDING_BOX` edge length is 0.01, and no more than +// 500 `BOUNDING_BOX` instances per image are allowed (one `BOUNDING_BOX` +// per line). If an image has no looked for objects then it should be +// mentioned just once with no LABEL and the ",,,,,,," in place of the +// `BOUNDING_BOX`. // // **Four sample rows:** // -// TRAIN,gs://folder/image1.png,car,0.1,0.1,,,0.3,0.3,, -// TRAIN,gs://folder/image1.png,bike,.7,.6,,,.8,.9,, -// UNASSIGNED,gs://folder/im2.png,car,0.1,0.1,0.2,0.1,0.2,0.3,0.1,0.3 -// TEST,gs://folder/im3.png,,,,,,,,, -//
-//
+// TRAIN,gs://folder/image1.png,car,0.1,0.1,,,0.3,0.3,, +// TRAIN,gs://folder/image1.png,bike,.7,.6,,,.8,.9,, +// UNASSIGNED,gs://folder/im2.png,car,0.1,0.1,0.2,0.1,0.2,0.3,0.1,0.3 +// TEST,gs://folder/im3.png,,,,,,,,, +// // +// // //

AutoML Video Intelligence

// -// //
Classification
// // See [Preparing your training @@ -144,14 +144,14 @@ const ( // // CSV file(s) with each line in format: // -// ML_USE,GCS_FILE_PATH +// ML_USE,GCS_FILE_PATH // // For `ML_USE`, do not use `VALIDATE`. // // `GCS_FILE_PATH` is the path to another .csv file that describes training // example for a given `ML_USE`, using the following row format: // -// GCS_FILE_PATH,(LABEL,TIME_SEGMENT_START,TIME_SEGMENT_END | ,,) +// GCS_FILE_PATH,(LABEL,TIME_SEGMENT_START,TIME_SEGMENT_END | ,,) // // Here `GCS_FILE_PATH` leads to a video of up to 50GB in size and up // to 3h duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. @@ -166,18 +166,16 @@ const ( // // Sample top level CSV file: // -// TRAIN,gs://folder/train_videos.csv -// TEST,gs://folder/test_videos.csv -// UNASSIGNED,gs://folder/other_videos.csv +// TRAIN,gs://folder/train_videos.csv +// TEST,gs://folder/test_videos.csv +// UNASSIGNED,gs://folder/other_videos.csv // // Sample rows of a CSV file for a particular ML_USE: // -// gs://folder/video1.avi,car,120,180.000021 -// gs://folder/video1.avi,bike,150,180.000021 -// gs://folder/vid2.avi,car,0,60.5 -// gs://folder/vid3.avi,,, -// -// +// gs://folder/video1.avi,car,120,180.000021 +// gs://folder/video1.avi,bike,150,180.000021 +// gs://folder/vid2.avi,car,0,60.5 +// gs://folder/vid3.avi,,, // //
Object Tracking
// @@ -187,18 +185,18 @@ const ( // // CSV file(s) with each line in format: // -// ML_USE,GCS_FILE_PATH +// ML_USE,GCS_FILE_PATH // // For `ML_USE`, do not use `VALIDATE`. // // `GCS_FILE_PATH` is the path to another .csv file that describes training // example for a given `ML_USE`, using the following row format: // -// GCS_FILE_PATH,LABEL,[INSTANCE_ID],TIMESTAMP,BOUNDING_BOX +// GCS_FILE_PATH,LABEL,[INSTANCE_ID],TIMESTAMP,BOUNDING_BOX // // or // -// GCS_FILE_PATH,,,,,,,,,, +// GCS_FILE_PATH,,,,,,,,,, // // Here `GCS_FILE_PATH` leads to a video of up to 50GB in size and up // to 3h duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. @@ -217,26 +215,25 @@ const ( // // Sample top level CSV file: // -// TRAIN,gs://folder/train_videos.csv -// TEST,gs://folder/test_videos.csv -// UNASSIGNED,gs://folder/other_videos.csv +// TRAIN,gs://folder/train_videos.csv +// TEST,gs://folder/test_videos.csv +// UNASSIGNED,gs://folder/other_videos.csv // // Seven sample rows of a CSV file for a particular ML_USE: // -// gs://folder/video1.avi,car,1,12.10,0.8,0.8,0.9,0.8,0.9,0.9,0.8,0.9 -// gs://folder/video1.avi,car,1,12.90,0.4,0.8,0.5,0.8,0.5,0.9,0.4,0.9 -// gs://folder/video1.avi,car,2,12.10,.4,.2,.5,.2,.5,.3,.4,.3 -// gs://folder/video1.avi,car,2,12.90,.8,.2,,,.9,.3,, -// gs://folder/video1.avi,bike,,12.50,.45,.45,,,.55,.55,, -// gs://folder/video2.avi,car,1,0,.1,.9,,,.9,.1,, -// gs://folder/video2.avi,,,,,,,,,,, -//
-//
+// gs://folder/video1.avi,car,1,12.10,0.8,0.8,0.9,0.8,0.9,0.9,0.8,0.9 +// gs://folder/video1.avi,car,1,12.90,0.4,0.8,0.5,0.8,0.5,0.9,0.4,0.9 +// gs://folder/video1.avi,car,2,12.10,.4,.2,.5,.2,.5,.3,.4,.3 +// gs://folder/video1.avi,car,2,12.90,.8,.2,,,.9,.3,, +// gs://folder/video1.avi,bike,,12.50,.45,.45,,,.55,.55,, +// gs://folder/video2.avi,car,1,0,.1,.9,,,.9,.1,, +// gs://folder/video2.avi,,,,,,,,,,, +// // +// // //

AutoML Natural Language

// -// //
Entity Extraction
// // See [Preparing your training @@ -245,20 +242,21 @@ const ( // // One or more CSV file(s) with each line in the following format: // -// ML_USE,GCS_FILE_PATH +// ML_USE,GCS_FILE_PATH // // * `ML_USE` - Identifies the data set that the current row (file) applies // to. -// This value can be one of the following: -// * `TRAIN` - Rows in this file are used to train the model. -// * `TEST` - Rows in this file are used to test the model during training. -// * `UNASSIGNED` - Rows in this file are not categorized. They are -// Automatically divided into train and test data. 80% for training and -// 20% for testing.. // -// * `GCS_FILE_PATH` - a Identifies JSON Lines (.JSONL) file stored in -// Google Cloud Storage that contains in-line text in-line as documents -// for model training. +// This value can be one of the following: +// * `TRAIN` - Rows in this file are used to train the model. +// * `TEST` - Rows in this file are used to test the model during training. +// * `UNASSIGNED` - Rows in this file are not categorized. They are +// Automatically divided into train and test data. 80% for training and +// 20% for testing.. +// +// - `GCS_FILE_PATH` - a Identifies JSON Lines (.JSONL) file stored in +// Google Cloud Storage that contains in-line text in-line as documents +// for model training. // // After the training data set has been determined from the `TRAIN` and // `UNASSIGNED` CSV files, the training data is divided into train and @@ -266,9 +264,9 @@ const ( // // For example: // -// TRAIN,gs://folder/file1.jsonl -// VALIDATE,gs://folder/file2.jsonl -// TEST,gs://folder/file3.jsonl +// TRAIN,gs://folder/file1.jsonl +// VALIDATE,gs://folder/file2.jsonl +// TEST,gs://folder/file3.jsonl // // **In-line JSONL files** // @@ -289,44 +287,44 @@ const ( // // For example: // -// { -// "text_snippet": { -// "content": "dog car cat" -// }, -// "annotations": [ -// { -// "display_name": "animal", -// "text_extraction": { -// "text_segment": {"start_offset": 0, "end_offset": 2} -// } -// }, -// { -// "display_name": "vehicle", -// "text_extraction": { -// "text_segment": {"start_offset": 4, "end_offset": 6} -// } -// }, -// { -// "display_name": "animal", -// "text_extraction": { -// "text_segment": {"start_offset": 8, "end_offset": 10} -// } -// } -// ] -// }\n -// { -// "text_snippet": { -// "content": "This dog is good." -// }, -// "annotations": [ -// { -// "display_name": "animal", -// "text_extraction": { -// "text_segment": {"start_offset": 5, "end_offset": 7} -// } -// } -// ] -// } +// { +// "text_snippet": { +// "content": "dog car cat" +// }, +// "annotations": [ +// { +// "display_name": "animal", +// "text_extraction": { +// "text_segment": {"start_offset": 0, "end_offset": 2} +// } +// }, +// { +// "display_name": "vehicle", +// "text_extraction": { +// "text_segment": {"start_offset": 4, "end_offset": 6} +// } +// }, +// { +// "display_name": "animal", +// "text_extraction": { +// "text_segment": {"start_offset": 8, "end_offset": 10} +// } +// } +// ] +// }\n +// { +// "text_snippet": { +// "content": "This dog is good." +// }, +// "annotations": [ +// { +// "display_name": "animal", +// "text_extraction": { +// "text_segment": {"start_offset": 5, "end_offset": 7} +// } +// } +// ] +// } // // **JSONL files that reference documents** // @@ -338,22 +336,22 @@ const ( // // For example: // -// { -// "document": { -// "input_config": { -// "gcs_source": { "input_uris": [ "gs://folder/document1.pdf" ] -// } -// } -// } -// }\n -// { -// "document": { -// "input_config": { -// "gcs_source": { "input_uris": [ "gs://folder/document2.tif" ] -// } -// } -// } -// } +// { +// "document": { +// "input_config": { +// "gcs_source": { "input_uris": [ "gs://folder/document1.pdf" ] +// } +// } +// } +// }\n +// { +// "document": { +// "input_config": { +// "gcs_source": { "input_uris": [ "gs://folder/document2.tif" ] +// } +// } +// } +// } // // **In-line JSONL files with document layout information** // @@ -366,59 +364,56 @@ const ( // // For example: // -// { -// "document": { -// "document_text": { -// "content": "dog car cat" -// } -// "layout": [ -// { -// "text_segment": { -// "start_offset": 0, -// "end_offset": 11, -// }, -// "page_number": 1, -// "bounding_poly": { -// "normalized_vertices": [ -// {"x": 0.1, "y": 0.1}, -// {"x": 0.1, "y": 0.3}, -// {"x": 0.3, "y": 0.3}, -// {"x": 0.3, "y": 0.1}, -// ], -// }, -// "text_segment_type": TOKEN, -// } -// ], -// "document_dimensions": { -// "width": 8.27, -// "height": 11.69, -// "unit": INCH, -// } -// "page_count": 3, -// }, -// "annotations": [ -// { -// "display_name": "animal", -// "text_extraction": { -// "text_segment": {"start_offset": 0, "end_offset": 3} -// } -// }, -// { -// "display_name": "vehicle", -// "text_extraction": { -// "text_segment": {"start_offset": 4, "end_offset": 7} -// } -// }, -// { -// "display_name": "animal", -// "text_extraction": { -// "text_segment": {"start_offset": 8, "end_offset": 11} -// } -// }, -// ], -// -// -// +// { +// "document": { +// "document_text": { +// "content": "dog car cat" +// } +// "layout": [ +// { +// "text_segment": { +// "start_offset": 0, +// "end_offset": 11, +// }, +// "page_number": 1, +// "bounding_poly": { +// "normalized_vertices": [ +// {"x": 0.1, "y": 0.1}, +// {"x": 0.1, "y": 0.3}, +// {"x": 0.3, "y": 0.3}, +// {"x": 0.3, "y": 0.1}, +// ], +// }, +// "text_segment_type": TOKEN, +// } +// ], +// "document_dimensions": { +// "width": 8.27, +// "height": 11.69, +// "unit": INCH, +// } +// "page_count": 3, +// }, +// "annotations": [ +// { +// "display_name": "animal", +// "text_extraction": { +// "text_segment": {"start_offset": 0, "end_offset": 3} +// } +// }, +// { +// "display_name": "vehicle", +// "text_extraction": { +// "text_segment": {"start_offset": 4, "end_offset": 7} +// } +// }, +// { +// "display_name": "animal", +// "text_extraction": { +// "text_segment": {"start_offset": 8, "end_offset": 11} +// } +// }, +// ], // //
Classification
// @@ -428,44 +423,43 @@ const ( // // One or more CSV file(s) with each line in the following format: // -// ML_USE,(TEXT_SNIPPET | GCS_FILE_PATH),LABEL,LABEL,... +// ML_USE,(TEXT_SNIPPET | GCS_FILE_PATH),LABEL,LABEL,... // // * `ML_USE` - Identifies the data set that the current row (file) applies // to. -// This value can be one of the following: -// * `TRAIN` - Rows in this file are used to train the model. -// * `TEST` - Rows in this file are used to test the model during training. -// * `UNASSIGNED` - Rows in this file are not categorized. They are -// Automatically divided into train and test data. 80% for training and -// 20% for testing. -// -// * `TEXT_SNIPPET` and `GCS_FILE_PATH` are distinguished by a pattern. If -// the column content is a valid Google Cloud Storage file path, that is, -// prefixed by "gs://", it is treated as a `GCS_FILE_PATH`. Otherwise, if -// the content is enclosed in double quotes (""), it is treated as a -// `TEXT_SNIPPET`. For `GCS_FILE_PATH`, the path must lead to a -// file with supported extension and UTF-8 encoding, for example, -// "gs://folder/content.txt" AutoML imports the file content -// as a text snippet. For `TEXT_SNIPPET`, AutoML imports the column content -// excluding quotes. In both cases, size of the content must be 10MB or -// less in size. For zip files, the size of each file inside the zip must be -// 10MB or less in size. -// -// For the `MULTICLASS` classification type, at most one `LABEL` is allowed. -// -// The `ML_USE` and `LABEL` columns are optional. -// Supported file extensions: .TXT, .PDF, .TIF, .TIFF, .ZIP +// +// This value can be one of the following: +// * `TRAIN` - Rows in this file are used to train the model. +// * `TEST` - Rows in this file are used to test the model during training. +// * `UNASSIGNED` - Rows in this file are not categorized. They are +// Automatically divided into train and test data. 80% for training and +// 20% for testing. +// +// - `TEXT_SNIPPET` and `GCS_FILE_PATH` are distinguished by a pattern. If +// the column content is a valid Google Cloud Storage file path, that is, +// prefixed by "gs://", it is treated as a `GCS_FILE_PATH`. Otherwise, if +// the content is enclosed in double quotes (""), it is treated as a +// `TEXT_SNIPPET`. For `GCS_FILE_PATH`, the path must lead to a +// file with supported extension and UTF-8 encoding, for example, +// "gs://folder/content.txt" AutoML imports the file content +// as a text snippet. For `TEXT_SNIPPET`, AutoML imports the column content +// excluding quotes. In both cases, size of the content must be 10MB or +// less in size. For zip files, the size of each file inside the zip must be +// 10MB or less in size. +// +// For the `MULTICLASS` classification type, at most one `LABEL` is allowed. +// +// The `ML_USE` and `LABEL` columns are optional. +// Supported file extensions: .TXT, .PDF, .TIF, .TIFF, .ZIP // // A maximum of 100 unique labels are allowed per CSV row. // // Sample rows: // -// TRAIN,"They have bad food and very rude",RudeService,BadFood -// gs://folder/content.txt,SlowService -// TEST,gs://folder/document.pdf -// VALIDATE,gs://folder/text_files.zip,BadFood -// -// +// TRAIN,"They have bad food and very rude",RudeService,BadFood +// gs://folder/content.txt,SlowService +// TEST,gs://folder/document.pdf +// VALIDATE,gs://folder/text_files.zip,BadFood // //
Sentiment Analysis
// @@ -475,59 +469,59 @@ const ( // // CSV file(s) with each line in format: // -// ML_USE,(TEXT_SNIPPET | GCS_FILE_PATH),SENTIMENT +// ML_USE,(TEXT_SNIPPET | GCS_FILE_PATH),SENTIMENT // // * `ML_USE` - Identifies the data set that the current row (file) applies // to. -// This value can be one of the following: -// * `TRAIN` - Rows in this file are used to train the model. -// * `TEST` - Rows in this file are used to test the model during training. -// * `UNASSIGNED` - Rows in this file are not categorized. They are -// Automatically divided into train and test data. 80% for training and -// 20% for testing. -// -// * `TEXT_SNIPPET` and `GCS_FILE_PATH` are distinguished by a pattern. If -// the column content is a valid Google Cloud Storage file path, that is, -// prefixed by "gs://", it is treated as a `GCS_FILE_PATH`. Otherwise, if -// the content is enclosed in double quotes (""), it is treated as a -// `TEXT_SNIPPET`. For `GCS_FILE_PATH`, the path must lead to a -// file with supported extension and UTF-8 encoding, for example, -// "gs://folder/content.txt" AutoML imports the file content -// as a text snippet. For `TEXT_SNIPPET`, AutoML imports the column content -// excluding quotes. In both cases, size of the content must be 128kB or -// less in size. For zip files, the size of each file inside the zip must be -// 128kB or less in size. -// -// The `ML_USE` and `SENTIMENT` columns are optional. -// Supported file extensions: .TXT, .PDF, .TIF, .TIFF, .ZIP -// -// * `SENTIMENT` - An integer between 0 and -// Dataset.text_sentiment_dataset_metadata.sentiment_max -// (inclusive). Describes the ordinal of the sentiment - higher -// value means a more positive sentiment. All the values are -// completely relative, i.e. neither 0 needs to mean a negative or -// neutral sentiment nor sentiment_max needs to mean a positive one - -// it is just required that 0 is the least positive sentiment -// in the data, and sentiment_max is the most positive one. -// The SENTIMENT shouldn't be confused with "score" or "magnitude" -// from the previous Natural Language Sentiment Analysis API. -// All SENTIMENT values between 0 and sentiment_max must be -// represented in the imported data. On prediction the same 0 to -// sentiment_max range will be used. The difference between -// neighboring sentiment values needs not to be uniform, e.g. 1 and -// 2 may be similar whereas the difference between 2 and 3 may be -// large. // -// Sample rows: +// This value can be one of the following: +// * `TRAIN` - Rows in this file are used to train the model. +// * `TEST` - Rows in this file are used to test the model during training. +// * `UNASSIGNED` - Rows in this file are not categorized. They are +// Automatically divided into train and test data. 80% for training and +// 20% for testing. +// +// - `TEXT_SNIPPET` and `GCS_FILE_PATH` are distinguished by a pattern. If +// the column content is a valid Google Cloud Storage file path, that is, +// prefixed by "gs://", it is treated as a `GCS_FILE_PATH`. Otherwise, if +// the content is enclosed in double quotes (""), it is treated as a +// `TEXT_SNIPPET`. For `GCS_FILE_PATH`, the path must lead to a +// file with supported extension and UTF-8 encoding, for example, +// "gs://folder/content.txt" AutoML imports the file content +// as a text snippet. For `TEXT_SNIPPET`, AutoML imports the column content +// excluding quotes. In both cases, size of the content must be 128kB or +// less in size. For zip files, the size of each file inside the zip must be +// 128kB or less in size. +// +// The `ML_USE` and `SENTIMENT` columns are optional. +// Supported file extensions: .TXT, .PDF, .TIF, .TIFF, .ZIP +// +// - `SENTIMENT` - An integer between 0 and +// Dataset.text_sentiment_dataset_metadata.sentiment_max +// (inclusive). Describes the ordinal of the sentiment - higher +// value means a more positive sentiment. All the values are +// completely relative, i.e. neither 0 needs to mean a negative or +// neutral sentiment nor sentiment_max needs to mean a positive one - +// it is just required that 0 is the least positive sentiment +// in the data, and sentiment_max is the most positive one. +// The SENTIMENT shouldn't be confused with "score" or "magnitude" +// from the previous Natural Language Sentiment Analysis API. +// All SENTIMENT values between 0 and sentiment_max must be +// represented in the imported data. On prediction the same 0 to +// sentiment_max range will be used. The difference between +// neighboring sentiment values needs not to be uniform, e.g. 1 and +// 2 may be similar whereas the difference between 2 and 3 may be +// large. // -// TRAIN,"@freewrytin this is way too good for your product",2 -// gs://folder/content.txt,3 -// TEST,gs://folder/document.pdf -// VALIDATE,gs://folder/text_files.zip,2 -//
-//
+// Sample rows: // +// TRAIN,"@freewrytin this is way too good for your product",2 +// gs://folder/content.txt,3 +// TEST,gs://folder/document.pdf +// VALIDATE,gs://folder/text_files.zip,2 +// // +// // //

AutoML Tables

@@ -569,84 +563,95 @@ const ( // and between 1000 and 100,000,000 rows, inclusive. There are at most 5 // import data running in parallel. // -//
-//
+// // +// // // **Input field definitions:** // // `ML_USE` // : ("TRAIN" | "VALIDATE" | "TEST" | "UNASSIGNED") -// Describes how the given example (file) should be used for model -// training. "UNASSIGNED" can be used when user has no preference. +// +// Describes how the given example (file) should be used for model +// training. "UNASSIGNED" can be used when user has no preference. // // `GCS_FILE_PATH` // : The path to a file on Google Cloud Storage. For example, -// "gs://folder/image1.png". +// +// "gs://folder/image1.png". // // `LABEL` // : A display name of an object on an image, video etc., e.g. "dog". -// Must be up to 32 characters long and can consist only of ASCII -// Latin letters A-Z and a-z, underscores(_), and ASCII digits 0-9. -// For each label an AnnotationSpec is created which display_name -// becomes the label; AnnotationSpecs are given back in predictions. +// +// Must be up to 32 characters long and can consist only of ASCII +// Latin letters A-Z and a-z, underscores(_), and ASCII digits 0-9. +// For each label an AnnotationSpec is created which display_name +// becomes the label; AnnotationSpecs are given back in predictions. // // `INSTANCE_ID` // : A positive integer that identifies a specific instance of a -// labeled entity on an example. Used e.g. to track two cars on -// a video while being able to tell apart which one is which. +// +// labeled entity on an example. Used e.g. to track two cars on +// a video while being able to tell apart which one is which. // // `BOUNDING_BOX` // : (`VERTEX,VERTEX,VERTEX,VERTEX` | `VERTEX,,,VERTEX,,`) -// A rectangle parallel to the frame of the example (image, -// video). If 4 vertices are given they are connected by edges -// in the order provided, if 2 are given they are recognized -// as diagonally opposite vertices of the rectangle. +// +// A rectangle parallel to the frame of the example (image, +// video). If 4 vertices are given they are connected by edges +// in the order provided, if 2 are given they are recognized +// as diagonally opposite vertices of the rectangle. // // `VERTEX` // : (`COORDINATE,COORDINATE`) -// First coordinate is horizontal (x), the second is vertical (y). +// +// First coordinate is horizontal (x), the second is vertical (y). // // `COORDINATE` // : A float in 0 to 1 range, relative to total length of -// image or video in given dimension. For fractions the -// leading non-decimal 0 can be omitted (i.e. 0.3 = .3). -// Point 0,0 is in top left. +// +// image or video in given dimension. For fractions the +// leading non-decimal 0 can be omitted (i.e. 0.3 = .3). +// Point 0,0 is in top left. // // `TIME_SEGMENT_START` // : (`TIME_OFFSET`) -// Expresses a beginning, inclusive, of a time segment -// within an example that has a time dimension -// (e.g. video). +// +// Expresses a beginning, inclusive, of a time segment +// within an example that has a time dimension +// (e.g. video). // // `TIME_SEGMENT_END` // : (`TIME_OFFSET`) -// Expresses an end, exclusive, of a time segment within -// n example that has a time dimension (e.g. video). +// +// Expresses an end, exclusive, of a time segment within +// n example that has a time dimension (e.g. video). // // `TIME_OFFSET` // : A number of seconds as measured from the start of an -// example (e.g. video). Fractions are allowed, up to a -// microsecond precision. "inf" is allowed, and it means the end -// of the example. +// +// example (e.g. video). Fractions are allowed, up to a +// microsecond precision. "inf" is allowed, and it means the end +// of the example. // // `TEXT_SNIPPET` // : The content of a text snippet, UTF-8 encoded, enclosed within -// double quotes (""). +// +// double quotes (""). // // `DOCUMENT` // : A field that provides the textual content with document and the layout -// information. // +// information. // -// **Errors:** // -// If any of the provided CSV files can't be parsed or if more than certain -// percent of CSV rows cannot be processed then the operation fails and -// nothing is imported. Regardless of overall success or failure the per-row -// failures, up to a certain count cap, is listed in -// Operation.metadata.partial_failures. +// **Errors:** // +// If any of the provided CSV files can't be parsed or if more than certain +// percent of CSV rows cannot be processed then the operation fails and +// nothing is imported. Regardless of overall success or failure the per-row +// failures, up to a certain count cap, is listed in +// Operation.metadata.partial_failures. type InputConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -753,7 +758,7 @@ func (*InputConfig_GcsSource) isInputConfig_Source() {} // // One or more CSV files where each line is a single column: // -// GCS_FILE_PATH +// GCS_FILE_PATH // // The Google Cloud Storage location of an image of up to // 30MB in size. Supported extensions: .JPEG, .GIF, .PNG. @@ -761,15 +766,15 @@ func (*InputConfig_GcsSource) isInputConfig_Source() {} // // Sample rows: // -// gs://folder/image1.jpeg -// gs://folder/image2.gif -// gs://folder/image3.png +// gs://folder/image1.jpeg +// gs://folder/image2.gif +// gs://folder/image3.png // //
Object Detection
// // One or more CSV files where each line is a single column: // -// GCS_FILE_PATH +// GCS_FILE_PATH // // The Google Cloud Storage location of an image of up to // 30MB in size. Supported extensions: .JPEG, .GIF, .PNG. @@ -777,10 +782,11 @@ func (*InputConfig_GcsSource) isInputConfig_Source() {} // // Sample rows: // -// gs://folder/image1.jpeg -// gs://folder/image2.gif -// gs://folder/image3.png -//
+// gs://folder/image1.jpeg +// gs://folder/image2.gif +// gs://folder/image3.png +// +// // // //

AutoML Video Intelligence

@@ -788,7 +794,7 @@ func (*InputConfig_GcsSource) isInputConfig_Source() {} // // One or more CSV files where each line is a single column: // -// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END +// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END // // `GCS_FILE_PATH` is the Google Cloud Storage location of video up to 50GB in // size and up to 3h in duration duration. @@ -799,15 +805,15 @@ func (*InputConfig_GcsSource) isInputConfig_Source() {} // // Sample rows: // -// gs://folder/video1.mp4,10,40 -// gs://folder/video1.mp4,20,60 -// gs://folder/vid2.mov,0,inf +// gs://folder/video1.mp4,10,40 +// gs://folder/video1.mp4,20,60 +// gs://folder/vid2.mov,0,inf // //
Object Tracking
// // One or more CSV files where each line is a single column: // -// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END +// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END // // `GCS_FILE_PATH` is the Google Cloud Storage location of video up to 50GB in // size and up to 3h in duration duration. @@ -818,10 +824,11 @@ func (*InputConfig_GcsSource) isInputConfig_Source() {} // // Sample rows: // -// gs://folder/video1.mp4,10,40 -// gs://folder/video1.mp4,20,60 -// gs://folder/vid2.mov,0,inf -//
+// gs://folder/video1.mp4,10,40 +// gs://folder/video1.mp4,20,60 +// gs://folder/vid2.mov,0,inf +// +// // // //

AutoML Natural Language

@@ -829,7 +836,7 @@ func (*InputConfig_GcsSource) isInputConfig_Source() {} // // One or more CSV files where each line is a single column: // -// GCS_FILE_PATH +// GCS_FILE_PATH // // `GCS_FILE_PATH` is the Google Cloud Storage location of a text file. // Supported file extensions: .TXT, .PDF, .TIF, .TIFF @@ -838,14 +845,14 @@ func (*InputConfig_GcsSource) isInputConfig_Source() {} // // Sample rows: // -// gs://folder/text1.txt -// gs://folder/text2.pdf -// gs://folder/text3.tif +// gs://folder/text1.txt +// gs://folder/text2.pdf +// gs://folder/text3.tif // //
Sentiment Analysis
// One or more CSV files where each line is a single column: // -// GCS_FILE_PATH +// GCS_FILE_PATH // // `GCS_FILE_PATH` is the Google Cloud Storage location of a text file. // Supported file extensions: .TXT, .PDF, .TIF, .TIFF @@ -854,9 +861,9 @@ func (*InputConfig_GcsSource) isInputConfig_Source() {} // // Sample rows: // -// gs://folder/text1.txt -// gs://folder/text2.pdf -// gs://folder/text3.tif +// gs://folder/text1.txt +// gs://folder/text2.pdf +// gs://folder/text3.tif // //
Entity Extraction
// @@ -883,52 +890,53 @@ func (*InputConfig_GcsSource) isInputConfig_Source() {} // Sample inline JSONL file (Shown with artificial line // breaks. Actual line breaks are denoted by "\n".): // -// { -// "id": "my_first_id", -// "text_snippet": { "content": "dog car cat"}, -// "text_features": [ -// { -// "text_segment": {"start_offset": 4, "end_offset": 6}, -// "structural_type": PARAGRAPH, -// "bounding_poly": { -// "normalized_vertices": [ -// {"x": 0.1, "y": 0.1}, -// {"x": 0.1, "y": 0.3}, -// {"x": 0.3, "y": 0.3}, -// {"x": 0.3, "y": 0.1}, -// ] -// }, -// } -// ], -// }\n -// { -// "id": "2", -// "text_snippet": { -// "content": "Extended sample content", -// "mime_type": "text/plain" -// } -// } +// { +// "id": "my_first_id", +// "text_snippet": { "content": "dog car cat"}, +// "text_features": [ +// { +// "text_segment": {"start_offset": 4, "end_offset": 6}, +// "structural_type": PARAGRAPH, +// "bounding_poly": { +// "normalized_vertices": [ +// {"x": 0.1, "y": 0.1}, +// {"x": 0.1, "y": 0.3}, +// {"x": 0.3, "y": 0.3}, +// {"x": 0.3, "y": 0.1}, +// ] +// }, +// } +// ], +// }\n +// { +// "id": "2", +// "text_snippet": { +// "content": "Extended sample content", +// "mime_type": "text/plain" +// } +// } // // Sample document JSONL file (Shown with artificial line // breaks. Actual line breaks are denoted by "\n".): // -// { -// "document": { -// "input_config": { -// "gcs_source": { "input_uris": [ "gs://folder/document1.pdf" ] -// } -// } -// } -// }\n -// { -// "document": { -// "input_config": { -// "gcs_source": { "input_uris": [ "gs://folder/document2.tif" ] -// } -// } -// } -// } -//
+// { +// "document": { +// "input_config": { +// "gcs_source": { "input_uris": [ "gs://folder/document1.pdf" ] +// } +// } +// } +// }\n +// { +// "document": { +// "input_config": { +// "gcs_source": { "input_uris": [ "gs://folder/document2.tif" ] +// } +// } +// } +// } +// +// // // //

AutoML Tables

// "First Name","Last Name","Dob","Addresses" @@ -978,39 +985,45 @@ func (*InputConfig_GcsSource) isInputConfig_Source() {} // input feature column specs must contain values compatible with the // column spec's data types. Prediction on all the rows of the table // will be attempted. -//
+// +// +// //
// // **Input field definitions:** // // `GCS_FILE_PATH` // : The path to a file on Google Cloud Storage. For example, -// "gs://folder/video.avi". +// +// "gs://folder/video.avi". // // `TIME_SEGMENT_START` // : (`TIME_OFFSET`) -// Expresses a beginning, inclusive, of a time segment -// within an example that has a time dimension -// (e.g. video). +// +// Expresses a beginning, inclusive, of a time segment +// within an example that has a time dimension +// (e.g. video). // // `TIME_SEGMENT_END` // : (`TIME_OFFSET`) -// Expresses an end, exclusive, of a time segment within -// n example that has a time dimension (e.g. video). +// +// Expresses an end, exclusive, of a time segment within +// n example that has a time dimension (e.g. video). // // `TIME_OFFSET` // : A number of seconds as measured from the start of an -// example (e.g. video). Fractions are allowed, up to a -// microsecond precision. "inf" is allowed, and it means the end -// of the example. // -// **Errors:** +// example (e.g. video). Fractions are allowed, up to a +// microsecond precision. "inf" is allowed, and it means the end +// of the example. +// +// **Errors:** // -// If any of the provided CSV files can't be parsed or if more than certain -// percent of CSV rows cannot be processed then the operation fails and -// prediction does not happen. Regardless of overall success or failure the -// per-row failures, up to a certain count cap, will be listed in -// Operation.metadata.partial_failures. +// If any of the provided CSV files can't be parsed or if more than certain +// percent of CSV rows cannot be processed then the operation fails and +// prediction does not happen. Regardless of overall success or failure the +// per-row failures, up to a certain count cap, will be listed in +// Operation.metadata.partial_failures. type BatchPredictInputConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1134,34 +1147,34 @@ func (x *DocumentInputConfig) GetGcsSource() *GcsSource { return nil } -// * For Translation: -// CSV file `translation.csv`, with each line in format: -// ML_USE,GCS_FILE_PATH -// GCS_FILE_PATH leads to a .TSV file which describes examples that have -// given ML_USE, using the following row format per line: -// TEXT_SNIPPET (in source language) \t TEXT_SNIPPET (in target -// language) -// -// * For Tables: -// Output depends on whether the dataset was imported from Google Cloud -// Storage or BigQuery. -// Google Cloud Storage case: -// [gcs_destination][google.cloud.automl.v1p1beta.OutputConfig.gcs_destination] -// must be set. Exported are CSV file(s) `tables_1.csv`, -// `tables_2.csv`,...,`tables_N.csv` with each having as header line -// the table's column names, and all other lines contain values for -// the header columns. -// BigQuery case: -// [bigquery_destination][google.cloud.automl.v1p1beta.OutputConfig.bigquery_destination] -// pointing to a BigQuery project must be set. In the given project a -// new dataset will be created with name -// `export_data__` -// where will be made -// BigQuery-dataset-name compatible (e.g. most special characters will -// become underscores), and timestamp will be in -// YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In that -// dataset a new table called `primary_table` will be created, and -// filled with precisely the same data as this obtained on import. +// - For Translation: +// CSV file `translation.csv`, with each line in format: +// ML_USE,GCS_FILE_PATH +// GCS_FILE_PATH leads to a .TSV file which describes examples that have +// given ML_USE, using the following row format per line: +// TEXT_SNIPPET (in source language) \t TEXT_SNIPPET (in target +// language) +// +// - For Tables: +// Output depends on whether the dataset was imported from Google Cloud +// Storage or BigQuery. +// Google Cloud Storage case: +// [gcs_destination][google.cloud.automl.v1p1beta.OutputConfig.gcs_destination] +// must be set. Exported are CSV file(s) `tables_1.csv`, +// `tables_2.csv`,...,`tables_N.csv` with each having as header line +// the table's column names, and all other lines contain values for +// the header columns. +// BigQuery case: +// [bigquery_destination][google.cloud.automl.v1p1beta.OutputConfig.bigquery_destination] +// pointing to a BigQuery project must be set. In the given project a +// new dataset will be created with name +// `export_data__` +// where will be made +// BigQuery-dataset-name compatible (e.g. most special characters will +// become underscores), and timestamp will be in +// YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In that +// dataset a new table called `primary_table` will be created, and +// filled with precisely the same data as this obtained on import. type OutputConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1247,244 +1260,246 @@ func (*OutputConfig_GcsDestination) isOutputConfig_Destination() {} // where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. The contents // of it depends on the ML problem the predictions are made for. // -// * For Image Classification: -// In the created directory files `image_classification_1.jsonl`, -// `image_classification_2.jsonl`,...,`image_classification_N.jsonl` -// will be created, where N may be 1, and depends on the -// total number of the successfully predicted images and annotations. -// A single image will be listed only once with all its annotations, -// and its annotations will never be split across files. -// Each .JSONL file will contain, per line, a JSON representation of a -// proto that wraps image's "ID" : "" followed by a list of -// zero or more AnnotationPayload protos (called annotations), which -// have classification detail populated. -// If prediction for any image failed (partially or completely), then an -// additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl` -// files will be created (N depends on total number of failed -// predictions). These files will have a JSON representation of a proto -// that wraps the same "ID" : "" but here followed by -// exactly one -// [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// containing only `code` and `message`fields. -// -// * For Image Object Detection: -// In the created directory files `image_object_detection_1.jsonl`, -// `image_object_detection_2.jsonl`,...,`image_object_detection_N.jsonl` -// will be created, where N may be 1, and depends on the -// total number of the successfully predicted images and annotations. -// Each .JSONL file will contain, per line, a JSON representation of a -// proto that wraps image's "ID" : "" followed by a list of -// zero or more AnnotationPayload protos (called annotations), which -// have image_object_detection detail populated. A single image will -// be listed only once with all its annotations, and its annotations -// will never be split across files. -// If prediction for any image failed (partially or completely), then -// additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl` -// files will be created (N depends on total number of failed -// predictions). These files will have a JSON representation of a proto -// that wraps the same "ID" : "" but here followed by -// exactly one -// [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// containing only `code` and `message`fields. -// * For Video Classification: -// In the created directory a video_classification.csv file, and a .JSON -// file per each video classification requested in the input (i.e. each -// line in given CSV(s)), will be created. -// -// The format of video_classification.csv is: -// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END,JSON_FILE_NAME,STATUS -// where: -// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END = matches 1 to 1 -// the prediction input lines (i.e. video_classification.csv has -// precisely the same number of lines as the prediction input had.) -// JSON_FILE_NAME = Name of .JSON file in the output directory, which -// contains prediction responses for the video time segment. -// STATUS = "OK" if prediction completed successfully, or an error code -// with message otherwise. If STATUS is not "OK" then the .JSON file -// for that line may not exist or be empty. -// -// Each .JSON file, assuming STATUS is "OK", will contain a list of -// AnnotationPayload protos in JSON format, which are the predictions -// for the video time segment the file is assigned to in the -// video_classification.csv. All AnnotationPayload protos will have -// video_classification field set, and will be sorted by -// video_classification.type field (note that the returned types are -// governed by `classifaction_types` parameter in -// [PredictService.BatchPredictRequest.params][]). -// -// * For Video Object Tracking: -// In the created directory a video_object_tracking.csv file will be -// created, and multiple files video_object_trackinng_1.json, -// video_object_trackinng_2.json,..., video_object_trackinng_N.json, -// where N is the number of requests in the input (i.e. the number of -// lines in given CSV(s)). -// -// The format of video_object_tracking.csv is: -// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END,JSON_FILE_NAME,STATUS -// where: -// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END = matches 1 to 1 -// the prediction input lines (i.e. video_object_tracking.csv has -// precisely the same number of lines as the prediction input had.) -// JSON_FILE_NAME = Name of .JSON file in the output directory, which -// contains prediction responses for the video time segment. -// STATUS = "OK" if prediction completed successfully, or an error -// code with message otherwise. If STATUS is not "OK" then the .JSON -// file for that line may not exist or be empty. -// -// Each .JSON file, assuming STATUS is "OK", will contain a list of -// AnnotationPayload protos in JSON format, which are the predictions -// for each frame of the video time segment the file is assigned to in -// video_object_tracking.csv. All AnnotationPayload protos will have -// video_object_tracking field set. -// * For Text Classification: -// In the created directory files `text_classification_1.jsonl`, -// `text_classification_2.jsonl`,...,`text_classification_N.jsonl` -// will be created, where N may be 1, and depends on the -// total number of inputs and annotations found. -// -// Each .JSONL file will contain, per line, a JSON representation of a -// proto that wraps input text file (or document) in -// the text snippet (or document) proto and a list of -// zero or more AnnotationPayload protos (called annotations), which -// have classification detail populated. A single text file (or -// document) will be listed only once with all its annotations, and its -// annotations will never be split across files. -// -// If prediction for any input file (or document) failed (partially or -// completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,..., -// `errors_N.jsonl` files will be created (N depends on total number of -// failed predictions). These files will have a JSON representation of a -// proto that wraps input file followed by exactly one -// [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// containing only `code` and `message`. -// -// * For Text Sentiment: -// In the created directory files `text_sentiment_1.jsonl`, -// `text_sentiment_2.jsonl`,...,`text_sentiment_N.jsonl` -// will be created, where N may be 1, and depends on the -// total number of inputs and annotations found. -// -// Each .JSONL file will contain, per line, a JSON representation of a -// proto that wraps input text file (or document) in -// the text snippet (or document) proto and a list of -// zero or more AnnotationPayload protos (called annotations), which -// have text_sentiment detail populated. A single text file (or -// document) will be listed only once with all its annotations, and its -// annotations will never be split across files. -// -// If prediction for any input file (or document) failed (partially or -// completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,..., -// `errors_N.jsonl` files will be created (N depends on total number of -// failed predictions). These files will have a JSON representation of a -// proto that wraps input file followed by exactly one -// [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// containing only `code` and `message`. -// -// * For Text Extraction: -// In the created directory files `text_extraction_1.jsonl`, -// `text_extraction_2.jsonl`,...,`text_extraction_N.jsonl` -// will be created, where N may be 1, and depends on the -// total number of inputs and annotations found. -// The contents of these .JSONL file(s) depend on whether the input -// used inline text, or documents. -// If input was inline, then each .JSONL file will contain, per line, -// a JSON representation of a proto that wraps given in request text -// snippet's "id" (if specified), followed by input text snippet, -// and a list of zero or more -// AnnotationPayload protos (called annotations), which have -// text_extraction detail populated. A single text snippet will be -// listed only once with all its annotations, and its annotations will -// never be split across files. -// If input used documents, then each .JSONL file will contain, per -// line, a JSON representation of a proto that wraps given in request -// document proto, followed by its OCR-ed representation in the form -// of a text snippet, finally followed by a list of zero or more -// AnnotationPayload protos (called annotations), which have -// text_extraction detail populated and refer, via their indices, to -// the OCR-ed text snippet. A single document (and its text snippet) -// will be listed only once with all its annotations, and its -// annotations will never be split across files. -// If prediction for any text snippet failed (partially or completely), -// then additional `errors_1.jsonl`, `errors_2.jsonl`,..., -// `errors_N.jsonl` files will be created (N depends on total number of -// failed predictions). These files will have a JSON representation of a -// proto that wraps either the "id" : "" (in case of inline) -// or the document proto (in case of document) but here followed by -// exactly one -// [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// containing only `code` and `message`. -// -// * For Tables: -// Output depends on whether -// [gcs_destination][google.cloud.automl.v1p1beta.BatchPredictOutputConfig.gcs_destination] -// or -// [bigquery_destination][google.cloud.automl.v1p1beta.BatchPredictOutputConfig.bigquery_destination] -// is set (either is allowed). -// Google Cloud Storage case: -// In the created directory files `tables_1.csv`, `tables_2.csv`,..., -// `tables_N.csv` will be created, where N may be 1, and depends on -// the total number of the successfully predicted rows. -// For all CLASSIFICATION -// [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]: -// Each .csv file will contain a header, listing all columns' -// [display_name-s][google.cloud.automl.v1p1beta.ColumnSpec.display_name] -// given on input followed by M target column names in the format of -// "<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec] -// [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>__score" where M is the number of distinct target values, -// i.e. number of distinct values in the target column of the table -// used to train the model. Subsequent lines will contain the -// respective values of successfully predicted rows, with the last, -// i.e. the target, columns having the corresponding prediction -// [scores][google.cloud.automl.v1p1beta.TablesAnnotation.score]. -// For REGRESSION and FORECASTING -// [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]: -// Each .csv file will contain a header, listing all columns' -// [display_name-s][google.cloud.automl.v1p1beta.display_name] -// given on input followed by the predicted target column with name -// in the format of -// "predicted_<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec] -// [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>" -// Subsequent lines will contain the respective values of -// successfully predicted rows, with the last, i.e. the target, -// column having the predicted target value. -// If prediction for any rows failed, then an additional -// `errors_1.csv`, `errors_2.csv`,..., `errors_N.csv` will be -// created (N depends on total number of failed rows). These files -// will have analogous format as `tables_*.csv`, but always with a -// single target column having -// [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// represented as a JSON string, and containing only `code` and -// `message`. -// BigQuery case: -// [bigquery_destination][google.cloud.automl.v1p1beta.OutputConfig.bigquery_destination] -// pointing to a BigQuery project must be set. In the given project a -// new dataset will be created with name -// `prediction__` -// where will be made -// BigQuery-dataset-name compatible (e.g. most special characters will -// become underscores), and timestamp will be in -// YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In the dataset -// two tables will be created, `predictions`, and `errors`. -// The `predictions` table's column names will be the input columns' -// [display_name-s][google.cloud.automl.v1p1beta.ColumnSpec.display_name] -// followed by the target column with name in the format of -// "predicted_<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec] -// [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>" -// The input feature columns will contain the respective values of -// successfully predicted rows, with the target column having an -// ARRAY of -// [AnnotationPayloads][google.cloud.automl.v1p1beta.AnnotationPayload], -// represented as STRUCT-s, containing -// [TablesAnnotation][google.cloud.automl.v1p1beta.TablesAnnotation]. -// The `errors` table contains rows for which the prediction has -// failed, it has analogous input columns while the target column name -// is in the format of -// "errors_<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec] -// [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>", -// and as a value has -// [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// represented as a STRUCT, and containing only `code` and `message`. +// - For Image Classification: +// In the created directory files `image_classification_1.jsonl`, +// `image_classification_2.jsonl`,...,`image_classification_N.jsonl` +// will be created, where N may be 1, and depends on the +// total number of the successfully predicted images and annotations. +// A single image will be listed only once with all its annotations, +// and its annotations will never be split across files. +// Each .JSONL file will contain, per line, a JSON representation of a +// proto that wraps image's "ID" : "" followed by a list of +// zero or more AnnotationPayload protos (called annotations), which +// have classification detail populated. +// If prediction for any image failed (partially or completely), then an +// additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl` +// files will be created (N depends on total number of failed +// predictions). These files will have a JSON representation of a proto +// that wraps the same "ID" : "" but here followed by +// exactly one +// [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) +// containing only `code` and `message`fields. +// +// - For Image Object Detection: +// In the created directory files `image_object_detection_1.jsonl`, +// `image_object_detection_2.jsonl`,...,`image_object_detection_N.jsonl` +// will be created, where N may be 1, and depends on the +// total number of the successfully predicted images and annotations. +// Each .JSONL file will contain, per line, a JSON representation of a +// proto that wraps image's "ID" : "" followed by a list of +// zero or more AnnotationPayload protos (called annotations), which +// have image_object_detection detail populated. A single image will +// be listed only once with all its annotations, and its annotations +// will never be split across files. +// If prediction for any image failed (partially or completely), then +// additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl` +// files will be created (N depends on total number of failed +// predictions). These files will have a JSON representation of a proto +// that wraps the same "ID" : "" but here followed by +// exactly one +// [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) +// containing only `code` and `message`fields. +// +// - For Video Classification: +// In the created directory a video_classification.csv file, and a .JSON +// file per each video classification requested in the input (i.e. each +// line in given CSV(s)), will be created. +// +// The format of video_classification.csv is: +// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END,JSON_FILE_NAME,STATUS +// where: +// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END = matches 1 to 1 +// the prediction input lines (i.e. video_classification.csv has +// precisely the same number of lines as the prediction input had.) +// JSON_FILE_NAME = Name of .JSON file in the output directory, which +// contains prediction responses for the video time segment. +// STATUS = "OK" if prediction completed successfully, or an error code +// with message otherwise. If STATUS is not "OK" then the .JSON file +// for that line may not exist or be empty. +// +// Each .JSON file, assuming STATUS is "OK", will contain a list of +// AnnotationPayload protos in JSON format, which are the predictions +// for the video time segment the file is assigned to in the +// video_classification.csv. All AnnotationPayload protos will have +// video_classification field set, and will be sorted by +// video_classification.type field (note that the returned types are +// governed by `classifaction_types` parameter in +// [PredictService.BatchPredictRequest.params][]). +// +// - For Video Object Tracking: +// In the created directory a video_object_tracking.csv file will be +// created, and multiple files video_object_trackinng_1.json, +// video_object_trackinng_2.json,..., video_object_trackinng_N.json, +// where N is the number of requests in the input (i.e. the number of +// lines in given CSV(s)). +// +// The format of video_object_tracking.csv is: +// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END,JSON_FILE_NAME,STATUS +// where: +// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END = matches 1 to 1 +// the prediction input lines (i.e. video_object_tracking.csv has +// precisely the same number of lines as the prediction input had.) +// JSON_FILE_NAME = Name of .JSON file in the output directory, which +// contains prediction responses for the video time segment. +// STATUS = "OK" if prediction completed successfully, or an error +// code with message otherwise. If STATUS is not "OK" then the .JSON +// file for that line may not exist or be empty. +// +// Each .JSON file, assuming STATUS is "OK", will contain a list of +// AnnotationPayload protos in JSON format, which are the predictions +// for each frame of the video time segment the file is assigned to in +// video_object_tracking.csv. All AnnotationPayload protos will have +// video_object_tracking field set. +// +// - For Text Classification: +// In the created directory files `text_classification_1.jsonl`, +// `text_classification_2.jsonl`,...,`text_classification_N.jsonl` +// will be created, where N may be 1, and depends on the +// total number of inputs and annotations found. +// +// Each .JSONL file will contain, per line, a JSON representation of a +// proto that wraps input text file (or document) in +// the text snippet (or document) proto and a list of +// zero or more AnnotationPayload protos (called annotations), which +// have classification detail populated. A single text file (or +// document) will be listed only once with all its annotations, and its +// annotations will never be split across files. +// +// If prediction for any input file (or document) failed (partially or +// completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,..., +// `errors_N.jsonl` files will be created (N depends on total number of +// failed predictions). These files will have a JSON representation of a +// proto that wraps input file followed by exactly one +// [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) +// containing only `code` and `message`. +// +// - For Text Sentiment: +// In the created directory files `text_sentiment_1.jsonl`, +// `text_sentiment_2.jsonl`,...,`text_sentiment_N.jsonl` +// will be created, where N may be 1, and depends on the +// total number of inputs and annotations found. +// +// Each .JSONL file will contain, per line, a JSON representation of a +// proto that wraps input text file (or document) in +// the text snippet (or document) proto and a list of +// zero or more AnnotationPayload protos (called annotations), which +// have text_sentiment detail populated. A single text file (or +// document) will be listed only once with all its annotations, and its +// annotations will never be split across files. +// +// If prediction for any input file (or document) failed (partially or +// completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,..., +// `errors_N.jsonl` files will be created (N depends on total number of +// failed predictions). These files will have a JSON representation of a +// proto that wraps input file followed by exactly one +// [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) +// containing only `code` and `message`. +// +// - For Text Extraction: +// In the created directory files `text_extraction_1.jsonl`, +// `text_extraction_2.jsonl`,...,`text_extraction_N.jsonl` +// will be created, where N may be 1, and depends on the +// total number of inputs and annotations found. +// The contents of these .JSONL file(s) depend on whether the input +// used inline text, or documents. +// If input was inline, then each .JSONL file will contain, per line, +// a JSON representation of a proto that wraps given in request text +// snippet's "id" (if specified), followed by input text snippet, +// and a list of zero or more +// AnnotationPayload protos (called annotations), which have +// text_extraction detail populated. A single text snippet will be +// listed only once with all its annotations, and its annotations will +// never be split across files. +// If input used documents, then each .JSONL file will contain, per +// line, a JSON representation of a proto that wraps given in request +// document proto, followed by its OCR-ed representation in the form +// of a text snippet, finally followed by a list of zero or more +// AnnotationPayload protos (called annotations), which have +// text_extraction detail populated and refer, via their indices, to +// the OCR-ed text snippet. A single document (and its text snippet) +// will be listed only once with all its annotations, and its +// annotations will never be split across files. +// If prediction for any text snippet failed (partially or completely), +// then additional `errors_1.jsonl`, `errors_2.jsonl`,..., +// `errors_N.jsonl` files will be created (N depends on total number of +// failed predictions). These files will have a JSON representation of a +// proto that wraps either the "id" : "" (in case of inline) +// or the document proto (in case of document) but here followed by +// exactly one +// [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) +// containing only `code` and `message`. +// +// - For Tables: +// Output depends on whether +// [gcs_destination][google.cloud.automl.v1p1beta.BatchPredictOutputConfig.gcs_destination] +// or +// [bigquery_destination][google.cloud.automl.v1p1beta.BatchPredictOutputConfig.bigquery_destination] +// is set (either is allowed). +// Google Cloud Storage case: +// In the created directory files `tables_1.csv`, `tables_2.csv`,..., +// `tables_N.csv` will be created, where N may be 1, and depends on +// the total number of the successfully predicted rows. +// For all CLASSIFICATION +// [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]: +// Each .csv file will contain a header, listing all columns' +// [display_name-s][google.cloud.automl.v1p1beta.ColumnSpec.display_name] +// given on input followed by M target column names in the format of +// "<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec] +// [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>__score" where M is the number of distinct target values, +// i.e. number of distinct values in the target column of the table +// used to train the model. Subsequent lines will contain the +// respective values of successfully predicted rows, with the last, +// i.e. the target, columns having the corresponding prediction +// [scores][google.cloud.automl.v1p1beta.TablesAnnotation.score]. +// For REGRESSION and FORECASTING +// [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]: +// Each .csv file will contain a header, listing all columns' +// [display_name-s][google.cloud.automl.v1p1beta.display_name] +// given on input followed by the predicted target column with name +// in the format of +// "predicted_<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec] +// [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>" +// Subsequent lines will contain the respective values of +// successfully predicted rows, with the last, i.e. the target, +// column having the predicted target value. +// If prediction for any rows failed, then an additional +// `errors_1.csv`, `errors_2.csv`,..., `errors_N.csv` will be +// created (N depends on total number of failed rows). These files +// will have analogous format as `tables_*.csv`, but always with a +// single target column having +// [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) +// represented as a JSON string, and containing only `code` and +// `message`. +// BigQuery case: +// [bigquery_destination][google.cloud.automl.v1p1beta.OutputConfig.bigquery_destination] +// pointing to a BigQuery project must be set. In the given project a +// new dataset will be created with name +// `prediction__` +// where will be made +// BigQuery-dataset-name compatible (e.g. most special characters will +// become underscores), and timestamp will be in +// YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In the dataset +// two tables will be created, `predictions`, and `errors`. +// The `predictions` table's column names will be the input columns' +// [display_name-s][google.cloud.automl.v1p1beta.ColumnSpec.display_name] +// followed by the target column with name in the format of +// "predicted_<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec] +// [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>" +// The input feature columns will contain the respective values of +// successfully predicted rows, with the target column having an +// ARRAY of +// [AnnotationPayloads][google.cloud.automl.v1p1beta.AnnotationPayload], +// represented as STRUCT-s, containing +// [TablesAnnotation][google.cloud.automl.v1p1beta.TablesAnnotation]. +// The `errors` table contains rows for which the prediction has +// failed, it has analogous input columns while the target column name +// is in the format of +// "errors_<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec] +// [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>", +// and as a value has +// [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) +// represented as a STRUCT, and containing only `code` and `message`. type BatchPredictOutputConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/automl/apiv1/automlpb/model.pb.go b/automl/apiv1/automlpb/model.pb.go index 7e9aa69285ee..0e395dfaed90 100755 --- a/automl/apiv1/automlpb/model.pb.go +++ b/automl/apiv1/automlpb/model.pb.go @@ -21,12 +21,13 @@ package automlpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/model_evaluation.pb.go b/automl/apiv1/automlpb/model_evaluation.pb.go index 55e070770595..b7ecfa6cd426 100755 --- a/automl/apiv1/automlpb/model_evaluation.pb.go +++ b/automl/apiv1/automlpb/model_evaluation.pb.go @@ -21,12 +21,13 @@ package automlpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/operations.pb.go b/automl/apiv1/automlpb/operations.pb.go index 296818351aa9..3e1f1e92c689 100755 --- a/automl/apiv1/automlpb/operations.pb.go +++ b/automl/apiv1/automlpb/operations.pb.go @@ -21,12 +21,13 @@ package automlpb import ( + reflect "reflect" + sync "sync" + status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/prediction_service.pb.go b/automl/apiv1/automlpb/prediction_service.pb.go index 5dde187761dd..64cca72e0d7a 100755 --- a/automl/apiv1/automlpb/prediction_service.pb.go +++ b/automl/apiv1/automlpb/prediction_service.pb.go @@ -21,16 +21,17 @@ package automlpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/service.pb.go b/automl/apiv1/automlpb/service.pb.go index 5cbacc215e4a..cd294bfc063e 100755 --- a/automl/apiv1/automlpb/service.pb.go +++ b/automl/apiv1/automlpb/service.pb.go @@ -21,8 +21,11 @@ package automlpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/automl/apiv1/automlpb/text.pb.go b/automl/apiv1/automlpb/text.pb.go index d3b2e678234b..4f5298c63f0f 100755 --- a/automl/apiv1/automlpb/text.pb.go +++ b/automl/apiv1/automlpb/text.pb.go @@ -21,10 +21,11 @@ package automlpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/automl/apiv1/automlpb/text_extraction.pb.go b/automl/apiv1/automlpb/text_extraction.pb.go index a85664a425bc..357df8d5614f 100755 --- a/automl/apiv1/automlpb/text_extraction.pb.go +++ b/automl/apiv1/automlpb/text_extraction.pb.go @@ -21,10 +21,11 @@ package automlpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/automl/apiv1/automlpb/text_segment.pb.go b/automl/apiv1/automlpb/text_segment.pb.go index f59ee2dd29ec..c1701a137321 100755 --- a/automl/apiv1/automlpb/text_segment.pb.go +++ b/automl/apiv1/automlpb/text_segment.pb.go @@ -21,10 +21,11 @@ package automlpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/automl/apiv1/automlpb/text_sentiment.pb.go b/automl/apiv1/automlpb/text_sentiment.pb.go index 8dc29ac1d87c..45de16a24517 100755 --- a/automl/apiv1/automlpb/text_sentiment.pb.go +++ b/automl/apiv1/automlpb/text_sentiment.pb.go @@ -21,10 +21,11 @@ package automlpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/automl/apiv1/automlpb/translation.pb.go b/automl/apiv1/automlpb/translation.pb.go index 06269efc5a7c..0ac6699704bd 100755 --- a/automl/apiv1/automlpb/translation.pb.go +++ b/automl/apiv1/automlpb/translation.pb.go @@ -21,11 +21,12 @@ package automlpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/automl/apiv1/doc.go b/automl/apiv1/doc.go index f28e2fa3fb06..53e2313ae673 100755 --- a/automl/apiv1/doc.go +++ b/automl/apiv1/doc.go @@ -20,70 +20,71 @@ // Train high-quality custom machine learning models with minimum effort and // machine learning expertise. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := automl.NewPredictionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := automl.NewPredictionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := automl.NewPredictionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &automlpb.BatchPredictRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/automl/apiv1/automlpb#BatchPredictRequest. -// } -// op, err := c.BatchPredict(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := automl.NewPredictionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &automlpb.BatchPredictRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/automl/apiv1/automlpb#BatchPredictRequest. +// } +// op, err := c.BatchPredict(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewPredictionClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/automl/apiv1/prediction_client.go b/automl/apiv1/prediction_client.go index 1604234183c1..de91ca4bdee6 100755 --- a/automl/apiv1/prediction_client.go +++ b/automl/apiv1/prediction_client.go @@ -141,36 +141,36 @@ func (c *PredictionClient) Connection() *grpc.ClientConn { // // AutoML Vision Classification // -// An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB. +// An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB. // // AutoML Vision Object Detection // -// An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB. +// An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB. // // AutoML Natural Language Classification // -// A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in -// .PDF, .TIF or .TIFF format with size upto 2MB. +// A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in +// .PDF, .TIF or .TIFF format with size upto 2MB. // // AutoML Natural Language Entity Extraction // -// A TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document -// in .PDF, .TIF or .TIFF format with size upto 20MB. +// A TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document +// in .PDF, .TIF or .TIFF format with size upto 20MB. // // AutoML Natural Language Sentiment Analysis // -// A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in -// .PDF, .TIF or .TIFF format with size upto 2MB. +// A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in +// .PDF, .TIF or .TIFF format with size upto 2MB. // // AutoML Translation // -// A TextSnippet up to 25,000 characters, UTF-8 encoded. +// A TextSnippet up to 25,000 characters, UTF-8 encoded. // // AutoML Tables // -// A row with column values matching -// the columns of the model, up to 5MB. Not available for FORECASTING -// prediction_type. +// A row with column values matching +// the columns of the model, up to 5MB. Not available for FORECASTING +// prediction_type. func (c *PredictionClient) Predict(ctx context.Context, req *automlpb.PredictRequest, opts ...gax.CallOption) (*automlpb.PredictResponse, error) { return c.internalClient.Predict(ctx, req, opts...) } @@ -183,19 +183,19 @@ func (c *PredictionClient) Predict(ctx context.Context, req *automlpb.PredictReq // the response field. // Available for following ML scenarios: // -// AutoML Vision Classification +// AutoML Vision Classification // -// AutoML Vision Object Detection +// AutoML Vision Object Detection // -// AutoML Video Intelligence Classification +// AutoML Video Intelligence Classification // -// AutoML Video Intelligence Object Tracking * AutoML Natural Language Classification +// AutoML Video Intelligence Object Tracking * AutoML Natural Language Classification // -// AutoML Natural Language Entity Extraction +// AutoML Natural Language Entity Extraction // -// AutoML Natural Language Sentiment Analysis +// AutoML Natural Language Sentiment Analysis // -// AutoML Tables +// AutoML Tables func (c *PredictionClient) BatchPredict(ctx context.Context, req *automlpb.BatchPredictRequest, opts ...gax.CallOption) (*BatchPredictOperation, error) { return c.internalClient.BatchPredict(ctx, req, opts...) } @@ -427,36 +427,36 @@ func (c *predictionGRPCClient) BatchPredict(ctx context.Context, req *automlpb.B // // AutoML Vision Classification // -// An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB. +// An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB. // // AutoML Vision Object Detection // -// An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB. +// An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB. // // AutoML Natural Language Classification // -// A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in -// .PDF, .TIF or .TIFF format with size upto 2MB. +// A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in +// .PDF, .TIF or .TIFF format with size upto 2MB. // // AutoML Natural Language Entity Extraction // -// A TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document -// in .PDF, .TIF or .TIFF format with size upto 20MB. +// A TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document +// in .PDF, .TIF or .TIFF format with size upto 20MB. // // AutoML Natural Language Sentiment Analysis // -// A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in -// .PDF, .TIF or .TIFF format with size upto 2MB. +// A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in +// .PDF, .TIF or .TIFF format with size upto 2MB. // // AutoML Translation // -// A TextSnippet up to 25,000 characters, UTF-8 encoded. +// A TextSnippet up to 25,000 characters, UTF-8 encoded. // // AutoML Tables // -// A row with column values matching -// the columns of the model, up to 5MB. Not available for FORECASTING -// prediction_type. +// A row with column values matching +// the columns of the model, up to 5MB. Not available for FORECASTING +// prediction_type. func (c *predictionRESTClient) Predict(ctx context.Context, req *automlpb.PredictRequest, opts ...gax.CallOption) (*automlpb.PredictResponse, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -530,19 +530,19 @@ func (c *predictionRESTClient) Predict(ctx context.Context, req *automlpb.Predic // the response field. // Available for following ML scenarios: // -// AutoML Vision Classification +// AutoML Vision Classification // -// AutoML Vision Object Detection +// AutoML Vision Object Detection // -// AutoML Video Intelligence Classification +// AutoML Video Intelligence Classification // -// AutoML Video Intelligence Object Tracking * AutoML Natural Language Classification +// AutoML Video Intelligence Object Tracking * AutoML Natural Language Classification // -// AutoML Natural Language Entity Extraction +// AutoML Natural Language Entity Extraction // -// AutoML Natural Language Sentiment Analysis +// AutoML Natural Language Sentiment Analysis // -// AutoML Tables +// AutoML Tables func (c *predictionRESTClient) BatchPredict(ctx context.Context, req *automlpb.BatchPredictRequest, opts ...gax.CallOption) (*BatchPredictOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/automl/apiv1beta1/auto_ml_client.go b/automl/apiv1beta1/auto_ml_client.go index fd8be89a40de..592b725474e5 100755 --- a/automl/apiv1beta1/auto_ml_client.go +++ b/automl/apiv1beta1/auto_ml_client.go @@ -600,11 +600,11 @@ func (c *Client) DeleteDatasetOperation(name string) *DeleteDatasetOperation { // // For Tables: // -// A -// schema_inference_version -// parameter must be explicitly set. -// Returns an empty response in the -// response field when it completes. +// A +// schema_inference_version +// parameter must be explicitly set. +// Returns an empty response in the +// response field when it completes. func (c *Client) ImportData(ctx context.Context, req *automlpb.ImportDataRequest, opts ...gax.CallOption) (*ImportDataOperation, error) { return c.internalClient.ImportData(ctx, req, opts...) } @@ -1947,11 +1947,11 @@ func (c *restClient) DeleteDataset(ctx context.Context, req *automlpb.DeleteData // // For Tables: // -// A -// schema_inference_version -// parameter must be explicitly set. -// Returns an empty response in the -// response field when it completes. +// A +// schema_inference_version +// parameter must be explicitly set. +// Returns an empty response in the +// response field when it completes. func (c *restClient) ImportData(ctx context.Context, req *automlpb.ImportDataRequest, opts ...gax.CallOption) (*ImportDataOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/automl/apiv1beta1/automlpb/annotation_payload.pb.go b/automl/apiv1beta1/automlpb/annotation_payload.pb.go index 60b735223d15..dfe4704d0cab 100755 --- a/automl/apiv1beta1/automlpb/annotation_payload.pb.go +++ b/automl/apiv1beta1/automlpb/annotation_payload.pb.go @@ -21,10 +21,11 @@ package automlpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/automl/apiv1beta1/automlpb/annotation_spec.pb.go b/automl/apiv1beta1/automlpb/annotation_spec.pb.go index 5ef9d1499d9d..45ca93d78c4f 100755 --- a/automl/apiv1beta1/automlpb/annotation_spec.pb.go +++ b/automl/apiv1beta1/automlpb/annotation_spec.pb.go @@ -21,11 +21,12 @@ package automlpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/classification.pb.go b/automl/apiv1beta1/automlpb/classification.pb.go index 45e09e5e406e..92247231bc48 100755 --- a/automl/apiv1beta1/automlpb/classification.pb.go +++ b/automl/apiv1beta1/automlpb/classification.pb.go @@ -21,10 +21,11 @@ package automlpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/automl/apiv1beta1/automlpb/column_spec.pb.go b/automl/apiv1beta1/automlpb/column_spec.pb.go index 3c92fc4c4f60..f494bc2324a7 100755 --- a/automl/apiv1beta1/automlpb/column_spec.pb.go +++ b/automl/apiv1beta1/automlpb/column_spec.pb.go @@ -21,11 +21,12 @@ package automlpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( @@ -38,7 +39,7 @@ const ( // A representation of a column in a relational table. When listing them, column specs are returned in the same order in which they were // given on import . // Used by: -// * Tables +// - Tables type ColumnSpec struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/automl/apiv1beta1/automlpb/data_items.pb.go b/automl/apiv1beta1/automlpb/data_items.pb.go index 04416880462c..f76827151418 100755 --- a/automl/apiv1beta1/automlpb/data_items.pb.go +++ b/automl/apiv1beta1/automlpb/data_items.pb.go @@ -21,11 +21,12 @@ package automlpb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/data_stats.pb.go b/automl/apiv1beta1/automlpb/data_stats.pb.go index d0f6901c20d7..38d319196e6d 100755 --- a/automl/apiv1beta1/automlpb/data_stats.pb.go +++ b/automl/apiv1beta1/automlpb/data_stats.pb.go @@ -21,10 +21,11 @@ package automlpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/automl/apiv1beta1/automlpb/data_types.pb.go b/automl/apiv1beta1/automlpb/data_types.pb.go index 92fbd8a8c0b6..7fd553df083d 100755 --- a/automl/apiv1beta1/automlpb/data_types.pb.go +++ b/automl/apiv1beta1/automlpb/data_types.pb.go @@ -21,10 +21,11 @@ package automlpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/automl/apiv1beta1/automlpb/dataset.pb.go b/automl/apiv1beta1/automlpb/dataset.pb.go index f9301e65c8e6..fb6a27b55dc2 100755 --- a/automl/apiv1beta1/automlpb/dataset.pb.go +++ b/automl/apiv1beta1/automlpb/dataset.pb.go @@ -21,12 +21,13 @@ package automlpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/detection.pb.go b/automl/apiv1beta1/automlpb/detection.pb.go index adb642dca599..4552ede5a516 100755 --- a/automl/apiv1beta1/automlpb/detection.pb.go +++ b/automl/apiv1beta1/automlpb/detection.pb.go @@ -21,11 +21,12 @@ package automlpb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/geometry.pb.go b/automl/apiv1beta1/automlpb/geometry.pb.go index 768e62529b37..59eb95d825d4 100755 --- a/automl/apiv1beta1/automlpb/geometry.pb.go +++ b/automl/apiv1beta1/automlpb/geometry.pb.go @@ -21,10 +21,11 @@ package automlpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/automl/apiv1beta1/automlpb/image.pb.go b/automl/apiv1beta1/automlpb/image.pb.go index 546535cbb2b6..6da2b0a818bb 100755 --- a/automl/apiv1beta1/automlpb/image.pb.go +++ b/automl/apiv1beta1/automlpb/image.pb.go @@ -21,10 +21,11 @@ package automlpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/automl/apiv1beta1/automlpb/io.pb.go b/automl/apiv1beta1/automlpb/io.pb.go index 894478b8b755..313ea7a64bfa 100755 --- a/automl/apiv1beta1/automlpb/io.pb.go +++ b/automl/apiv1beta1/automlpb/io.pb.go @@ -21,10 +21,11 @@ package automlpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( @@ -50,348 +51,351 @@ const ( // The formats are represented in EBNF with commas being literal and with // non-terminal symbols defined near the end of this comment. The formats are: // -// * For Image Classification: -// CSV file(s) with each line in format: -// ML_USE,GCS_FILE_PATH,LABEL,LABEL,... -// GCS_FILE_PATH leads to image of up to 30MB in size. Supported -// extensions: .JPEG, .GIF, .PNG, .WEBP, .BMP, .TIFF, .ICO -// For MULTICLASS classification type, at most one LABEL is allowed -// per image. If an image has not yet been labeled, then it should be -// mentioned just once with no LABEL. -// Some sample rows: -// TRAIN,gs://folder/image1.jpg,daisy -// TEST,gs://folder/image2.jpg,dandelion,tulip,rose -// UNASSIGNED,gs://folder/image3.jpg,daisy -// UNASSIGNED,gs://folder/image4.jpg -// -// * For Image Object Detection: -// CSV file(s) with each line in format: -// ML_USE,GCS_FILE_PATH,(LABEL,BOUNDING_BOX | ,,,,,,,) -// GCS_FILE_PATH leads to image of up to 30MB in size. Supported -// extensions: .JPEG, .GIF, .PNG. -// Each image is assumed to be exhaustively labeled. The minimum -// allowed BOUNDING_BOX edge length is 0.01, and no more than 500 -// BOUNDING_BOX-es per image are allowed (one BOUNDING_BOX is defined -// per line). If an image has not yet been labeled, then it should be -// mentioned just once with no LABEL and the ",,,,,,," in place of the -// BOUNDING_BOX. For images which are known to not contain any -// bounding boxes, they should be labelled explictly as -// "NEGATIVE_IMAGE", followed by ",,,,,,," in place of the -// BOUNDING_BOX. -// Sample rows: -// TRAIN,gs://folder/image1.png,car,0.1,0.1,,,0.3,0.3,, -// TRAIN,gs://folder/image1.png,bike,.7,.6,,,.8,.9,, -// UNASSIGNED,gs://folder/im2.png,car,0.1,0.1,0.2,0.1,0.2,0.3,0.1,0.3 -// TEST,gs://folder/im3.png,,,,,,,,, -// TRAIN,gs://folder/im4.png,NEGATIVE_IMAGE,,,,,,,,, -// -// * For Video Classification: -// CSV file(s) with each line in format: -// ML_USE,GCS_FILE_PATH -// where ML_USE VALIDATE value should not be used. The GCS_FILE_PATH -// should lead to another .csv file which describes examples that have -// given ML_USE, using the following row format: -// GCS_FILE_PATH,(LABEL,TIME_SEGMENT_START,TIME_SEGMENT_END | ,,) -// Here GCS_FILE_PATH leads to a video of up to 50GB in size and up -// to 3h duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. -// TIME_SEGMENT_START and TIME_SEGMENT_END must be within the -// length of the video, and end has to be after the start. Any segment -// of a video which has one or more labels on it, is considered a -// hard negative for all other labels. Any segment with no labels on -// it is considered to be unknown. If a whole video is unknown, then -// it shuold be mentioned just once with ",," in place of LABEL, -// TIME_SEGMENT_START,TIME_SEGMENT_END. -// Sample top level CSV file: -// TRAIN,gs://folder/train_videos.csv -// TEST,gs://folder/test_videos.csv -// UNASSIGNED,gs://folder/other_videos.csv -// Sample rows of a CSV file for a particular ML_USE: -// gs://folder/video1.avi,car,120,180.000021 -// gs://folder/video1.avi,bike,150,180.000021 -// gs://folder/vid2.avi,car,0,60.5 -// gs://folder/vid3.avi,,, -// -// * For Video Object Tracking: -// CSV file(s) with each line in format: -// ML_USE,GCS_FILE_PATH -// where ML_USE VALIDATE value should not be used. The GCS_FILE_PATH -// should lead to another .csv file which describes examples that have -// given ML_USE, using one of the following row format: -// GCS_FILE_PATH,LABEL,[INSTANCE_ID],TIMESTAMP,BOUNDING_BOX -// or -// GCS_FILE_PATH,,,,,,,,,, -// Here GCS_FILE_PATH leads to a video of up to 50GB in size and up -// to 3h duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. -// Providing INSTANCE_IDs can help to obtain a better model. When -// a specific labeled entity leaves the video frame, and shows up -// afterwards it is not required, albeit preferable, that the same -// INSTANCE_ID is given to it. -// TIMESTAMP must be within the length of the video, the -// BOUNDING_BOX is assumed to be drawn on the closest video's frame -// to the TIMESTAMP. Any mentioned by the TIMESTAMP frame is expected -// to be exhaustively labeled and no more than 500 BOUNDING_BOX-es per -// frame are allowed. If a whole video is unknown, then it should be -// mentioned just once with ",,,,,,,,,," in place of LABEL, -// [INSTANCE_ID],TIMESTAMP,BOUNDING_BOX. -// Sample top level CSV file: -// TRAIN,gs://folder/train_videos.csv -// TEST,gs://folder/test_videos.csv -// UNASSIGNED,gs://folder/other_videos.csv -// Seven sample rows of a CSV file for a particular ML_USE: -// gs://folder/video1.avi,car,1,12.10,0.8,0.8,0.9,0.8,0.9,0.9,0.8,0.9 -// gs://folder/video1.avi,car,1,12.90,0.4,0.8,0.5,0.8,0.5,0.9,0.4,0.9 -// gs://folder/video1.avi,car,2,12.10,.4,.2,.5,.2,.5,.3,.4,.3 -// gs://folder/video1.avi,car,2,12.90,.8,.2,,,.9,.3,, -// gs://folder/video1.avi,bike,,12.50,.45,.45,,,.55,.55,, -// gs://folder/video2.avi,car,1,0,.1,.9,,,.9,.1,, -// gs://folder/video2.avi,,,,,,,,,,, -// * For Text Extraction: -// CSV file(s) with each line in format: -// ML_USE,GCS_FILE_PATH -// GCS_FILE_PATH leads to a .JSONL (that is, JSON Lines) file which -// either imports text in-line or as documents. Any given -// .JSONL file must be 100MB or smaller. -// The in-line .JSONL file contains, per line, a proto that wraps a -// TextSnippet proto (in json representation) followed by one or more -// AnnotationPayload protos (called annotations), which have -// display_name and text_extraction detail populated. The given text -// is expected to be annotated exhaustively, for example, if you look -// for animals and text contains "dolphin" that is not labeled, then -// "dolphin" is assumed to not be an animal. Any given text snippet -// content must be 10KB or smaller, and also be UTF-8 NFC encoded -// (ASCII already is). -// The document .JSONL file contains, per line, a proto that wraps a -// Document proto. The Document proto must have either document_text -// or input_config set. In document_text case, the Document proto may -// also contain the spatial information of the document, including -// layout, document dimension and page number. In input_config case, -// only PDF documents are supported now, and each document may be up -// to 2MB large. Currently, annotations on documents cannot be -// specified at import. -// Three sample CSV rows: -// TRAIN,gs://folder/file1.jsonl -// VALIDATE,gs://folder/file2.jsonl -// TEST,gs://folder/file3.jsonl -// Sample in-line JSON Lines file for entity extraction (presented here -// with artificial line breaks, but the only actual line break is -// denoted by \n).: -// { -// "document": { -// "document_text": {"content": "dog cat"} -// "layout": [ -// { -// "text_segment": { -// "start_offset": 0, -// "end_offset": 3, -// }, -// "page_number": 1, -// "bounding_poly": { -// "normalized_vertices": [ -// {"x": 0.1, "y": 0.1}, -// {"x": 0.1, "y": 0.3}, -// {"x": 0.3, "y": 0.3}, -// {"x": 0.3, "y": 0.1}, -// ], -// }, -// "text_segment_type": TOKEN, -// }, -// { -// "text_segment": { -// "start_offset": 4, -// "end_offset": 7, -// }, -// "page_number": 1, -// "bounding_poly": { -// "normalized_vertices": [ -// {"x": 0.4, "y": 0.1}, -// {"x": 0.4, "y": 0.3}, -// {"x": 0.8, "y": 0.3}, -// {"x": 0.8, "y": 0.1}, -// ], -// }, -// "text_segment_type": TOKEN, -// } -// -// ], -// "document_dimensions": { -// "width": 8.27, -// "height": 11.69, -// "unit": INCH, -// } -// "page_count": 1, -// }, -// "annotations": [ -// { -// "display_name": "animal", -// "text_extraction": {"text_segment": {"start_offset": 0, -// "end_offset": 3}} -// }, -// { -// "display_name": "animal", -// "text_extraction": {"text_segment": {"start_offset": 4, -// "end_offset": 7}} -// } -// ], -// }\n -// { -// "text_snippet": { -// "content": "This dog is good." -// }, -// "annotations": [ -// { -// "display_name": "animal", -// "text_extraction": { -// "text_segment": {"start_offset": 5, "end_offset": 8} -// } -// } -// ] -// } -// Sample document JSON Lines file (presented here with artificial line -// breaks, but the only actual line break is denoted by \n).: -// { -// "document": { -// "input_config": { -// "gcs_source": { "input_uris": [ "gs://folder/document1.pdf" ] -// } -// } -// } -// }\n -// { -// "document": { -// "input_config": { -// "gcs_source": { "input_uris": [ "gs://folder/document2.pdf" ] -// } -// } -// } -// } -// -// * For Text Classification: -// CSV file(s) with each line in format: -// ML_USE,(TEXT_SNIPPET | GCS_FILE_PATH),LABEL,LABEL,... -// TEXT_SNIPPET and GCS_FILE_PATH are distinguished by a pattern. If -// the column content is a valid gcs file path, i.e. prefixed by -// "gs://", it will be treated as a GCS_FILE_PATH, else if the content -// is enclosed within double quotes (""), it is -// treated as a TEXT_SNIPPET. In the GCS_FILE_PATH case, the path -// must lead to a .txt file with UTF-8 encoding, for example, -// "gs://folder/content.txt", and the content in it is extracted -// as a text snippet. In TEXT_SNIPPET case, the column content -// excluding quotes is treated as to be imported text snippet. In -// both cases, the text snippet/file size must be within 128kB. -// Maximum 100 unique labels are allowed per CSV row. -// Sample rows: -// TRAIN,"They have bad food and very rude",RudeService,BadFood -// TRAIN,gs://folder/content.txt,SlowService -// TEST,"Typically always bad service there.",RudeService -// VALIDATE,"Stomach ache to go.",BadFood -// -// * For Text Sentiment: -// CSV file(s) with each line in format: -// ML_USE,(TEXT_SNIPPET | GCS_FILE_PATH),SENTIMENT -// TEXT_SNIPPET and GCS_FILE_PATH are distinguished by a pattern. If -// the column content is a valid gcs file path, that is, prefixed by -// "gs://", it is treated as a GCS_FILE_PATH, otherwise it is treated -// as a TEXT_SNIPPET. In the GCS_FILE_PATH case, the path -// must lead to a .txt file with UTF-8 encoding, for example, -// "gs://folder/content.txt", and the content in it is extracted -// as a text snippet. In TEXT_SNIPPET case, the column content itself -// is treated as to be imported text snippet. In both cases, the -// text snippet must be up to 500 characters long. -// Sample rows: -// TRAIN,"@freewrytin this is way too good for your product",2 -// TRAIN,"I need this product so bad",3 -// TEST,"Thank you for this product.",4 -// VALIDATE,gs://folder/content.txt,2 -// -// * For Tables: -// Either -// [gcs_source][google.cloud.automl.v1beta1.InputConfig.gcs_source] or +// - For Image Classification: +// CSV file(s) with each line in format: +// ML_USE,GCS_FILE_PATH,LABEL,LABEL,... +// GCS_FILE_PATH leads to image of up to 30MB in size. Supported +// extensions: .JPEG, .GIF, .PNG, .WEBP, .BMP, .TIFF, .ICO +// For MULTICLASS classification type, at most one LABEL is allowed +// per image. If an image has not yet been labeled, then it should be +// mentioned just once with no LABEL. +// Some sample rows: +// TRAIN,gs://folder/image1.jpg,daisy +// TEST,gs://folder/image2.jpg,dandelion,tulip,rose +// UNASSIGNED,gs://folder/image3.jpg,daisy +// UNASSIGNED,gs://folder/image4.jpg +// +// - For Image Object Detection: +// CSV file(s) with each line in format: +// ML_USE,GCS_FILE_PATH,(LABEL,BOUNDING_BOX | ,,,,,,,) +// GCS_FILE_PATH leads to image of up to 30MB in size. Supported +// extensions: .JPEG, .GIF, .PNG. +// Each image is assumed to be exhaustively labeled. The minimum +// allowed BOUNDING_BOX edge length is 0.01, and no more than 500 +// BOUNDING_BOX-es per image are allowed (one BOUNDING_BOX is defined +// per line). If an image has not yet been labeled, then it should be +// mentioned just once with no LABEL and the ",,,,,,," in place of the +// BOUNDING_BOX. For images which are known to not contain any +// bounding boxes, they should be labelled explictly as +// "NEGATIVE_IMAGE", followed by ",,,,,,," in place of the +// BOUNDING_BOX. +// Sample rows: +// TRAIN,gs://folder/image1.png,car,0.1,0.1,,,0.3,0.3,, +// TRAIN,gs://folder/image1.png,bike,.7,.6,,,.8,.9,, +// UNASSIGNED,gs://folder/im2.png,car,0.1,0.1,0.2,0.1,0.2,0.3,0.1,0.3 +// TEST,gs://folder/im3.png,,,,,,,,, +// TRAIN,gs://folder/im4.png,NEGATIVE_IMAGE,,,,,,,,, +// +// - For Video Classification: +// CSV file(s) with each line in format: +// ML_USE,GCS_FILE_PATH +// where ML_USE VALIDATE value should not be used. The GCS_FILE_PATH +// should lead to another .csv file which describes examples that have +// given ML_USE, using the following row format: +// GCS_FILE_PATH,(LABEL,TIME_SEGMENT_START,TIME_SEGMENT_END | ,,) +// Here GCS_FILE_PATH leads to a video of up to 50GB in size and up +// to 3h duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. +// TIME_SEGMENT_START and TIME_SEGMENT_END must be within the +// length of the video, and end has to be after the start. Any segment +// of a video which has one or more labels on it, is considered a +// hard negative for all other labels. Any segment with no labels on +// it is considered to be unknown. If a whole video is unknown, then +// it shuold be mentioned just once with ",," in place of LABEL, +// TIME_SEGMENT_START,TIME_SEGMENT_END. +// Sample top level CSV file: +// TRAIN,gs://folder/train_videos.csv +// TEST,gs://folder/test_videos.csv +// UNASSIGNED,gs://folder/other_videos.csv +// Sample rows of a CSV file for a particular ML_USE: +// gs://folder/video1.avi,car,120,180.000021 +// gs://folder/video1.avi,bike,150,180.000021 +// gs://folder/vid2.avi,car,0,60.5 +// gs://folder/vid3.avi,,, +// +// - For Video Object Tracking: +// CSV file(s) with each line in format: +// ML_USE,GCS_FILE_PATH +// where ML_USE VALIDATE value should not be used. The GCS_FILE_PATH +// should lead to another .csv file which describes examples that have +// given ML_USE, using one of the following row format: +// GCS_FILE_PATH,LABEL,[INSTANCE_ID],TIMESTAMP,BOUNDING_BOX +// or +// GCS_FILE_PATH,,,,,,,,,, +// Here GCS_FILE_PATH leads to a video of up to 50GB in size and up +// to 3h duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. +// Providing INSTANCE_IDs can help to obtain a better model. When +// a specific labeled entity leaves the video frame, and shows up +// afterwards it is not required, albeit preferable, that the same +// INSTANCE_ID is given to it. +// TIMESTAMP must be within the length of the video, the +// BOUNDING_BOX is assumed to be drawn on the closest video's frame +// to the TIMESTAMP. Any mentioned by the TIMESTAMP frame is expected +// to be exhaustively labeled and no more than 500 BOUNDING_BOX-es per +// frame are allowed. If a whole video is unknown, then it should be +// mentioned just once with ",,,,,,,,,," in place of LABEL, +// [INSTANCE_ID],TIMESTAMP,BOUNDING_BOX. +// Sample top level CSV file: +// TRAIN,gs://folder/train_videos.csv +// TEST,gs://folder/test_videos.csv +// UNASSIGNED,gs://folder/other_videos.csv +// Seven sample rows of a CSV file for a particular ML_USE: +// gs://folder/video1.avi,car,1,12.10,0.8,0.8,0.9,0.8,0.9,0.9,0.8,0.9 +// gs://folder/video1.avi,car,1,12.90,0.4,0.8,0.5,0.8,0.5,0.9,0.4,0.9 +// gs://folder/video1.avi,car,2,12.10,.4,.2,.5,.2,.5,.3,.4,.3 +// gs://folder/video1.avi,car,2,12.90,.8,.2,,,.9,.3,, +// gs://folder/video1.avi,bike,,12.50,.45,.45,,,.55,.55,, +// gs://folder/video2.avi,car,1,0,.1,.9,,,.9,.1,, +// gs://folder/video2.avi,,,,,,,,,,, +// +// - For Text Extraction: +// CSV file(s) with each line in format: +// ML_USE,GCS_FILE_PATH +// GCS_FILE_PATH leads to a .JSONL (that is, JSON Lines) file which +// either imports text in-line or as documents. Any given +// .JSONL file must be 100MB or smaller. +// The in-line .JSONL file contains, per line, a proto that wraps a +// TextSnippet proto (in json representation) followed by one or more +// AnnotationPayload protos (called annotations), which have +// display_name and text_extraction detail populated. The given text +// is expected to be annotated exhaustively, for example, if you look +// for animals and text contains "dolphin" that is not labeled, then +// "dolphin" is assumed to not be an animal. Any given text snippet +// content must be 10KB or smaller, and also be UTF-8 NFC encoded +// (ASCII already is). +// The document .JSONL file contains, per line, a proto that wraps a +// Document proto. The Document proto must have either document_text +// or input_config set. In document_text case, the Document proto may +// also contain the spatial information of the document, including +// layout, document dimension and page number. In input_config case, +// only PDF documents are supported now, and each document may be up +// to 2MB large. Currently, annotations on documents cannot be +// specified at import. +// Three sample CSV rows: +// TRAIN,gs://folder/file1.jsonl +// VALIDATE,gs://folder/file2.jsonl +// TEST,gs://folder/file3.jsonl +// Sample in-line JSON Lines file for entity extraction (presented here +// with artificial line breaks, but the only actual line break is +// denoted by \n).: +// { +// "document": { +// "document_text": {"content": "dog cat"} +// "layout": [ +// { +// "text_segment": { +// "start_offset": 0, +// "end_offset": 3, +// }, +// "page_number": 1, +// "bounding_poly": { +// "normalized_vertices": [ +// {"x": 0.1, "y": 0.1}, +// {"x": 0.1, "y": 0.3}, +// {"x": 0.3, "y": 0.3}, +// {"x": 0.3, "y": 0.1}, +// ], +// }, +// "text_segment_type": TOKEN, +// }, +// { +// "text_segment": { +// "start_offset": 4, +// "end_offset": 7, +// }, +// "page_number": 1, +// "bounding_poly": { +// "normalized_vertices": [ +// {"x": 0.4, "y": 0.1}, +// {"x": 0.4, "y": 0.3}, +// {"x": 0.8, "y": 0.3}, +// {"x": 0.8, "y": 0.1}, +// ], +// }, +// "text_segment_type": TOKEN, +// } +// +// ], +// "document_dimensions": { +// "width": 8.27, +// "height": 11.69, +// "unit": INCH, +// } +// "page_count": 1, +// }, +// "annotations": [ +// { +// "display_name": "animal", +// "text_extraction": {"text_segment": {"start_offset": 0, +// "end_offset": 3}} +// }, +// { +// "display_name": "animal", +// "text_extraction": {"text_segment": {"start_offset": 4, +// "end_offset": 7}} +// } +// ], +// }\n +// { +// "text_snippet": { +// "content": "This dog is good." +// }, +// "annotations": [ +// { +// "display_name": "animal", +// "text_extraction": { +// "text_segment": {"start_offset": 5, "end_offset": 8} +// } +// } +// ] +// } +// Sample document JSON Lines file (presented here with artificial line +// breaks, but the only actual line break is denoted by \n).: +// { +// "document": { +// "input_config": { +// "gcs_source": { "input_uris": [ "gs://folder/document1.pdf" ] +// } +// } +// } +// }\n +// { +// "document": { +// "input_config": { +// "gcs_source": { "input_uris": [ "gs://folder/document2.pdf" ] +// } +// } +// } +// } +// +// - For Text Classification: +// CSV file(s) with each line in format: +// ML_USE,(TEXT_SNIPPET | GCS_FILE_PATH),LABEL,LABEL,... +// TEXT_SNIPPET and GCS_FILE_PATH are distinguished by a pattern. If +// the column content is a valid gcs file path, i.e. prefixed by +// "gs://", it will be treated as a GCS_FILE_PATH, else if the content +// is enclosed within double quotes (""), it is +// treated as a TEXT_SNIPPET. In the GCS_FILE_PATH case, the path +// must lead to a .txt file with UTF-8 encoding, for example, +// "gs://folder/content.txt", and the content in it is extracted +// as a text snippet. In TEXT_SNIPPET case, the column content +// excluding quotes is treated as to be imported text snippet. In +// both cases, the text snippet/file size must be within 128kB. +// Maximum 100 unique labels are allowed per CSV row. +// Sample rows: +// TRAIN,"They have bad food and very rude",RudeService,BadFood +// TRAIN,gs://folder/content.txt,SlowService +// TEST,"Typically always bad service there.",RudeService +// VALIDATE,"Stomach ache to go.",BadFood +// +// - For Text Sentiment: +// CSV file(s) with each line in format: +// ML_USE,(TEXT_SNIPPET | GCS_FILE_PATH),SENTIMENT +// TEXT_SNIPPET and GCS_FILE_PATH are distinguished by a pattern. If +// the column content is a valid gcs file path, that is, prefixed by +// "gs://", it is treated as a GCS_FILE_PATH, otherwise it is treated +// as a TEXT_SNIPPET. In the GCS_FILE_PATH case, the path +// must lead to a .txt file with UTF-8 encoding, for example, +// "gs://folder/content.txt", and the content in it is extracted +// as a text snippet. In TEXT_SNIPPET case, the column content itself +// is treated as to be imported text snippet. In both cases, the +// text snippet must be up to 500 characters long. +// Sample rows: +// TRAIN,"@freewrytin this is way too good for your product",2 +// TRAIN,"I need this product so bad",3 +// TEST,"Thank you for this product.",4 +// VALIDATE,gs://folder/content.txt,2 +// +// - For Tables: +// Either +// [gcs_source][google.cloud.automl.v1beta1.InputConfig.gcs_source] or // // [bigquery_source][google.cloud.automl.v1beta1.InputConfig.bigquery_source] -// can be used. All inputs is concatenated into a single +// +// can be used. All inputs is concatenated into a single // // [primary_table][google.cloud.automl.v1beta1.TablesDatasetMetadata.primary_table_name] -// For gcs_source: -// CSV file(s), where the first row of the first file is the header, -// containing unique column names. If the first row of a subsequent -// file is the same as the header, then it is also treated as a -// header. All other rows contain values for the corresponding -// columns. -// Each .CSV file by itself must be 10GB or smaller, and their total -// size must be 100GB or smaller. -// First three sample rows of a CSV file: -// "Id","First Name","Last Name","Dob","Addresses" +// +// For gcs_source: +// CSV file(s), where the first row of the first file is the header, +// containing unique column names. If the first row of a subsequent +// file is the same as the header, then it is also treated as a +// header. All other rows contain values for the corresponding +// columns. +// Each .CSV file by itself must be 10GB or smaller, and their total +// size must be 100GB or smaller. +// First three sample rows of a CSV file: +// "Id","First Name","Last Name","Dob","Addresses" // // "1","John","Doe","1968-01-22","[{"status":"current","address":"123_First_Avenue","city":"Seattle","state":"WA","zip":"11111","numberOfYears":"1"},{"status":"previous","address":"456_Main_Street","city":"Portland","state":"OR","zip":"22222","numberOfYears":"5"}]" // // "2","Jane","Doe","1980-10-16","[{"status":"current","address":"789_Any_Avenue","city":"Albany","state":"NY","zip":"33333","numberOfYears":"2"},{"status":"previous","address":"321_Main_Street","city":"Hoboken","state":"NJ","zip":"44444","numberOfYears":"3"}]} -// For bigquery_source: -// An URI of a BigQuery table. The user data size of the BigQuery -// table must be 100GB or smaller. -// An imported table must have between 2 and 1,000 columns, inclusive, -// and between 1000 and 100,000,000 rows, inclusive. There are at most 5 -// import data running in parallel. -// Definitions: -// ML_USE = "TRAIN" | "VALIDATE" | "TEST" | "UNASSIGNED" -// Describes how the given example (file) should be used for model -// training. "UNASSIGNED" can be used when user has no preference. -// GCS_FILE_PATH = A path to file on GCS, e.g. "gs://folder/image1.png". -// LABEL = A display name of an object on an image, video etc., e.g. "dog". -// Must be up to 32 characters long and can consist only of ASCII -// Latin letters A-Z and a-z, underscores(_), and ASCII digits 0-9. -// For each label an AnnotationSpec is created which display_name -// becomes the label; AnnotationSpecs are given back in predictions. -// INSTANCE_ID = A positive integer that identifies a specific instance of a -// labeled entity on an example. Used e.g. to track two cars on -// a video while being able to tell apart which one is which. -// BOUNDING_BOX = VERTEX,VERTEX,VERTEX,VERTEX | VERTEX,,,VERTEX,, -// A rectangle parallel to the frame of the example (image, -// video). If 4 vertices are given they are connected by edges -// in the order provided, if 2 are given they are recognized -// as diagonally opposite vertices of the rectangle. -// VERTEX = COORDINATE,COORDINATE -// First coordinate is horizontal (x), the second is vertical (y). -// COORDINATE = A float in 0 to 1 range, relative to total length of -// image or video in given dimension. For fractions the -// leading non-decimal 0 can be omitted (i.e. 0.3 = .3). -// Point 0,0 is in top left. -// TIME_SEGMENT_START = TIME_OFFSET -// Expresses a beginning, inclusive, of a time segment -// within an example that has a time dimension -// (e.g. video). -// TIME_SEGMENT_END = TIME_OFFSET -// Expresses an end, exclusive, of a time segment within -// an example that has a time dimension (e.g. video). -// TIME_OFFSET = A number of seconds as measured from the start of an -// example (e.g. video). Fractions are allowed, up to a -// microsecond precision. "inf" is allowed, and it means the end -// of the example. -// TEXT_SNIPPET = A content of a text snippet, UTF-8 encoded, enclosed within -// double quotes (""). -// SENTIMENT = An integer between 0 and -// Dataset.text_sentiment_dataset_metadata.sentiment_max -// (inclusive). Describes the ordinal of the sentiment - higher -// value means a more positive sentiment. All the values are -// completely relative, i.e. neither 0 needs to mean a negative or -// neutral sentiment nor sentiment_max needs to mean a positive one -// - it is just required that 0 is the least positive sentiment -// in the data, and sentiment_max is the most positive one. -// The SENTIMENT shouldn't be confused with "score" or "magnitude" -// from the previous Natural Language Sentiment Analysis API. -// All SENTIMENT values between 0 and sentiment_max must be -// represented in the imported data. On prediction the same 0 to -// sentiment_max range will be used. The difference between -// neighboring sentiment values needs not to be uniform, e.g. 1 and -// 2 may be similar whereas the difference between 2 and 3 may be -// huge. -// -// Errors: -// If any of the provided CSV files can't be parsed or if more than certain -// percent of CSV rows cannot be processed then the operation fails and -// nothing is imported. Regardless of overall success or failure the per-row -// failures, up to a certain count cap, is listed in -// Operation.metadata.partial_failures. // +// For bigquery_source: +// An URI of a BigQuery table. The user data size of the BigQuery +// table must be 100GB or smaller. +// An imported table must have between 2 and 1,000 columns, inclusive, +// and between 1000 and 100,000,000 rows, inclusive. There are at most 5 +// import data running in parallel. +// Definitions: +// ML_USE = "TRAIN" | "VALIDATE" | "TEST" | "UNASSIGNED" +// Describes how the given example (file) should be used for model +// training. "UNASSIGNED" can be used when user has no preference. +// GCS_FILE_PATH = A path to file on GCS, e.g. "gs://folder/image1.png". +// LABEL = A display name of an object on an image, video etc., e.g. "dog". +// Must be up to 32 characters long and can consist only of ASCII +// Latin letters A-Z and a-z, underscores(_), and ASCII digits 0-9. +// For each label an AnnotationSpec is created which display_name +// becomes the label; AnnotationSpecs are given back in predictions. +// INSTANCE_ID = A positive integer that identifies a specific instance of a +// labeled entity on an example. Used e.g. to track two cars on +// a video while being able to tell apart which one is which. +// BOUNDING_BOX = VERTEX,VERTEX,VERTEX,VERTEX | VERTEX,,,VERTEX,, +// A rectangle parallel to the frame of the example (image, +// video). If 4 vertices are given they are connected by edges +// in the order provided, if 2 are given they are recognized +// as diagonally opposite vertices of the rectangle. +// VERTEX = COORDINATE,COORDINATE +// First coordinate is horizontal (x), the second is vertical (y). +// COORDINATE = A float in 0 to 1 range, relative to total length of +// image or video in given dimension. For fractions the +// leading non-decimal 0 can be omitted (i.e. 0.3 = .3). +// Point 0,0 is in top left. +// TIME_SEGMENT_START = TIME_OFFSET +// Expresses a beginning, inclusive, of a time segment +// within an example that has a time dimension +// (e.g. video). +// TIME_SEGMENT_END = TIME_OFFSET +// Expresses an end, exclusive, of a time segment within +// an example that has a time dimension (e.g. video). +// TIME_OFFSET = A number of seconds as measured from the start of an +// example (e.g. video). Fractions are allowed, up to a +// microsecond precision. "inf" is allowed, and it means the end +// of the example. +// TEXT_SNIPPET = A content of a text snippet, UTF-8 encoded, enclosed within +// double quotes (""). +// SENTIMENT = An integer between 0 and +// Dataset.text_sentiment_dataset_metadata.sentiment_max +// (inclusive). Describes the ordinal of the sentiment - higher +// value means a more positive sentiment. All the values are +// completely relative, i.e. neither 0 needs to mean a negative or +// neutral sentiment nor sentiment_max needs to mean a positive one +// - it is just required that 0 is the least positive sentiment +// in the data, and sentiment_max is the most positive one. +// The SENTIMENT shouldn't be confused with "score" or "magnitude" +// from the previous Natural Language Sentiment Analysis API. +// All SENTIMENT values between 0 and sentiment_max must be +// represented in the imported data. On prediction the same 0 to +// sentiment_max range will be used. The difference between +// neighboring sentiment values needs not to be uniform, e.g. 1 and +// 2 may be similar whereas the difference between 2 and 3 may be +// huge. +// +// Errors: +// If any of the provided CSV files can't be parsed or if more than certain +// percent of CSV rows cannot be processed then the operation fails and +// nothing is imported. Regardless of overall success or failure the per-row +// failures, up to a certain count cap, is listed in +// Operation.metadata.partial_failures. type InputConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -506,207 +510,217 @@ func (*InputConfig_BigquerySource) isInputConfig_Source() {} // non-terminal symbols defined near the end of this comment. The formats // are: // -// * For Image Classification: -// CSV file(s) with each line having just a single column: -// GCS_FILE_PATH -// which leads to image of up to 30MB in size. Supported -// extensions: .JPEG, .GIF, .PNG. This path is treated as the ID in -// the Batch predict output. -// Three sample rows: -// gs://folder/image1.jpeg -// gs://folder/image2.gif -// gs://folder/image3.png -// -// * For Image Object Detection: -// CSV file(s) with each line having just a single column: -// GCS_FILE_PATH -// which leads to image of up to 30MB in size. Supported -// extensions: .JPEG, .GIF, .PNG. This path is treated as the ID in -// the Batch predict output. -// Three sample rows: -// gs://folder/image1.jpeg -// gs://folder/image2.gif -// gs://folder/image3.png -// * For Video Classification: -// CSV file(s) with each line in format: -// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END -// GCS_FILE_PATH leads to video of up to 50GB in size and up to 3h -// duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. -// TIME_SEGMENT_START and TIME_SEGMENT_END must be within the -// length of the video, and end has to be after the start. -// Three sample rows: -// gs://folder/video1.mp4,10,40 -// gs://folder/video1.mp4,20,60 -// gs://folder/vid2.mov,0,inf -// -// * For Video Object Tracking: -// CSV file(s) with each line in format: -// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END -// GCS_FILE_PATH leads to video of up to 50GB in size and up to 3h -// duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. -// TIME_SEGMENT_START and TIME_SEGMENT_END must be within the -// length of the video, and end has to be after the start. -// Three sample rows: -// gs://folder/video1.mp4,10,240 -// gs://folder/video1.mp4,300,360 -// gs://folder/vid2.mov,0,inf -// * For Text Classification: -// CSV file(s) with each line having just a single column: -// GCS_FILE_PATH | TEXT_SNIPPET -// Any given text file can have size upto 128kB. -// Any given text snippet content must have 60,000 characters or less. -// Three sample rows: -// gs://folder/text1.txt -// "Some text content to predict" -// gs://folder/text3.pdf -// Supported file extensions: .txt, .pdf -// -// * For Text Sentiment: -// CSV file(s) with each line having just a single column: -// GCS_FILE_PATH | TEXT_SNIPPET -// Any given text file can have size upto 128kB. -// Any given text snippet content must have 500 characters or less. -// Three sample rows: -// gs://folder/text1.txt -// "Some text content to predict" -// gs://folder/text3.pdf -// Supported file extensions: .txt, .pdf -// -// * For Text Extraction -// .JSONL (i.e. JSON Lines) file(s) which either provide text in-line or -// as documents (for a single BatchPredict call only one of the these -// formats may be used). -// The in-line .JSONL file(s) contain per line a proto that -// wraps a temporary user-assigned TextSnippet ID (string up to 2000 -// characters long) called "id", a TextSnippet proto (in -// json representation) and zero or more TextFeature protos. Any given -// text snippet content must have 30,000 characters or less, and also -// be UTF-8 NFC encoded (ASCII already is). The IDs provided should be -// unique. -// The document .JSONL file(s) contain, per line, a proto that wraps a -// Document proto with input_config set. Only PDF documents are -// supported now, and each document must be up to 2MB large. -// Any given .JSONL file must be 100MB or smaller, and no more than 20 -// files may be given. -// Sample in-line JSON Lines file (presented here with artificial line -// breaks, but the only actual line break is denoted by \n): -// { -// "id": "my_first_id", -// "text_snippet": { "content": "dog car cat"}, -// "text_features": [ -// { -// "text_segment": {"start_offset": 4, "end_offset": 6}, -// "structural_type": PARAGRAPH, -// "bounding_poly": { -// "normalized_vertices": [ -// {"x": 0.1, "y": 0.1}, -// {"x": 0.1, "y": 0.3}, -// {"x": 0.3, "y": 0.3}, -// {"x": 0.3, "y": 0.1}, -// ] -// }, -// } -// ], -// }\n -// { -// "id": "2", -// "text_snippet": { -// "content": "An elaborate content", -// "mime_type": "text/plain" -// } -// } -// Sample document JSON Lines file (presented here with artificial line -// breaks, but the only actual line break is denoted by \n).: -// { -// "document": { -// "input_config": { -// "gcs_source": { "input_uris": [ "gs://folder/document1.pdf" ] -// } -// } -// } -// }\n -// { -// "document": { -// "input_config": { -// "gcs_source": { "input_uris": [ "gs://folder/document2.pdf" ] -// } -// } -// } -// } -// -// * For Tables: -// Either -// [gcs_source][google.cloud.automl.v1beta1.InputConfig.gcs_source] or +// - For Image Classification: +// CSV file(s) with each line having just a single column: +// GCS_FILE_PATH +// which leads to image of up to 30MB in size. Supported +// extensions: .JPEG, .GIF, .PNG. This path is treated as the ID in +// the Batch predict output. +// Three sample rows: +// gs://folder/image1.jpeg +// gs://folder/image2.gif +// gs://folder/image3.png +// +// - For Image Object Detection: +// CSV file(s) with each line having just a single column: +// GCS_FILE_PATH +// which leads to image of up to 30MB in size. Supported +// extensions: .JPEG, .GIF, .PNG. This path is treated as the ID in +// the Batch predict output. +// Three sample rows: +// gs://folder/image1.jpeg +// gs://folder/image2.gif +// gs://folder/image3.png +// +// - For Video Classification: +// CSV file(s) with each line in format: +// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END +// GCS_FILE_PATH leads to video of up to 50GB in size and up to 3h +// duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. +// TIME_SEGMENT_START and TIME_SEGMENT_END must be within the +// length of the video, and end has to be after the start. +// Three sample rows: +// gs://folder/video1.mp4,10,40 +// gs://folder/video1.mp4,20,60 +// gs://folder/vid2.mov,0,inf +// +// - For Video Object Tracking: +// CSV file(s) with each line in format: +// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END +// GCS_FILE_PATH leads to video of up to 50GB in size and up to 3h +// duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. +// TIME_SEGMENT_START and TIME_SEGMENT_END must be within the +// length of the video, and end has to be after the start. +// Three sample rows: +// gs://folder/video1.mp4,10,240 +// gs://folder/video1.mp4,300,360 +// gs://folder/vid2.mov,0,inf +// +// - For Text Classification: +// CSV file(s) with each line having just a single column: +// GCS_FILE_PATH | TEXT_SNIPPET +// Any given text file can have size upto 128kB. +// Any given text snippet content must have 60,000 characters or less. +// Three sample rows: +// gs://folder/text1.txt +// "Some text content to predict" +// gs://folder/text3.pdf +// Supported file extensions: .txt, .pdf +// +// - For Text Sentiment: +// CSV file(s) with each line having just a single column: +// GCS_FILE_PATH | TEXT_SNIPPET +// Any given text file can have size upto 128kB. +// Any given text snippet content must have 500 characters or less. +// Three sample rows: +// gs://folder/text1.txt +// "Some text content to predict" +// gs://folder/text3.pdf +// Supported file extensions: .txt, .pdf +// +// - For Text Extraction +// .JSONL (i.e. JSON Lines) file(s) which either provide text in-line or +// as documents (for a single BatchPredict call only one of the these +// formats may be used). +// The in-line .JSONL file(s) contain per line a proto that +// wraps a temporary user-assigned TextSnippet ID (string up to 2000 +// characters long) called "id", a TextSnippet proto (in +// json representation) and zero or more TextFeature protos. Any given +// text snippet content must have 30,000 characters or less, and also +// be UTF-8 NFC encoded (ASCII already is). The IDs provided should be +// unique. +// The document .JSONL file(s) contain, per line, a proto that wraps a +// Document proto with input_config set. Only PDF documents are +// supported now, and each document must be up to 2MB large. +// Any given .JSONL file must be 100MB or smaller, and no more than 20 +// files may be given. +// Sample in-line JSON Lines file (presented here with artificial line +// breaks, but the only actual line break is denoted by \n): +// { +// "id": "my_first_id", +// "text_snippet": { "content": "dog car cat"}, +// "text_features": [ +// { +// "text_segment": {"start_offset": 4, "end_offset": 6}, +// "structural_type": PARAGRAPH, +// "bounding_poly": { +// "normalized_vertices": [ +// {"x": 0.1, "y": 0.1}, +// {"x": 0.1, "y": 0.3}, +// {"x": 0.3, "y": 0.3}, +// {"x": 0.3, "y": 0.1}, +// ] +// }, +// } +// ], +// }\n +// { +// "id": "2", +// "text_snippet": { +// "content": "An elaborate content", +// "mime_type": "text/plain" +// } +// } +// Sample document JSON Lines file (presented here with artificial line +// breaks, but the only actual line break is denoted by \n).: +// { +// "document": { +// "input_config": { +// "gcs_source": { "input_uris": [ "gs://folder/document1.pdf" ] +// } +// } +// } +// }\n +// { +// "document": { +// "input_config": { +// "gcs_source": { "input_uris": [ "gs://folder/document2.pdf" ] +// } +// } +// } +// } +// +// - For Tables: +// Either +// [gcs_source][google.cloud.automl.v1beta1.InputConfig.gcs_source] or // // [bigquery_source][google.cloud.automl.v1beta1.InputConfig.bigquery_source]. -// GCS case: -// CSV file(s), each by itself 10GB or smaller and total size must be -// 100GB or smaller, where first file must have a header containing -// column names. If the first row of a subsequent file is the same as -// the header, then it is also treated as a header. All other rows -// contain values for the corresponding columns. -// The column names must contain the model's +// +// GCS case: +// CSV file(s), each by itself 10GB or smaller and total size must be +// 100GB or smaller, where first file must have a header containing +// column names. If the first row of a subsequent file is the same as +// the header, then it is also treated as a header. All other rows +// contain values for the corresponding columns. +// The column names must contain the model's // // [input_feature_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] // // [display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name] -// (order doesn't matter). The columns corresponding to the model's -// input feature column specs must contain values compatible with the -// column spec's data types. Prediction on all the rows, i.e. the CSV -// lines, will be attempted. For FORECASTING +// +// (order doesn't matter). The columns corresponding to the model's +// input feature column specs must contain values compatible with the +// column spec's data types. Prediction on all the rows, i.e. the CSV +// lines, will be attempted. For FORECASTING // // [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]: -// all columns having +// +// all columns having // // [TIME_SERIES_AVAILABLE_PAST_ONLY][google.cloud.automl.v1beta1.ColumnSpec.ForecastingMetadata.ColumnType] -// type will be ignored. -// First three sample rows of a CSV file: -// "First Name","Last Name","Dob","Addresses" +// +// type will be ignored. +// First three sample rows of a CSV file: +// "First Name","Last Name","Dob","Addresses" // // "John","Doe","1968-01-22","[{"status":"current","address":"123_First_Avenue","city":"Seattle","state":"WA","zip":"11111","numberOfYears":"1"},{"status":"previous","address":"456_Main_Street","city":"Portland","state":"OR","zip":"22222","numberOfYears":"5"}]" // // "Jane","Doe","1980-10-16","[{"status":"current","address":"789_Any_Avenue","city":"Albany","state":"NY","zip":"33333","numberOfYears":"2"},{"status":"previous","address":"321_Main_Street","city":"Hoboken","state":"NJ","zip":"44444","numberOfYears":"3"}]} -// BigQuery case: -// An URI of a BigQuery table. The user data size of the BigQuery -// table must be 100GB or smaller. -// The column names must contain the model's +// +// BigQuery case: +// An URI of a BigQuery table. The user data size of the BigQuery +// table must be 100GB or smaller. +// The column names must contain the model's // // [input_feature_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] // // [display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name] -// (order doesn't matter). The columns corresponding to the model's -// input feature column specs must contain values compatible with the -// column spec's data types. Prediction on all the rows of the table -// will be attempted. For FORECASTING +// +// (order doesn't matter). The columns corresponding to the model's +// input feature column specs must contain values compatible with the +// column spec's data types. Prediction on all the rows of the table +// will be attempted. For FORECASTING // // [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]: -// all columns having +// +// all columns having // // [TIME_SERIES_AVAILABLE_PAST_ONLY][google.cloud.automl.v1beta1.ColumnSpec.ForecastingMetadata.ColumnType] -// type will be ignored. -// -// Definitions: -// GCS_FILE_PATH = A path to file on GCS, e.g. "gs://folder/video.avi". -// TEXT_SNIPPET = A content of a text snippet, UTF-8 encoded, enclosed within -// double quotes ("") -// TIME_SEGMENT_START = TIME_OFFSET -// Expresses a beginning, inclusive, of a time segment -// within an -// example that has a time dimension (e.g. video). -// TIME_SEGMENT_END = TIME_OFFSET -// Expresses an end, exclusive, of a time segment within -// an example that has a time dimension (e.g. video). -// TIME_OFFSET = A number of seconds as measured from the start of an -// example (e.g. video). Fractions are allowed, up to a -// microsecond precision. "inf" is allowed and it means the end -// of the example. -// -// Errors: -// If any of the provided CSV files can't be parsed or if more than certain -// percent of CSV rows cannot be processed then the operation fails and -// prediction does not happen. Regardless of overall success or failure the -// per-row failures, up to a certain count cap, will be listed in -// Operation.metadata.partial_failures. +// +// type will be ignored. +// +// Definitions: +// GCS_FILE_PATH = A path to file on GCS, e.g. "gs://folder/video.avi". +// TEXT_SNIPPET = A content of a text snippet, UTF-8 encoded, enclosed within +// double quotes ("") +// TIME_SEGMENT_START = TIME_OFFSET +// Expresses a beginning, inclusive, of a time segment +// within an +// example that has a time dimension (e.g. video). +// TIME_SEGMENT_END = TIME_OFFSET +// Expresses an end, exclusive, of a time segment within +// an example that has a time dimension (e.g. video). +// TIME_OFFSET = A number of seconds as measured from the start of an +// example (e.g. video). Fractions are allowed, up to a +// microsecond precision. "inf" is allowed and it means the end +// of the example. +// +// Errors: +// If any of the provided CSV files can't be parsed or if more than certain +// percent of CSV rows cannot be processed then the operation fails and +// prediction does not happen. Regardless of overall success or failure the +// per-row failures, up to a certain count cap, will be listed in +// Operation.metadata.partial_failures. type BatchPredictInputConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -843,37 +857,40 @@ func (x *DocumentInputConfig) GetGcsSource() *GcsSource { return nil } -// * For Translation: -// CSV file `translation.csv`, with each line in format: -// ML_USE,GCS_FILE_PATH -// GCS_FILE_PATH leads to a .TSV file which describes examples that have -// given ML_USE, using the following row format per line: -// TEXT_SNIPPET (in source language) \t TEXT_SNIPPET (in target -// language) +// - For Translation: +// CSV file `translation.csv`, with each line in format: +// ML_USE,GCS_FILE_PATH +// GCS_FILE_PATH leads to a .TSV file which describes examples that have +// given ML_USE, using the following row format per line: +// TEXT_SNIPPET (in source language) \t TEXT_SNIPPET (in target +// language) // -// * For Tables: -// Output depends on whether the dataset was imported from GCS or -// BigQuery. -// GCS case: +// - For Tables: +// Output depends on whether the dataset was imported from GCS or +// BigQuery. +// GCS case: // // [gcs_destination][google.cloud.automl.v1beta1.OutputConfig.gcs_destination] -// must be set. Exported are CSV file(s) `tables_1.csv`, -// `tables_2.csv`,...,`tables_N.csv` with each having as header line -// the table's column names, and all other lines contain values for -// the header columns. -// BigQuery case: +// +// must be set. Exported are CSV file(s) `tables_1.csv`, +// `tables_2.csv`,...,`tables_N.csv` with each having as header line +// the table's column names, and all other lines contain values for +// the header columns. +// BigQuery case: // // [bigquery_destination][google.cloud.automl.v1beta1.OutputConfig.bigquery_destination] -// pointing to a BigQuery project must be set. In the given project a -// new dataset will be created with name +// +// pointing to a BigQuery project must be set. In the given project a +// new dataset will be created with name // // `export_data__` -// where will be made -// BigQuery-dataset-name compatible (e.g. most special characters will -// become underscores), and timestamp will be in -// YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In that -// dataset a new table called `primary_table` will be created, and -// filled with precisely the same data as this obtained on import. +// +// where will be made +// BigQuery-dataset-name compatible (e.g. most special characters will +// become underscores), and timestamp will be in +// YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In that +// dataset a new table called `primary_table` will be created, and +// filled with precisely the same data as this obtained on import. type OutputConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -965,7 +982,7 @@ func (*OutputConfig_BigqueryDestination) isOutputConfig_Destination() {} // Output configuration for BatchPredict Action. // -// As destination the +// # As destination the // // [gcs_destination][google.cloud.automl.v1beta1.BatchPredictOutputConfig.gcs_destination] // must be set unless specified otherwise for a domain. If gcs_destination is @@ -975,276 +992,297 @@ func (*OutputConfig_BigqueryDestination) isOutputConfig_Destination() {} // where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. The contents // of it depends on the ML problem the predictions are made for. // -// * For Image Classification: -// In the created directory files `image_classification_1.jsonl`, -// `image_classification_2.jsonl`,...,`image_classification_N.jsonl` -// will be created, where N may be 1, and depends on the -// total number of the successfully predicted images and annotations. -// A single image will be listed only once with all its annotations, -// and its annotations will never be split across files. -// Each .JSONL file will contain, per line, a JSON representation of a -// proto that wraps image's "ID" : "" followed by a list of -// zero or more AnnotationPayload protos (called annotations), which -// have classification detail populated. -// If prediction for any image failed (partially or completely), then an -// additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl` -// files will be created (N depends on total number of failed -// predictions). These files will have a JSON representation of a proto -// that wraps the same "ID" : "" but here followed by -// exactly one +// - For Image Classification: +// In the created directory files `image_classification_1.jsonl`, +// `image_classification_2.jsonl`,...,`image_classification_N.jsonl` +// will be created, where N may be 1, and depends on the +// total number of the successfully predicted images and annotations. +// A single image will be listed only once with all its annotations, +// and its annotations will never be split across files. +// Each .JSONL file will contain, per line, a JSON representation of a +// proto that wraps image's "ID" : "" followed by a list of +// zero or more AnnotationPayload protos (called annotations), which +// have classification detail populated. +// If prediction for any image failed (partially or completely), then an +// additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl` +// files will be created (N depends on total number of failed +// predictions). These files will have a JSON representation of a proto +// that wraps the same "ID" : "" but here followed by +// exactly one // // [`google.rpc.Status`](https: // //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// containing only `code` and `message`fields. -// -// * For Image Object Detection: -// In the created directory files `image_object_detection_1.jsonl`, -// `image_object_detection_2.jsonl`,...,`image_object_detection_N.jsonl` -// will be created, where N may be 1, and depends on the -// total number of the successfully predicted images and annotations. -// Each .JSONL file will contain, per line, a JSON representation of a -// proto that wraps image's "ID" : "" followed by a list of -// zero or more AnnotationPayload protos (called annotations), which -// have image_object_detection detail populated. A single image will -// be listed only once with all its annotations, and its annotations -// will never be split across files. -// If prediction for any image failed (partially or completely), then -// additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl` -// files will be created (N depends on total number of failed -// predictions). These files will have a JSON representation of a proto -// that wraps the same "ID" : "" but here followed by -// exactly one +// +// containing only `code` and `message`fields. +// +// * For Image Object Detection: +// In the created directory files `image_object_detection_1.jsonl`, +// `image_object_detection_2.jsonl`,...,`image_object_detection_N.jsonl` +// will be created, where N may be 1, and depends on the +// total number of the successfully predicted images and annotations. +// Each .JSONL file will contain, per line, a JSON representation of a +// proto that wraps image's "ID" : "" followed by a list of +// zero or more AnnotationPayload protos (called annotations), which +// have image_object_detection detail populated. A single image will +// be listed only once with all its annotations, and its annotations +// will never be split across files. +// If prediction for any image failed (partially or completely), then +// additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl` +// files will be created (N depends on total number of failed +// predictions). These files will have a JSON representation of a proto +// that wraps the same "ID" : "" but here followed by +// exactly one // // [`google.rpc.Status`](https: // //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// containing only `code` and `message`fields. -// * For Video Classification: -// In the created directory a video_classification.csv file, and a .JSON -// file per each video classification requested in the input (i.e. each -// line in given CSV(s)), will be created. // -// The format of video_classification.csv is: +// containing only `code` and `message`fields. +// * For Video Classification: +// In the created directory a video_classification.csv file, and a .JSON +// file per each video classification requested in the input (i.e. each +// line in given CSV(s)), will be created. +// +// The format of video_classification.csv is: // // GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END,JSON_FILE_NAME,STATUS -// where: -// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END = matches 1 to 1 -// the prediction input lines (i.e. video_classification.csv has -// precisely the same number of lines as the prediction input had.) -// JSON_FILE_NAME = Name of .JSON file in the output directory, which -// contains prediction responses for the video time segment. -// STATUS = "OK" if prediction completed successfully, or an error code -// with message otherwise. If STATUS is not "OK" then the .JSON file -// for that line may not exist or be empty. -// -// Each .JSON file, assuming STATUS is "OK", will contain a list of -// AnnotationPayload protos in JSON format, which are the predictions -// for the video time segment the file is assigned to in the -// video_classification.csv. All AnnotationPayload protos will have -// video_classification field set, and will be sorted by -// video_classification.type field (note that the returned types are -// governed by `classifaction_types` parameter in -// [PredictService.BatchPredictRequest.params][]). -// -// * For Video Object Tracking: -// In the created directory a video_object_tracking.csv file will be -// created, and multiple files video_object_trackinng_1.json, -// video_object_trackinng_2.json,..., video_object_trackinng_N.json, -// where N is the number of requests in the input (i.e. the number of -// lines in given CSV(s)). -// -// The format of video_object_tracking.csv is: +// +// where: +// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END = matches 1 to 1 +// the prediction input lines (i.e. video_classification.csv has +// precisely the same number of lines as the prediction input had.) +// JSON_FILE_NAME = Name of .JSON file in the output directory, which +// contains prediction responses for the video time segment. +// STATUS = "OK" if prediction completed successfully, or an error code +// with message otherwise. If STATUS is not "OK" then the .JSON file +// for that line may not exist or be empty. +// +// Each .JSON file, assuming STATUS is "OK", will contain a list of +// AnnotationPayload protos in JSON format, which are the predictions +// for the video time segment the file is assigned to in the +// video_classification.csv. All AnnotationPayload protos will have +// video_classification field set, and will be sorted by +// video_classification.type field (note that the returned types are +// governed by `classifaction_types` parameter in +// [PredictService.BatchPredictRequest.params][]). +// +// * For Video Object Tracking: +// In the created directory a video_object_tracking.csv file will be +// created, and multiple files video_object_trackinng_1.json, +// video_object_trackinng_2.json,..., video_object_trackinng_N.json, +// where N is the number of requests in the input (i.e. the number of +// lines in given CSV(s)). +// +// The format of video_object_tracking.csv is: // // GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END,JSON_FILE_NAME,STATUS -// where: -// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END = matches 1 to 1 -// the prediction input lines (i.e. video_object_tracking.csv has -// precisely the same number of lines as the prediction input had.) -// JSON_FILE_NAME = Name of .JSON file in the output directory, which -// contains prediction responses for the video time segment. -// STATUS = "OK" if prediction completed successfully, or an error -// code with message otherwise. If STATUS is not "OK" then the .JSON -// file for that line may not exist or be empty. -// -// Each .JSON file, assuming STATUS is "OK", will contain a list of -// AnnotationPayload protos in JSON format, which are the predictions -// for each frame of the video time segment the file is assigned to in -// video_object_tracking.csv. All AnnotationPayload protos will have -// video_object_tracking field set. -// * For Text Classification: -// In the created directory files `text_classification_1.jsonl`, -// `text_classification_2.jsonl`,...,`text_classification_N.jsonl` -// will be created, where N may be 1, and depends on the -// total number of inputs and annotations found. -// -// Each .JSONL file will contain, per line, a JSON representation of a -// proto that wraps input text snippet or input text file and a list of -// zero or more AnnotationPayload protos (called annotations), which -// have classification detail populated. A single text snippet or file -// will be listed only once with all its annotations, and its -// annotations will never be split across files. -// -// If prediction for any text snippet or file failed (partially or -// completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,..., -// `errors_N.jsonl` files will be created (N depends on total number of -// failed predictions). These files will have a JSON representation of a -// proto that wraps input text snippet or input text file followed by -// exactly one +// +// where: +// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END = matches 1 to 1 +// the prediction input lines (i.e. video_object_tracking.csv has +// precisely the same number of lines as the prediction input had.) +// JSON_FILE_NAME = Name of .JSON file in the output directory, which +// contains prediction responses for the video time segment. +// STATUS = "OK" if prediction completed successfully, or an error +// code with message otherwise. If STATUS is not "OK" then the .JSON +// file for that line may not exist or be empty. +// +// Each .JSON file, assuming STATUS is "OK", will contain a list of +// AnnotationPayload protos in JSON format, which are the predictions +// for each frame of the video time segment the file is assigned to in +// video_object_tracking.csv. All AnnotationPayload protos will have +// video_object_tracking field set. +// * For Text Classification: +// In the created directory files `text_classification_1.jsonl`, +// `text_classification_2.jsonl`,...,`text_classification_N.jsonl` +// will be created, where N may be 1, and depends on the +// total number of inputs and annotations found. +// +// Each .JSONL file will contain, per line, a JSON representation of a +// proto that wraps input text snippet or input text file and a list of +// zero or more AnnotationPayload protos (called annotations), which +// have classification detail populated. A single text snippet or file +// will be listed only once with all its annotations, and its +// annotations will never be split across files. +// +// If prediction for any text snippet or file failed (partially or +// completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,..., +// `errors_N.jsonl` files will be created (N depends on total number of +// failed predictions). These files will have a JSON representation of a +// proto that wraps input text snippet or input text file followed by +// exactly one // // [`google.rpc.Status`](https: // //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// containing only `code` and `message`. -// -// * For Text Sentiment: -// In the created directory files `text_sentiment_1.jsonl`, -// `text_sentiment_2.jsonl`,...,`text_sentiment_N.jsonl` -// will be created, where N may be 1, and depends on the -// total number of inputs and annotations found. -// -// Each .JSONL file will contain, per line, a JSON representation of a -// proto that wraps input text snippet or input text file and a list of -// zero or more AnnotationPayload protos (called annotations), which -// have text_sentiment detail populated. A single text snippet or file -// will be listed only once with all its annotations, and its -// annotations will never be split across files. -// -// If prediction for any text snippet or file failed (partially or -// completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,..., -// `errors_N.jsonl` files will be created (N depends on total number of -// failed predictions). These files will have a JSON representation of a -// proto that wraps input text snippet or input text file followed by -// exactly one +// +// containing only `code` and `message`. +// +// * For Text Sentiment: +// In the created directory files `text_sentiment_1.jsonl`, +// `text_sentiment_2.jsonl`,...,`text_sentiment_N.jsonl` +// will be created, where N may be 1, and depends on the +// total number of inputs and annotations found. +// +// Each .JSONL file will contain, per line, a JSON representation of a +// proto that wraps input text snippet or input text file and a list of +// zero or more AnnotationPayload protos (called annotations), which +// have text_sentiment detail populated. A single text snippet or file +// will be listed only once with all its annotations, and its +// annotations will never be split across files. +// +// If prediction for any text snippet or file failed (partially or +// completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,..., +// `errors_N.jsonl` files will be created (N depends on total number of +// failed predictions). These files will have a JSON representation of a +// proto that wraps input text snippet or input text file followed by +// exactly one // // [`google.rpc.Status`](https: // //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// containing only `code` and `message`. -// -// * For Text Extraction: -// In the created directory files `text_extraction_1.jsonl`, -// `text_extraction_2.jsonl`,...,`text_extraction_N.jsonl` -// will be created, where N may be 1, and depends on the -// total number of inputs and annotations found. -// The contents of these .JSONL file(s) depend on whether the input -// used inline text, or documents. -// If input was inline, then each .JSONL file will contain, per line, -// a JSON representation of a proto that wraps given in request text -// snippet's "id" (if specified), followed by input text snippet, -// and a list of zero or more -// AnnotationPayload protos (called annotations), which have -// text_extraction detail populated. A single text snippet will be -// listed only once with all its annotations, and its annotations will -// never be split across files. -// If input used documents, then each .JSONL file will contain, per -// line, a JSON representation of a proto that wraps given in request -// document proto, followed by its OCR-ed representation in the form -// of a text snippet, finally followed by a list of zero or more -// AnnotationPayload protos (called annotations), which have -// text_extraction detail populated and refer, via their indices, to -// the OCR-ed text snippet. A single document (and its text snippet) -// will be listed only once with all its annotations, and its -// annotations will never be split across files. -// If prediction for any text snippet failed (partially or completely), -// then additional `errors_1.jsonl`, `errors_2.jsonl`,..., -// `errors_N.jsonl` files will be created (N depends on total number of -// failed predictions). These files will have a JSON representation of a -// proto that wraps either the "id" : "" (in case of inline) -// or the document proto (in case of document) but here followed by -// exactly one +// +// containing only `code` and `message`. +// +// * For Text Extraction: +// In the created directory files `text_extraction_1.jsonl`, +// `text_extraction_2.jsonl`,...,`text_extraction_N.jsonl` +// will be created, where N may be 1, and depends on the +// total number of inputs and annotations found. +// The contents of these .JSONL file(s) depend on whether the input +// used inline text, or documents. +// If input was inline, then each .JSONL file will contain, per line, +// a JSON representation of a proto that wraps given in request text +// snippet's "id" (if specified), followed by input text snippet, +// and a list of zero or more +// AnnotationPayload protos (called annotations), which have +// text_extraction detail populated. A single text snippet will be +// listed only once with all its annotations, and its annotations will +// never be split across files. +// If input used documents, then each .JSONL file will contain, per +// line, a JSON representation of a proto that wraps given in request +// document proto, followed by its OCR-ed representation in the form +// of a text snippet, finally followed by a list of zero or more +// AnnotationPayload protos (called annotations), which have +// text_extraction detail populated and refer, via their indices, to +// the OCR-ed text snippet. A single document (and its text snippet) +// will be listed only once with all its annotations, and its +// annotations will never be split across files. +// If prediction for any text snippet failed (partially or completely), +// then additional `errors_1.jsonl`, `errors_2.jsonl`,..., +// `errors_N.jsonl` files will be created (N depends on total number of +// failed predictions). These files will have a JSON representation of a +// proto that wraps either the "id" : "" (in case of inline) +// or the document proto (in case of document) but here followed by +// exactly one // // [`google.rpc.Status`](https: // //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// containing only `code` and `message`. // -// * For Tables: -// Output depends on whether +// containing only `code` and `message`. +// +// * For Tables: +// Output depends on whether // // [gcs_destination][google.cloud.automl.v1beta1.BatchPredictOutputConfig.gcs_destination] -// or +// +// or // // [bigquery_destination][google.cloud.automl.v1beta1.BatchPredictOutputConfig.bigquery_destination] -// is set (either is allowed). -// GCS case: -// In the created directory files `tables_1.csv`, `tables_2.csv`,..., -// `tables_N.csv` will be created, where N may be 1, and depends on -// the total number of the successfully predicted rows. -// For all CLASSIFICATION +// +// is set (either is allowed). +// GCS case: +// In the created directory files `tables_1.csv`, `tables_2.csv`,..., +// `tables_N.csv` will be created, where N may be 1, and depends on +// the total number of the successfully predicted rows. +// For all CLASSIFICATION // // [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]: -// Each .csv file will contain a header, listing all columns' +// +// Each .csv file will contain a header, listing all columns' // // [display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name] -// given on input followed by M target column names in the format of +// +// given on input followed by M target column names in the format of // // "<[target_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] // // [display_name][google.cloud.automl.v1beta1.ColumnSpec.display_name]>__score" where M is the number of distinct target values, -// i.e. number of distinct values in the target column of the table -// used to train the model. Subsequent lines will contain the -// respective values of successfully predicted rows, with the last, -// i.e. the target, columns having the corresponding prediction -// [scores][google.cloud.automl.v1beta1.TablesAnnotation.score]. -// For REGRESSION and FORECASTING +// +// value>_score" where M is the number of distinct target values, +// i.e. number of distinct values in the target column of the table +// used to train the model. Subsequent lines will contain the +// respective values of successfully predicted rows, with the last, +// i.e. the target, columns having the corresponding prediction +// [scores][google.cloud.automl.v1beta1.TablesAnnotation.score]. +// For REGRESSION and FORECASTING // // [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]: -// Each .csv file will contain a header, listing all columns' -// [display_name-s][google.cloud.automl.v1beta1.display_name] given -// on input followed by the predicted target column with name in the -// format of +// +// Each .csv file will contain a header, listing all columns' +// [display_name-s][google.cloud.automl.v1beta1.display_name] given +// on input followed by the predicted target column with name in the +// format of // // "predicted_<[target_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] // // [display_name][google.cloud.automl.v1beta1.ColumnSpec.display_name]>" -// Subsequent lines will contain the respective values of -// successfully predicted rows, with the last, i.e. the target, -// column having the predicted target value. -// If prediction for any rows failed, then an additional -// `errors_1.csv`, `errors_2.csv`,..., `errors_N.csv` will be -// created (N depends on total number of failed rows). These files -// will have analogous format as `tables_*.csv`, but always with a -// single target column having +// +// Subsequent lines will contain the respective values of +// successfully predicted rows, with the last, i.e. the target, +// column having the predicted target value. +// If prediction for any rows failed, then an additional +// `errors_1.csv`, `errors_2.csv`,..., `errors_N.csv` will be +// created (N depends on total number of failed rows). These files +// will have analogous format as `tables_*.csv`, but always with a +// single target column having // // [`google.rpc.Status`](https: // //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// represented as a JSON string, and containing only `code` and -// `message`. -// BigQuery case: +// +// represented as a JSON string, and containing only `code` and +// `message`. +// BigQuery case: // // [bigquery_destination][google.cloud.automl.v1beta1.OutputConfig.bigquery_destination] -// pointing to a BigQuery project must be set. In the given project a -// new dataset will be created with name -// `prediction__` -// where will be made -// BigQuery-dataset-name compatible (e.g. most special characters will -// become underscores), and timestamp will be in -// YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In the dataset -// two tables will be created, `predictions`, and `errors`. -// The `predictions` table's column names will be the input columns' +// +// pointing to a BigQuery project must be set. In the given project a +// new dataset will be created with name +// `prediction__` +// where will be made +// BigQuery-dataset-name compatible (e.g. most special characters will +// become underscores), and timestamp will be in +// YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In the dataset +// two tables will be created, `predictions`, and `errors`. +// The `predictions` table's column names will be the input columns' // // [display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name] -// followed by the target column with name in the format of +// +// followed by the target column with name in the format of // // "predicted_<[target_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] // // [display_name][google.cloud.automl.v1beta1.ColumnSpec.display_name]>" -// The input feature columns will contain the respective values of -// successfully predicted rows, with the target column having an -// ARRAY of +// +// The input feature columns will contain the respective values of +// successfully predicted rows, with the target column having an +// ARRAY of // // [AnnotationPayloads][google.cloud.automl.v1beta1.AnnotationPayload], -// represented as STRUCT-s, containing -// [TablesAnnotation][google.cloud.automl.v1beta1.TablesAnnotation]. -// The `errors` table contains rows for which the prediction has -// failed, it has analogous input columns while the target column name -// is in the format of +// +// represented as STRUCT-s, containing +// [TablesAnnotation][google.cloud.automl.v1beta1.TablesAnnotation]. +// The `errors` table contains rows for which the prediction has +// failed, it has analogous input columns while the target column name +// is in the format of // // "errors_<[target_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] // // [display_name][google.cloud.automl.v1beta1.ColumnSpec.display_name]>", -// and as a value has +// +// and as a value has // // [`google.rpc.Status`](https: // //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// represented as a STRUCT, and containing only `code` and `message`. +// +// represented as a STRUCT, and containing only `code` and `message`. type BatchPredictOutputConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1510,30 +1548,33 @@ func (*ModelExportOutputConfig_GcrDestination) isModelExportOutputConfig_Destina // The output depends on the domain, as follows (note that only examples from // the TEST set are exported): // -// * For Tables: +// - For Tables: // // [bigquery_destination][google.cloud.automl.v1beta1.OutputConfig.bigquery_destination] -// pointing to a BigQuery project must be set. In the given project a -// new dataset will be created with name +// +// pointing to a BigQuery project must be set. In the given project a +// new dataset will be created with name // // `export_evaluated_examples__` -// where will be made BigQuery-dataset-name -// compatible (e.g. most special characters will become underscores), -// and timestamp will be in YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" -// format. In the dataset an `evaluated_examples` table will be -// created. It will have all the same columns as the +// +// where will be made BigQuery-dataset-name +// compatible (e.g. most special characters will become underscores), +// and timestamp will be in YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" +// format. In the dataset an `evaluated_examples` table will be +// created. It will have all the same columns as the // // [primary_table][google.cloud.automl.v1beta1.TablesDatasetMetadata.primary_table_spec_id] -// of the -// [dataset][google.cloud.automl.v1beta1.Model.dataset_id] from which -// the model was created, as they were at the moment of model's -// evaluation (this includes the target column with its ground -// truth), followed by a column called "predicted_". That -// last column will contain the model's prediction result for each -// respective row, given as ARRAY of -// [AnnotationPayloads][google.cloud.automl.v1beta1.AnnotationPayload], -// represented as STRUCT-s, containing -// [TablesAnnotation][google.cloud.automl.v1beta1.TablesAnnotation]. +// +// of the +// [dataset][google.cloud.automl.v1beta1.Model.dataset_id] from which +// the model was created, as they were at the moment of model's +// evaluation (this includes the target column with its ground +// truth), followed by a column called "predicted_". That +// last column will contain the model's prediction result for each +// respective row, given as ARRAY of +// [AnnotationPayloads][google.cloud.automl.v1beta1.AnnotationPayload], +// represented as STRUCT-s, containing +// [TablesAnnotation][google.cloud.automl.v1beta1.TablesAnnotation]. type ExportEvaluatedExamplesOutputConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/automl/apiv1beta1/automlpb/model.pb.go b/automl/apiv1beta1/automlpb/model.pb.go index a9aff688451b..8a6b4ae3fbfe 100755 --- a/automl/apiv1beta1/automlpb/model.pb.go +++ b/automl/apiv1beta1/automlpb/model.pb.go @@ -21,12 +21,13 @@ package automlpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/model_evaluation.pb.go b/automl/apiv1beta1/automlpb/model_evaluation.pb.go index 33dfb54a9fec..e6175a8e10ca 100755 --- a/automl/apiv1beta1/automlpb/model_evaluation.pb.go +++ b/automl/apiv1beta1/automlpb/model_evaluation.pb.go @@ -21,12 +21,13 @@ package automlpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/operations.pb.go b/automl/apiv1beta1/automlpb/operations.pb.go index ba242e7ca8df..dff53cdfef78 100755 --- a/automl/apiv1beta1/automlpb/operations.pb.go +++ b/automl/apiv1beta1/automlpb/operations.pb.go @@ -21,12 +21,13 @@ package automlpb import ( + reflect "reflect" + sync "sync" + status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/prediction_service.pb.go b/automl/apiv1beta1/automlpb/prediction_service.pb.go index 7c9675e1b061..0ba6bc4c9c56 100755 --- a/automl/apiv1beta1/automlpb/prediction_service.pb.go +++ b/automl/apiv1beta1/automlpb/prediction_service.pb.go @@ -21,16 +21,17 @@ package automlpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/ranges.pb.go b/automl/apiv1beta1/automlpb/ranges.pb.go index d38f84ba9d87..94cef3e7a062 100755 --- a/automl/apiv1beta1/automlpb/ranges.pb.go +++ b/automl/apiv1beta1/automlpb/ranges.pb.go @@ -21,10 +21,11 @@ package automlpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/automl/apiv1beta1/automlpb/regression.pb.go b/automl/apiv1beta1/automlpb/regression.pb.go index a12ad6cc1f8d..80916f9538d4 100755 --- a/automl/apiv1beta1/automlpb/regression.pb.go +++ b/automl/apiv1beta1/automlpb/regression.pb.go @@ -21,10 +21,11 @@ package automlpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/automl/apiv1beta1/automlpb/service.pb.go b/automl/apiv1beta1/automlpb/service.pb.go index f7bb6ff2e831..7105cd7f8ca0 100755 --- a/automl/apiv1beta1/automlpb/service.pb.go +++ b/automl/apiv1beta1/automlpb/service.pb.go @@ -21,8 +21,11 @@ package automlpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/table_spec.pb.go b/automl/apiv1beta1/automlpb/table_spec.pb.go index 2b0eedc7aa00..de123778e97d 100755 --- a/automl/apiv1beta1/automlpb/table_spec.pb.go +++ b/automl/apiv1beta1/automlpb/table_spec.pb.go @@ -21,11 +21,12 @@ package automlpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( @@ -43,7 +44,7 @@ const ( // inconsistent with the data in the table (e.g. string in a FLOAT64 column). // The consistency validation is done upon creation of a model. // Used by: -// * Tables +// - Tables type TableSpec struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/automl/apiv1beta1/automlpb/tables.pb.go b/automl/apiv1beta1/automlpb/tables.pb.go index 6e8af5f8f34e..a5603474c4d6 100755 --- a/automl/apiv1beta1/automlpb/tables.pb.go +++ b/automl/apiv1beta1/automlpb/tables.pb.go @@ -21,12 +21,13 @@ package automlpb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/temporal.pb.go b/automl/apiv1beta1/automlpb/temporal.pb.go index 82d033eba613..cad7f3774327 100755 --- a/automl/apiv1beta1/automlpb/temporal.pb.go +++ b/automl/apiv1beta1/automlpb/temporal.pb.go @@ -21,11 +21,12 @@ package automlpb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/text.pb.go b/automl/apiv1beta1/automlpb/text.pb.go index aa45c617fa03..2b4fdebb3825 100755 --- a/automl/apiv1beta1/automlpb/text.pb.go +++ b/automl/apiv1beta1/automlpb/text.pb.go @@ -21,10 +21,11 @@ package automlpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/automl/apiv1beta1/automlpb/text_extraction.pb.go b/automl/apiv1beta1/automlpb/text_extraction.pb.go index c3ad1f9c50a1..88492fe654c2 100755 --- a/automl/apiv1beta1/automlpb/text_extraction.pb.go +++ b/automl/apiv1beta1/automlpb/text_extraction.pb.go @@ -21,10 +21,11 @@ package automlpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/automl/apiv1beta1/automlpb/text_segment.pb.go b/automl/apiv1beta1/automlpb/text_segment.pb.go index fa7fb1e06c1b..fd0862e2f3c6 100755 --- a/automl/apiv1beta1/automlpb/text_segment.pb.go +++ b/automl/apiv1beta1/automlpb/text_segment.pb.go @@ -21,10 +21,11 @@ package automlpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/automl/apiv1beta1/automlpb/text_sentiment.pb.go b/automl/apiv1beta1/automlpb/text_sentiment.pb.go index a1453df69c61..78ad695bf898 100755 --- a/automl/apiv1beta1/automlpb/text_sentiment.pb.go +++ b/automl/apiv1beta1/automlpb/text_sentiment.pb.go @@ -21,10 +21,11 @@ package automlpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/automl/apiv1beta1/automlpb/translation.pb.go b/automl/apiv1beta1/automlpb/translation.pb.go index 561951c836b8..f4037493be1f 100755 --- a/automl/apiv1beta1/automlpb/translation.pb.go +++ b/automl/apiv1beta1/automlpb/translation.pb.go @@ -21,11 +21,12 @@ package automlpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/automl/apiv1beta1/automlpb/video.pb.go b/automl/apiv1beta1/automlpb/video.pb.go index 6272968afd78..db4590529f78 100755 --- a/automl/apiv1beta1/automlpb/video.pb.go +++ b/automl/apiv1beta1/automlpb/video.pb.go @@ -21,10 +21,11 @@ package automlpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/automl/apiv1beta1/doc.go b/automl/apiv1beta1/doc.go index ee011fddef72..f150bd4ca6fb 100755 --- a/automl/apiv1beta1/doc.go +++ b/automl/apiv1beta1/doc.go @@ -20,72 +20,73 @@ // Train high-quality custom machine learning models with minimum effort and // machine learning expertise. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := automl.NewPredictionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := automl.NewPredictionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := automl.NewPredictionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &automlpb.BatchPredictRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/automl/apiv1beta1/automlpb#BatchPredictRequest. -// } -// op, err := c.BatchPredict(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := automl.NewPredictionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &automlpb.BatchPredictRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/automl/apiv1beta1/automlpb#BatchPredictRequest. +// } +// op, err := c.BatchPredict(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewPredictionClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/automl/apiv1beta1/prediction_client.go b/automl/apiv1beta1/prediction_client.go index ced04d19ef38..916bc665f230 100755 --- a/automl/apiv1beta1/prediction_client.go +++ b/automl/apiv1beta1/prediction_client.go @@ -139,28 +139,28 @@ func (c *PredictionClient) Connection() *grpc.ClientConn { // returned in the response. // Available for following ML problems, and their expected request payloads: // -// Image Classification - Image in .JPEG, .GIF or .PNG format, image_bytes -// up to 30MB. +// Image Classification - Image in .JPEG, .GIF or .PNG format, image_bytes +// up to 30MB. // -// Image Object Detection - Image in .JPEG, .GIF or .PNG format, image_bytes -// up to 30MB. +// Image Object Detection - Image in .JPEG, .GIF or .PNG format, image_bytes +// up to 30MB. // -// Text Classification - TextSnippet, content up to 60,000 characters, -// UTF-8 encoded. +// Text Classification - TextSnippet, content up to 60,000 characters, +// UTF-8 encoded. // -// Text Extraction - TextSnippet, content up to 30,000 characters, -// UTF-8 NFC encoded. +// Text Extraction - TextSnippet, content up to 30,000 characters, +// UTF-8 NFC encoded. // -// Translation - TextSnippet, content up to 25,000 characters, UTF-8 -// encoded. +// Translation - TextSnippet, content up to 25,000 characters, UTF-8 +// encoded. // -// Tables - Row, with column values matching the columns of the model, -// up to 5MB. Not available for FORECASTING +// Tables - Row, with column values matching the columns of the model, +// up to 5MB. Not available for FORECASTING // // prediction_type. // -// Text Sentiment - TextSnippet, content up 500 characters, UTF-8 -// encoded. +// Text Sentiment - TextSnippet, content up 500 characters, UTF-8 +// encoded. func (c *PredictionClient) Predict(ctx context.Context, req *automlpb.PredictRequest, opts ...gax.CallOption) (*automlpb.PredictResponse, error) { return c.internalClient.Predict(ctx, req, opts...) } @@ -173,15 +173,15 @@ func (c *PredictionClient) Predict(ctx context.Context, req *automlpb.PredictReq // the response field. // Available for following ML problems: // -// Image Classification +// Image Classification // -// Image Object Detection +// Image Object Detection // -// Video Classification +// Video Classification // -// Video Object Tracking * Text Extraction +// Video Object Tracking * Text Extraction // -// Tables +// Tables func (c *PredictionClient) BatchPredict(ctx context.Context, req *automlpb.BatchPredictRequest, opts ...gax.CallOption) (*BatchPredictOperation, error) { return c.internalClient.BatchPredict(ctx, req, opts...) } @@ -411,28 +411,28 @@ func (c *predictionGRPCClient) BatchPredict(ctx context.Context, req *automlpb.B // returned in the response. // Available for following ML problems, and their expected request payloads: // -// Image Classification - Image in .JPEG, .GIF or .PNG format, image_bytes -// up to 30MB. +// Image Classification - Image in .JPEG, .GIF or .PNG format, image_bytes +// up to 30MB. // -// Image Object Detection - Image in .JPEG, .GIF or .PNG format, image_bytes -// up to 30MB. +// Image Object Detection - Image in .JPEG, .GIF or .PNG format, image_bytes +// up to 30MB. // -// Text Classification - TextSnippet, content up to 60,000 characters, -// UTF-8 encoded. +// Text Classification - TextSnippet, content up to 60,000 characters, +// UTF-8 encoded. // -// Text Extraction - TextSnippet, content up to 30,000 characters, -// UTF-8 NFC encoded. +// Text Extraction - TextSnippet, content up to 30,000 characters, +// UTF-8 NFC encoded. // -// Translation - TextSnippet, content up to 25,000 characters, UTF-8 -// encoded. +// Translation - TextSnippet, content up to 25,000 characters, UTF-8 +// encoded. // -// Tables - Row, with column values matching the columns of the model, -// up to 5MB. Not available for FORECASTING +// Tables - Row, with column values matching the columns of the model, +// up to 5MB. Not available for FORECASTING // // prediction_type. // -// Text Sentiment - TextSnippet, content up 500 characters, UTF-8 -// encoded. +// Text Sentiment - TextSnippet, content up 500 characters, UTF-8 +// encoded. func (c *predictionRESTClient) Predict(ctx context.Context, req *automlpb.PredictRequest, opts ...gax.CallOption) (*automlpb.PredictResponse, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -506,15 +506,15 @@ func (c *predictionRESTClient) Predict(ctx context.Context, req *automlpb.Predic // the response field. // Available for following ML problems: // -// Image Classification +// Image Classification // -// Image Object Detection +// Image Object Detection // -// Video Classification +// Video Classification // -// Video Object Tracking * Text Extraction +// Video Object Tracking * Text Extraction // -// Tables +// Tables func (c *predictionRESTClient) BatchPredict(ctx context.Context, req *automlpb.BatchPredictRequest, opts ...gax.CallOption) (*BatchPredictOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/baremetalsolution.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/baremetalsolution.pb.go index 2c4cb943d6d1..58a41f815682 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/baremetalsolution.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/baremetalsolution.pb.go @@ -21,8 +21,11 @@ package baremetalsolutionpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/common.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/common.pb.go index 5bc7991b3235..59765fef74fb 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/common.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/common.pb.go @@ -21,10 +21,11 @@ package baremetalsolutionpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/instance.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/instance.pb.go index fcfe15d16d5a..f044870d32a4 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/instance.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/instance.pb.go @@ -21,13 +21,14 @@ package baremetalsolutionpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/lun.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/lun.pb.go index 9a8b40db184a..7b4a6cb74d35 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/lun.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/lun.pb.go @@ -21,12 +21,13 @@ package baremetalsolutionpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/network.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/network.pb.go index 97c23e48bf32..bf9900c358ba 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/network.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/network.pb.go @@ -21,12 +21,13 @@ package baremetalsolutionpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/nfs_share.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/nfs_share.pb.go index cf6b1e6616d1..f1149cd9be0f 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/nfs_share.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/nfs_share.pb.go @@ -21,12 +21,13 @@ package baremetalsolutionpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/osimage.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/osimage.pb.go index e12f905db125..247b503a2953 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/osimage.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/osimage.pb.go @@ -21,11 +21,12 @@ package baremetalsolutionpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/provisioning.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/provisioning.pb.go index 0ce49a280866..efa8a9b1710e 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/provisioning.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/provisioning.pb.go @@ -21,13 +21,14 @@ package baremetalsolutionpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/ssh_key.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/ssh_key.pb.go index 1537ffd26270..1734b83ce505 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/ssh_key.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/ssh_key.pb.go @@ -21,11 +21,12 @@ package baremetalsolutionpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/volume.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/volume.pb.go index 68565e201068..3d5dde6f4835 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/volume.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/volume.pb.go @@ -21,13 +21,14 @@ package baremetalsolutionpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/baremetalsolutionpb/volume_snapshot.pb.go b/baremetalsolution/apiv2/baremetalsolutionpb/volume_snapshot.pb.go index ba7c2029d348..421f57c6bc48 100755 --- a/baremetalsolution/apiv2/baremetalsolutionpb/volume_snapshot.pb.go +++ b/baremetalsolution/apiv2/baremetalsolutionpb/volume_snapshot.pb.go @@ -21,12 +21,13 @@ package baremetalsolutionpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/baremetalsolution/apiv2/doc.go b/baremetalsolution/apiv2/doc.go index f8dae316cd34..3ce4edfdc8e3 100755 --- a/baremetalsolution/apiv2/doc.go +++ b/baremetalsolution/apiv2/doc.go @@ -20,70 +20,71 @@ // Provides ways to manage Bare Metal Solution hardware installed in a // regional extension located near a Google Cloud data center. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := baremetalsolution.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := baremetalsolution.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := baremetalsolution.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &baremetalsolutionpb.CreateNfsShareRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb#CreateNfsShareRequest. -// } -// op, err := c.CreateNfsShare(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := baremetalsolution.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &baremetalsolutionpb.CreateNfsShareRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb#CreateNfsShareRequest. +// } +// op, err := c.CreateNfsShare(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/batch/apiv1/batchpb/batch.pb.go b/batch/apiv1/batchpb/batch.pb.go index bee99142c241..e8ebc9b780f1 100755 --- a/batch/apiv1/batchpb/batch.pb.go +++ b/batch/apiv1/batchpb/batch.pb.go @@ -21,8 +21,11 @@ package batchpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/batch/apiv1/batchpb/job.pb.go b/batch/apiv1/batchpb/job.pb.go index ab566874f4d4..421dc5f5606c 100755 --- a/batch/apiv1/batchpb/job.pb.go +++ b/batch/apiv1/batchpb/job.pb.go @@ -21,13 +21,14 @@ package batchpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/batch/apiv1/batchpb/task.pb.go b/batch/apiv1/batchpb/task.pb.go index 1ee7fd94fd98..ce299403b332 100755 --- a/batch/apiv1/batchpb/task.pb.go +++ b/batch/apiv1/batchpb/task.pb.go @@ -21,13 +21,14 @@ package batchpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/batch/apiv1/batchpb/volume.pb.go b/batch/apiv1/batchpb/volume.pb.go index 32f6d95e3ca8..f57ccb39b01e 100755 --- a/batch/apiv1/batchpb/volume.pb.go +++ b/batch/apiv1/batchpb/volume.pb.go @@ -21,10 +21,11 @@ package batchpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/batch/apiv1/doc.go b/batch/apiv1/doc.go index 19b3a022a341..d09ada3aaa70 100755 --- a/batch/apiv1/doc.go +++ b/batch/apiv1/doc.go @@ -19,65 +19,66 @@ // // An API to manage the running of batch jobs on Google Cloud Platform. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := batch.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := batch.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := batch.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &batchpb.CreateJobRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/batch/apiv1/batchpb#CreateJobRequest. -// } -// resp, err := c.CreateJob(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := batch.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &batchpb.CreateJobRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/batch/apiv1/batchpb#CreateJobRequest. +// } +// resp, err := c.CreateJob(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/beyondcorp/appconnections/apiv1/app_connections_client.go b/beyondcorp/appconnections/apiv1/app_connections_client.go index d9dd005100ff..ad16779abbb4 100755 --- a/beyondcorp/appconnections/apiv1/app_connections_client.go +++ b/beyondcorp/appconnections/apiv1/app_connections_client.go @@ -127,8 +127,8 @@ type internalClient interface { // // The AppConnectionsService exposes the following resources: // -// AppConnections, named as follows: -// projects/{project_id}/locations/{location_id}/appConnections/{app_connection_id}. +// AppConnections, named as follows: +// projects/{project_id}/locations/{location_id}/appConnections/{app_connection_id}. // // The AppConnectionsService service provides methods to manage // (create/read/update/delete) BeyondCorp AppConnections. @@ -314,8 +314,8 @@ type gRPCClient struct { // // The AppConnectionsService exposes the following resources: // -// AppConnections, named as follows: -// projects/{project_id}/locations/{location_id}/appConnections/{app_connection_id}. +// AppConnections, named as follows: +// projects/{project_id}/locations/{location_id}/appConnections/{app_connection_id}. // // The AppConnectionsService service provides methods to manage // (create/read/update/delete) BeyondCorp AppConnections. diff --git a/beyondcorp/appconnections/apiv1/appconnectionspb/app_connections_service.pb.go b/beyondcorp/appconnections/apiv1/appconnectionspb/app_connections_service.pb.go index 8d5c95c785c2..9eff8b5ed185 100755 --- a/beyondcorp/appconnections/apiv1/appconnectionspb/app_connections_service.pb.go +++ b/beyondcorp/appconnections/apiv1/appconnectionspb/app_connections_service.pb.go @@ -21,8 +21,11 @@ package appconnectionspb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/beyondcorp/appconnections/apiv1/doc.go b/beyondcorp/appconnections/apiv1/doc.go index 21c0646ac81d..5cbbbb85566a 100755 --- a/beyondcorp/appconnections/apiv1/doc.go +++ b/beyondcorp/appconnections/apiv1/doc.go @@ -22,70 +22,71 @@ // Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem // connectivity using the App Connector hybrid connectivity solution. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := appconnections.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := appconnections.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := appconnections.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &appconnectionspb.CreateAppConnectionRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb#CreateAppConnectionRequest. -// } -// op, err := c.CreateAppConnection(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := appconnections.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &appconnectionspb.CreateAppConnectionRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb#CreateAppConnectionRequest. +// } +// op, err := c.CreateAppConnection(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/beyondcorp/appconnectors/apiv1/app_connectors_client.go b/beyondcorp/appconnectors/apiv1/app_connectors_client.go index 51e7b774c60c..20b448f4f694 100755 --- a/beyondcorp/appconnectors/apiv1/app_connectors_client.go +++ b/beyondcorp/appconnectors/apiv1/app_connectors_client.go @@ -128,8 +128,8 @@ type internalClient interface { // // The AppConnectorsService exposes the following resource: // -// AppConnectors, named as follows: -// projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}. +// AppConnectors, named as follows: +// projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}. // // The AppConnectorsService provides methods to manage // (create/read/update/delete) BeyondCorp AppConnectors. @@ -319,8 +319,8 @@ type gRPCClient struct { // // The AppConnectorsService exposes the following resource: // -// AppConnectors, named as follows: -// projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}. +// AppConnectors, named as follows: +// projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}. // // The AppConnectorsService provides methods to manage // (create/read/update/delete) BeyondCorp AppConnectors. diff --git a/beyondcorp/appconnectors/apiv1/appconnectorspb/app_connector_instance_config.pb.go b/beyondcorp/appconnectors/apiv1/appconnectorspb/app_connector_instance_config.pb.go index 1137aa2b0c8b..6d352a56f1fe 100755 --- a/beyondcorp/appconnectors/apiv1/appconnectorspb/app_connector_instance_config.pb.go +++ b/beyondcorp/appconnectors/apiv1/appconnectorspb/app_connector_instance_config.pb.go @@ -21,12 +21,13 @@ package appconnectorspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" - reflect "reflect" - sync "sync" ) const ( diff --git a/beyondcorp/appconnectors/apiv1/appconnectorspb/app_connectors_service.pb.go b/beyondcorp/appconnectors/apiv1/appconnectorspb/app_connectors_service.pb.go index 0e4b72b618ec..3c30729c5a10 100755 --- a/beyondcorp/appconnectors/apiv1/appconnectorspb/app_connectors_service.pb.go +++ b/beyondcorp/appconnectors/apiv1/appconnectorspb/app_connectors_service.pb.go @@ -21,8 +21,11 @@ package appconnectorspb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/beyondcorp/appconnectors/apiv1/appconnectorspb/resource_info.pb.go b/beyondcorp/appconnectors/apiv1/appconnectorspb/resource_info.pb.go index 9c342065b1cd..c282bdfece4e 100755 --- a/beyondcorp/appconnectors/apiv1/appconnectorspb/resource_info.pb.go +++ b/beyondcorp/appconnectors/apiv1/appconnectorspb/resource_info.pb.go @@ -21,13 +21,14 @@ package appconnectorspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -102,12 +103,12 @@ func (HealthStatus) EnumDescriptor() ([]byte, []int) { // Such as: // - remote_agent // - container -// - runtime -// - appgateway -// - appconnector -// - appconnection -// - tunnel -// - logagent +// - runtime +// - appgateway +// - appconnector +// - appconnection +// - tunnel +// - logagent type ResourceInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/beyondcorp/appconnectors/apiv1/doc.go b/beyondcorp/appconnectors/apiv1/doc.go index 47d4a83fa131..d25b92e65434 100755 --- a/beyondcorp/appconnectors/apiv1/doc.go +++ b/beyondcorp/appconnectors/apiv1/doc.go @@ -22,70 +22,71 @@ // Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem // connectivity using the App Connector hybrid connectivity solution. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := appconnectors.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := appconnectors.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := appconnectors.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &appconnectorspb.CreateAppConnectorRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb#CreateAppConnectorRequest. -// } -// op, err := c.CreateAppConnector(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := appconnectors.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &appconnectorspb.CreateAppConnectorRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb#CreateAppConnectorRequest. +// } +// op, err := c.CreateAppConnector(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/beyondcorp/appgateways/apiv1/app_gateways_client.go b/beyondcorp/appgateways/apiv1/app_gateways_client.go index f9b2eecccefe..7e79ac020c92 100755 --- a/beyondcorp/appgateways/apiv1/app_gateways_client.go +++ b/beyondcorp/appgateways/apiv1/app_gateways_client.go @@ -120,8 +120,8 @@ type internalClient interface { // // The AppGatewaysService exposes the following resources: // -// AppGateways, named as follows: -// projects/{project_id}/locations/{location_id}/appGateways/{app_gateway_id}. +// AppGateways, named as follows: +// projects/{project_id}/locations/{location_id}/appGateways/{app_gateway_id}. // // The AppGatewaysService service provides methods to manage // (create/read/update/delete) BeyondCorp AppGateways. @@ -289,8 +289,8 @@ type gRPCClient struct { // // The AppGatewaysService exposes the following resources: // -// AppGateways, named as follows: -// projects/{project_id}/locations/{location_id}/appGateways/{app_gateway_id}. +// AppGateways, named as follows: +// projects/{project_id}/locations/{location_id}/appGateways/{app_gateway_id}. // // The AppGatewaysService service provides methods to manage // (create/read/update/delete) BeyondCorp AppGateways. diff --git a/beyondcorp/appgateways/apiv1/appgatewayspb/app_gateways_service.pb.go b/beyondcorp/appgateways/apiv1/appgatewayspb/app_gateways_service.pb.go index 674f0cf0593f..8e7c4ac07a45 100755 --- a/beyondcorp/appgateways/apiv1/appgatewayspb/app_gateways_service.pb.go +++ b/beyondcorp/appgateways/apiv1/appgatewayspb/app_gateways_service.pb.go @@ -21,8 +21,11 @@ package appgatewayspb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/beyondcorp/appgateways/apiv1/doc.go b/beyondcorp/appgateways/apiv1/doc.go index 107b3dec8b50..1f5e114540eb 100755 --- a/beyondcorp/appgateways/apiv1/doc.go +++ b/beyondcorp/appgateways/apiv1/doc.go @@ -22,70 +22,71 @@ // Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem // connectivity using the App Connector hybrid connectivity solution. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := appgateways.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := appgateways.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := appgateways.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &appgatewayspb.CreateAppGatewayRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/beyondcorp/appgateways/apiv1/appgatewayspb#CreateAppGatewayRequest. -// } -// op, err := c.CreateAppGateway(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := appgateways.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &appgatewayspb.CreateAppGatewayRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/beyondcorp/appgateways/apiv1/appgatewayspb#CreateAppGatewayRequest. +// } +// op, err := c.CreateAppGateway(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/beyondcorp/clientconnectorservices/apiv1/client_connector_services_client.go b/beyondcorp/clientconnectorservices/apiv1/client_connector_services_client.go index 09dad6a3d267..d3443503478c 100755 --- a/beyondcorp/clientconnectorservices/apiv1/client_connector_services_client.go +++ b/beyondcorp/clientconnectorservices/apiv1/client_connector_services_client.go @@ -124,8 +124,8 @@ type internalClient interface { // // The ClientConnectorServicesService exposes the following resources: // -// Client Connector Services, named as follows: -// projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}. +// Client Connector Services, named as follows: +// projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}. type Client struct { // The internal transport-dependent client. internalClient internalClient @@ -301,8 +301,8 @@ type gRPCClient struct { // // The ClientConnectorServicesService exposes the following resources: // -// Client Connector Services, named as follows: -// projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}. +// Client Connector Services, named as follows: +// projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}. func NewClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { clientOpts := defaultGRPCClientOptions() if newClientHook != nil { diff --git a/beyondcorp/clientconnectorservices/apiv1/clientconnectorservicespb/client_connector_services_service.pb.go b/beyondcorp/clientconnectorservices/apiv1/clientconnectorservicespb/client_connector_services_service.pb.go index d7ab216fd6ee..33bb2959c491 100755 --- a/beyondcorp/clientconnectorservices/apiv1/clientconnectorservicespb/client_connector_services_service.pb.go +++ b/beyondcorp/clientconnectorservices/apiv1/clientconnectorservicespb/client_connector_services_service.pb.go @@ -21,8 +21,11 @@ package clientconnectorservicespb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/beyondcorp/clientconnectorservices/apiv1/doc.go b/beyondcorp/clientconnectorservices/apiv1/doc.go index a296a342d3a5..175cb980d294 100755 --- a/beyondcorp/clientconnectorservices/apiv1/doc.go +++ b/beyondcorp/clientconnectorservices/apiv1/doc.go @@ -22,70 +22,71 @@ // Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem // connectivity using the App Connector hybrid connectivity solution. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := clientconnectorservices.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := clientconnectorservices.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := clientconnectorservices.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &clientconnectorservicespb.CreateClientConnectorServiceRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/beyondcorp/clientconnectorservices/apiv1/clientconnectorservicespb#CreateClientConnectorServiceRequest. -// } -// op, err := c.CreateClientConnectorService(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := clientconnectorservices.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &clientconnectorservicespb.CreateClientConnectorServiceRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/beyondcorp/clientconnectorservices/apiv1/clientconnectorservicespb#CreateClientConnectorServiceRequest. +// } +// op, err := c.CreateClientConnectorService(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/beyondcorp/clientgateways/apiv1/client_gateways_client.go b/beyondcorp/clientgateways/apiv1/client_gateways_client.go index f7176e27cbe1..24727b72c333 100755 --- a/beyondcorp/clientgateways/apiv1/client_gateways_client.go +++ b/beyondcorp/clientgateways/apiv1/client_gateways_client.go @@ -120,8 +120,8 @@ type internalClient interface { // // The ClientGatewaysService exposes the following resources: // -// Client Gateways, named as follows: -// projects/{project_id}/locations/{location_id}/clientGateways/{client_gateway_id}. +// Client Gateways, named as follows: +// projects/{project_id}/locations/{location_id}/clientGateways/{client_gateway_id}. type Client struct { // The internal transport-dependent client. internalClient internalClient @@ -286,8 +286,8 @@ type gRPCClient struct { // // The ClientGatewaysService exposes the following resources: // -// Client Gateways, named as follows: -// projects/{project_id}/locations/{location_id}/clientGateways/{client_gateway_id}. +// Client Gateways, named as follows: +// projects/{project_id}/locations/{location_id}/clientGateways/{client_gateway_id}. func NewClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { clientOpts := defaultGRPCClientOptions() if newClientHook != nil { diff --git a/beyondcorp/clientgateways/apiv1/clientgatewayspb/client_gateways_service.pb.go b/beyondcorp/clientgateways/apiv1/clientgatewayspb/client_gateways_service.pb.go index 18855eb7883a..99faa59ba332 100755 --- a/beyondcorp/clientgateways/apiv1/clientgatewayspb/client_gateways_service.pb.go +++ b/beyondcorp/clientgateways/apiv1/clientgatewayspb/client_gateways_service.pb.go @@ -21,8 +21,11 @@ package clientgatewayspb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/beyondcorp/clientgateways/apiv1/doc.go b/beyondcorp/clientgateways/apiv1/doc.go index 14b8abe7437d..4c954eb9abf5 100755 --- a/beyondcorp/clientgateways/apiv1/doc.go +++ b/beyondcorp/clientgateways/apiv1/doc.go @@ -22,70 +22,71 @@ // Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem // connectivity using the App Connector hybrid connectivity solution. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := clientgateways.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := clientgateways.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := clientgateways.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &clientgatewayspb.CreateClientGatewayRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/beyondcorp/clientgateways/apiv1/clientgatewayspb#CreateClientGatewayRequest. -// } -// op, err := c.CreateClientGateway(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := clientgateways.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &clientgatewayspb.CreateClientGatewayRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/beyondcorp/clientgateways/apiv1/clientgatewayspb#CreateClientGatewayRequest. +// } +// op, err := c.CreateClientGateway(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/analyticshub/apiv1/analyticshubpb/analyticshub.pb.go b/bigquery/analyticshub/apiv1/analyticshubpb/analyticshub.pb.go index c197320e8e37..408507e075cb 100755 --- a/bigquery/analyticshub/apiv1/analyticshubpb/analyticshub.pb.go +++ b/bigquery/analyticshub/apiv1/analyticshubpb/analyticshub.pb.go @@ -21,9 +21,12 @@ package analyticshubpb import ( + context "context" + reflect "reflect" + sync "sync" + iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" - context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,8 +37,6 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/analyticshub/apiv1/doc.go b/bigquery/analyticshub/apiv1/doc.go index 90f403aea67a..527dab843504 100755 --- a/bigquery/analyticshub/apiv1/doc.go +++ b/bigquery/analyticshub/apiv1/doc.go @@ -19,65 +19,66 @@ // // Exchange data and analytics assets securely and efficiently. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := analyticshub.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := analyticshub.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := analyticshub.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &analyticshubpb.CreateDataExchangeRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/analyticshub/apiv1/analyticshubpb#CreateDataExchangeRequest. -// } -// resp, err := c.CreateDataExchange(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := analyticshub.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &analyticshubpb.CreateDataExchangeRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/analyticshub/apiv1/analyticshubpb#CreateDataExchangeRequest. +// } +// resp, err := c.CreateDataExchange(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/biglake/apiv1/biglakepb/metastore.pb.go b/bigquery/biglake/apiv1/biglakepb/metastore.pb.go index 71e90aae2df2..7a16ed522558 100755 --- a/bigquery/biglake/apiv1/biglakepb/metastore.pb.go +++ b/bigquery/biglake/apiv1/biglakepb/metastore.pb.go @@ -22,6 +22,9 @@ package biglakepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/biglake/apiv1/doc.go b/bigquery/biglake/apiv1/doc.go index 98d53fbe5146..4ac32b96f3da 100755 --- a/bigquery/biglake/apiv1/doc.go +++ b/bigquery/biglake/apiv1/doc.go @@ -21,65 +21,66 @@ // managed, and highly available metastore for open-source data that can be // used for querying Apache Iceberg tables in BigQuery. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := biglake.NewMetastoreClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := biglake.NewMetastoreClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := biglake.NewMetastoreClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &biglakepb.CreateCatalogRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/biglake/apiv1/biglakepb#CreateCatalogRequest. -// } -// resp, err := c.CreateCatalog(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := biglake.NewMetastoreClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &biglakepb.CreateCatalogRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/biglake/apiv1/biglakepb#CreateCatalogRequest. +// } +// resp, err := c.CreateCatalog(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewMetastoreClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/biglake/apiv1/metastore_client.go b/bigquery/biglake/apiv1/metastore_client.go index 2cb690f2d43f..336c7175363a 100755 --- a/bigquery/biglake/apiv1/metastore_client.go +++ b/bigquery/biglake/apiv1/metastore_client.go @@ -488,15 +488,15 @@ type internalMetastoreClient interface { // // The BigLake Metastore API defines the following resource model: // -// A collection of Google Cloud projects: /projects/* +// A collection of Google Cloud projects: /projects/* // -// Each project has a collection of available locations: /locations/* +// Each project has a collection of available locations: /locations/* // -// Each location has a collection of catalogs: /catalogs/* +// Each location has a collection of catalogs: /catalogs/* // -// Each catalog has a collection of databases: /databases/* +// Each catalog has a collection of databases: /databases/* // -// Each database has a collection of tables: /tables/* +// Each database has a collection of tables: /tables/* type MetastoreClient struct { // The internal transport-dependent client. internalClient internalMetastoreClient @@ -628,15 +628,15 @@ type metastoreGRPCClient struct { // // The BigLake Metastore API defines the following resource model: // -// A collection of Google Cloud projects: /projects/* +// A collection of Google Cloud projects: /projects/* // -// Each project has a collection of available locations: /locations/* +// Each project has a collection of available locations: /locations/* // -// Each location has a collection of catalogs: /catalogs/* +// Each location has a collection of catalogs: /catalogs/* // -// Each catalog has a collection of databases: /databases/* +// Each catalog has a collection of databases: /databases/* // -// Each database has a collection of tables: /tables/* +// Each database has a collection of tables: /tables/* func NewMetastoreClient(ctx context.Context, opts ...option.ClientOption) (*MetastoreClient, error) { clientOpts := defaultMetastoreGRPCClientOptions() if newMetastoreClientHook != nil { @@ -710,15 +710,15 @@ type metastoreRESTClient struct { // // The BigLake Metastore API defines the following resource model: // -// A collection of Google Cloud projects: /projects/* +// A collection of Google Cloud projects: /projects/* // -// Each project has a collection of available locations: /locations/* +// Each project has a collection of available locations: /locations/* // -// Each location has a collection of catalogs: /catalogs/* +// Each location has a collection of catalogs: /catalogs/* // -// Each catalog has a collection of databases: /databases/* +// Each catalog has a collection of databases: /databases/* // -// Each database has a collection of tables: /tables/* +// Each database has a collection of tables: /tables/* func NewMetastoreRESTClient(ctx context.Context, opts ...option.ClientOption) (*MetastoreClient, error) { clientOpts := append(defaultMetastoreRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/bigquery/biglake/apiv1alpha1/biglakepb/metastore.pb.go b/bigquery/biglake/apiv1alpha1/biglakepb/metastore.pb.go index 653241103183..70021ee0b6e4 100755 --- a/bigquery/biglake/apiv1alpha1/biglakepb/metastore.pb.go +++ b/bigquery/biglake/apiv1alpha1/biglakepb/metastore.pb.go @@ -22,6 +22,9 @@ package biglakepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/biglake/apiv1alpha1/doc.go b/bigquery/biglake/apiv1alpha1/doc.go index b50181b4a0f7..cd61601aaee6 100755 --- a/bigquery/biglake/apiv1alpha1/doc.go +++ b/bigquery/biglake/apiv1alpha1/doc.go @@ -21,67 +21,68 @@ // managed, and highly available metastore for open-source data that can be // used for querying Apache Iceberg tables in BigQuery. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := biglake.NewMetastoreClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := biglake.NewMetastoreClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := biglake.NewMetastoreClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &biglakepb.CheckLockRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/biglake/apiv1alpha1/biglakepb#CheckLockRequest. -// } -// resp, err := c.CheckLock(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := biglake.NewMetastoreClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &biglakepb.CheckLockRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/biglake/apiv1alpha1/biglakepb#CheckLockRequest. +// } +// resp, err := c.CheckLock(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewMetastoreClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/biglake/apiv1alpha1/metastore_client.go b/bigquery/biglake/apiv1alpha1/metastore_client.go index 5abd816e8106..8d5513c6ab3b 100755 --- a/bigquery/biglake/apiv1alpha1/metastore_client.go +++ b/bigquery/biglake/apiv1alpha1/metastore_client.go @@ -596,15 +596,15 @@ type internalMetastoreClient interface { // // The BigLake Metastore API defines the following resource model: // -// A collection of Google Cloud projects: /projects/* +// A collection of Google Cloud projects: /projects/* // -// Each project has a collection of available locations: /locations/* +// Each project has a collection of available locations: /locations/* // -// Each location has a collection of catalogs: /catalogs/* +// Each location has a collection of catalogs: /catalogs/* // -// Each catalog has a collection of databases: /databases/* +// Each catalog has a collection of databases: /databases/* // -// Each database has a collection of tables: /tables/* +// Each database has a collection of tables: /tables/* type MetastoreClient struct { // The internal transport-dependent client. internalClient internalMetastoreClient @@ -756,15 +756,15 @@ type metastoreGRPCClient struct { // // The BigLake Metastore API defines the following resource model: // -// A collection of Google Cloud projects: /projects/* +// A collection of Google Cloud projects: /projects/* // -// Each project has a collection of available locations: /locations/* +// Each project has a collection of available locations: /locations/* // -// Each location has a collection of catalogs: /catalogs/* +// Each location has a collection of catalogs: /catalogs/* // -// Each catalog has a collection of databases: /databases/* +// Each catalog has a collection of databases: /databases/* // -// Each database has a collection of tables: /tables/* +// Each database has a collection of tables: /tables/* func NewMetastoreClient(ctx context.Context, opts ...option.ClientOption) (*MetastoreClient, error) { clientOpts := defaultMetastoreGRPCClientOptions() if newMetastoreClientHook != nil { @@ -838,15 +838,15 @@ type metastoreRESTClient struct { // // The BigLake Metastore API defines the following resource model: // -// A collection of Google Cloud projects: /projects/* +// A collection of Google Cloud projects: /projects/* // -// Each project has a collection of available locations: /locations/* +// Each project has a collection of available locations: /locations/* // -// Each location has a collection of catalogs: /catalogs/* +// Each location has a collection of catalogs: /catalogs/* // -// Each catalog has a collection of databases: /databases/* +// Each catalog has a collection of databases: /databases/* // -// Each database has a collection of tables: /tables/* +// Each database has a collection of tables: /tables/* func NewMetastoreRESTClient(ctx context.Context, opts ...option.ClientOption) (*MetastoreClient, error) { clientOpts := append(defaultMetastoreRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/bigquery/connection/apiv1/connectionpb/connection.pb.go b/bigquery/connection/apiv1/connectionpb/connection.pb.go index 5d6c580ebf6c..671faa9f8507 100755 --- a/bigquery/connection/apiv1/connectionpb/connection.pb.go +++ b/bigquery/connection/apiv1/connectionpb/connection.pb.go @@ -21,8 +21,11 @@ package connectionpb import ( - iampb "cloud.google.com/go/iam/apiv1/iampb" context "context" + reflect "reflect" + sync "sync" + + iampb "cloud.google.com/go/iam/apiv1/iampb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/connection/apiv1/doc.go b/bigquery/connection/apiv1/doc.go index bbcb87fa3094..cc199500ac4b 100755 --- a/bigquery/connection/apiv1/doc.go +++ b/bigquery/connection/apiv1/doc.go @@ -19,65 +19,66 @@ // // Allows users to manage BigQuery connections to external data sources. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := connection.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := connection.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := connection.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &connectionpb.CreateConnectionRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/connection/apiv1/connectionpb#CreateConnectionRequest. -// } -// resp, err := c.CreateConnection(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := connection.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &connectionpb.CreateConnectionRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/connection/apiv1/connectionpb#CreateConnectionRequest. +// } +// resp, err := c.CreateConnection(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/connection/apiv1beta1/auxiliary.go b/bigquery/connection/apiv1beta1/auxiliary.go index da810510db9a..76ef72b814ce 100755 --- a/bigquery/connection/apiv1beta1/auxiliary.go +++ b/bigquery/connection/apiv1beta1/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package connection - -import () diff --git a/bigquery/connection/apiv1beta1/connectionpb/connection.pb.go b/bigquery/connection/apiv1beta1/connectionpb/connection.pb.go index 2b9ea4a3e105..f2323ce9a026 100755 --- a/bigquery/connection/apiv1beta1/connectionpb/connection.pb.go +++ b/bigquery/connection/apiv1beta1/connectionpb/connection.pb.go @@ -21,8 +21,11 @@ package connectionpb import ( - iampb "cloud.google.com/go/iam/apiv1/iampb" context "context" + reflect "reflect" + sync "sync" + + iampb "cloud.google.com/go/iam/apiv1/iampb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/connection/apiv1beta1/doc.go b/bigquery/connection/apiv1beta1/doc.go index 93fa93e140dd..3dba077c58aa 100755 --- a/bigquery/connection/apiv1beta1/doc.go +++ b/bigquery/connection/apiv1beta1/doc.go @@ -19,67 +19,68 @@ // // Allows users to manage BigQuery connections to external data sources. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := connection.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := connection.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := connection.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &connectionpb.CreateConnectionRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/connection/apiv1beta1/connectionpb#CreateConnectionRequest. -// } -// resp, err := c.CreateConnection(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := connection.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &connectionpb.CreateConnectionRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/connection/apiv1beta1/connectionpb#CreateConnectionRequest. +// } +// resp, err := c.CreateConnection(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/dataexchange/apiv1beta1/dataexchangepb/dataexchange.pb.go b/bigquery/dataexchange/apiv1beta1/dataexchangepb/dataexchange.pb.go index 46f8efbd7052..5c62fc0b321e 100755 --- a/bigquery/dataexchange/apiv1beta1/dataexchangepb/dataexchange.pb.go +++ b/bigquery/dataexchange/apiv1beta1/dataexchangepb/dataexchange.pb.go @@ -21,8 +21,11 @@ package dataexchangepb import ( - iampb "cloud.google.com/go/iam/apiv1/iampb" context "context" + reflect "reflect" + sync "sync" + + iampb "cloud.google.com/go/iam/apiv1/iampb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/dataexchange/apiv1beta1/doc.go b/bigquery/dataexchange/apiv1beta1/doc.go index a55fdb083aee..6aec7ef862e7 100755 --- a/bigquery/dataexchange/apiv1beta1/doc.go +++ b/bigquery/dataexchange/apiv1beta1/doc.go @@ -19,67 +19,68 @@ // // Exchange data and analytics assets securely and efficiently. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dataexchange.NewAnalyticsHubClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dataexchange.NewAnalyticsHubClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dataexchange.NewAnalyticsHubClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &dataexchangepb.CreateDataExchangeRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb#CreateDataExchangeRequest. -// } -// resp, err := c.CreateDataExchange(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dataexchange.NewAnalyticsHubClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &dataexchangepb.CreateDataExchangeRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb#CreateDataExchangeRequest. +// } +// resp, err := c.CreateDataExchange(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewAnalyticsHubClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/datapolicies/apiv1/datapoliciespb/datapolicy.pb.go b/bigquery/datapolicies/apiv1/datapoliciespb/datapolicy.pb.go index 329d135f1da0..633fb06c6371 100755 --- a/bigquery/datapolicies/apiv1/datapoliciespb/datapolicy.pb.go +++ b/bigquery/datapolicies/apiv1/datapoliciespb/datapolicy.pb.go @@ -21,8 +21,11 @@ package datapoliciespb import ( - iampb "cloud.google.com/go/iam/apiv1/iampb" context "context" + reflect "reflect" + sync "sync" + + iampb "cloud.google.com/go/iam/apiv1/iampb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/datapolicies/apiv1/doc.go b/bigquery/datapolicies/apiv1/doc.go index 53c7417dd9fe..1edf9f23bfdc 100755 --- a/bigquery/datapolicies/apiv1/doc.go +++ b/bigquery/datapolicies/apiv1/doc.go @@ -19,65 +19,66 @@ // // Allows users to manage BigQuery data policies. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datapolicies.NewDataPolicyClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datapolicies.NewDataPolicyClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datapolicies.NewDataPolicyClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &datapoliciespb.CreateDataPolicyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/datapolicies/apiv1/datapoliciespb#CreateDataPolicyRequest. -// } -// resp, err := c.CreateDataPolicy(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datapolicies.NewDataPolicyClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &datapoliciespb.CreateDataPolicyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/datapolicies/apiv1/datapoliciespb#CreateDataPolicyRequest. +// } +// resp, err := c.CreateDataPolicy(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewDataPolicyClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/datapolicies/apiv1beta1/datapoliciespb/datapolicy.pb.go b/bigquery/datapolicies/apiv1beta1/datapoliciespb/datapolicy.pb.go index c563a92fd129..be70381ab3c3 100755 --- a/bigquery/datapolicies/apiv1beta1/datapoliciespb/datapolicy.pb.go +++ b/bigquery/datapolicies/apiv1beta1/datapoliciespb/datapolicy.pb.go @@ -21,8 +21,11 @@ package datapoliciespb import ( - iampb "cloud.google.com/go/iam/apiv1/iampb" context "context" + reflect "reflect" + sync "sync" + + iampb "cloud.google.com/go/iam/apiv1/iampb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/datapolicies/apiv1beta1/doc.go b/bigquery/datapolicies/apiv1beta1/doc.go index b2a5cd4ad557..b5e5239e7ac2 100755 --- a/bigquery/datapolicies/apiv1beta1/doc.go +++ b/bigquery/datapolicies/apiv1beta1/doc.go @@ -19,67 +19,68 @@ // // Allows users to manage BigQuery data policies. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datapolicies.NewDataPolicyClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datapolicies.NewDataPolicyClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datapolicies.NewDataPolicyClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &datapoliciespb.CreateDataPolicyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/datapolicies/apiv1beta1/datapoliciespb#CreateDataPolicyRequest. -// } -// resp, err := c.CreateDataPolicy(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datapolicies.NewDataPolicyClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &datapoliciespb.CreateDataPolicyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/datapolicies/apiv1beta1/datapoliciespb#CreateDataPolicyRequest. +// } +// resp, err := c.CreateDataPolicy(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewDataPolicyClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/datatransfer/apiv1/datatransferpb/datatransfer.pb.go b/bigquery/datatransfer/apiv1/datatransferpb/datatransfer.pb.go index 395295b411fb..7f5c2e5be536 100755 --- a/bigquery/datatransfer/apiv1/datatransferpb/datatransfer.pb.go +++ b/bigquery/datatransfer/apiv1/datatransferpb/datatransfer.pb.go @@ -22,6 +22,9 @@ package datatransferpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,8 +36,6 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/datatransfer/apiv1/datatransferpb/transfer.pb.go b/bigquery/datatransfer/apiv1/datatransferpb/transfer.pb.go index 2ce36f8ff6bb..7df9d422e90b 100755 --- a/bigquery/datatransfer/apiv1/datatransferpb/transfer.pb.go +++ b/bigquery/datatransfer/apiv1/datatransferpb/transfer.pb.go @@ -21,6 +21,9 @@ package datatransferpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -28,8 +31,6 @@ import ( structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/datatransfer/apiv1/doc.go b/bigquery/datatransfer/apiv1/doc.go index 91d19b67f779..90ba8ab19e4f 100755 --- a/bigquery/datatransfer/apiv1/doc.go +++ b/bigquery/datatransfer/apiv1/doc.go @@ -20,65 +20,66 @@ // Schedule queries or transfer external data from SaaS applications to // Google BigQuery on a regular basis. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datatransfer.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datatransfer.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datatransfer.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &datatransferpb.CheckValidCredsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/datatransfer/apiv1/datatransferpb#CheckValidCredsRequest. -// } -// resp, err := c.CheckValidCreds(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datatransfer.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &datatransferpb.CheckValidCredsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/datatransfer/apiv1/datatransferpb#CheckValidCredsRequest. +// } +// resp, err := c.CheckValidCreds(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/migration/apiv2/doc.go b/bigquery/migration/apiv2/doc.go index 63a74b3dc956..f5ace158653e 100755 --- a/bigquery/migration/apiv2/doc.go +++ b/bigquery/migration/apiv2/doc.go @@ -20,67 +20,68 @@ // The migration service, exposing apis for migration jobs operations, and // agent management. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := migration.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := migration.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := migration.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &migrationpb.CreateMigrationWorkflowRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/migration/apiv2/migrationpb#CreateMigrationWorkflowRequest. -// } -// resp, err := c.CreateMigrationWorkflow(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := migration.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &migrationpb.CreateMigrationWorkflowRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/migration/apiv2/migrationpb#CreateMigrationWorkflowRequest. +// } +// resp, err := c.CreateMigrationWorkflow(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/migration/apiv2/migrationpb/migration_entities.pb.go b/bigquery/migration/apiv2/migrationpb/migration_entities.pb.go index bf2e14182580..bfd2a610c4b3 100755 --- a/bigquery/migration/apiv2/migrationpb/migration_entities.pb.go +++ b/bigquery/migration/apiv2/migrationpb/migration_entities.pb.go @@ -21,13 +21,14 @@ package migrationpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" errdetails "google.golang.org/genproto/googleapis/rpc/errdetails" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/migration/apiv2/migrationpb/migration_error_details.pb.go b/bigquery/migration/apiv2/migrationpb/migration_error_details.pb.go index de001b2a5463..68757e72abac 100755 --- a/bigquery/migration/apiv2/migrationpb/migration_error_details.pb.go +++ b/bigquery/migration/apiv2/migrationpb/migration_error_details.pb.go @@ -21,12 +21,13 @@ package migrationpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" errdetails "google.golang.org/genproto/googleapis/rpc/errdetails" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/migration/apiv2/migrationpb/migration_metrics.pb.go b/bigquery/migration/apiv2/migrationpb/migration_metrics.pb.go index f7454dc8e22f..1b7fa16eff5a 100755 --- a/bigquery/migration/apiv2/migrationpb/migration_metrics.pb.go +++ b/bigquery/migration/apiv2/migrationpb/migration_metrics.pb.go @@ -21,14 +21,15 @@ package migrationpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" distribution "google.golang.org/genproto/googleapis/api/distribution" metric "google.golang.org/genproto/googleapis/api/metric" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/migration/apiv2/migrationpb/migration_service.pb.go b/bigquery/migration/apiv2/migrationpb/migration_service.pb.go index 35afe22db92d..c3af88f29a3c 100755 --- a/bigquery/migration/apiv2/migrationpb/migration_service.pb.go +++ b/bigquery/migration/apiv2/migrationpb/migration_service.pb.go @@ -22,6 +22,9 @@ package migrationpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/migration/apiv2/migrationpb/translation_config.pb.go b/bigquery/migration/apiv2/migrationpb/translation_config.pb.go index 420dc9393de8..4962f9e5de73 100755 --- a/bigquery/migration/apiv2/migrationpb/translation_config.pb.go +++ b/bigquery/migration/apiv2/migrationpb/translation_config.pb.go @@ -21,10 +21,11 @@ package migrationpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/bigquery/migration/apiv2alpha/doc.go b/bigquery/migration/apiv2alpha/doc.go index 8a5e7e6de204..c95c496c5ca9 100755 --- a/bigquery/migration/apiv2alpha/doc.go +++ b/bigquery/migration/apiv2alpha/doc.go @@ -20,67 +20,68 @@ // The migration service, exposing apis for migration jobs operations, and // agent management. // -// NOTE: This package is in alpha. It is not stable, and is likely to change. +// NOTE: This package is in alpha. It is not stable, and is likely to change. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := migration.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := migration.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := migration.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &migrationpb.CreateMigrationWorkflowRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb#CreateMigrationWorkflowRequest. -// } -// resp, err := c.CreateMigrationWorkflow(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := migration.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &migrationpb.CreateMigrationWorkflowRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb#CreateMigrationWorkflowRequest. +// } +// resp, err := c.CreateMigrationWorkflow(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/migration/apiv2alpha/migrationpb/assessment_task.pb.go b/bigquery/migration/apiv2alpha/migrationpb/assessment_task.pb.go index ca60cc02c143..f52f3d680ab7 100755 --- a/bigquery/migration/apiv2alpha/migrationpb/assessment_task.pb.go +++ b/bigquery/migration/apiv2alpha/migrationpb/assessment_task.pb.go @@ -21,11 +21,12 @@ package migrationpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/migration/apiv2alpha/migrationpb/migration_entities.pb.go b/bigquery/migration/apiv2alpha/migrationpb/migration_entities.pb.go index 3657e5ed528a..9202148fd707 100755 --- a/bigquery/migration/apiv2alpha/migrationpb/migration_entities.pb.go +++ b/bigquery/migration/apiv2alpha/migrationpb/migration_entities.pb.go @@ -21,14 +21,15 @@ package migrationpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" errdetails "google.golang.org/genproto/googleapis/rpc/errdetails" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/migration/apiv2alpha/migrationpb/migration_error_details.pb.go b/bigquery/migration/apiv2alpha/migrationpb/migration_error_details.pb.go index 39bd7fa6a37e..4cd51601716d 100755 --- a/bigquery/migration/apiv2alpha/migrationpb/migration_error_details.pb.go +++ b/bigquery/migration/apiv2alpha/migrationpb/migration_error_details.pb.go @@ -21,12 +21,13 @@ package migrationpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" errdetails "google.golang.org/genproto/googleapis/rpc/errdetails" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/migration/apiv2alpha/migrationpb/migration_metrics.pb.go b/bigquery/migration/apiv2alpha/migrationpb/migration_metrics.pb.go index 15d69326ad13..8faf7628add4 100755 --- a/bigquery/migration/apiv2alpha/migrationpb/migration_metrics.pb.go +++ b/bigquery/migration/apiv2alpha/migrationpb/migration_metrics.pb.go @@ -21,14 +21,15 @@ package migrationpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" distribution "google.golang.org/genproto/googleapis/api/distribution" metric "google.golang.org/genproto/googleapis/api/metric" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/migration/apiv2alpha/migrationpb/migration_service.pb.go b/bigquery/migration/apiv2alpha/migrationpb/migration_service.pb.go index 15ef3a09868e..3d187c206a76 100755 --- a/bigquery/migration/apiv2alpha/migrationpb/migration_service.pb.go +++ b/bigquery/migration/apiv2alpha/migrationpb/migration_service.pb.go @@ -22,6 +22,9 @@ package migrationpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/migration/apiv2alpha/migrationpb/translation_service.pb.go b/bigquery/migration/apiv2alpha/migrationpb/translation_service.pb.go index 5415e60a7f10..67ba9768e8a0 100755 --- a/bigquery/migration/apiv2alpha/migrationpb/translation_service.pb.go +++ b/bigquery/migration/apiv2alpha/migrationpb/translation_service.pb.go @@ -22,14 +22,15 @@ package migrationpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/migration/apiv2alpha/migrationpb/translation_task.pb.go b/bigquery/migration/apiv2alpha/migrationpb/translation_task.pb.go index 00717df237aa..f6441e2d5ce6 100755 --- a/bigquery/migration/apiv2alpha/migrationpb/translation_task.pb.go +++ b/bigquery/migration/apiv2alpha/migrationpb/translation_task.pb.go @@ -21,10 +21,11 @@ package migrationpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/bigquery/reservation/apiv1/doc.go b/bigquery/reservation/apiv1/doc.go index 8b45abbb3932..52834f7019b6 100755 --- a/bigquery/reservation/apiv1/doc.go +++ b/bigquery/reservation/apiv1/doc.go @@ -19,65 +19,66 @@ // // A service to modify your BigQuery flat-rate reservations. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := reservation.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := reservation.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := reservation.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &reservationpb.CreateAssignmentRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/reservation/apiv1/reservationpb#CreateAssignmentRequest. -// } -// resp, err := c.CreateAssignment(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := reservation.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &reservationpb.CreateAssignmentRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/reservation/apiv1/reservationpb#CreateAssignmentRequest. +// } +// resp, err := c.CreateAssignment(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/reservation/apiv1/reservation_client.go b/bigquery/reservation/apiv1/reservation_client.go index 3eb81e63c619..03ee1a6c8966 100755 --- a/bigquery/reservation/apiv1/reservation_client.go +++ b/bigquery/reservation/apiv1/reservation_client.go @@ -575,12 +575,12 @@ func (c *Client) MergeCapacityCommitments(ctx context.Context, req *reservationp // // Example: // -// The organization organizationA contains two projects, project1 -// and project2. +// The organization organizationA contains two projects, project1 +// and project2. // -// Assignments for all three entities (organizationA, project1, and -// project2) could all be created and mapped to the same or different -// reservations. +// Assignments for all three entities (organizationA, project1, and +// project2) could all be created and mapped to the same or different +// reservations. // // “None” assignments represent an absence of the assignment. Projects // assigned to None use on-demand pricing. To create a “None” assignment, use @@ -603,14 +603,14 @@ func (c *Client) CreateAssignment(ctx context.Context, req *reservationpb.Create // // Example: // -// Organization organizationA contains two projects, project1 and -// project2. +// Organization organizationA contains two projects, project1 and +// project2. // -// Reservation res1 exists and was created previously. +// Reservation res1 exists and was created previously. // -// CreateAssignment was used previously to define the following -// associations between entities and reservations: -// and +// CreateAssignment was used previously to define the following +// associations between entities and reservations: +// and // // In this example, ListAssignments will just return the above two assignments // for reservation res1, and no expansion/merge will happen. @@ -628,14 +628,14 @@ func (c *Client) ListAssignments(ctx context.Context, req *reservationpb.ListAss // // Example: // -// Organization organizationA contains two projects, project1 and -// project2. +// Organization organizationA contains two projects, project1 and +// project2. // -// Reservation res1 exists and was created previously. +// Reservation res1 exists and was created previously. // -// CreateAssignment was used previously to define the following -// associations between entities and reservations: -// and +// CreateAssignment was used previously to define the following +// associations between entities and reservations: +// and // // In this example, deletion of the assignment won’t // affect the other assignment . After said deletion, @@ -2262,12 +2262,12 @@ func (c *restClient) MergeCapacityCommitments(ctx context.Context, req *reservat // // Example: // -// The organization organizationA contains two projects, project1 -// and project2. +// The organization organizationA contains two projects, project1 +// and project2. // -// Assignments for all three entities (organizationA, project1, and -// project2) could all be created and mapped to the same or different -// reservations. +// Assignments for all three entities (organizationA, project1, and +// project2) could all be created and mapped to the same or different +// reservations. // // “None” assignments represent an absence of the assignment. Projects // assigned to None use on-demand pricing. To create a “None” assignment, use @@ -2355,14 +2355,14 @@ func (c *restClient) CreateAssignment(ctx context.Context, req *reservationpb.Cr // // Example: // -// Organization organizationA contains two projects, project1 and -// project2. +// Organization organizationA contains two projects, project1 and +// project2. // -// Reservation res1 exists and was created previously. +// Reservation res1 exists and was created previously. // -// CreateAssignment was used previously to define the following -// associations between entities and reservations: -// and +// CreateAssignment was used previously to define the following +// associations between entities and reservations: +// and // // In this example, ListAssignments will just return the above two assignments // for reservation res1, and no expansion/merge will happen. @@ -2464,14 +2464,14 @@ func (c *restClient) ListAssignments(ctx context.Context, req *reservationpb.Lis // // Example: // -// Organization organizationA contains two projects, project1 and -// project2. +// Organization organizationA contains two projects, project1 and +// project2. // -// Reservation res1 exists and was created previously. +// Reservation res1 exists and was created previously. // -// CreateAssignment was used previously to define the following -// associations between entities and reservations: -// and +// CreateAssignment was used previously to define the following +// associations between entities and reservations: +// and // // In this example, deletion of the assignment won’t // affect the other assignment . After said deletion, diff --git a/bigquery/reservation/apiv1/reservationpb/reservation.pb.go b/bigquery/reservation/apiv1/reservationpb/reservation.pb.go index c5d2161cc25a..b0644cd2e45e 100755 --- a/bigquery/reservation/apiv1/reservationpb/reservation.pb.go +++ b/bigquery/reservation/apiv1/reservationpb/reservation.pb.go @@ -22,6 +22,9 @@ package reservationpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/storage/apiv1/auxiliary.go b/bigquery/storage/apiv1/auxiliary.go index 625e26312d5d..eeeadcc79a80 100755 --- a/bigquery/storage/apiv1/auxiliary.go +++ b/bigquery/storage/apiv1/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package storage - -import () diff --git a/bigquery/storage/apiv1/big_query_write_client.go b/bigquery/storage/apiv1/big_query_write_client.go index ad7fa3e16324..315813cff8ff 100755 --- a/bigquery/storage/apiv1/big_query_write_client.go +++ b/bigquery/storage/apiv1/big_query_write_client.go @@ -227,15 +227,15 @@ func (c *BigQueryWriteClient) CreateWriteStream(ctx context.Context, req *storag // The specifics of when successfully appended data is made visible to the // table are governed by the type of stream: // -// For COMMITTED streams (which includes the default stream), data is -// visible immediately upon successful append. +// For COMMITTED streams (which includes the default stream), data is +// visible immediately upon successful append. // -// For BUFFERED streams, data is made visible via a subsequent FlushRows -// rpc which advances a cursor to a newer offset in the stream. +// For BUFFERED streams, data is made visible via a subsequent FlushRows +// rpc which advances a cursor to a newer offset in the stream. // -// For PENDING streams, data is not made visible until the stream itself is -// finalized (via the FinalizeWriteStream rpc), and the stream is explicitly -// committed via the BatchCommitWriteStreams rpc. +// For PENDING streams, data is not made visible until the stream itself is +// finalized (via the FinalizeWriteStream rpc), and the stream is explicitly +// committed via the BatchCommitWriteStreams rpc. func (c *BigQueryWriteClient) AppendRows(ctx context.Context, opts ...gax.CallOption) (storagepb.BigQueryWrite_AppendRowsClient, error) { return c.internalClient.AppendRows(ctx, opts...) } diff --git a/bigquery/storage/apiv1/doc.go b/bigquery/storage/apiv1/doc.go index f010f86bc612..1e63d1af4e09 100755 --- a/bigquery/storage/apiv1/doc.go +++ b/bigquery/storage/apiv1/doc.go @@ -17,65 +17,66 @@ // Package storage is an auto-generated package for the // BigQuery Storage API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := storage.NewBigQueryReadClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := storage.NewBigQueryReadClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := storage.NewBigQueryReadClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &storagepb.CreateReadSessionRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/storage/apiv1/storagepb#CreateReadSessionRequest. -// } -// resp, err := c.CreateReadSession(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := storage.NewBigQueryReadClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &storagepb.CreateReadSessionRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/storage/apiv1/storagepb#CreateReadSessionRequest. +// } +// resp, err := c.CreateReadSession(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewBigQueryReadClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/storage/apiv1/storagepb/annotations.pb.go b/bigquery/storage/apiv1/storagepb/annotations.pb.go index 072a277b9426..33de8c639af1 100755 --- a/bigquery/storage/apiv1/storagepb/annotations.pb.go +++ b/bigquery/storage/apiv1/storagepb/annotations.pb.go @@ -7,10 +7,11 @@ package storagepb import ( + reflect "reflect" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" descriptorpb "google.golang.org/protobuf/types/descriptorpb" - reflect "reflect" ) const ( diff --git a/bigquery/storage/apiv1/storagepb/arrow.pb.go b/bigquery/storage/apiv1/storagepb/arrow.pb.go index d6ac14952f28..8140c85b88ab 100755 --- a/bigquery/storage/apiv1/storagepb/arrow.pb.go +++ b/bigquery/storage/apiv1/storagepb/arrow.pb.go @@ -21,10 +21,11 @@ package storagepb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/bigquery/storage/apiv1/storagepb/avro.pb.go b/bigquery/storage/apiv1/storagepb/avro.pb.go index 3c9ce1340bfb..e0cfeffa92f3 100755 --- a/bigquery/storage/apiv1/storagepb/avro.pb.go +++ b/bigquery/storage/apiv1/storagepb/avro.pb.go @@ -21,10 +21,11 @@ package storagepb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/bigquery/storage/apiv1/storagepb/protobuf.pb.go b/bigquery/storage/apiv1/storagepb/protobuf.pb.go index 7169a8fb5fb1..720c705feef4 100755 --- a/bigquery/storage/apiv1/storagepb/protobuf.pb.go +++ b/bigquery/storage/apiv1/storagepb/protobuf.pb.go @@ -21,11 +21,12 @@ package storagepb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" descriptorpb "google.golang.org/protobuf/types/descriptorpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/storage/apiv1/storagepb/storage.pb.go b/bigquery/storage/apiv1/storagepb/storage.pb.go index ff5768054c99..35b7ac14639e 100755 --- a/bigquery/storage/apiv1/storagepb/storage.pb.go +++ b/bigquery/storage/apiv1/storagepb/storage.pb.go @@ -22,6 +22,9 @@ package storagepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/storage/apiv1/storagepb/stream.pb.go b/bigquery/storage/apiv1/storagepb/stream.pb.go index a87aca8a7e20..cb31e1a1fac9 100755 --- a/bigquery/storage/apiv1/storagepb/stream.pb.go +++ b/bigquery/storage/apiv1/storagepb/stream.pb.go @@ -21,12 +21,13 @@ package storagepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/storage/apiv1/storagepb/table.pb.go b/bigquery/storage/apiv1/storagepb/table.pb.go index dc49ce1e6594..b07309bed933 100755 --- a/bigquery/storage/apiv1/storagepb/table.pb.go +++ b/bigquery/storage/apiv1/storagepb/table.pb.go @@ -21,11 +21,12 @@ package storagepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/storage/apiv1beta1/auxiliary.go b/bigquery/storage/apiv1beta1/auxiliary.go index 625e26312d5d..eeeadcc79a80 100755 --- a/bigquery/storage/apiv1beta1/auxiliary.go +++ b/bigquery/storage/apiv1beta1/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package storage - -import () diff --git a/bigquery/storage/apiv1beta1/doc.go b/bigquery/storage/apiv1beta1/doc.go index e961b580d949..2b7a3ae18055 100755 --- a/bigquery/storage/apiv1beta1/doc.go +++ b/bigquery/storage/apiv1beta1/doc.go @@ -17,67 +17,68 @@ // Package storage is an auto-generated package for the // BigQuery Storage API. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := storage.NewBigQueryStorageClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := storage.NewBigQueryStorageClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := storage.NewBigQueryStorageClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &storagepb.BatchCreateReadSessionStreamsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/storage/apiv1beta1/storagepb#BatchCreateReadSessionStreamsRequest. -// } -// resp, err := c.BatchCreateReadSessionStreams(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := storage.NewBigQueryStorageClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &storagepb.BatchCreateReadSessionStreamsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/storage/apiv1beta1/storagepb#BatchCreateReadSessionStreamsRequest. +// } +// resp, err := c.BatchCreateReadSessionStreams(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewBigQueryStorageClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/storage/apiv1beta1/storagepb/arrow.pb.go b/bigquery/storage/apiv1beta1/storagepb/arrow.pb.go index 96fc699b09c3..355ba579450d 100755 --- a/bigquery/storage/apiv1beta1/storagepb/arrow.pb.go +++ b/bigquery/storage/apiv1beta1/storagepb/arrow.pb.go @@ -21,10 +21,11 @@ package storagepb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/bigquery/storage/apiv1beta1/storagepb/avro.pb.go b/bigquery/storage/apiv1beta1/storagepb/avro.pb.go index 97da18804f7f..bae2a4c36acd 100755 --- a/bigquery/storage/apiv1beta1/storagepb/avro.pb.go +++ b/bigquery/storage/apiv1beta1/storagepb/avro.pb.go @@ -21,10 +21,11 @@ package storagepb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/bigquery/storage/apiv1beta1/storagepb/read_options.pb.go b/bigquery/storage/apiv1beta1/storagepb/read_options.pb.go index 8aba609502f9..0d445fc014fa 100755 --- a/bigquery/storage/apiv1beta1/storagepb/read_options.pb.go +++ b/bigquery/storage/apiv1beta1/storagepb/read_options.pb.go @@ -21,10 +21,11 @@ package storagepb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/bigquery/storage/apiv1beta1/storagepb/storage.pb.go b/bigquery/storage/apiv1beta1/storagepb/storage.pb.go index f4300cc1887a..19348326e807 100755 --- a/bigquery/storage/apiv1beta1/storagepb/storage.pb.go +++ b/bigquery/storage/apiv1beta1/storagepb/storage.pb.go @@ -22,6 +22,9 @@ package storagepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/storage/apiv1beta1/storagepb/table_reference.pb.go b/bigquery/storage/apiv1beta1/storagepb/table_reference.pb.go index a70473bdce50..76a08e830185 100755 --- a/bigquery/storage/apiv1beta1/storagepb/table_reference.pb.go +++ b/bigquery/storage/apiv1beta1/storagepb/table_reference.pb.go @@ -21,11 +21,12 @@ package storagepb 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" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/storage/apiv1beta2/auxiliary.go b/bigquery/storage/apiv1beta2/auxiliary.go index 625e26312d5d..eeeadcc79a80 100755 --- a/bigquery/storage/apiv1beta2/auxiliary.go +++ b/bigquery/storage/apiv1beta2/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package storage - -import () diff --git a/bigquery/storage/apiv1beta2/doc.go b/bigquery/storage/apiv1beta2/doc.go index 5cfa7068486b..238e6a694cd1 100755 --- a/bigquery/storage/apiv1beta2/doc.go +++ b/bigquery/storage/apiv1beta2/doc.go @@ -17,67 +17,68 @@ // Package storage is an auto-generated package for the // BigQuery Storage API. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := storage.NewBigQueryReadClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := storage.NewBigQueryReadClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := storage.NewBigQueryReadClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &storagepb.CreateReadSessionRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/bigquery/storage/apiv1beta2/storagepb#CreateReadSessionRequest. -// } -// resp, err := c.CreateReadSession(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := storage.NewBigQueryReadClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &storagepb.CreateReadSessionRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/bigquery/storage/apiv1beta2/storagepb#CreateReadSessionRequest. +// } +// resp, err := c.CreateReadSession(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewBigQueryReadClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/bigquery/storage/apiv1beta2/storagepb/arrow.pb.go b/bigquery/storage/apiv1beta2/storagepb/arrow.pb.go index be3d676ddb00..13704fda4378 100755 --- a/bigquery/storage/apiv1beta2/storagepb/arrow.pb.go +++ b/bigquery/storage/apiv1beta2/storagepb/arrow.pb.go @@ -21,10 +21,11 @@ package storagepb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/bigquery/storage/apiv1beta2/storagepb/avro.pb.go b/bigquery/storage/apiv1beta2/storagepb/avro.pb.go index d8fa37937f68..d4183189a6ea 100755 --- a/bigquery/storage/apiv1beta2/storagepb/avro.pb.go +++ b/bigquery/storage/apiv1beta2/storagepb/avro.pb.go @@ -21,10 +21,11 @@ package storagepb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/bigquery/storage/apiv1beta2/storagepb/protobuf.pb.go b/bigquery/storage/apiv1beta2/storagepb/protobuf.pb.go index e87d9278c6e8..9d4a61d36b33 100755 --- a/bigquery/storage/apiv1beta2/storagepb/protobuf.pb.go +++ b/bigquery/storage/apiv1beta2/storagepb/protobuf.pb.go @@ -21,11 +21,12 @@ package storagepb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" descriptorpb "google.golang.org/protobuf/types/descriptorpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/storage/apiv1beta2/storagepb/storage.pb.go b/bigquery/storage/apiv1beta2/storagepb/storage.pb.go index 8bfb67ce0aaa..b3c3eb0ada35 100755 --- a/bigquery/storage/apiv1beta2/storagepb/storage.pb.go +++ b/bigquery/storage/apiv1beta2/storagepb/storage.pb.go @@ -22,6 +22,9 @@ package storagepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/storage/apiv1beta2/storagepb/stream.pb.go b/bigquery/storage/apiv1beta2/storagepb/stream.pb.go index 8a6c7a75aa77..7a0eb8a93cbf 100755 --- a/bigquery/storage/apiv1beta2/storagepb/stream.pb.go +++ b/bigquery/storage/apiv1beta2/storagepb/stream.pb.go @@ -21,12 +21,13 @@ package storagepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/bigquery/storage/apiv1beta2/storagepb/table.pb.go b/bigquery/storage/apiv1beta2/storagepb/table.pb.go index a36a36c6fcad..4634c87ccf5d 100755 --- a/bigquery/storage/apiv1beta2/storagepb/table.pb.go +++ b/bigquery/storage/apiv1beta2/storagepb/table.pb.go @@ -21,11 +21,12 @@ package storagepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/billing/apiv1/billingpb/cloud_billing.pb.go b/billing/apiv1/billingpb/cloud_billing.pb.go index 2d566f1ef092..63223bf46db7 100755 --- a/billing/apiv1/billingpb/cloud_billing.pb.go +++ b/billing/apiv1/billingpb/cloud_billing.pb.go @@ -21,8 +21,11 @@ package billingpb import ( - iampb "cloud.google.com/go/iam/apiv1/iampb" context "context" + reflect "reflect" + sync "sync" + + iampb "cloud.google.com/go/iam/apiv1/iampb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/billing/apiv1/billingpb/cloud_catalog.pb.go b/billing/apiv1/billingpb/cloud_catalog.pb.go index 2586a6b67147..6f2d5c128c02 100755 --- a/billing/apiv1/billingpb/cloud_catalog.pb.go +++ b/billing/apiv1/billingpb/cloud_catalog.pb.go @@ -22,6 +22,9 @@ package billingpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" money "google.golang.org/genproto/googleapis/type/money" grpc "google.golang.org/grpc" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -580,8 +581,9 @@ func (x *PricingInfo) GetCurrencyConversionRate() float64 { // // `usage_unit: GBy` // `tiered_rates:` -// `[start_usage_amount: 20, unit_price: $10]` -// `[start_usage_amount: 100, unit_price: $5]` +// +// `[start_usage_amount: 20, unit_price: $10]` +// `[start_usage_amount: 100, unit_price: $5]` // // The above expresses a pricing formula where the first 20GB is free, the // next 80GB is priced at $10 per GB followed by $5 per GB for additional diff --git a/billing/apiv1/doc.go b/billing/apiv1/doc.go index 82b988edb8a9..41648480e73d 100755 --- a/billing/apiv1/doc.go +++ b/billing/apiv1/doc.go @@ -20,65 +20,66 @@ // Allows developers to manage billing for their Google Cloud Platform // projects programmatically. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := billing.NewCloudBillingClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := billing.NewCloudBillingClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := billing.NewCloudBillingClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &billingpb.CreateBillingAccountRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/billing/apiv1/billingpb#CreateBillingAccountRequest. -// } -// resp, err := c.CreateBillingAccount(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := billing.NewCloudBillingClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &billingpb.CreateBillingAccountRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/billing/apiv1/billingpb#CreateBillingAccountRequest. +// } +// resp, err := c.CreateBillingAccount(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewCloudBillingClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/billing/budgets/apiv1/budgetspb/budget_model.pb.go b/billing/budgets/apiv1/budgetspb/budget_model.pb.go index c83970aa5a7f..d862ca1bc96e 100755 --- a/billing/budgets/apiv1/budgetspb/budget_model.pb.go +++ b/billing/budgets/apiv1/budgetspb/budget_model.pb.go @@ -21,14 +21,15 @@ package budgetspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" money "google.golang.org/genproto/googleapis/type/money" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/billing/budgets/apiv1/budgetspb/budget_service.pb.go b/billing/budgets/apiv1/budgetspb/budget_service.pb.go index ee0e8ab1d03b..a5eddfdc8f78 100755 --- a/billing/budgets/apiv1/budgetspb/budget_service.pb.go +++ b/billing/budgets/apiv1/budgetspb/budget_service.pb.go @@ -22,6 +22,9 @@ package budgetspb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/billing/budgets/apiv1/doc.go b/billing/budgets/apiv1/doc.go index 7a5b594fa2fa..30588a0ca4d4 100755 --- a/billing/budgets/apiv1/doc.go +++ b/billing/budgets/apiv1/doc.go @@ -21,65 +21,66 @@ // budget plan and the rules to execute as spend is tracked against that // plan. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := budgets.NewBudgetClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := budgets.NewBudgetClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := budgets.NewBudgetClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &budgetspb.CreateBudgetRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/billing/budgets/apiv1/budgetspb#CreateBudgetRequest. -// } -// resp, err := c.CreateBudget(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := budgets.NewBudgetClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &budgetspb.CreateBudgetRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/billing/budgets/apiv1/budgetspb#CreateBudgetRequest. +// } +// resp, err := c.CreateBudget(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewBudgetClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/billing/budgets/apiv1beta1/budgetspb/budget_model.pb.go b/billing/budgets/apiv1beta1/budgetspb/budget_model.pb.go index beac87d26691..6aeaa62a5aae 100755 --- a/billing/budgets/apiv1beta1/budgetspb/budget_model.pb.go +++ b/billing/budgets/apiv1beta1/budgetspb/budget_model.pb.go @@ -21,14 +21,15 @@ package budgetspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" money "google.golang.org/genproto/googleapis/type/money" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/billing/budgets/apiv1beta1/budgetspb/budget_service.pb.go b/billing/budgets/apiv1beta1/budgetspb/budget_service.pb.go index 1755adcf5bc5..21cfb7c827ff 100755 --- a/billing/budgets/apiv1beta1/budgetspb/budget_service.pb.go +++ b/billing/budgets/apiv1beta1/budgetspb/budget_service.pb.go @@ -22,6 +22,9 @@ package budgetspb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/billing/budgets/apiv1beta1/doc.go b/billing/budgets/apiv1beta1/doc.go index 3c0319d4f33e..60f2717ed03c 100755 --- a/billing/budgets/apiv1beta1/doc.go +++ b/billing/budgets/apiv1beta1/doc.go @@ -21,67 +21,68 @@ // budget plan and the rules to execute as spend is tracked against that // plan. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := budgets.NewBudgetClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := budgets.NewBudgetClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := budgets.NewBudgetClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &budgetspb.CreateBudgetRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb#CreateBudgetRequest. -// } -// resp, err := c.CreateBudget(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := budgets.NewBudgetClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &budgetspb.CreateBudgetRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb#CreateBudgetRequest. +// } +// resp, err := c.CreateBudget(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewBudgetClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/binaryauthorization/apiv1/binaryauthorizationpb/resources.pb.go b/binaryauthorization/apiv1/binaryauthorizationpb/resources.pb.go index 6512c71d73d6..6c21061f8f86 100755 --- a/binaryauthorization/apiv1/binaryauthorizationpb/resources.pb.go +++ b/binaryauthorization/apiv1/binaryauthorizationpb/resources.pb.go @@ -21,12 +21,13 @@ package binaryauthorizationpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/binaryauthorization/apiv1/binaryauthorizationpb/service.pb.go b/binaryauthorization/apiv1/binaryauthorizationpb/service.pb.go index 72725e60c1af..3c9297c532aa 100755 --- a/binaryauthorization/apiv1/binaryauthorizationpb/service.pb.go +++ b/binaryauthorization/apiv1/binaryauthorizationpb/service.pb.go @@ -22,6 +22,9 @@ package binaryauthorizationpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" v1 "google.golang.org/genproto/googleapis/grafeas/v1" grpc "google.golang.org/grpc" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" - sync "sync" ) const ( diff --git a/binaryauthorization/apiv1/binauthz_management_client.go b/binaryauthorization/apiv1/binauthz_management_client.go index 398b4e94166e..d6b17b699ab4 100755 --- a/binaryauthorization/apiv1/binauthz_management_client.go +++ b/binaryauthorization/apiv1/binauthz_management_client.go @@ -253,9 +253,9 @@ type internalBinauthzManagementClient interface { // // This API implements a REST model with the following objects: // -// Policy +// Policy // -// Attestor +// Attestor type BinauthzManagementClient struct { // The internal transport-dependent client. internalClient internalBinauthzManagementClient @@ -364,9 +364,9 @@ type binauthzManagementGRPCClient struct { // // This API implements a REST model with the following objects: // -// Policy +// Policy // -// Attestor +// Attestor func NewBinauthzManagementClient(ctx context.Context, opts ...option.ClientOption) (*BinauthzManagementClient, error) { clientOpts := defaultBinauthzManagementGRPCClientOptions() if newBinauthzManagementClientHook != nil { @@ -440,9 +440,9 @@ type binauthzManagementRESTClient struct { // // This API implements a REST model with the following objects: // -// Policy +// Policy // -// Attestor +// Attestor func NewBinauthzManagementRESTClient(ctx context.Context, opts ...option.ClientOption) (*BinauthzManagementClient, error) { clientOpts := append(defaultBinauthzManagementRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/binaryauthorization/apiv1/doc.go b/binaryauthorization/apiv1/doc.go index 4275dadc03ab..f3d7aa135b74 100755 --- a/binaryauthorization/apiv1/doc.go +++ b/binaryauthorization/apiv1/doc.go @@ -21,65 +21,66 @@ // policy control for images deployed to Kubernetes Engine clusters, Anthos // clusters on VMware, and Cloud Run. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := binaryauthorization.NewBinauthzManagementClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := binaryauthorization.NewBinauthzManagementClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := binaryauthorization.NewBinauthzManagementClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &binaryauthorizationpb.CreateAttestorRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/binaryauthorization/apiv1/binaryauthorizationpb#CreateAttestorRequest. -// } -// resp, err := c.CreateAttestor(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := binaryauthorization.NewBinauthzManagementClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &binaryauthorizationpb.CreateAttestorRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/binaryauthorization/apiv1/binaryauthorizationpb#CreateAttestorRequest. +// } +// resp, err := c.CreateAttestor(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewBinauthzManagementClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/binaryauthorization/apiv1beta1/binaryauthorizationpb/continuous_validation_logging.pb.go b/binaryauthorization/apiv1beta1/binaryauthorizationpb/continuous_validation_logging.pb.go index 4ee25b8f1f6e..4e8bd2716a56 100755 --- a/binaryauthorization/apiv1beta1/binaryauthorizationpb/continuous_validation_logging.pb.go +++ b/binaryauthorization/apiv1beta1/binaryauthorizationpb/continuous_validation_logging.pb.go @@ -21,11 +21,12 @@ package binaryauthorizationpb 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" - reflect "reflect" - sync "sync" ) const ( diff --git a/binaryauthorization/apiv1beta1/binaryauthorizationpb/resources.pb.go b/binaryauthorization/apiv1beta1/binaryauthorizationpb/resources.pb.go index 1d3c96f686c4..a9d10ab18dcb 100755 --- a/binaryauthorization/apiv1beta1/binaryauthorizationpb/resources.pb.go +++ b/binaryauthorization/apiv1beta1/binaryauthorizationpb/resources.pb.go @@ -21,12 +21,13 @@ package binaryauthorizationpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/binaryauthorization/apiv1beta1/binaryauthorizationpb/service.pb.go b/binaryauthorization/apiv1beta1/binaryauthorizationpb/service.pb.go index b0ef49159b4d..6e67b76709ab 100755 --- a/binaryauthorization/apiv1beta1/binaryauthorizationpb/service.pb.go +++ b/binaryauthorization/apiv1beta1/binaryauthorizationpb/service.pb.go @@ -22,6 +22,9 @@ package binaryauthorizationpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" - sync "sync" ) const ( diff --git a/binaryauthorization/apiv1beta1/binauthz_management_service_v1_beta1_client.go b/binaryauthorization/apiv1beta1/binauthz_management_service_v1_beta1_client.go index 0c17034e946e..b0619cc5a687 100755 --- a/binaryauthorization/apiv1beta1/binauthz_management_service_v1_beta1_client.go +++ b/binaryauthorization/apiv1beta1/binauthz_management_service_v1_beta1_client.go @@ -253,9 +253,9 @@ type internalBinauthzManagementServiceV1Beta1Client interface { // // This API implements a REST model with the following objects: // -// Policy +// Policy // -// Attestor +// Attestor type BinauthzManagementServiceV1Beta1Client struct { // The internal transport-dependent client. internalClient internalBinauthzManagementServiceV1Beta1Client @@ -364,9 +364,9 @@ type binauthzManagementServiceV1Beta1GRPCClient struct { // // This API implements a REST model with the following objects: // -// Policy +// Policy // -// Attestor +// Attestor func NewBinauthzManagementServiceV1Beta1Client(ctx context.Context, opts ...option.ClientOption) (*BinauthzManagementServiceV1Beta1Client, error) { clientOpts := defaultBinauthzManagementServiceV1Beta1GRPCClientOptions() if newBinauthzManagementServiceV1Beta1ClientHook != nil { @@ -440,9 +440,9 @@ type binauthzManagementServiceV1Beta1RESTClient struct { // // This API implements a REST model with the following objects: // -// Policy +// Policy // -// Attestor +// Attestor func NewBinauthzManagementServiceV1Beta1RESTClient(ctx context.Context, opts ...option.ClientOption) (*BinauthzManagementServiceV1Beta1Client, error) { clientOpts := append(defaultBinauthzManagementServiceV1Beta1RESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/binaryauthorization/apiv1beta1/doc.go b/binaryauthorization/apiv1beta1/doc.go index b6f94b4b9c05..dfefd5a56191 100755 --- a/binaryauthorization/apiv1beta1/doc.go +++ b/binaryauthorization/apiv1beta1/doc.go @@ -21,67 +21,68 @@ // policy control for images deployed to Kubernetes Engine clusters, Anthos // clusters on VMware, and Cloud Run. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := binaryauthorization.NewBinauthzManagementServiceV1Beta1Client(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := binaryauthorization.NewBinauthzManagementServiceV1Beta1Client(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := binaryauthorization.NewBinauthzManagementServiceV1Beta1Client(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &binaryauthorizationpb.CreateAttestorRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/binaryauthorization/apiv1beta1/binaryauthorizationpb#CreateAttestorRequest. -// } -// resp, err := c.CreateAttestor(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := binaryauthorization.NewBinauthzManagementServiceV1Beta1Client(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &binaryauthorizationpb.CreateAttestorRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/binaryauthorization/apiv1beta1/binaryauthorizationpb#CreateAttestorRequest. +// } +// resp, err := c.CreateAttestor(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewBinauthzManagementServiceV1Beta1Client is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/certificatemanager/apiv1/certificate_manager_client.go b/certificatemanager/apiv1/certificate_manager_client.go index f35dc06ddbbf..7b9eb8047c2e 100755 --- a/certificatemanager/apiv1/certificate_manager_client.go +++ b/certificatemanager/apiv1/certificate_manager_client.go @@ -846,7 +846,7 @@ type internalClient interface { // Client is a client for interacting with Certificate Manager API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// API Overview +// # API Overview // // Certificates Manager API allows customers to see and manage all their TLS // certificates. @@ -855,25 +855,25 @@ type internalClient interface { // group them into collections, and create serving configuration that can be // easily applied to other Cloud resources e.g. Target Proxies. // -// Data Model +// # Data Model // // The Certificates Manager service exposes the following resources: // -// Certificate that describes a single TLS certificate. +// Certificate that describes a single TLS certificate. // -// CertificateMap that describes a collection of certificates that can be -// attached to a target resource. +// CertificateMap that describes a collection of certificates that can be +// attached to a target resource. // -// CertificateMapEntry that describes a single configuration entry that -// consists of a SNI and a group of certificates. It’s a subresource of -// CertificateMap. +// CertificateMapEntry that describes a single configuration entry that +// consists of a SNI and a group of certificates. It’s a subresource of +// CertificateMap. // // Certificate, CertificateMap and CertificateMapEntry IDs // have to fully match the regexp [a-z0-9-]{1,63}. In other words, // -// only lower case letters, digits, and hyphen are allowed +// only lower case letters, digits, and hyphen are allowed // -// length of the resource ID has to be in [1,63] range. +// length of the resource ID has to be in [1,63] range. // // Provides methods to manage Cloud Certificate Manager entities. type Client struct { @@ -1177,7 +1177,7 @@ type gRPCClient struct { // NewClient creates a new certificate manager client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// API Overview +// # API Overview // // Certificates Manager API allows customers to see and manage all their TLS // certificates. @@ -1186,25 +1186,25 @@ type gRPCClient struct { // group them into collections, and create serving configuration that can be // easily applied to other Cloud resources e.g. Target Proxies. // -// Data Model +// # Data Model // // The Certificates Manager service exposes the following resources: // -// Certificate that describes a single TLS certificate. +// Certificate that describes a single TLS certificate. // -// CertificateMap that describes a collection of certificates that can be -// attached to a target resource. +// CertificateMap that describes a collection of certificates that can be +// attached to a target resource. // -// CertificateMapEntry that describes a single configuration entry that -// consists of a SNI and a group of certificates. It’s a subresource of -// CertificateMap. +// CertificateMapEntry that describes a single configuration entry that +// consists of a SNI and a group of certificates. It’s a subresource of +// CertificateMap. // // Certificate, CertificateMap and CertificateMapEntry IDs // have to fully match the regexp [a-z0-9-]{1,63}. In other words, // -// only lower case letters, digits, and hyphen are allowed +// only lower case letters, digits, and hyphen are allowed // -// length of the resource ID has to be in [1,63] range. +// length of the resource ID has to be in [1,63] range. // // Provides methods to manage Cloud Certificate Manager entities. func NewClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { @@ -1293,7 +1293,7 @@ type restClient struct { // NewRESTClient creates a new certificate manager rest client. // -// API Overview +// # API Overview // // Certificates Manager API allows customers to see and manage all their TLS // certificates. @@ -1302,25 +1302,25 @@ type restClient struct { // group them into collections, and create serving configuration that can be // easily applied to other Cloud resources e.g. Target Proxies. // -// Data Model +// # Data Model // // The Certificates Manager service exposes the following resources: // -// Certificate that describes a single TLS certificate. +// Certificate that describes a single TLS certificate. // -// CertificateMap that describes a collection of certificates that can be -// attached to a target resource. +// CertificateMap that describes a collection of certificates that can be +// attached to a target resource. // -// CertificateMapEntry that describes a single configuration entry that -// consists of a SNI and a group of certificates. It’s a subresource of -// CertificateMap. +// CertificateMapEntry that describes a single configuration entry that +// consists of a SNI and a group of certificates. It’s a subresource of +// CertificateMap. // // Certificate, CertificateMap and CertificateMapEntry IDs // have to fully match the regexp [a-z0-9-]{1,63}. In other words, // -// only lower case letters, digits, and hyphen are allowed +// only lower case letters, digits, and hyphen are allowed // -// length of the resource ID has to be in [1,63] range. +// length of the resource ID has to be in [1,63] range. // // Provides methods to manage Cloud Certificate Manager entities. func NewRESTClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { diff --git a/certificatemanager/apiv1/certificatemanagerpb/certificate_issuance_config.pb.go b/certificatemanager/apiv1/certificatemanagerpb/certificate_issuance_config.pb.go index ca30fcf865b0..8851c33f762d 100755 --- a/certificatemanager/apiv1/certificatemanagerpb/certificate_issuance_config.pb.go +++ b/certificatemanager/apiv1/certificatemanagerpb/certificate_issuance_config.pb.go @@ -21,13 +21,14 @@ package certificatemanagerpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/certificatemanager/apiv1/certificatemanagerpb/certificate_manager.pb.go b/certificatemanager/apiv1/certificatemanagerpb/certificate_manager.pb.go index 1e65ab3a0b67..8f58d70d6d64 100755 --- a/certificatemanager/apiv1/certificatemanagerpb/certificate_manager.pb.go +++ b/certificatemanager/apiv1/certificatemanagerpb/certificate_manager.pb.go @@ -21,8 +21,11 @@ package certificatemanagerpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/certificatemanager/apiv1/doc.go b/certificatemanager/apiv1/doc.go index a3bf95f6456e..db5f6139b559 100755 --- a/certificatemanager/apiv1/doc.go +++ b/certificatemanager/apiv1/doc.go @@ -17,70 +17,71 @@ // Package certificatemanager is an auto-generated package for the // Certificate Manager API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := certificatemanager.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := certificatemanager.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := certificatemanager.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &certificatemanagerpb.CreateCertificateRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/certificatemanager/apiv1/certificatemanagerpb#CreateCertificateRequest. -// } -// op, err := c.CreateCertificate(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := certificatemanager.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &certificatemanagerpb.CreateCertificateRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/certificatemanager/apiv1/certificatemanagerpb#CreateCertificateRequest. +// } +// op, err := c.CreateCertificate(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/channel/apiv1/channelpb/billing_accounts.pb.go b/channel/apiv1/channelpb/billing_accounts.pb.go index e6ffea9c68c5..3a8343c021cb 100755 --- a/channel/apiv1/channelpb/billing_accounts.pb.go +++ b/channel/apiv1/channelpb/billing_accounts.pb.go @@ -21,12 +21,13 @@ package channelpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/channel_partner_links.pb.go b/channel/apiv1/channelpb/channel_partner_links.pb.go index b875557019cb..c4a2f19dfe99 100755 --- a/channel/apiv1/channelpb/channel_partner_links.pb.go +++ b/channel/apiv1/channelpb/channel_partner_links.pb.go @@ -21,12 +21,13 @@ package channelpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/common.pb.go b/channel/apiv1/channelpb/common.pb.go index 287ca1132b79..5d153b8bd50b 100755 --- a/channel/apiv1/channelpb/common.pb.go +++ b/channel/apiv1/channelpb/common.pb.go @@ -21,12 +21,13 @@ package channelpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" - reflect "reflect" - sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/customers.pb.go b/channel/apiv1/channelpb/customers.pb.go index 4255bc626f44..15d91e749831 100755 --- a/channel/apiv1/channelpb/customers.pb.go +++ b/channel/apiv1/channelpb/customers.pb.go @@ -21,13 +21,14 @@ package channelpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" postaladdress "google.golang.org/genproto/googleapis/type/postaladdress" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/entitlement_changes.pb.go b/channel/apiv1/channelpb/entitlement_changes.pb.go index 7e58da4e7000..5192c77ec762 100755 --- a/channel/apiv1/channelpb/entitlement_changes.pb.go +++ b/channel/apiv1/channelpb/entitlement_changes.pb.go @@ -21,12 +21,13 @@ package channelpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/entitlements.pb.go b/channel/apiv1/channelpb/entitlements.pb.go index 7cc7b3dd5f1b..ce2044bfdca1 100755 --- a/channel/apiv1/channelpb/entitlements.pb.go +++ b/channel/apiv1/channelpb/entitlements.pb.go @@ -21,12 +21,13 @@ package channelpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/offers.pb.go b/channel/apiv1/channelpb/offers.pb.go index f4b3d4b6b53c..bfa4a3f536d7 100755 --- a/channel/apiv1/channelpb/offers.pb.go +++ b/channel/apiv1/channelpb/offers.pb.go @@ -21,13 +21,14 @@ package channelpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" money "google.golang.org/genproto/googleapis/type/money" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/operations.pb.go b/channel/apiv1/channelpb/operations.pb.go index f85b4aae2d10..ab994dff831d 100755 --- a/channel/apiv1/channelpb/operations.pb.go +++ b/channel/apiv1/channelpb/operations.pb.go @@ -21,10 +21,11 @@ package channelpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/channel/apiv1/channelpb/products.pb.go b/channel/apiv1/channelpb/products.pb.go index 48f239dd39a3..201eb1c1c15a 100755 --- a/channel/apiv1/channelpb/products.pb.go +++ b/channel/apiv1/channelpb/products.pb.go @@ -21,11 +21,12 @@ package channelpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/reports_service.pb.go b/channel/apiv1/channelpb/reports_service.pb.go index cd5da9daf5ce..3dc9bb6610f8 100755 --- a/channel/apiv1/channelpb/reports_service.pb.go +++ b/channel/apiv1/channelpb/reports_service.pb.go @@ -21,8 +21,11 @@ package channelpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" datetime "google.golang.org/genproto/googleapis/type/datetime" @@ -34,8 +37,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/repricing.pb.go b/channel/apiv1/channelpb/repricing.pb.go index 3ac35f635bd9..f281d50f70f0 100755 --- a/channel/apiv1/channelpb/repricing.pb.go +++ b/channel/apiv1/channelpb/repricing.pb.go @@ -21,14 +21,15 @@ package channelpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" decimal "google.golang.org/genproto/googleapis/type/decimal" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/service.pb.go b/channel/apiv1/channelpb/service.pb.go index fa7a636ed38b..13f9980d020f 100755 --- a/channel/apiv1/channelpb/service.pb.go +++ b/channel/apiv1/channelpb/service.pb.go @@ -21,8 +21,11 @@ package channelpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/channel/apiv1/channelpb/subscriber_event.pb.go b/channel/apiv1/channelpb/subscriber_event.pb.go index 316d0f0bbc98..a8b9c69a23cb 100755 --- a/channel/apiv1/channelpb/subscriber_event.pb.go +++ b/channel/apiv1/channelpb/subscriber_event.pb.go @@ -21,11 +21,12 @@ package channelpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/channel/apiv1/cloud_channel_client.go b/channel/apiv1/cloud_channel_client.go index b125590e6ac4..af3b4383a689 100755 --- a/channel/apiv1/cloud_channel_client.go +++ b/channel/apiv1/cloud_channel_client.go @@ -1160,16 +1160,16 @@ type internalCloudChannelClient interface { // // CloudChannelService exposes the following resources: // -// Customers: An entity-usually an -// enterprise-managed by a reseller or distributor. +// Customers: An entity-usually an +// enterprise-managed by a reseller or distributor. // -// Entitlements: An entity that -// provides a customer with the means to use a service. Entitlements are created -// or updated as a result of a successful fulfillment. +// Entitlements: An entity that +// provides a customer with the means to use a service. Entitlements are created +// or updated as a result of a successful fulfillment. // -// ChannelPartnerLinks: An -// entity that identifies links between distributors and their indirect -// resellers in a channel. +// ChannelPartnerLinks: An +// entity that identifies links between distributors and their indirect +// resellers in a channel. type CloudChannelClient struct { // The internal transport-dependent client. internalClient internalCloudChannelClient @@ -1210,10 +1210,10 @@ func (c *CloudChannelClient) Connection() *grpc.ClientConn { // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: // List of Customers, or an empty list if @@ -1227,13 +1227,13 @@ func (c *CloudChannelClient) ListCustomers(ctx context.Context, req *channelpb.L // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: The customer resource doesn’t exist. Usually the result of an -// invalid name parameter. +// NOT_FOUND: The customer resource doesn’t exist. Usually the result of an +// invalid name parameter. // // Return value: // The Customer resource. @@ -1246,12 +1246,12 @@ func (c *CloudChannelClient) GetCustomer(ctx context.Context, req *channelpb.Get // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// INVALID_VALUE: Invalid domain value in the request. +// INVALID_VALUE: Invalid domain value in the request. // // Return value: // A list of @@ -1271,19 +1271,19 @@ func (c *CloudChannelClient) CheckCloudIdentityAccountsExist(ctx context.Context // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The reseller account making the request is different from the -// reseller account in the API request. +// The reseller account making the request is different from the +// reseller account in the API request. // -// You are not authorized to create a customer. See -// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) +// You are not authorized to create a customer. See +// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) // -// INVALID_ARGUMENT: +// INVALID_ARGUMENT: // -// Required request parameters are missing or invalid. +// Required request parameters are missing or invalid. // -// Domain field value doesn’t match the primary email domain. +// Domain field value doesn’t match the primary email domain. // // Return value: // The newly created Customer resource. @@ -1296,13 +1296,13 @@ func (c *CloudChannelClient) CreateCustomer(ctx context.Context, req *channelpb. // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: No Customer resource found -// for the name in the request. +// NOT_FOUND: No Customer resource found +// for the name in the request. // // Return value: // The updated Customer resource. @@ -1314,15 +1314,15 @@ func (c *CloudChannelClient) UpdateCustomer(ctx context.Context, req *channelpb. // // Possible error codes: // -// PERMISSION_DENIED: The account making the request does not own -// this customer. +// PERMISSION_DENIED: The account making the request does not own +// this customer. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// FAILED_PRECONDITION: The customer has existing entitlements. +// FAILED_PRECONDITION: The customer has existing entitlements. // -// NOT_FOUND: No Customer resource found -// for the name in the request. +// NOT_FOUND: No Customer resource found +// for the name in the request. func (c *CloudChannelClient) DeleteCustomer(ctx context.Context, req *channelpb.DeleteCustomerRequest, opts ...gax.CallOption) error { return c.internalClient.DeleteCustomer(ctx, req, opts...) } @@ -1334,21 +1334,21 @@ func (c *CloudChannelClient) DeleteCustomer(ctx context.Context, req *channelpb. // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The reseller account making the request is different from the -// reseller account in the API request. +// The reseller account making the request is different from the +// reseller account in the API request. // -// You are not authorized to import the customer. See -// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) +// You are not authorized to import the customer. See +// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) // -// NOT_FOUND: Cloud Identity doesn’t exist or was deleted. +// NOT_FOUND: Cloud Identity doesn’t exist or was deleted. // -// INVALID_ARGUMENT: Required parameters are missing, or the auth_token is -// expired or invalid. +// INVALID_ARGUMENT: Required parameters are missing, or the auth_token is +// expired or invalid. // -// ALREADY_EXISTS: A customer already exists and has conflicting critical -// fields. Requires an overwrite. +// ALREADY_EXISTS: A customer already exists and has conflicting critical +// fields. Requires an overwrite. // // Return value: // The Customer. @@ -1361,25 +1361,25 @@ func (c *CloudChannelClient) ImportCustomer(ctx context.Context, req *channelpb. // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The customer doesn’t belong to the reseller. +// The customer doesn’t belong to the reseller. // -// You are not authorized to provision cloud identity id. See -// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) +// You are not authorized to provision cloud identity id. See +// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: The customer was not found. +// NOT_FOUND: The customer was not found. // -// ALREADY_EXISTS: The customer’s primary email already exists. Retry -// after changing the customer’s primary contact email. +// ALREADY_EXISTS: The customer’s primary email already exists. Retry +// after changing the customer’s primary contact email. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -1402,9 +1402,9 @@ func (c *CloudChannelClient) ProvisionCloudIdentityOperation(name string) *Provi // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: // A list of the customer’s @@ -1422,16 +1422,16 @@ func (c *CloudChannelClient) ListEntitlements(ctx context.Context, req *channelp // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The customer doesn’t belong to the reseller and has no auth token. +// The customer doesn’t belong to the reseller and has no auth token. // -// The supplied auth token is invalid. +// The supplied auth token is invalid. // -// The reseller account making the request is different -// from the reseller account in the query. +// The reseller account making the request is different +// from the reseller account in the query. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: // A list of the customer’s @@ -1449,20 +1449,20 @@ func (c *CloudChannelClient) ListTransferableSkus(ctx context.Context, req *chan // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The customer doesn’t belong to the reseller and has no auth token. +// The customer doesn’t belong to the reseller and has no auth token. // -// The customer provided incorrect reseller information when generating -// auth token. +// The customer provided incorrect reseller information when generating +// auth token. // -// The reseller account making the request is different -// from the reseller account in the query. +// The reseller account making the request is different +// from the reseller account in the query. // -// The reseller is not authorized to transact on this Product. See -// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) +// The reseller is not authorized to transact on this Product. See +// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: // List of TransferableOffer for @@ -1476,11 +1476,11 @@ func (c *CloudChannelClient) ListTransferableOffers(ctx context.Context, req *ch // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: The customer entitlement was not found. +// NOT_FOUND: The customer entitlement was not found. // // Return value: // The requested Entitlement resource. @@ -1492,52 +1492,52 @@ func (c *CloudChannelClient) GetEntitlement(ctx context.Context, req *channelpb. // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The customer doesn’t belong to the reseller. +// The customer doesn’t belong to the reseller. // -// The reseller is not authorized to transact on this Product. See -// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) +// The reseller is not authorized to transact on this Product. See +// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) // -// INVALID_ARGUMENT: +// INVALID_ARGUMENT: // -// Required request parameters are missing or invalid. +// Required request parameters are missing or invalid. // -// There is already a customer entitlement for a SKU from the same -// product family. +// There is already a customer entitlement for a SKU from the same +// product family. // -// INVALID_VALUE: Make sure the OfferId is valid. If it is, contact -// Google Channel support for further troubleshooting. +// INVALID_VALUE: Make sure the OfferId is valid. If it is, contact +// Google Channel support for further troubleshooting. // -// NOT_FOUND: The customer or offer resource was not found. +// NOT_FOUND: The customer or offer resource was not found. // -// ALREADY_EXISTS: +// ALREADY_EXISTS: // -// The SKU was already purchased for the customer. +// The SKU was already purchased for the customer. // -// The customer’s primary email already exists. Retry -// after changing the customer’s primary contact email. +// The customer’s primary email already exists. Retry +// after changing the customer’s primary contact email. // -// CONDITION_NOT_MET or FAILED_PRECONDITION: +// CONDITION_NOT_MET or FAILED_PRECONDITION: // -// The domain required for purchasing a SKU has not been verified. +// The domain required for purchasing a SKU has not been verified. // -// A pre-requisite SKU required to purchase an Add-On SKU is missing. -// For example, Google Workspace Business Starter is required to purchase -// Vault or Drive. +// A pre-requisite SKU required to purchase an Add-On SKU is missing. +// For example, Google Workspace Business Starter is required to purchase +// Vault or Drive. // -// (Developer accounts only) Reseller and resold domain must meet the -// following naming requirements: +// (Developer accounts only) Reseller and resold domain must meet the +// following naming requirements: // -// Domain names must start with goog-test. +// Domain names must start with goog-test. // -// Domain names must include the reseller domain. +// Domain names must include the reseller domain. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -1562,19 +1562,19 @@ func (c *CloudChannelClient) CreateEntitlementOperation(name string) *CreateEnti // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. -// For example, the number of seats being changed is greater than the allowed -// number of max seats, or decreasing seats for a commitment based plan. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// For example, the number of seats being changed is greater than the allowed +// number of max seats, or decreasing seats for a commitment based plan. // -// NOT_FOUND: Entitlement resource not found. +// NOT_FOUND: Entitlement resource not found. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -1599,20 +1599,20 @@ func (c *CloudChannelClient) ChangeParametersOperation(name string) *ChangeParam // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: Entitlement resource not found. +// NOT_FOUND: Entitlement resource not found. // -// NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a -// commitment plan. Can’t enable or disable renewals for non-commitment plans. +// NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a +// commitment plan. Can’t enable or disable renewals for non-commitment plans. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -1637,17 +1637,17 @@ func (c *CloudChannelClient) ChangeRenewalSettingsOperation(name string) *Change // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: Offer or Entitlement resource not found. +// NOT_FOUND: Offer or Entitlement resource not found. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -1673,20 +1673,20 @@ func (c *CloudChannelClient) ChangeOfferOperation(name string) *ChangeOfferOpera // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: Entitlement resource not found. +// NOT_FOUND: Entitlement resource not found. // -// FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for -// entitlement on trial plans. +// FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for +// entitlement on trial plans. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -1710,19 +1710,19 @@ func (c *CloudChannelClient) StartPaidServiceOperation(name string) *StartPaidSe // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: Entitlement resource not found. +// NOT_FOUND: Entitlement resource not found. // -// NOT_ACTIVE: Entitlement is not active. +// NOT_ACTIVE: Entitlement is not active. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -1746,24 +1746,24 @@ func (c *CloudChannelClient) SuspendEntitlementOperation(name string) *SuspendEn // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// FAILED_PRECONDITION: There are Google Cloud projects linked to the -// Google Cloud entitlement’s Cloud Billing subaccount. +// FAILED_PRECONDITION: There are Google Cloud projects linked to the +// Google Cloud entitlement’s Cloud Billing subaccount. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: Entitlement resource not found. +// NOT_FOUND: Entitlement resource not found. // -// DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace -// add-ons, or entitlements for Google Cloud’s development platform. +// DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace +// add-ons, or entitlements for Google Cloud’s development platform. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -1790,24 +1790,24 @@ func (c *CloudChannelClient) CancelEntitlementOperation(name string) *CancelEnti // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: Entitlement resource not found. +// NOT_FOUND: Entitlement resource not found. // -// SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated -// suspensions and entitlements that have accepted the TOS. +// SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated +// suspensions and entitlements that have accepted the TOS. // -// NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE -// state. +// NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE +// state. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -1829,41 +1829,41 @@ func (c *CloudChannelClient) ActivateEntitlementOperation(name string) *Activate // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The customer doesn’t belong to the reseller. +// The customer doesn’t belong to the reseller. // -// The reseller is not authorized to transact on this Product. See -// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) +// The reseller is not authorized to transact on this Product. See +// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: The customer or offer resource was not found. +// NOT_FOUND: The customer or offer resource was not found. // -// ALREADY_EXISTS: The SKU was already transferred for the customer. +// ALREADY_EXISTS: The SKU was already transferred for the customer. // -// CONDITION_NOT_MET or FAILED_PRECONDITION: +// CONDITION_NOT_MET or FAILED_PRECONDITION: // -// The SKU requires domain verification to transfer, but the domain is -// not verified. +// The SKU requires domain verification to transfer, but the domain is +// not verified. // -// An Add-On SKU (example, Vault or Drive) is missing the -// pre-requisite SKU (example, G Suite Basic). +// An Add-On SKU (example, Vault or Drive) is missing the +// pre-requisite SKU (example, G Suite Basic). // -// (Developer accounts only) Reseller and resold domain must meet the -// following naming requirements: +// (Developer accounts only) Reseller and resold domain must meet the +// following naming requirements: // -// Domain names must start with goog-test. +// Domain names must start with goog-test. // -// Domain names must include the reseller domain. +// Domain names must include the reseller domain. // -// Specify all transferring entitlements. +// Specify all transferring entitlements. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -1885,34 +1885,34 @@ func (c *CloudChannelClient) TransferEntitlementsOperation(name string) *Transfe // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: The customer or offer resource was not found. +// NOT_FOUND: The customer or offer resource was not found. // -// ALREADY_EXISTS: The SKU was already transferred for the customer. +// ALREADY_EXISTS: The SKU was already transferred for the customer. // -// CONDITION_NOT_MET or FAILED_PRECONDITION: +// CONDITION_NOT_MET or FAILED_PRECONDITION: // -// The SKU requires domain verification to transfer, but the domain is -// not verified. +// The SKU requires domain verification to transfer, but the domain is +// not verified. // -// An Add-On SKU (example, Vault or Drive) is missing the -// pre-requisite SKU (example, G Suite Basic). +// An Add-On SKU (example, Vault or Drive) is missing the +// pre-requisite SKU (example, G Suite Basic). // -// (Developer accounts only) Reseller and resold domain must meet the -// following naming requirements: +// (Developer accounts only) Reseller and resold domain must meet the +// following naming requirements: // -// Domain names must start with goog-test. +// Domain names must start with goog-test. // -// Domain names must include the reseller domain. +// Domain names must include the reseller domain. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -1936,10 +1936,10 @@ func (c *CloudChannelClient) TransferEntitlementsToGoogleOperation(name string) // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: // The list of the distributor account’s @@ -1954,13 +1954,13 @@ func (c *CloudChannelClient) ListChannelPartnerLinks(ctx context.Context, req *c // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: ChannelPartnerLink resource not found because of an -// invalid channel partner link name. +// NOT_FOUND: ChannelPartnerLink resource not found because of an +// invalid channel partner link name. // // Return value: // The ChannelPartnerLink @@ -1978,21 +1978,21 @@ func (c *CloudChannelClient) GetChannelPartnerLink(ctx context.Context, req *cha // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// ALREADY_EXISTS: The ChannelPartnerLink sent in the request already -// exists. +// ALREADY_EXISTS: The ChannelPartnerLink sent in the request already +// exists. // -// NOT_FOUND: No Cloud Identity customer exists for provided domain. +// NOT_FOUND: No Cloud Identity customer exists for provided domain. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The new ChannelPartnerLink @@ -2007,25 +2007,25 @@ func (c *CloudChannelClient) CreateChannelPartnerLink(ctx context.Context, req * // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: +// INVALID_ARGUMENT: // -// Required request parameters are missing or invalid. +// Required request parameters are missing or invalid. // -// Link state cannot change from invited to active or suspended. +// Link state cannot change from invited to active or suspended. // -// Cannot send reseller_cloud_identity_id, invite_url, or name in update -// mask. +// Cannot send reseller_cloud_identity_id, invite_url, or name in update +// mask. // -// NOT_FOUND: ChannelPartnerLink resource not found. +// NOT_FOUND: ChannelPartnerLink resource not found. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The updated @@ -2039,15 +2039,15 @@ func (c *CloudChannelClient) UpdateChannelPartnerLink(ctx context.Context, req * // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// NOT_FOUND: The -// CustomerRepricingConfig -// was not found. +// NOT_FOUND: The +// CustomerRepricingConfig +// was not found. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the @@ -2062,15 +2062,15 @@ func (c *CloudChannelClient) GetCustomerRepricingConfig(ctx context.Context, req // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// NOT_FOUND: The -// CustomerRepricingConfig -// specified does not exist or is not associated with the given account. +// NOT_FOUND: The +// CustomerRepricingConfig +// specified does not exist or is not associated with the given account. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the @@ -2078,13 +2078,13 @@ func (c *CloudChannelClient) GetCustomerRepricingConfig(ctx context.Context, req // resources. The data for each resource is displayed in the ascending order // of: // -// Customer ID +// Customer ID // -// RepricingConfig.EntitlementGranularity.entitlement +// RepricingConfig.EntitlementGranularity.entitlement // -// RepricingConfig.effective_invoice_month +// RepricingConfig.effective_invoice_month // -// CustomerRepricingConfig.update_time +// CustomerRepricingConfig.update_time // // If unsuccessful, returns an error. func (c *CloudChannelClient) ListCustomerRepricingConfigs(ctx context.Context, req *channelpb.ListCustomerRepricingConfigsRequest, opts ...gax.CallOption) *CustomerRepricingConfigIterator { @@ -2103,37 +2103,37 @@ func (c *CloudChannelClient) ListCustomerRepricingConfigs(ctx context.Context, r // // The following restrictions are for creating configs in the current month. // -// This functionality is reserved for recovering from an erroneous config, -// and should not be used for regular business cases. +// This functionality is reserved for recovering from an erroneous config, +// and should not be used for regular business cases. // -// The new config will not modify exports used with other configs. -// Changes to the config may be immediate, but may take up to 24 hours. +// The new config will not modify exports used with other configs. +// Changes to the config may be immediate, but may take up to 24 hours. // -// There is a limit of ten configs for any -// RepricingConfig.EntitlementGranularity.entitlement, -// for any -// RepricingConfig.effective_invoice_month. +// There is a limit of ten configs for any +// RepricingConfig.EntitlementGranularity.entitlement, +// for any +// RepricingConfig.effective_invoice_month. // -// The contained -// CustomerRepricingConfig.repricing_config -// value must be different from the value used in the current config for a -// RepricingConfig.EntitlementGranularity.entitlement. +// The contained +// CustomerRepricingConfig.repricing_config +// value must be different from the value used in the current config for a +// RepricingConfig.EntitlementGranularity.entitlement. // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// INVALID_ARGUMENT: Missing or invalid required parameters in the -// request. Also displays if the updated config is for the current month or -// past months. +// INVALID_ARGUMENT: Missing or invalid required parameters in the +// request. Also displays if the updated config is for the current month or +// past months. // -// NOT_FOUND: The -// CustomerRepricingConfig -// specified does not exist or is not associated with the given account. +// NOT_FOUND: The +// CustomerRepricingConfig +// specified does not exist or is not associated with the given account. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the updated @@ -2156,23 +2156,23 @@ func (c *CloudChannelClient) CreateCustomerRepricingConfig(ctx context.Context, // // When updating a config in the future: // -// This config must already exist. +// This config must already exist. // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// INVALID_ARGUMENT: Missing or invalid required parameters in the -// request. Also displays if the updated config is for the current month or -// past months. +// INVALID_ARGUMENT: Missing or invalid required parameters in the +// request. Also displays if the updated config is for the current month or +// past months. // -// NOT_FOUND: The -// CustomerRepricingConfig -// specified does not exist or is not associated with the given account. +// NOT_FOUND: The +// CustomerRepricingConfig +// specified does not exist or is not associated with the given account. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the updated @@ -2190,18 +2190,18 @@ func (c *CloudChannelClient) UpdateCustomerRepricingConfig(ctx context.Context, // // Possible error codes: // -// PERMISSION_DENIED: The account making the request does not own -// this customer. +// PERMISSION_DENIED: The account making the request does not own +// this customer. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// FAILED_PRECONDITION: The -// CustomerRepricingConfig -// is active or in the past. +// FAILED_PRECONDITION: The +// CustomerRepricingConfig +// is active or in the past. // -// NOT_FOUND: No -// CustomerRepricingConfig -// found for the name in the request. +// NOT_FOUND: No +// CustomerRepricingConfig +// found for the name in the request. func (c *CloudChannelClient) DeleteCustomerRepricingConfig(ctx context.Context, req *channelpb.DeleteCustomerRepricingConfigRequest, opts ...gax.CallOption) error { return c.internalClient.DeleteCustomerRepricingConfig(ctx, req, opts...) } @@ -2211,15 +2211,15 @@ func (c *CloudChannelClient) DeleteCustomerRepricingConfig(ctx context.Context, // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// NOT_FOUND: The -// ChannelPartnerRepricingConfig -// was not found. +// NOT_FOUND: The +// ChannelPartnerRepricingConfig +// was not found. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the @@ -2234,15 +2234,15 @@ func (c *CloudChannelClient) GetChannelPartnerRepricingConfig(ctx context.Contex // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// NOT_FOUND: The -// ChannelPartnerRepricingConfig -// specified does not exist or is not associated with the given account. +// NOT_FOUND: The +// ChannelPartnerRepricingConfig +// specified does not exist or is not associated with the given account. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the @@ -2250,11 +2250,11 @@ func (c *CloudChannelClient) GetChannelPartnerRepricingConfig(ctx context.Contex // resources. The data for each resource is displayed in the ascending order // of: // -// Channel Partner ID +// Channel Partner ID // -// RepricingConfig.effective_invoice_month +// RepricingConfig.effective_invoice_month // -// ChannelPartnerRepricingConfig.update_time +// ChannelPartnerRepricingConfig.update_time // // If unsuccessful, returns an error. func (c *CloudChannelClient) ListChannelPartnerRepricingConfigs(ctx context.Context, req *channelpb.ListChannelPartnerRepricingConfigsRequest, opts ...gax.CallOption) *ChannelPartnerRepricingConfigIterator { @@ -2274,37 +2274,37 @@ func (c *CloudChannelClient) ListChannelPartnerRepricingConfigs(ctx context.Cont // // The following restrictions are for creating configs in the current month. // -// This functionality is reserved for recovering from an erroneous config, -// and should not be used for regular business cases. +// This functionality is reserved for recovering from an erroneous config, +// and should not be used for regular business cases. // -// The new config will not modify exports used with other configs. -// Changes to the config may be immediate, but may take up to 24 hours. +// The new config will not modify exports used with other configs. +// Changes to the config may be immediate, but may take up to 24 hours. // -// There is a limit of ten configs for any ChannelPartner or -// RepricingConfig.EntitlementGranularity.entitlement, -// for any -// RepricingConfig.effective_invoice_month. +// There is a limit of ten configs for any ChannelPartner or +// RepricingConfig.EntitlementGranularity.entitlement, +// for any +// RepricingConfig.effective_invoice_month. // -// The contained -// ChannelPartnerRepricingConfig.repricing_config -// value must be different from the value used in the current config for a -// ChannelPartner. +// The contained +// ChannelPartnerRepricingConfig.repricing_config +// value must be different from the value used in the current config for a +// ChannelPartner. // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// INVALID_ARGUMENT: Missing or invalid required parameters in the -// request. Also displays if the updated config is for the current month or -// past months. +// INVALID_ARGUMENT: Missing or invalid required parameters in the +// request. Also displays if the updated config is for the current month or +// past months. // -// NOT_FOUND: The -// ChannelPartnerRepricingConfig -// specified does not exist or is not associated with the given account. +// NOT_FOUND: The +// ChannelPartnerRepricingConfig +// specified does not exist or is not associated with the given account. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the updated @@ -2327,23 +2327,23 @@ func (c *CloudChannelClient) CreateChannelPartnerRepricingConfig(ctx context.Con // // When updating a config in the future: // -// This config must already exist. +// This config must already exist. // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// INVALID_ARGUMENT: Missing or invalid required parameters in the -// request. Also displays if the updated config is for the current month or -// past months. +// INVALID_ARGUMENT: Missing or invalid required parameters in the +// request. Also displays if the updated config is for the current month or +// past months. // -// NOT_FOUND: The -// ChannelPartnerRepricingConfig -// specified does not exist or is not associated with the given account. +// NOT_FOUND: The +// ChannelPartnerRepricingConfig +// specified does not exist or is not associated with the given account. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the updated @@ -2361,18 +2361,18 @@ func (c *CloudChannelClient) UpdateChannelPartnerRepricingConfig(ctx context.Con // // Possible error codes: // -// PERMISSION_DENIED: The account making the request does not own -// this customer. +// PERMISSION_DENIED: The account making the request does not own +// this customer. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// FAILED_PRECONDITION: The -// ChannelPartnerRepricingConfig -// is active or in the past. +// FAILED_PRECONDITION: The +// ChannelPartnerRepricingConfig +// is active or in the past. // -// NOT_FOUND: No -// ChannelPartnerRepricingConfig -// found for the name in the request. +// NOT_FOUND: No +// ChannelPartnerRepricingConfig +// found for the name in the request. func (c *CloudChannelClient) DeleteChannelPartnerRepricingConfig(ctx context.Context, req *channelpb.DeleteChannelPartnerRepricingConfigRequest, opts ...gax.CallOption) error { return c.internalClient.DeleteChannelPartnerRepricingConfig(ctx, req, opts...) } @@ -2383,11 +2383,11 @@ func (c *CloudChannelClient) DeleteChannelPartnerRepricingConfig(ctx context.Con // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different, or the account doesn’t exist. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different, or the account doesn’t exist. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the SkuGroup resources. @@ -2416,9 +2416,9 @@ func (c *CloudChannelClient) ListSkuGroups(ctx context.Context, req *channelpb.L // resources. The data for each resource is displayed in the ascending order // of: // -// BillableSku.service_display_name +// BillableSku.service_display_name // -// BillableSku.sku_display_name +// BillableSku.sku_display_name // // If unsuccessful, returns an error. func (c *CloudChannelClient) ListSkuGroupBillableSkus(ctx context.Context, req *channelpb.ListSkuGroupBillableSkusRequest, opts ...gax.CallOption) *BillableSkuIterator { @@ -2429,11 +2429,11 @@ func (c *CloudChannelClient) ListSkuGroupBillableSkus(ctx context.Context, req * // // Possible error codes: // -// PERMISSION_DENIED: The entitlement doesn’t belong to the reseller. +// PERMISSION_DENIED: The entitlement doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: Entitlement or offer was not found. +// NOT_FOUND: Entitlement or offer was not found. // // Return value: // The Offer resource. @@ -2445,7 +2445,7 @@ func (c *CloudChannelClient) LookupOffer(ctx context.Context, req *channelpb.Loo // // Possible error codes: // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. func (c *CloudChannelClient) ListProducts(ctx context.Context, req *channelpb.ListProductsRequest, opts ...gax.CallOption) *ProductIterator { return c.internalClient.ListProducts(ctx, req, opts...) } @@ -2454,7 +2454,7 @@ func (c *CloudChannelClient) ListProducts(ctx context.Context, req *channelpb.Li // // Possible error codes: // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. func (c *CloudChannelClient) ListSkus(ctx context.Context, req *channelpb.ListSkusRequest, opts ...gax.CallOption) *SkuIterator { return c.internalClient.ListSkus(ctx, req, opts...) } @@ -2463,42 +2463,42 @@ func (c *CloudChannelClient) ListSkus(ctx context.Context, req *channelpb.ListSk // // Possible error codes: // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. func (c *CloudChannelClient) ListOffers(ctx context.Context, req *channelpb.ListOffersRequest, opts ...gax.CallOption) *OfferIterator { return c.internalClient.ListOffers(ctx, req, opts...) } // ListPurchasableSkus lists the following: // -// SKUs that you can purchase for a customer +// SKUs that you can purchase for a customer // -// SKUs that you can upgrade or downgrade for an entitlement. +// SKUs that you can upgrade or downgrade for an entitlement. // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. func (c *CloudChannelClient) ListPurchasableSkus(ctx context.Context, req *channelpb.ListPurchasableSkusRequest, opts ...gax.CallOption) *PurchasableSkuIterator { return c.internalClient.ListPurchasableSkus(ctx, req, opts...) } // ListPurchasableOffers lists the following: // -// Offers that you can purchase for a customer. +// Offers that you can purchase for a customer. // -// Offers that you can change for an entitlement. +// Offers that you can change for an entitlement. // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The customer doesn’t belong to the reseller +// The customer doesn’t belong to the reseller // -// The reseller is not authorized to transact on this Product. See -// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) +// The reseller is not authorized to transact on this Product. See +// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. func (c *CloudChannelClient) ListPurchasableOffers(ctx context.Context, req *channelpb.ListPurchasableOffersRequest, opts ...gax.CallOption) *PurchasableOfferIterator { return c.internalClient.ListPurchasableOffers(ctx, req, opts...) } @@ -2508,9 +2508,9 @@ func (c *CloudChannelClient) ListPurchasableOffers(ctx context.Context, req *cha // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: // Based on the provided list of SKUs, returns a list of SKU groups that must @@ -2527,17 +2527,17 @@ func (c *CloudChannelClient) QueryEligibleBillingAccounts(ctx context.Context, r // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request and the -// provided reseller account are different, or the impersonated user -// is not a super admin. +// PERMISSION_DENIED: The reseller account making the request and the +// provided reseller account are different, or the impersonated user +// is not a super admin. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The topic name with the registered service email address. @@ -2552,19 +2552,19 @@ func (c *CloudChannelClient) RegisterSubscriber(ctx context.Context, req *channe // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request and the -// provided reseller account are different, or the impersonated user -// is not a super admin. +// PERMISSION_DENIED: The reseller account making the request and the +// provided reseller account are different, or the impersonated user +// is not a super admin. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: The topic resource doesn’t exist. +// NOT_FOUND: The topic resource doesn’t exist. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The topic name that unregistered the service email address. @@ -2579,19 +2579,19 @@ func (c *CloudChannelClient) UnregisterSubscriber(ctx context.Context, req *chan // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request and the -// provided reseller account are different, or the impersonated user -// is not a super admin. +// PERMISSION_DENIED: The reseller account making the request and the +// provided reseller account are different, or the impersonated user +// is not a super admin. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: The topic resource doesn’t exist. +// NOT_FOUND: The topic resource doesn’t exist. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // A list of service email addresses. @@ -2603,19 +2603,19 @@ func (c *CloudChannelClient) ListSubscribers(ctx context.Context, req *channelpb // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request and the -// provided reseller account are different. +// PERMISSION_DENIED: The reseller account making the request and the +// provided reseller account are different. // -// INVALID_ARGUMENT: Missing or invalid required fields in the request. +// INVALID_ARGUMENT: Missing or invalid required fields in the request. // -// NOT_FOUND: The parent resource doesn’t exist. Usually the result of an -// invalid name parameter. +// NOT_FOUND: The parent resource doesn’t exist. Usually the result of an +// invalid name parameter. // -// INTERNAL: Any non-user error related to a technical issue in the backend. -// In this case, contact CloudChannel support. +// INTERNAL: Any non-user error related to a technical issue in the backend. +// In this case, contact CloudChannel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// In this case, contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// In this case, contact Cloud Channel support. // // Return value: // List of EntitlementChanges. @@ -2684,16 +2684,16 @@ type cloudChannelGRPCClient struct { // // CloudChannelService exposes the following resources: // -// Customers: An entity-usually an -// enterprise-managed by a reseller or distributor. +// Customers: An entity-usually an +// enterprise-managed by a reseller or distributor. // -// Entitlements: An entity that -// provides a customer with the means to use a service. Entitlements are created -// or updated as a result of a successful fulfillment. +// Entitlements: An entity that +// provides a customer with the means to use a service. Entitlements are created +// or updated as a result of a successful fulfillment. // -// ChannelPartnerLinks: An -// entity that identifies links between distributors and their indirect -// resellers in a channel. +// ChannelPartnerLinks: An +// entity that identifies links between distributors and their indirect +// resellers in a channel. func NewCloudChannelClient(ctx context.Context, opts ...option.ClientOption) (*CloudChannelClient, error) { clientOpts := defaultCloudChannelGRPCClientOptions() if newCloudChannelClientHook != nil { @@ -2793,16 +2793,16 @@ type cloudChannelRESTClient struct { // // CloudChannelService exposes the following resources: // -// Customers: An entity-usually an -// enterprise-managed by a reseller or distributor. +// Customers: An entity-usually an +// enterprise-managed by a reseller or distributor. // -// Entitlements: An entity that -// provides a customer with the means to use a service. Entitlements are created -// or updated as a result of a successful fulfillment. +// Entitlements: An entity that +// provides a customer with the means to use a service. Entitlements are created +// or updated as a result of a successful fulfillment. // -// ChannelPartnerLinks: An -// entity that identifies links between distributors and their indirect -// resellers in a channel. +// ChannelPartnerLinks: An +// entity that identifies links between distributors and their indirect +// resellers in a channel. func NewCloudChannelRESTClient(ctx context.Context, opts ...option.ClientOption) (*CloudChannelClient, error) { clientOpts := append(defaultCloudChannelRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) @@ -4296,10 +4296,10 @@ func (c *cloudChannelGRPCClient) ListOperations(ctx context.Context, req *longru // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: // List of Customers, or an empty list if @@ -4400,13 +4400,13 @@ func (c *cloudChannelRESTClient) ListCustomers(ctx context.Context, req *channel // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: The customer resource doesn’t exist. Usually the result of an -// invalid name parameter. +// NOT_FOUND: The customer resource doesn’t exist. Usually the result of an +// invalid name parameter. // // Return value: // The Customer resource. @@ -4474,12 +4474,12 @@ func (c *cloudChannelRESTClient) GetCustomer(ctx context.Context, req *channelpb // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// INVALID_VALUE: Invalid domain value in the request. +// INVALID_VALUE: Invalid domain value in the request. // // Return value: // A list of @@ -4560,19 +4560,19 @@ func (c *cloudChannelRESTClient) CheckCloudIdentityAccountsExist(ctx context.Con // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The reseller account making the request is different from the -// reseller account in the API request. +// The reseller account making the request is different from the +// reseller account in the API request. // -// You are not authorized to create a customer. See -// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) +// You are not authorized to create a customer. See +// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) // -// INVALID_ARGUMENT: +// INVALID_ARGUMENT: // -// Required request parameters are missing or invalid. +// Required request parameters are missing or invalid. // -// Domain field value doesn’t match the primary email domain. +// Domain field value doesn’t match the primary email domain. // // Return value: // The newly created Customer resource. @@ -4647,13 +4647,13 @@ func (c *cloudChannelRESTClient) CreateCustomer(ctx context.Context, req *channe // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: No Customer resource found -// for the name in the request. +// NOT_FOUND: No Customer resource found +// for the name in the request. // // Return value: // The updated Customer resource. @@ -4734,15 +4734,15 @@ func (c *cloudChannelRESTClient) UpdateCustomer(ctx context.Context, req *channe // // Possible error codes: // -// PERMISSION_DENIED: The account making the request does not own -// this customer. +// PERMISSION_DENIED: The account making the request does not own +// this customer. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// FAILED_PRECONDITION: The customer has existing entitlements. +// FAILED_PRECONDITION: The customer has existing entitlements. // -// NOT_FOUND: No Customer resource found -// for the name in the request. +// NOT_FOUND: No Customer resource found +// for the name in the request. func (c *cloudChannelRESTClient) DeleteCustomer(ctx context.Context, req *channelpb.DeleteCustomerRequest, opts ...gax.CallOption) error { baseUrl, err := url.Parse(c.endpoint) if err != nil { @@ -4791,21 +4791,21 @@ func (c *cloudChannelRESTClient) DeleteCustomer(ctx context.Context, req *channe // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The reseller account making the request is different from the -// reseller account in the API request. +// The reseller account making the request is different from the +// reseller account in the API request. // -// You are not authorized to import the customer. See -// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) +// You are not authorized to import the customer. See +// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) // -// NOT_FOUND: Cloud Identity doesn’t exist or was deleted. +// NOT_FOUND: Cloud Identity doesn’t exist or was deleted. // -// INVALID_ARGUMENT: Required parameters are missing, or the auth_token is -// expired or invalid. +// INVALID_ARGUMENT: Required parameters are missing, or the auth_token is +// expired or invalid. // -// ALREADY_EXISTS: A customer already exists and has conflicting critical -// fields. Requires an overwrite. +// ALREADY_EXISTS: A customer already exists and has conflicting critical +// fields. Requires an overwrite. // // Return value: // The Customer. @@ -4879,25 +4879,25 @@ func (c *cloudChannelRESTClient) ImportCustomer(ctx context.Context, req *channe // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The customer doesn’t belong to the reseller. +// The customer doesn’t belong to the reseller. // -// You are not authorized to provision cloud identity id. See -// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) +// You are not authorized to provision cloud identity id. See +// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: The customer was not found. +// NOT_FOUND: The customer was not found. // -// ALREADY_EXISTS: The customer’s primary email already exists. Retry -// after changing the customer’s primary contact email. +// ALREADY_EXISTS: The customer’s primary email already exists. Retry +// after changing the customer’s primary contact email. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -4979,9 +4979,9 @@ func (c *cloudChannelRESTClient) ProvisionCloudIdentity(ctx context.Context, req // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: // A list of the customer’s @@ -5083,16 +5083,16 @@ func (c *cloudChannelRESTClient) ListEntitlements(ctx context.Context, req *chan // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The customer doesn’t belong to the reseller and has no auth token. +// The customer doesn’t belong to the reseller and has no auth token. // -// The supplied auth token is invalid. +// The supplied auth token is invalid. // -// The reseller account making the request is different -// from the reseller account in the query. +// The reseller account making the request is different +// from the reseller account in the query. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: // A list of the customer’s @@ -5194,20 +5194,20 @@ func (c *cloudChannelRESTClient) ListTransferableSkus(ctx context.Context, req * // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The customer doesn’t belong to the reseller and has no auth token. +// The customer doesn’t belong to the reseller and has no auth token. // -// The customer provided incorrect reseller information when generating -// auth token. +// The customer provided incorrect reseller information when generating +// auth token. // -// The reseller account making the request is different -// from the reseller account in the query. +// The reseller account making the request is different +// from the reseller account in the query. // -// The reseller is not authorized to transact on this Product. See -// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) +// The reseller is not authorized to transact on this Product. See +// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: // List of TransferableOffer for @@ -5305,11 +5305,11 @@ func (c *cloudChannelRESTClient) ListTransferableOffers(ctx context.Context, req // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: The customer entitlement was not found. +// NOT_FOUND: The customer entitlement was not found. // // Return value: // The requested Entitlement resource. @@ -5376,52 +5376,52 @@ func (c *cloudChannelRESTClient) GetEntitlement(ctx context.Context, req *channe // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The customer doesn’t belong to the reseller. +// The customer doesn’t belong to the reseller. // -// The reseller is not authorized to transact on this Product. See -// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) +// The reseller is not authorized to transact on this Product. See +// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) // -// INVALID_ARGUMENT: +// INVALID_ARGUMENT: // -// Required request parameters are missing or invalid. +// Required request parameters are missing or invalid. // -// There is already a customer entitlement for a SKU from the same -// product family. +// There is already a customer entitlement for a SKU from the same +// product family. // -// INVALID_VALUE: Make sure the OfferId is valid. If it is, contact -// Google Channel support for further troubleshooting. +// INVALID_VALUE: Make sure the OfferId is valid. If it is, contact +// Google Channel support for further troubleshooting. // -// NOT_FOUND: The customer or offer resource was not found. +// NOT_FOUND: The customer or offer resource was not found. // -// ALREADY_EXISTS: +// ALREADY_EXISTS: // -// The SKU was already purchased for the customer. +// The SKU was already purchased for the customer. // -// The customer’s primary email already exists. Retry -// after changing the customer’s primary contact email. +// The customer’s primary email already exists. Retry +// after changing the customer’s primary contact email. // -// CONDITION_NOT_MET or FAILED_PRECONDITION: +// CONDITION_NOT_MET or FAILED_PRECONDITION: // -// The domain required for purchasing a SKU has not been verified. +// The domain required for purchasing a SKU has not been verified. // -// A pre-requisite SKU required to purchase an Add-On SKU is missing. -// For example, Google Workspace Business Starter is required to purchase -// Vault or Drive. +// A pre-requisite SKU required to purchase an Add-On SKU is missing. +// For example, Google Workspace Business Starter is required to purchase +// Vault or Drive. // -// (Developer accounts only) Reseller and resold domain must meet the -// following naming requirements: +// (Developer accounts only) Reseller and resold domain must meet the +// following naming requirements: // -// Domain names must start with goog-test. +// Domain names must start with goog-test. // -// Domain names must include the reseller domain. +// Domain names must include the reseller domain. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -5505,19 +5505,19 @@ func (c *cloudChannelRESTClient) CreateEntitlement(ctx context.Context, req *cha // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. -// For example, the number of seats being changed is greater than the allowed -// number of max seats, or decreasing seats for a commitment based plan. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// For example, the number of seats being changed is greater than the allowed +// number of max seats, or decreasing seats for a commitment based plan. // -// NOT_FOUND: Entitlement resource not found. +// NOT_FOUND: Entitlement resource not found. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -5601,20 +5601,20 @@ func (c *cloudChannelRESTClient) ChangeParameters(ctx context.Context, req *chan // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: Entitlement resource not found. +// NOT_FOUND: Entitlement resource not found. // -// NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a -// commitment plan. Can’t enable or disable renewals for non-commitment plans. +// NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a +// commitment plan. Can’t enable or disable renewals for non-commitment plans. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -5698,17 +5698,17 @@ func (c *cloudChannelRESTClient) ChangeRenewalSettings(ctx context.Context, req // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: Offer or Entitlement resource not found. +// NOT_FOUND: Offer or Entitlement resource not found. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -5793,20 +5793,20 @@ func (c *cloudChannelRESTClient) ChangeOffer(ctx context.Context, req *channelpb // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: Entitlement resource not found. +// NOT_FOUND: Entitlement resource not found. // -// FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for -// entitlement on trial plans. +// FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for +// entitlement on trial plans. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -5889,19 +5889,19 @@ func (c *cloudChannelRESTClient) StartPaidService(ctx context.Context, req *chan // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: Entitlement resource not found. +// NOT_FOUND: Entitlement resource not found. // -// NOT_ACTIVE: Entitlement is not active. +// NOT_ACTIVE: Entitlement is not active. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -5984,24 +5984,24 @@ func (c *cloudChannelRESTClient) SuspendEntitlement(ctx context.Context, req *ch // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// FAILED_PRECONDITION: There are Google Cloud projects linked to the -// Google Cloud entitlement’s Cloud Billing subaccount. +// FAILED_PRECONDITION: There are Google Cloud projects linked to the +// Google Cloud entitlement’s Cloud Billing subaccount. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: Entitlement resource not found. +// NOT_FOUND: Entitlement resource not found. // -// DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace -// add-ons, or entitlements for Google Cloud’s development platform. +// DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace +// add-ons, or entitlements for Google Cloud’s development platform. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -6087,24 +6087,24 @@ func (c *cloudChannelRESTClient) CancelEntitlement(ctx context.Context, req *cha // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: Entitlement resource not found. +// NOT_FOUND: Entitlement resource not found. // -// SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated -// suspensions and entitlements that have accepted the TOS. +// SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated +// suspensions and entitlements that have accepted the TOS. // -// NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE -// state. +// NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE +// state. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -6185,41 +6185,41 @@ func (c *cloudChannelRESTClient) ActivateEntitlement(ctx context.Context, req *c // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The customer doesn’t belong to the reseller. +// The customer doesn’t belong to the reseller. // -// The reseller is not authorized to transact on this Product. See -// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) +// The reseller is not authorized to transact on this Product. See +// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: The customer or offer resource was not found. +// NOT_FOUND: The customer or offer resource was not found. // -// ALREADY_EXISTS: The SKU was already transferred for the customer. +// ALREADY_EXISTS: The SKU was already transferred for the customer. // -// CONDITION_NOT_MET or FAILED_PRECONDITION: +// CONDITION_NOT_MET or FAILED_PRECONDITION: // -// The SKU requires domain verification to transfer, but the domain is -// not verified. +// The SKU requires domain verification to transfer, but the domain is +// not verified. // -// An Add-On SKU (example, Vault or Drive) is missing the -// pre-requisite SKU (example, G Suite Basic). +// An Add-On SKU (example, Vault or Drive) is missing the +// pre-requisite SKU (example, G Suite Basic). // -// (Developer accounts only) Reseller and resold domain must meet the -// following naming requirements: +// (Developer accounts only) Reseller and resold domain must meet the +// following naming requirements: // -// Domain names must start with goog-test. +// Domain names must start with goog-test. // -// Domain names must include the reseller domain. +// Domain names must include the reseller domain. // -// Specify all transferring entitlements. +// Specify all transferring entitlements. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -6300,34 +6300,34 @@ func (c *cloudChannelRESTClient) TransferEntitlements(ctx context.Context, req * // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: The customer or offer resource was not found. +// NOT_FOUND: The customer or offer resource was not found. // -// ALREADY_EXISTS: The SKU was already transferred for the customer. +// ALREADY_EXISTS: The SKU was already transferred for the customer. // -// CONDITION_NOT_MET or FAILED_PRECONDITION: +// CONDITION_NOT_MET or FAILED_PRECONDITION: // -// The SKU requires domain verification to transfer, but the domain is -// not verified. +// The SKU requires domain verification to transfer, but the domain is +// not verified. // -// An Add-On SKU (example, Vault or Drive) is missing the -// pre-requisite SKU (example, G Suite Basic). +// An Add-On SKU (example, Vault or Drive) is missing the +// pre-requisite SKU (example, G Suite Basic). // -// (Developer accounts only) Reseller and resold domain must meet the -// following naming requirements: +// (Developer accounts only) Reseller and resold domain must meet the +// following naming requirements: // -// Domain names must start with goog-test. +// Domain names must start with goog-test. // -// Domain names must include the reseller domain. +// Domain names must include the reseller domain. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -6410,10 +6410,10 @@ func (c *cloudChannelRESTClient) TransferEntitlementsToGoogle(ctx context.Contex // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: // The list of the distributor account’s @@ -6515,13 +6515,13 @@ func (c *cloudChannelRESTClient) ListChannelPartnerLinks(ctx context.Context, re // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: ChannelPartnerLink resource not found because of an -// invalid channel partner link name. +// NOT_FOUND: ChannelPartnerLink resource not found because of an +// invalid channel partner link name. // // Return value: // The ChannelPartnerLink @@ -6597,21 +6597,21 @@ func (c *cloudChannelRESTClient) GetChannelPartnerLink(ctx context.Context, req // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// ALREADY_EXISTS: The ChannelPartnerLink sent in the request already -// exists. +// ALREADY_EXISTS: The ChannelPartnerLink sent in the request already +// exists. // -// NOT_FOUND: No Cloud Identity customer exists for provided domain. +// NOT_FOUND: No Cloud Identity customer exists for provided domain. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The new ChannelPartnerLink @@ -6688,25 +6688,25 @@ func (c *cloudChannelRESTClient) CreateChannelPartnerLink(ctx context.Context, r // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request is different -// from the reseller account in the API request. +// PERMISSION_DENIED: The reseller account making the request is different +// from the reseller account in the API request. // -// INVALID_ARGUMENT: +// INVALID_ARGUMENT: // -// Required request parameters are missing or invalid. +// Required request parameters are missing or invalid. // -// Link state cannot change from invited to active or suspended. +// Link state cannot change from invited to active or suspended. // -// Cannot send reseller_cloud_identity_id, invite_url, or name in update -// mask. +// Cannot send reseller_cloud_identity_id, invite_url, or name in update +// mask. // -// NOT_FOUND: ChannelPartnerLink resource not found. +// NOT_FOUND: ChannelPartnerLink resource not found. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The updated @@ -6781,15 +6781,15 @@ func (c *cloudChannelRESTClient) UpdateChannelPartnerLink(ctx context.Context, r // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// NOT_FOUND: The -// CustomerRepricingConfig -// was not found. +// NOT_FOUND: The +// CustomerRepricingConfig +// was not found. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the @@ -6859,15 +6859,15 @@ func (c *cloudChannelRESTClient) GetCustomerRepricingConfig(ctx context.Context, // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// NOT_FOUND: The -// CustomerRepricingConfig -// specified does not exist or is not associated with the given account. +// NOT_FOUND: The +// CustomerRepricingConfig +// specified does not exist or is not associated with the given account. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the @@ -6875,13 +6875,13 @@ func (c *cloudChannelRESTClient) GetCustomerRepricingConfig(ctx context.Context, // resources. The data for each resource is displayed in the ascending order // of: // -// Customer ID +// Customer ID // -// RepricingConfig.EntitlementGranularity.entitlement +// RepricingConfig.EntitlementGranularity.entitlement // -// RepricingConfig.effective_invoice_month +// RepricingConfig.effective_invoice_month // -// CustomerRepricingConfig.update_time +// CustomerRepricingConfig.update_time // // If unsuccessful, returns an error. func (c *cloudChannelRESTClient) ListCustomerRepricingConfigs(ctx context.Context, req *channelpb.ListCustomerRepricingConfigsRequest, opts ...gax.CallOption) *CustomerRepricingConfigIterator { @@ -6987,37 +6987,37 @@ func (c *cloudChannelRESTClient) ListCustomerRepricingConfigs(ctx context.Contex // // The following restrictions are for creating configs in the current month. // -// This functionality is reserved for recovering from an erroneous config, -// and should not be used for regular business cases. +// This functionality is reserved for recovering from an erroneous config, +// and should not be used for regular business cases. // -// The new config will not modify exports used with other configs. -// Changes to the config may be immediate, but may take up to 24 hours. +// The new config will not modify exports used with other configs. +// Changes to the config may be immediate, but may take up to 24 hours. // -// There is a limit of ten configs for any -// RepricingConfig.EntitlementGranularity.entitlement, -// for any -// RepricingConfig.effective_invoice_month. +// There is a limit of ten configs for any +// RepricingConfig.EntitlementGranularity.entitlement, +// for any +// RepricingConfig.effective_invoice_month. // -// The contained -// CustomerRepricingConfig.repricing_config -// value must be different from the value used in the current config for a -// RepricingConfig.EntitlementGranularity.entitlement. +// The contained +// CustomerRepricingConfig.repricing_config +// value must be different from the value used in the current config for a +// RepricingConfig.EntitlementGranularity.entitlement. // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// INVALID_ARGUMENT: Missing or invalid required parameters in the -// request. Also displays if the updated config is for the current month or -// past months. +// INVALID_ARGUMENT: Missing or invalid required parameters in the +// request. Also displays if the updated config is for the current month or +// past months. // -// NOT_FOUND: The -// CustomerRepricingConfig -// specified does not exist or is not associated with the given account. +// NOT_FOUND: The +// CustomerRepricingConfig +// specified does not exist or is not associated with the given account. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the updated @@ -7102,23 +7102,23 @@ func (c *cloudChannelRESTClient) CreateCustomerRepricingConfig(ctx context.Conte // // When updating a config in the future: // -// This config must already exist. +// This config must already exist. // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// INVALID_ARGUMENT: Missing or invalid required parameters in the -// request. Also displays if the updated config is for the current month or -// past months. +// INVALID_ARGUMENT: Missing or invalid required parameters in the +// request. Also displays if the updated config is for the current month or +// past months. // -// NOT_FOUND: The -// CustomerRepricingConfig -// specified does not exist or is not associated with the given account. +// NOT_FOUND: The +// CustomerRepricingConfig +// specified does not exist or is not associated with the given account. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the updated @@ -7198,18 +7198,18 @@ func (c *cloudChannelRESTClient) UpdateCustomerRepricingConfig(ctx context.Conte // // Possible error codes: // -// PERMISSION_DENIED: The account making the request does not own -// this customer. +// PERMISSION_DENIED: The account making the request does not own +// this customer. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// FAILED_PRECONDITION: The -// CustomerRepricingConfig -// is active or in the past. +// FAILED_PRECONDITION: The +// CustomerRepricingConfig +// is active or in the past. // -// NOT_FOUND: No -// CustomerRepricingConfig -// found for the name in the request. +// NOT_FOUND: No +// CustomerRepricingConfig +// found for the name in the request. func (c *cloudChannelRESTClient) DeleteCustomerRepricingConfig(ctx context.Context, req *channelpb.DeleteCustomerRepricingConfigRequest, opts ...gax.CallOption) error { baseUrl, err := url.Parse(c.endpoint) if err != nil { @@ -7256,15 +7256,15 @@ func (c *cloudChannelRESTClient) DeleteCustomerRepricingConfig(ctx context.Conte // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// NOT_FOUND: The -// ChannelPartnerRepricingConfig -// was not found. +// NOT_FOUND: The +// ChannelPartnerRepricingConfig +// was not found. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the @@ -7334,15 +7334,15 @@ func (c *cloudChannelRESTClient) GetChannelPartnerRepricingConfig(ctx context.Co // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// NOT_FOUND: The -// ChannelPartnerRepricingConfig -// specified does not exist or is not associated with the given account. +// NOT_FOUND: The +// ChannelPartnerRepricingConfig +// specified does not exist or is not associated with the given account. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the @@ -7350,11 +7350,11 @@ func (c *cloudChannelRESTClient) GetChannelPartnerRepricingConfig(ctx context.Co // resources. The data for each resource is displayed in the ascending order // of: // -// Channel Partner ID +// Channel Partner ID // -// RepricingConfig.effective_invoice_month +// RepricingConfig.effective_invoice_month // -// ChannelPartnerRepricingConfig.update_time +// ChannelPartnerRepricingConfig.update_time // // If unsuccessful, returns an error. func (c *cloudChannelRESTClient) ListChannelPartnerRepricingConfigs(ctx context.Context, req *channelpb.ListChannelPartnerRepricingConfigsRequest, opts ...gax.CallOption) *ChannelPartnerRepricingConfigIterator { @@ -7461,37 +7461,37 @@ func (c *cloudChannelRESTClient) ListChannelPartnerRepricingConfigs(ctx context. // // The following restrictions are for creating configs in the current month. // -// This functionality is reserved for recovering from an erroneous config, -// and should not be used for regular business cases. +// This functionality is reserved for recovering from an erroneous config, +// and should not be used for regular business cases. // -// The new config will not modify exports used with other configs. -// Changes to the config may be immediate, but may take up to 24 hours. +// The new config will not modify exports used with other configs. +// Changes to the config may be immediate, but may take up to 24 hours. // -// There is a limit of ten configs for any ChannelPartner or -// RepricingConfig.EntitlementGranularity.entitlement, -// for any -// RepricingConfig.effective_invoice_month. +// There is a limit of ten configs for any ChannelPartner or +// RepricingConfig.EntitlementGranularity.entitlement, +// for any +// RepricingConfig.effective_invoice_month. // -// The contained -// ChannelPartnerRepricingConfig.repricing_config -// value must be different from the value used in the current config for a -// ChannelPartner. +// The contained +// ChannelPartnerRepricingConfig.repricing_config +// value must be different from the value used in the current config for a +// ChannelPartner. // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// INVALID_ARGUMENT: Missing or invalid required parameters in the -// request. Also displays if the updated config is for the current month or -// past months. +// INVALID_ARGUMENT: Missing or invalid required parameters in the +// request. Also displays if the updated config is for the current month or +// past months. // -// NOT_FOUND: The -// ChannelPartnerRepricingConfig -// specified does not exist or is not associated with the given account. +// NOT_FOUND: The +// ChannelPartnerRepricingConfig +// specified does not exist or is not associated with the given account. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the updated @@ -7576,23 +7576,23 @@ func (c *cloudChannelRESTClient) CreateChannelPartnerRepricingConfig(ctx context // // When updating a config in the future: // -// This config must already exist. +// This config must already exist. // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different. // -// INVALID_ARGUMENT: Missing or invalid required parameters in the -// request. Also displays if the updated config is for the current month or -// past months. +// INVALID_ARGUMENT: Missing or invalid required parameters in the +// request. Also displays if the updated config is for the current month or +// past months. // -// NOT_FOUND: The -// ChannelPartnerRepricingConfig -// specified does not exist or is not associated with the given account. +// NOT_FOUND: The +// ChannelPartnerRepricingConfig +// specified does not exist or is not associated with the given account. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the updated @@ -7672,18 +7672,18 @@ func (c *cloudChannelRESTClient) UpdateChannelPartnerRepricingConfig(ctx context // // Possible error codes: // -// PERMISSION_DENIED: The account making the request does not own -// this customer. +// PERMISSION_DENIED: The account making the request does not own +// this customer. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// FAILED_PRECONDITION: The -// ChannelPartnerRepricingConfig -// is active or in the past. +// FAILED_PRECONDITION: The +// ChannelPartnerRepricingConfig +// is active or in the past. // -// NOT_FOUND: No -// ChannelPartnerRepricingConfig -// found for the name in the request. +// NOT_FOUND: No +// ChannelPartnerRepricingConfig +// found for the name in the request. func (c *cloudChannelRESTClient) DeleteChannelPartnerRepricingConfig(ctx context.Context, req *channelpb.DeleteChannelPartnerRepricingConfigRequest, opts ...gax.CallOption) error { baseUrl, err := url.Parse(c.endpoint) if err != nil { @@ -7731,11 +7731,11 @@ func (c *cloudChannelRESTClient) DeleteChannelPartnerRepricingConfig(ctx context // // Possible Error Codes: // -// PERMISSION_DENIED: If the account making the request and the account -// being queried are different, or the account doesn’t exist. +// PERMISSION_DENIED: If the account making the request and the account +// being queried are different, or the account doesn’t exist. // -// INTERNAL: Any non-user error related to technical issues in the -// backend. In this case, contact Cloud Channel support. +// INTERNAL: Any non-user error related to technical issues in the +// backend. In this case, contact Cloud Channel support. // // Return Value: // If successful, the SkuGroup resources. @@ -7848,9 +7848,9 @@ func (c *cloudChannelRESTClient) ListSkuGroups(ctx context.Context, req *channel // resources. The data for each resource is displayed in the ascending order // of: // -// BillableSku.service_display_name +// BillableSku.service_display_name // -// BillableSku.sku_display_name +// BillableSku.sku_display_name // // If unsuccessful, returns an error. func (c *cloudChannelRESTClient) ListSkuGroupBillableSkus(ctx context.Context, req *channelpb.ListSkuGroupBillableSkusRequest, opts ...gax.CallOption) *BillableSkuIterator { @@ -7945,11 +7945,11 @@ func (c *cloudChannelRESTClient) ListSkuGroupBillableSkus(ctx context.Context, r // // Possible error codes: // -// PERMISSION_DENIED: The entitlement doesn’t belong to the reseller. +// PERMISSION_DENIED: The entitlement doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: Entitlement or offer was not found. +// NOT_FOUND: Entitlement or offer was not found. // // Return value: // The Offer resource. @@ -8016,7 +8016,7 @@ func (c *cloudChannelRESTClient) LookupOffer(ctx context.Context, req *channelpb // // Possible error codes: // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. func (c *cloudChannelRESTClient) ListProducts(ctx context.Context, req *channelpb.ListProductsRequest, opts ...gax.CallOption) *ProductIterator { it := &ProductIterator{} req = proto.Clone(req).(*channelpb.ListProductsRequest) @@ -8113,7 +8113,7 @@ func (c *cloudChannelRESTClient) ListProducts(ctx context.Context, req *channelp // // Possible error codes: // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. func (c *cloudChannelRESTClient) ListSkus(ctx context.Context, req *channelpb.ListSkusRequest, opts ...gax.CallOption) *SkuIterator { it := &SkuIterator{} req = proto.Clone(req).(*channelpb.ListSkusRequest) @@ -8210,7 +8210,7 @@ func (c *cloudChannelRESTClient) ListSkus(ctx context.Context, req *channelpb.Li // // Possible error codes: // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. func (c *cloudChannelRESTClient) ListOffers(ctx context.Context, req *channelpb.ListOffersRequest, opts ...gax.CallOption) *OfferIterator { it := &OfferIterator{} req = proto.Clone(req).(*channelpb.ListOffersRequest) @@ -8310,15 +8310,15 @@ func (c *cloudChannelRESTClient) ListOffers(ctx context.Context, req *channelpb. // ListPurchasableSkus lists the following: // -// SKUs that you can purchase for a customer +// SKUs that you can purchase for a customer // -// SKUs that you can upgrade or downgrade for an entitlement. +// SKUs that you can upgrade or downgrade for an entitlement. // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. func (c *cloudChannelRESTClient) ListPurchasableSkus(ctx context.Context, req *channelpb.ListPurchasableSkusRequest, opts ...gax.CallOption) *PurchasableSkuIterator { it := &PurchasableSkuIterator{} req = proto.Clone(req).(*channelpb.ListPurchasableSkusRequest) @@ -8415,20 +8415,20 @@ func (c *cloudChannelRESTClient) ListPurchasableSkus(ctx context.Context, req *c // ListPurchasableOffers lists the following: // -// Offers that you can purchase for a customer. +// Offers that you can purchase for a customer. // -// Offers that you can change for an entitlement. +// Offers that you can change for an entitlement. // // Possible error codes: // -// PERMISSION_DENIED: +// PERMISSION_DENIED: // -// The customer doesn’t belong to the reseller +// The customer doesn’t belong to the reseller // -// The reseller is not authorized to transact on this Product. See -// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) +// The reseller is not authorized to transact on this Product. See +// https://support.google.com/channelservices/answer/9759265 (at https://support.google.com/channelservices/answer/9759265) // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. func (c *cloudChannelRESTClient) ListPurchasableOffers(ctx context.Context, req *channelpb.ListPurchasableOffersRequest, opts ...gax.CallOption) *PurchasableOfferIterator { it := &PurchasableOfferIterator{} req = proto.Clone(req).(*channelpb.ListPurchasableOffersRequest) @@ -8536,9 +8536,9 @@ func (c *cloudChannelRESTClient) ListPurchasableOffers(ctx context.Context, req // // Possible error codes: // -// PERMISSION_DENIED: The customer doesn’t belong to the reseller. +// PERMISSION_DENIED: The customer doesn’t belong to the reseller. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: // Based on the provided list of SKUs, returns a list of SKU groups that must @@ -8615,17 +8615,17 @@ func (c *cloudChannelRESTClient) QueryEligibleBillingAccounts(ctx context.Contex // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request and the -// provided reseller account are different, or the impersonated user -// is not a super admin. +// PERMISSION_DENIED: The reseller account making the request and the +// provided reseller account are different, or the impersonated user +// is not a super admin. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The topic name with the registered service email address. @@ -8701,19 +8701,19 @@ func (c *cloudChannelRESTClient) RegisterSubscriber(ctx context.Context, req *ch // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request and the -// provided reseller account are different, or the impersonated user -// is not a super admin. +// PERMISSION_DENIED: The reseller account making the request and the +// provided reseller account are different, or the impersonated user +// is not a super admin. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: The topic resource doesn’t exist. +// NOT_FOUND: The topic resource doesn’t exist. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // The topic name that unregistered the service email address. @@ -8789,19 +8789,19 @@ func (c *cloudChannelRESTClient) UnregisterSubscriber(ctx context.Context, req * // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request and the -// provided reseller account are different, or the impersonated user -// is not a super admin. +// PERMISSION_DENIED: The reseller account making the request and the +// provided reseller account are different, or the impersonated user +// is not a super admin. // -// INVALID_ARGUMENT: Required request parameters are missing or invalid. +// INVALID_ARGUMENT: Required request parameters are missing or invalid. // -// NOT_FOUND: The topic resource doesn’t exist. +// NOT_FOUND: The topic resource doesn’t exist. // -// INTERNAL: Any non-user error related to a technical issue in the -// backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue in the +// backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// Contact Cloud Channel support. // // Return value: // A list of service email addresses. @@ -8897,19 +8897,19 @@ func (c *cloudChannelRESTClient) ListSubscribers(ctx context.Context, req *chann // // Possible error codes: // -// PERMISSION_DENIED: The reseller account making the request and the -// provided reseller account are different. +// PERMISSION_DENIED: The reseller account making the request and the +// provided reseller account are different. // -// INVALID_ARGUMENT: Missing or invalid required fields in the request. +// INVALID_ARGUMENT: Missing or invalid required fields in the request. // -// NOT_FOUND: The parent resource doesn’t exist. Usually the result of an -// invalid name parameter. +// NOT_FOUND: The parent resource doesn’t exist. Usually the result of an +// invalid name parameter. // -// INTERNAL: Any non-user error related to a technical issue in the backend. -// In this case, contact CloudChannel support. +// INTERNAL: Any non-user error related to a technical issue in the backend. +// In this case, contact CloudChannel support. // -// UNKNOWN: Any non-user error related to a technical issue in the backend. -// In this case, contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue in the backend. +// In this case, contact Cloud Channel support. // // Return value: // List of EntitlementChanges. diff --git a/channel/apiv1/cloud_channel_reports_client.go b/channel/apiv1/cloud_channel_reports_client.go index 9dc438fac17c..fdac42d90d2f 100755 --- a/channel/apiv1/cloud_channel_reports_client.go +++ b/channel/apiv1/cloud_channel_reports_client.go @@ -152,18 +152,18 @@ func (c *CloudChannelReportsClient) Connection() *grpc.ClientConn { // // Possible error codes: // -// PERMISSION_DENIED: The user doesn’t have access to this report. +// PERMISSION_DENIED: The user doesn’t have access to this report. // -// INVALID_ARGUMENT: Required request parameters are missing -// or invalid. +// INVALID_ARGUMENT: Required request parameters are missing +// or invalid. // -// NOT_FOUND: The report identifier was not found. +// NOT_FOUND: The report identifier was not found. // -// INTERNAL: Any non-user error related to a technical issue -// in the backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue +// in the backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue -// in the backend. Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue +// in the backend. Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. @@ -605,18 +605,18 @@ func (c *cloudChannelReportsGRPCClient) ListOperations(ctx context.Context, req // // Possible error codes: // -// PERMISSION_DENIED: The user doesn’t have access to this report. +// PERMISSION_DENIED: The user doesn’t have access to this report. // -// INVALID_ARGUMENT: Required request parameters are missing -// or invalid. +// INVALID_ARGUMENT: Required request parameters are missing +// or invalid. // -// NOT_FOUND: The report identifier was not found. +// NOT_FOUND: The report identifier was not found. // -// INTERNAL: Any non-user error related to a technical issue -// in the backend. Contact Cloud Channel support. +// INTERNAL: Any non-user error related to a technical issue +// in the backend. Contact Cloud Channel support. // -// UNKNOWN: Any non-user error related to a technical issue -// in the backend. Contact Cloud Channel support. +// UNKNOWN: Any non-user error related to a technical issue +// in the backend. Contact Cloud Channel support. // // Return value: // The ID of a long-running operation. diff --git a/channel/apiv1/doc.go b/channel/apiv1/doc.go index 3d41fb80fc5c..08dd65c58c3f 100755 --- a/channel/apiv1/doc.go +++ b/channel/apiv1/doc.go @@ -21,71 +21,72 @@ // unified resale platform and APIs across all of Google Cloud including GCP, // Workspace, Maps and Chrome. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := channel.NewCloudChannelReportsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := channel.NewCloudChannelReportsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := channel.NewCloudChannelReportsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &channelpb.FetchReportResultsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/channel/apiv1/channelpb#FetchReportResultsRequest. -// } -// it := c.FetchReportResults(ctx, req) -// for { -// resp, err := it.Next() -// if err == iterator.Done { -// break -// } -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// } -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := channel.NewCloudChannelReportsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &channelpb.FetchReportResultsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/channel/apiv1/channelpb#FetchReportResultsRequest. +// } +// it := c.FetchReportResults(ctx, req) +// for { +// resp, err := it.Next() +// if err == iterator.Done { +// break +// } +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// } +// +// # Use of Context // // The ctx passed to NewCloudChannelReportsClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/cloudbuild/apiv1/v2/cloud_build_client.go b/cloudbuild/apiv1/v2/cloud_build_client.go index bc3d52f59c86..47f8a478e870 100755 --- a/cloudbuild/apiv1/v2/cloud_build_client.go +++ b/cloudbuild/apiv1/v2/cloud_build_client.go @@ -446,28 +446,28 @@ func (c *Client) CancelBuild(ctx context.Context, req *cloudbuildpb.CancelBuildR // // For triggered builds: // -// Triggered builds resolve to a precise revision; therefore a retry of a -// triggered build will result in a build that uses the same revision. +// Triggered builds resolve to a precise revision; therefore a retry of a +// triggered build will result in a build that uses the same revision. // // For non-triggered builds that specify RepoSource: // -// If the original build built from the tip of a branch, the retried build -// will build from the tip of that branch, which may not be the same revision -// as the original build. +// If the original build built from the tip of a branch, the retried build +// will build from the tip of that branch, which may not be the same revision +// as the original build. // -// If the original build specified a commit sha or revision ID, the retried -// build will use the identical source. +// If the original build specified a commit sha or revision ID, the retried +// build will use the identical source. // // For builds that specify StorageSource: // -// If the original build pulled source from Cloud Storage without -// specifying the generation of the object, the new build will use the current -// object, which may be different from the original build source. +// If the original build pulled source from Cloud Storage without +// specifying the generation of the object, the new build will use the current +// object, which may be different from the original build source. // -// If the original build pulled source from Cloud Storage and specified the -// generation of the object, the new build will attempt to use the same -// object, which may or may not be available depending on the bucket’s -// lifecycle management settings. +// If the original build pulled source from Cloud Storage and specified the +// generation of the object, the new build will attempt to use the same +// object, which may or may not be available depending on the bucket’s +// lifecycle management settings. func (c *Client) RetryBuild(ctx context.Context, req *cloudbuildpb.RetryBuildRequest, opts ...gax.CallOption) (*RetryBuildOperation, error) { return c.internalClient.RetryBuild(ctx, req, opts...) } @@ -1693,28 +1693,28 @@ func (c *restClient) CancelBuild(ctx context.Context, req *cloudbuildpb.CancelBu // // For triggered builds: // -// Triggered builds resolve to a precise revision; therefore a retry of a -// triggered build will result in a build that uses the same revision. +// Triggered builds resolve to a precise revision; therefore a retry of a +// triggered build will result in a build that uses the same revision. // // For non-triggered builds that specify RepoSource: // -// If the original build built from the tip of a branch, the retried build -// will build from the tip of that branch, which may not be the same revision -// as the original build. +// If the original build built from the tip of a branch, the retried build +// will build from the tip of that branch, which may not be the same revision +// as the original build. // -// If the original build specified a commit sha or revision ID, the retried -// build will use the identical source. +// If the original build specified a commit sha or revision ID, the retried +// build will use the identical source. // // For builds that specify StorageSource: // -// If the original build pulled source from Cloud Storage without -// specifying the generation of the object, the new build will use the current -// object, which may be different from the original build source. +// If the original build pulled source from Cloud Storage without +// specifying the generation of the object, the new build will use the current +// object, which may be different from the original build source. // -// If the original build pulled source from Cloud Storage and specified the -// generation of the object, the new build will attempt to use the same -// object, which may or may not be available depending on the bucket’s -// lifecycle management settings. +// If the original build pulled source from Cloud Storage and specified the +// generation of the object, the new build will attempt to use the same +// object, which may or may not be available depending on the bucket’s +// lifecycle management settings. func (c *restClient) RetryBuild(ctx context.Context, req *cloudbuildpb.RetryBuildRequest, opts ...gax.CallOption) (*RetryBuildOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/cloudbuild/apiv1/v2/cloudbuildpb/cloudbuild.pb.go b/cloudbuild/apiv1/v2/cloudbuildpb/cloudbuild.pb.go index e7359f223e14..af6ea62964eb 100755 --- a/cloudbuild/apiv1/v2/cloudbuildpb/cloudbuild.pb.go +++ b/cloudbuild/apiv1/v2/cloudbuildpb/cloudbuild.pb.go @@ -21,8 +21,11 @@ package cloudbuildpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -34,8 +37,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -2699,16 +2700,16 @@ func (x *ArtifactResult) GetFileHash() []*FileHashes { // Fields can include the following variables, which will be expanded when the // build is created: // -// - $PROJECT_ID: the project ID of the build. -// - $PROJECT_NUMBER: the project number of the build. -// - $LOCATION: the location/region of the build. -// - $BUILD_ID: the autogenerated ID of the build. -// - $REPO_NAME: the source repository name specified by RepoSource. -// - $BRANCH_NAME: the branch name specified by RepoSource. -// - $TAG_NAME: the tag name specified by RepoSource. -// - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or -// resolved from the specified branch or tag. -// - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA. +// - $PROJECT_ID: the project ID of the build. +// - $PROJECT_NUMBER: the project number of the build. +// - $LOCATION: the location/region of the build. +// - $BUILD_ID: the autogenerated ID of the build. +// - $REPO_NAME: the source repository name specified by RepoSource. +// - $BRANCH_NAME: the branch name specified by RepoSource. +// - $TAG_NAME: the tag name specified by RepoSource. +// - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or +// resolved from the specified branch or tag. +// - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA. type Build struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/cloudbuild/apiv1/v2/doc.go b/cloudbuild/apiv1/v2/doc.go index eb88d94a8d45..6bd8ab53d815 100755 --- a/cloudbuild/apiv1/v2/doc.go +++ b/cloudbuild/apiv1/v2/doc.go @@ -19,70 +19,71 @@ // // Creates and manages builds on Google Cloud Platform. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cloudbuild.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cloudbuild.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cloudbuild.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &cloudbuildpb.ApproveBuildRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb#ApproveBuildRequest. -// } -// op, err := c.ApproveBuild(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cloudbuild.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &cloudbuildpb.ApproveBuildRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb#ApproveBuildRequest. +// } +// op, err := c.ApproveBuild(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/cloudbuild/apiv2/cloudbuildpb/cloudbuild.pb.go b/cloudbuild/apiv2/cloudbuildpb/cloudbuild.pb.go index 52ec64548919..fb7fcc65c139 100755 --- a/cloudbuild/apiv2/cloudbuildpb/cloudbuild.pb.go +++ b/cloudbuild/apiv2/cloudbuildpb/cloudbuild.pb.go @@ -21,12 +21,13 @@ package cloudbuildpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/cloudbuild/apiv2/cloudbuildpb/repositories.pb.go b/cloudbuild/apiv2/cloudbuildpb/repositories.pb.go index 6683fafb33bd..85cad88f14a0 100755 --- a/cloudbuild/apiv2/cloudbuildpb/repositories.pb.go +++ b/cloudbuild/apiv2/cloudbuildpb/repositories.pb.go @@ -21,8 +21,11 @@ package cloudbuildpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -33,8 +36,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/cloudbuild/apiv2/doc.go b/cloudbuild/apiv2/doc.go index f8f28ff5499c..c02149cce5fa 100755 --- a/cloudbuild/apiv2/doc.go +++ b/cloudbuild/apiv2/doc.go @@ -19,70 +19,71 @@ // // Creates and manages builds on Google Cloud Platform. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cloudbuild.NewRepositoryManagerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cloudbuild.NewRepositoryManagerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cloudbuild.NewRepositoryManagerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &cloudbuildpb.BatchCreateRepositoriesRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/cloudbuild/apiv2/cloudbuildpb#BatchCreateRepositoriesRequest. -// } -// op, err := c.BatchCreateRepositories(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cloudbuild.NewRepositoryManagerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &cloudbuildpb.BatchCreateRepositoriesRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/cloudbuild/apiv2/cloudbuildpb#BatchCreateRepositoriesRequest. +// } +// op, err := c.BatchCreateRepositories(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewRepositoryManagerClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/clouddms/apiv1/clouddmspb/clouddms.pb.go b/clouddms/apiv1/clouddmspb/clouddms.pb.go index 22133f52fc4e..65d9590dea51 100755 --- a/clouddms/apiv1/clouddmspb/clouddms.pb.go +++ b/clouddms/apiv1/clouddmspb/clouddms.pb.go @@ -21,8 +21,11 @@ package clouddmspb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/clouddms/apiv1/clouddmspb/clouddms_resources.pb.go b/clouddms/apiv1/clouddmspb/clouddms_resources.pb.go index a7dff290a1b3..7e001c4b47b3 100755 --- a/clouddms/apiv1/clouddmspb/clouddms_resources.pb.go +++ b/clouddms/apiv1/clouddmspb/clouddms_resources.pb.go @@ -21,6 +21,9 @@ package clouddmspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -28,8 +31,6 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/clouddms/apiv1/clouddmspb/conversionworkspace_resources.pb.go b/clouddms/apiv1/clouddmspb/conversionworkspace_resources.pb.go index 877f989ba8d0..03e441c30c2b 100755 --- a/clouddms/apiv1/clouddmspb/conversionworkspace_resources.pb.go +++ b/clouddms/apiv1/clouddmspb/conversionworkspace_resources.pb.go @@ -21,14 +21,15 @@ package clouddmspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/clouddms/apiv1/doc.go b/clouddms/apiv1/doc.go index cd46c1ec479b..e47f58e82605 100755 --- a/clouddms/apiv1/doc.go +++ b/clouddms/apiv1/doc.go @@ -20,70 +20,71 @@ // Manage Cloud Database Migration Service resources on Google Cloud // Platform. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := clouddms.NewDataMigrationClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := clouddms.NewDataMigrationClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := clouddms.NewDataMigrationClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &clouddmspb.ApplyConversionWorkspaceRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/clouddms/apiv1/clouddmspb#ApplyConversionWorkspaceRequest. -// } -// op, err := c.ApplyConversionWorkspace(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := clouddms.NewDataMigrationClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &clouddmspb.ApplyConversionWorkspaceRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/clouddms/apiv1/clouddmspb#ApplyConversionWorkspaceRequest. +// } +// op, err := c.ApplyConversionWorkspace(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewDataMigrationClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/cloudprofiler/apiv2/auxiliary.go b/cloudprofiler/apiv2/auxiliary.go index 6412a856b3dd..df6f67759fd7 100755 --- a/cloudprofiler/apiv2/auxiliary.go +++ b/cloudprofiler/apiv2/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package cloudprofiler - -import () diff --git a/cloudprofiler/apiv2/cloudprofilerpb/profiler.pb.go b/cloudprofiler/apiv2/cloudprofilerpb/profiler.pb.go index 137e06a00788..692bd27b36e0 100755 --- a/cloudprofiler/apiv2/cloudprofilerpb/profiler.pb.go +++ b/cloudprofiler/apiv2/cloudprofilerpb/profiler.pb.go @@ -22,6 +22,9 @@ package cloudprofilerpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( @@ -126,7 +127,6 @@ func (ProfileType) EnumDescriptor() ([]byte, []int) { // The deployment field must be populated. The profile_type specifies the list // of profile types supported by the agent. The creation call will hang until a // profile of one of these types needs to be collected. -// type CreateProfileRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/cloudprofiler/apiv2/doc.go b/cloudprofiler/apiv2/doc.go index d96701c9e7d2..630e2855cdd9 100755 --- a/cloudprofiler/apiv2/doc.go +++ b/cloudprofiler/apiv2/doc.go @@ -19,67 +19,68 @@ // // Manages continuous profiling information. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cloudprofiler.NewProfilerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cloudprofiler.NewProfilerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cloudprofiler.NewProfilerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &cloudprofilerpb.CreateOfflineProfileRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/cloudprofiler/apiv2/cloudprofilerpb#CreateOfflineProfileRequest. -// } -// resp, err := c.CreateOfflineProfile(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cloudprofiler.NewProfilerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &cloudprofilerpb.CreateOfflineProfileRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/cloudprofiler/apiv2/cloudprofilerpb#CreateOfflineProfileRequest. +// } +// resp, err := c.CreateOfflineProfile(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewProfilerClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/cloudprofiler/apiv2/profiler_client.go b/cloudprofiler/apiv2/profiler_client.go index a23ae6f0cfb8..0160352657da 100755 --- a/cloudprofiler/apiv2/profiler_client.go +++ b/cloudprofiler/apiv2/profiler_client.go @@ -104,9 +104,9 @@ type internalProfilerClient interface { // // General guidelines: // -// Profiles for a single deployment must be created in ascending time order. +// Profiles for a single deployment must be created in ascending time order. // -// Profiles can be created in either online or offline mode, see below. +// Profiles can be created in either online or offline mode, see below. type ProfilerClient struct { // The internal transport-dependent client. internalClient internalProfilerClient @@ -195,9 +195,9 @@ type profilerGRPCClient struct { // // General guidelines: // -// Profiles for a single deployment must be created in ascending time order. +// Profiles for a single deployment must be created in ascending time order. // -// Profiles can be created in either online or offline mode, see below. +// Profiles can be created in either online or offline mode, see below. func NewProfilerClient(ctx context.Context, opts ...option.ClientOption) (*ProfilerClient, error) { clientOpts := defaultProfilerGRPCClientOptions() if newProfilerClientHook != nil { @@ -271,9 +271,9 @@ type profilerRESTClient struct { // // General guidelines: // -// Profiles for a single deployment must be created in ascending time order. +// Profiles for a single deployment must be created in ascending time order. // -// Profiles can be created in either online or offline mode, see below. +// Profiles can be created in either online or offline mode, see below. func NewProfilerRESTClient(ctx context.Context, opts ...option.ClientOption) (*ProfilerClient, error) { clientOpts := append(defaultProfilerRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/cloudtasks/apiv2/cloud_tasks_client.go b/cloudtasks/apiv2/cloud_tasks_client.go index 717a8e90cf0c..a85a1ce9d174 100755 --- a/cloudtasks/apiv2/cloud_tasks_client.go +++ b/cloudtasks/apiv2/cloud_tasks_client.go @@ -513,7 +513,7 @@ func (c *Client) ResumeQueue(ctx context.Context, req *cloudtaskspb.ResumeQueueR // Google IAM (at https://cloud.google.com/iam) permission on the specified // resource parent: // -// cloudtasks.queues.getIamPolicy +// cloudtasks.queues.getIamPolicy func (c *Client) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { return c.internalClient.GetIamPolicy(ctx, req, opts...) } @@ -528,7 +528,7 @@ func (c *Client) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyReques // Google IAM (at https://cloud.google.com/iam) permission on the specified // resource parent: // -// cloudtasks.queues.setIamPolicy +// cloudtasks.queues.setIamPolicy func (c *Client) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { return c.internalClient.SetIamPolicy(ctx, req, opts...) } @@ -567,7 +567,7 @@ func (c *Client) GetTask(ctx context.Context, req *cloudtaskspb.GetTaskRequest, // // Tasks cannot be updated after creation; there is no UpdateTask command. // -// The maximum task size is 100KB. +// The maximum task size is 100KB. func (c *Client) CreateTask(ctx context.Context, req *cloudtaskspb.CreateTaskRequest, opts ...gax.CallOption) (*cloudtaskspb.Task, error) { return c.internalClient.CreateTask(ctx, req, opts...) } @@ -1771,7 +1771,7 @@ func (c *restClient) ResumeQueue(ctx context.Context, req *cloudtaskspb.ResumeQu // Google IAM (at https://cloud.google.com/iam) permission on the specified // resource parent: // -// cloudtasks.queues.getIamPolicy +// cloudtasks.queues.getIamPolicy func (c *restClient) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1847,7 +1847,7 @@ func (c *restClient) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRe // Google IAM (at https://cloud.google.com/iam) permission on the specified // resource parent: // -// cloudtasks.queues.setIamPolicy +// cloudtasks.queues.setIamPolicy func (c *restClient) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -2153,7 +2153,7 @@ func (c *restClient) GetTask(ctx context.Context, req *cloudtaskspb.GetTaskReque // // Tasks cannot be updated after creation; there is no UpdateTask command. // -// The maximum task size is 100KB. +// The maximum task size is 100KB. func (c *restClient) CreateTask(ctx context.Context, req *cloudtaskspb.CreateTaskRequest, opts ...gax.CallOption) (*cloudtaskspb.Task, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/cloudtasks/apiv2/cloudtaskspb/cloudtasks.pb.go b/cloudtasks/apiv2/cloudtaskspb/cloudtasks.pb.go index edf0eb0a8ca7..1d014234c39a 100755 --- a/cloudtasks/apiv2/cloudtaskspb/cloudtasks.pb.go +++ b/cloudtasks/apiv2/cloudtaskspb/cloudtasks.pb.go @@ -21,8 +21,11 @@ package cloudtaskspb import ( - iampb "cloud.google.com/go/iam/apiv1/iampb" context "context" + reflect "reflect" + sync "sync" + + iampb "cloud.google.com/go/iam/apiv1/iampb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/cloudtasks/apiv2/cloudtaskspb/queue.pb.go b/cloudtasks/apiv2/cloudtaskspb/queue.pb.go index 761087e1396a..210562239b3d 100755 --- a/cloudtasks/apiv2/cloudtaskspb/queue.pb.go +++ b/cloudtasks/apiv2/cloudtaskspb/queue.pb.go @@ -21,13 +21,14 @@ package cloudtaskspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/cloudtasks/apiv2/cloudtaskspb/target.pb.go b/cloudtasks/apiv2/cloudtaskspb/target.pb.go index c6f336780e87..ebfa02c58cfb 100755 --- a/cloudtasks/apiv2/cloudtaskspb/target.pb.go +++ b/cloudtasks/apiv2/cloudtaskspb/target.pb.go @@ -21,11 +21,12 @@ package cloudtaskspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( @@ -118,27 +119,28 @@ func (HttpMethod) EnumDescriptor() ([]byte, []int) { // // * User-specified throttling: [retry // configuration][google.cloud.tasks.v2.Queue.retry_config], -// [rate limits][google.cloud.tasks.v2.Queue.rate_limits], and the [queue's -// state][google.cloud.tasks.v2.Queue.state]. // -// * System throttling: To prevent the worker from overloading, Cloud Tasks may -// temporarily reduce the queue's effective rate. User-specified settings -// will not be changed. +// [rate limits][google.cloud.tasks.v2.Queue.rate_limits], and the [queue's +// state][google.cloud.tasks.v2.Queue.state]. +// +// - System throttling: To prevent the worker from overloading, Cloud Tasks may +// temporarily reduce the queue's effective rate. User-specified settings +// will not be changed. // -// System throttling happens because: +// System throttling happens because: // -// * Cloud Tasks backs off on all errors. Normally the backoff specified in -// [rate limits][google.cloud.tasks.v2.Queue.rate_limits] will be used. But -// if the worker returns `429` (Too Many Requests), `503` (Service -// Unavailable), or the rate of errors is high, Cloud Tasks will use a -// higher backoff rate. The retry specified in the `Retry-After` HTTP -// response header is considered. +// - Cloud Tasks backs off on all errors. Normally the backoff specified in +// [rate limits][google.cloud.tasks.v2.Queue.rate_limits] will be used. But +// if the worker returns `429` (Too Many Requests), `503` (Service +// Unavailable), or the rate of errors is high, Cloud Tasks will use a +// higher backoff rate. The retry specified in the `Retry-After` HTTP +// response header is considered. // -// * To prevent traffic spikes and to smooth sudden increases in traffic, -// dispatches ramp up slowly when the queue is newly created or idle and -// if large numbers of tasks suddenly become available to dispatch (due to -// spikes in create task rates, the queue being unpaused, or many tasks -// that are scheduled at the same time). +// - To prevent traffic spikes and to smooth sudden increases in traffic, +// dispatches ramp up slowly when the queue is newly created or idle and +// if large numbers of tasks suddenly become available to dispatch (due to +// spikes in create task rates, the queue being unpaused, or many tasks +// that are scheduled at the same time). type HttpRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -346,17 +348,16 @@ func (*HttpRequest_OidcToken) isHttpRequest_AuthorizationHeader() {} // construct the URL that the task is delivered to can be set at the queue-level // or task-level: // -// * If [app_engine_routing_override is set on the -// queue][google.cloud.tasks.v2.Queue.app_engine_routing_override], this value -// is used for all tasks in the queue, no matter what the setting is for the -// [task-level -// app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing]. -// +// - If [app_engine_routing_override is set on the +// queue][google.cloud.tasks.v2.Queue.app_engine_routing_override], this value +// is used for all tasks in the queue, no matter what the setting is for the +// [task-level +// app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing]. // // The `url` that the task will be sent to is: // -// * `url =` [host][google.cloud.tasks.v2.AppEngineRouting.host] `+` -// [relative_uri][google.cloud.tasks.v2.AppEngineHttpRequest.relative_uri] +// - `url =` [host][google.cloud.tasks.v2.AppEngineRouting.host] `+` +// [relative_uri][google.cloud.tasks.v2.AppEngineHttpRequest.relative_uri] // // Tasks can be dispatched to secure app handlers, unsecure app handlers, and // URIs restricted with diff --git a/cloudtasks/apiv2/cloudtaskspb/task.pb.go b/cloudtasks/apiv2/cloudtaskspb/task.pb.go index 66c128b3355c..db5c541d2f3e 100755 --- a/cloudtasks/apiv2/cloudtaskspb/task.pb.go +++ b/cloudtasks/apiv2/cloudtaskspb/task.pb.go @@ -21,14 +21,15 @@ package cloudtaskspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/cloudtasks/apiv2/doc.go b/cloudtasks/apiv2/doc.go index 9b59b6d32f06..8e05b2c44c60 100755 --- a/cloudtasks/apiv2/doc.go +++ b/cloudtasks/apiv2/doc.go @@ -19,65 +19,66 @@ // // Manages the execution of large numbers of distributed requests. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cloudtasks.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cloudtasks.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cloudtasks.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &cloudtaskspb.CreateQueueRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/cloudtasks/apiv2/cloudtaskspb#CreateQueueRequest. -// } -// resp, err := c.CreateQueue(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cloudtasks.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &cloudtaskspb.CreateQueueRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/cloudtasks/apiv2/cloudtaskspb#CreateQueueRequest. +// } +// resp, err := c.CreateQueue(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/cloudtasks/apiv2beta2/cloud_tasks_client.go b/cloudtasks/apiv2beta2/cloud_tasks_client.go index 79e58a1a16e4..bbcb03fff12f 100755 --- a/cloudtasks/apiv2beta2/cloud_tasks_client.go +++ b/cloudtasks/apiv2beta2/cloud_tasks_client.go @@ -571,7 +571,7 @@ func (c *Client) UploadQueueYaml(ctx context.Context, req *cloudtaskspb.UploadQu // Google IAM (at https://cloud.google.com/iam) permission on the specified // resource parent: // -// cloudtasks.queues.getIamPolicy +// cloudtasks.queues.getIamPolicy func (c *Client) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { return c.internalClient.GetIamPolicy(ctx, req, opts...) } @@ -586,7 +586,7 @@ func (c *Client) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyReques // Google IAM (at https://cloud.google.com/iam) permission on the specified // resource parent: // -// cloudtasks.queues.setIamPolicy +// cloudtasks.queues.setIamPolicy func (c *Client) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { return c.internalClient.SetIamPolicy(ctx, req, opts...) } @@ -625,12 +625,12 @@ func (c *Client) GetTask(ctx context.Context, req *cloudtaskspb.GetTaskRequest, // // Tasks cannot be updated after creation; there is no UpdateTask command. // -// For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], -// the maximum task size is -// 100KB. +// For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], +// the maximum task size is +// 100KB. // -// For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum -// task size is 1MB. +// For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum +// task size is 1MB. func (c *Client) CreateTask(ctx context.Context, req *cloudtaskspb.CreateTaskRequest, opts ...gax.CallOption) (*cloudtaskspb.Task, error) { return c.internalClient.CreateTask(ctx, req, opts...) } @@ -2080,7 +2080,7 @@ func (c *restClient) UploadQueueYaml(ctx context.Context, req *cloudtaskspb.Uplo // Google IAM (at https://cloud.google.com/iam) permission on the specified // resource parent: // -// cloudtasks.queues.getIamPolicy +// cloudtasks.queues.getIamPolicy func (c *restClient) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -2156,7 +2156,7 @@ func (c *restClient) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRe // Google IAM (at https://cloud.google.com/iam) permission on the specified // resource parent: // -// cloudtasks.queues.setIamPolicy +// cloudtasks.queues.setIamPolicy func (c *restClient) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -2462,12 +2462,12 @@ func (c *restClient) GetTask(ctx context.Context, req *cloudtaskspb.GetTaskReque // // Tasks cannot be updated after creation; there is no UpdateTask command. // -// For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], -// the maximum task size is -// 100KB. +// For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], +// the maximum task size is +// 100KB. // -// For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum -// task size is 1MB. +// For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum +// task size is 1MB. func (c *restClient) CreateTask(ctx context.Context, req *cloudtaskspb.CreateTaskRequest, opts ...gax.CallOption) (*cloudtaskspb.Task, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/cloudtasks/apiv2beta2/cloudtaskspb/cloudtasks.pb.go b/cloudtasks/apiv2beta2/cloudtaskspb/cloudtasks.pb.go index cf7baad2304a..d44ef6030d9b 100755 --- a/cloudtasks/apiv2beta2/cloudtaskspb/cloudtasks.pb.go +++ b/cloudtasks/apiv2beta2/cloudtaskspb/cloudtasks.pb.go @@ -21,8 +21,11 @@ package cloudtaskspb import ( - iampb "cloud.google.com/go/iam/apiv1/iampb" context "context" + reflect "reflect" + sync "sync" + + iampb "cloud.google.com/go/iam/apiv1/iampb" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -34,8 +37,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/cloudtasks/apiv2beta2/cloudtaskspb/old_target.pb.go b/cloudtasks/apiv2beta2/cloudtaskspb/old_target.pb.go index 9e6756c1bd28..fb60ac845df7 100755 --- a/cloudtasks/apiv2beta2/cloudtaskspb/old_target.pb.go +++ b/cloudtasks/apiv2beta2/cloudtaskspb/old_target.pb.go @@ -21,9 +21,10 @@ package cloudtaskspb import ( + reflect "reflect" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" ) const ( diff --git a/cloudtasks/apiv2beta2/cloudtaskspb/queue.pb.go b/cloudtasks/apiv2beta2/cloudtaskspb/queue.pb.go index 1151d8a581ab..89e79b22c171 100755 --- a/cloudtasks/apiv2beta2/cloudtaskspb/queue.pb.go +++ b/cloudtasks/apiv2beta2/cloudtaskspb/queue.pb.go @@ -21,13 +21,14 @@ package cloudtaskspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/cloudtasks/apiv2beta2/cloudtaskspb/target.pb.go b/cloudtasks/apiv2beta2/cloudtaskspb/target.pb.go index 6e068ef1ee6d..684982d95186 100755 --- a/cloudtasks/apiv2beta2/cloudtaskspb/target.pb.go +++ b/cloudtasks/apiv2beta2/cloudtaskspb/target.pb.go @@ -21,11 +21,12 @@ package cloudtaskspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( @@ -446,18 +447,17 @@ func (x *AppEngineHttpTarget) GetAppEngineRoutingOverride() *AppEngineRouting { // construct the URL that the task is delivered to can be set at the queue-level // or task-level: // -// * If set, -// [app_engine_routing_override][google.cloud.tasks.v2beta2.AppEngineHttpTarget.app_engine_routing_override] -// is used for all tasks in the queue, no matter what the setting -// is for the -// [task-level -// app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. -// +// - If set, +// [app_engine_routing_override][google.cloud.tasks.v2beta2.AppEngineHttpTarget.app_engine_routing_override] +// is used for all tasks in the queue, no matter what the setting +// is for the +// [task-level +// app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. // // The `url` that the task will be sent to is: // -// * `url =` [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] `+` -// [relative_url][google.cloud.tasks.v2beta2.AppEngineHttpRequest.relative_url] +// - `url =` [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] `+` +// [relative_url][google.cloud.tasks.v2beta2.AppEngineHttpRequest.relative_url] // // Tasks can be dispatched to secure app handlers, unsecure app handlers, and // URIs restricted with diff --git a/cloudtasks/apiv2beta2/cloudtaskspb/task.pb.go b/cloudtasks/apiv2beta2/cloudtaskspb/task.pb.go index ad376d3c10d2..94fdcdc55a43 100755 --- a/cloudtasks/apiv2beta2/cloudtaskspb/task.pb.go +++ b/cloudtasks/apiv2beta2/cloudtaskspb/task.pb.go @@ -21,13 +21,14 @@ package cloudtaskspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/cloudtasks/apiv2beta2/doc.go b/cloudtasks/apiv2beta2/doc.go index 13c1e04fe6ce..35af1b9614da 100755 --- a/cloudtasks/apiv2beta2/doc.go +++ b/cloudtasks/apiv2beta2/doc.go @@ -19,65 +19,66 @@ // // Manages the execution of large numbers of distributed requests. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cloudtasks.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cloudtasks.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cloudtasks.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &cloudtaskspb.AcknowledgeTaskRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/cloudtasks/apiv2beta2/cloudtaskspb#AcknowledgeTaskRequest. -// } -// err = c.AcknowledgeTask(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cloudtasks.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &cloudtaskspb.AcknowledgeTaskRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/cloudtasks/apiv2beta2/cloudtaskspb#AcknowledgeTaskRequest. +// } +// err = c.AcknowledgeTask(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/cloudtasks/apiv2beta3/cloud_tasks_client.go b/cloudtasks/apiv2beta3/cloud_tasks_client.go index be4bab95dbf3..18dde73c880f 100755 --- a/cloudtasks/apiv2beta3/cloud_tasks_client.go +++ b/cloudtasks/apiv2beta3/cloud_tasks_client.go @@ -522,7 +522,7 @@ func (c *Client) ResumeQueue(ctx context.Context, req *cloudtaskspb.ResumeQueueR // Google IAM (at https://cloud.google.com/iam) permission on the specified // resource parent: // -// cloudtasks.queues.getIamPolicy +// cloudtasks.queues.getIamPolicy func (c *Client) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { return c.internalClient.GetIamPolicy(ctx, req, opts...) } @@ -537,7 +537,7 @@ func (c *Client) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyReques // Google IAM (at https://cloud.google.com/iam) permission on the specified // resource parent: // -// cloudtasks.queues.setIamPolicy +// cloudtasks.queues.setIamPolicy func (c *Client) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { return c.internalClient.SetIamPolicy(ctx, req, opts...) } @@ -576,7 +576,7 @@ func (c *Client) GetTask(ctx context.Context, req *cloudtaskspb.GetTaskRequest, // // Tasks cannot be updated after creation; there is no UpdateTask command. // -// The maximum task size is 100KB. +// The maximum task size is 100KB. func (c *Client) CreateTask(ctx context.Context, req *cloudtaskspb.CreateTaskRequest, opts ...gax.CallOption) (*cloudtaskspb.Task, error) { return c.internalClient.CreateTask(ctx, req, opts...) } @@ -1829,7 +1829,7 @@ func (c *restClient) ResumeQueue(ctx context.Context, req *cloudtaskspb.ResumeQu // Google IAM (at https://cloud.google.com/iam) permission on the specified // resource parent: // -// cloudtasks.queues.getIamPolicy +// cloudtasks.queues.getIamPolicy func (c *restClient) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1905,7 +1905,7 @@ func (c *restClient) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRe // Google IAM (at https://cloud.google.com/iam) permission on the specified // resource parent: // -// cloudtasks.queues.setIamPolicy +// cloudtasks.queues.setIamPolicy func (c *restClient) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -2211,7 +2211,7 @@ func (c *restClient) GetTask(ctx context.Context, req *cloudtaskspb.GetTaskReque // // Tasks cannot be updated after creation; there is no UpdateTask command. // -// The maximum task size is 100KB. +// The maximum task size is 100KB. func (c *restClient) CreateTask(ctx context.Context, req *cloudtaskspb.CreateTaskRequest, opts ...gax.CallOption) (*cloudtaskspb.Task, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/cloudtasks/apiv2beta3/cloudtaskspb/cloudtasks.pb.go b/cloudtasks/apiv2beta3/cloudtaskspb/cloudtasks.pb.go index d3961361581d..60eac9f1591a 100755 --- a/cloudtasks/apiv2beta3/cloudtaskspb/cloudtasks.pb.go +++ b/cloudtasks/apiv2beta3/cloudtaskspb/cloudtasks.pb.go @@ -21,8 +21,11 @@ package cloudtaskspb import ( - iampb "cloud.google.com/go/iam/apiv1/iampb" context "context" + reflect "reflect" + sync "sync" + + iampb "cloud.google.com/go/iam/apiv1/iampb" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -32,8 +35,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/cloudtasks/apiv2beta3/cloudtaskspb/queue.pb.go b/cloudtasks/apiv2beta3/cloudtaskspb/queue.pb.go index e0999552044b..d69b4fe58524 100755 --- a/cloudtasks/apiv2beta3/cloudtaskspb/queue.pb.go +++ b/cloudtasks/apiv2beta3/cloudtaskspb/queue.pb.go @@ -21,13 +21,14 @@ package cloudtaskspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/cloudtasks/apiv2beta3/cloudtaskspb/target.pb.go b/cloudtasks/apiv2beta3/cloudtaskspb/target.pb.go index aa420f83aed0..a27f06f12841 100755 --- a/cloudtasks/apiv2beta3/cloudtaskspb/target.pb.go +++ b/cloudtasks/apiv2beta3/cloudtaskspb/target.pb.go @@ -21,10 +21,11 @@ package cloudtaskspb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( @@ -693,27 +694,28 @@ func (*HttpTarget_OidcToken) isHttpTarget_AuthorizationHeader() {} // // * User-specified throttling: [retry // configuration][google.cloud.tasks.v2beta3.Queue.retry_config], -// [rate limits][google.cloud.tasks.v2beta3.Queue.rate_limits], and the -// [queue's state][google.cloud.tasks.v2beta3.Queue.state]. // -// * System throttling: To prevent the worker from overloading, Cloud Tasks may -// temporarily reduce the queue's effective rate. User-specified settings -// will not be changed. +// [rate limits][google.cloud.tasks.v2beta3.Queue.rate_limits], and the +// [queue's state][google.cloud.tasks.v2beta3.Queue.state]. +// +// - System throttling: To prevent the worker from overloading, Cloud Tasks may +// temporarily reduce the queue's effective rate. User-specified settings +// will not be changed. // -// System throttling happens because: +// System throttling happens because: // -// * Cloud Tasks backs off on all errors. Normally the backoff specified in -// [rate limits][google.cloud.tasks.v2beta3.Queue.rate_limits] will be used. -// But if the worker returns `429` (Too Many Requests), `503` (Service -// Unavailable), or the rate of errors is high, Cloud Tasks will use a -// higher backoff rate. The retry specified in the `Retry-After` HTTP -// response header is considered. +// - Cloud Tasks backs off on all errors. Normally the backoff specified in +// [rate limits][google.cloud.tasks.v2beta3.Queue.rate_limits] will be used. +// But if the worker returns `429` (Too Many Requests), `503` (Service +// Unavailable), or the rate of errors is high, Cloud Tasks will use a +// higher backoff rate. The retry specified in the `Retry-After` HTTP +// response header is considered. // -// * To prevent traffic spikes and to smooth sudden increases in traffic, -// dispatches ramp up slowly when the queue is newly created or idle and -// if large numbers of tasks suddenly become available to dispatch (due to -// spikes in create task rates, the queue being unpaused, or many tasks -// that are scheduled at the same time). +// - To prevent traffic spikes and to smooth sudden increases in traffic, +// dispatches ramp up slowly when the queue is newly created or idle and +// if large numbers of tasks suddenly become available to dispatch (due to +// spikes in create task rates, the queue being unpaused, or many tasks +// that are scheduled at the same time). type HttpRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -996,18 +998,17 @@ func (x *AppEngineHttpQueue) GetAppEngineRoutingOverride() *AppEngineRouting { // construct the URL that the task is delivered to can be set at the queue-level // or task-level: // -// * If set, -// [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override] -// is used for all tasks in the queue, no matter what the setting -// is for the -// [task-level -// app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. -// +// - If set, +// [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override] +// is used for all tasks in the queue, no matter what the setting +// is for the +// [task-level +// app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. // // The `url` that the task will be sent to is: // -// * `url =` [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] `+` -// [relative_uri][google.cloud.tasks.v2beta3.AppEngineHttpRequest.relative_uri] +// - `url =` [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] `+` +// [relative_uri][google.cloud.tasks.v2beta3.AppEngineHttpRequest.relative_uri] // // Tasks can be dispatched to secure app handlers, unsecure app handlers, and // URIs restricted with diff --git a/cloudtasks/apiv2beta3/cloudtaskspb/task.pb.go b/cloudtasks/apiv2beta3/cloudtaskspb/task.pb.go index dd71eefc0a4a..b1d95d9a45aa 100755 --- a/cloudtasks/apiv2beta3/cloudtaskspb/task.pb.go +++ b/cloudtasks/apiv2beta3/cloudtaskspb/task.pb.go @@ -21,14 +21,15 @@ package cloudtaskspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/cloudtasks/apiv2beta3/doc.go b/cloudtasks/apiv2beta3/doc.go index ac4f09f67f7f..38fab1be457d 100755 --- a/cloudtasks/apiv2beta3/doc.go +++ b/cloudtasks/apiv2beta3/doc.go @@ -19,67 +19,68 @@ // // Manages the execution of large numbers of distributed requests. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cloudtasks.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cloudtasks.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cloudtasks.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &cloudtaskspb.BufferTaskRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/cloudtasks/apiv2beta3/cloudtaskspb#BufferTaskRequest. -// } -// resp, err := c.BufferTask(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cloudtasks.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &cloudtaskspb.BufferTaskRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/cloudtasks/apiv2beta3/cloudtaskspb#BufferTaskRequest. +// } +// resp, err := c.BufferTask(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/commerce/consumer/procurement/apiv1/doc.go b/commerce/consumer/procurement/apiv1/doc.go index 17d6e48fe334..9d562f426538 100755 --- a/commerce/consumer/procurement/apiv1/doc.go +++ b/commerce/consumer/procurement/apiv1/doc.go @@ -19,67 +19,68 @@ // // Enables consumers to procure products served by Cloud Marketplace platform // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := procurement.NewConsumerProcurementClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := procurement.NewConsumerProcurementClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := procurement.NewConsumerProcurementClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &procurementpb.GetOrderRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/commerce/consumer/procurement/apiv1/procurementpb#GetOrderRequest. -// } -// resp, err := c.GetOrder(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := procurement.NewConsumerProcurementClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &procurementpb.GetOrderRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/commerce/consumer/procurement/apiv1/procurementpb#GetOrderRequest. +// } +// resp, err := c.GetOrder(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewConsumerProcurementClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/commerce/consumer/procurement/apiv1/procurementpb/order.pb.go b/commerce/consumer/procurement/apiv1/procurementpb/order.pb.go index d24bb4be011c..6ea5bb6f4465 100755 --- a/commerce/consumer/procurement/apiv1/procurementpb/order.pb.go +++ b/commerce/consumer/procurement/apiv1/procurementpb/order.pb.go @@ -21,12 +21,13 @@ package procurementpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/commerce/consumer/procurement/apiv1/procurementpb/procurement_service.pb.go b/commerce/consumer/procurement/apiv1/procurementpb/procurement_service.pb.go index 957b545b0d1e..051545b28b22 100755 --- a/commerce/consumer/procurement/apiv1/procurementpb/procurement_service.pb.go +++ b/commerce/consumer/procurement/apiv1/procurementpb/procurement_service.pb.go @@ -21,16 +21,17 @@ package procurementpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/compute/apiv1/accelerator_types_client.go b/compute/apiv1/accelerator_types_client.go index 515526a8b462..1fe3855ebc99 100755 --- a/compute/apiv1/accelerator_types_client.go +++ b/compute/apiv1/accelerator_types_client.go @@ -101,7 +101,7 @@ type internalAcceleratorTypesClient interface { // AcceleratorTypesClient is a client for interacting with Google Compute Engine API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// Services +// # Services // // The AcceleratorTypes API. type AcceleratorTypesClient struct { @@ -167,7 +167,7 @@ type acceleratorTypesRESTClient struct { // NewAcceleratorTypesRESTClient creates a new accelerator types rest client. // -// Services +// # Services // // The AcceleratorTypes API. func NewAcceleratorTypesRESTClient(ctx context.Context, opts ...option.ClientOption) (*AcceleratorTypesClient, error) { diff --git a/compute/apiv1/computepb/compute.pb.go b/compute/apiv1/computepb/compute.pb.go index faba3ad995ba..72aeec771af2 100755 --- a/compute/apiv1/computepb/compute.pb.go +++ b/compute/apiv1/computepb/compute.pb.go @@ -28,6 +28,9 @@ package computepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" _ "google.golang.org/genproto/googleapis/cloud/extendedops" grpc "google.golang.org/grpc" @@ -35,8 +38,6 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( @@ -3284,7 +3285,6 @@ func (DiskInstantiationConfig_InstantiateFrom) EnumDescriptor() ([]byte, []int) return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{257, 0} } -// type DiskResourceStatusAsyncReplicationStatus_State int32 const ( @@ -4031,7 +4031,6 @@ func (ForwardingRule_NetworkTier) EnumDescriptor() ([]byte, []int) { return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{303, 3} } -// type ForwardingRule_PscConnectionStatus int32 const ( @@ -4725,7 +4724,6 @@ func (HealthStatus_HealthState) EnumDescriptor() ([]byte, []int) { return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{465, 0} } -// type HealthStatus_WeightError int32 const ( @@ -8516,7 +8514,6 @@ func (Network_NetworkFirewallPolicyEnforcementOrder) EnumDescriptor() ([]byte, [ return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{791, 0} } -// type NetworkAttachment_ConnectionPreference int32 const ( @@ -9107,7 +9104,6 @@ func (NetworkPeering_State) EnumDescriptor() ([]byte, []int) { return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{816, 1} } -// type NetworkPerformanceConfig_TotalEgressBandwidthTier int32 const ( @@ -9323,7 +9319,6 @@ func (NodeGroup_MaintenancePolicy) EnumDescriptor() ([]byte, []int) { return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{824, 0} } -// type NodeGroup_Status int32 const ( @@ -9494,7 +9489,6 @@ func (NodeGroupNode_CpuOvercommitType) EnumDescriptor() ([]byte, []int) { return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{829, 0} } -// type NodeGroupNode_Status int32 const ( @@ -12041,7 +12035,6 @@ func (RouterBgp_AdvertiseMode) EnumDescriptor() ([]byte, []int) { return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{1026, 0} } -// type RouterBgp_AdvertisedGroups int32 const ( @@ -12141,7 +12134,6 @@ func (RouterBgpPeer_AdvertiseMode) EnumDescriptor() ([]byte, []int) { return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{1027, 0} } -// type RouterBgpPeer_AdvertisedGroups int32 const ( @@ -12462,7 +12454,6 @@ func (RouterNat_AutoNetworkTier) EnumDescriptor() ([]byte, []int) { return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{1033, 0} } -// type RouterNat_EndpointTypes int32 const ( @@ -12682,7 +12673,6 @@ func (RouterNatLogConfig_Filter) EnumDescriptor() ([]byte, []int) { return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{1034, 0} } -// type RouterNatSubnetworkToNat_SourceIpRangesToNat int32 const ( @@ -13721,7 +13711,6 @@ func (SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig_RuleVisibili return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{1060, 0} } -// type SecurityPolicyAdvancedOptionsConfig_JsonParsing int32 const ( @@ -13772,7 +13761,6 @@ func (SecurityPolicyAdvancedOptionsConfig_JsonParsing) EnumDescriptor() ([]byte, return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{1061, 0} } -// type SecurityPolicyAdvancedOptionsConfig_LogLevel int32 const ( @@ -13823,7 +13811,6 @@ func (SecurityPolicyAdvancedOptionsConfig_LogLevel) EnumDescriptor() ([]byte, [] return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{1061, 1} } -// type SecurityPolicyDdosProtectionConfig_DdosProtection int32 const ( @@ -14177,7 +14164,6 @@ func (SecurityPolicyRuleRedirectOptions_Type) EnumDescriptor() ([]byte, []int) { return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{1078, 0} } -// type ServerBinding_Type int32 const ( @@ -15447,7 +15433,6 @@ func (SubnetworkLogConfig_Metadata) EnumDescriptor() ([]byte, []int) { return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{1212, 1} } -// type Subsetting_Policy int32 const ( @@ -16209,7 +16194,6 @@ func (UpdateInstanceRequest_MostDisruptiveAllowedAction) EnumDescriptor() ([]byt return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{1300, 1} } -// type UrlMapsValidateRequest_LoadBalancingSchemes int32 const ( @@ -17157,7 +17141,6 @@ func (Zone_Status) EnumDescriptor() ([]byte, []int) { return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{1360, 0} } -// // Messages // // A request message for InstanceGroupManagers.AbandonInstances. See the method description for details. @@ -17509,7 +17492,6 @@ func (x *AcceleratorType) GetZone() string { return "" } -// type AcceleratorTypeAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -17706,7 +17688,6 @@ func (x *AcceleratorTypeList) GetWarning() *Warning { return nil } -// type AcceleratorTypesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -17764,7 +17745,6 @@ func (x *AcceleratorTypesScopedList) GetWarning() *Warning { return nil } -// type Accelerators struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -19683,7 +19663,6 @@ func (x *Address) GetUsers() []string { return nil } -// type AddressAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -19880,7 +19859,6 @@ func (x *AddressList) GetWarning() *Warning { return nil } -// type AddressesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -24393,7 +24371,6 @@ func (x *AllocationResourceStatusSpecificSKUAllocation) GetSourceInstanceTemplat return "" } -// type AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -24622,7 +24599,6 @@ func (x *AllocationSpecificSKUReservation) GetSourceInstanceTemplate() string { return "" } -// type Allowed struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -25841,7 +25817,6 @@ func (x *Autoscaler) GetZone() string { return "" } -// type AutoscalerAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -26038,7 +26013,6 @@ func (x *AutoscalerList) GetWarning() *Warning { return nil } -// type AutoscalerStatusDetails struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -26097,7 +26071,6 @@ func (x *AutoscalerStatusDetails) GetType() string { return "" } -// type AutoscalersScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -28234,7 +28207,6 @@ func (x *BackendServiceFailoverPolicy) GetFailoverRatio() float32 { return 0 } -// type BackendServiceGroupHealth struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -28712,7 +28684,6 @@ func (x *BackendServiceLogConfig) GetSampleRate() float32 { return 0 } -// type BackendServiceReference struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -28760,7 +28731,6 @@ func (x *BackendServiceReference) GetBackendService() string { return "" } -// type BackendServicesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -28818,7 +28788,6 @@ func (x *BackendServicesScopedList) GetWarning() *Warning { return nil } -// type BfdPacket struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -29137,7 +29106,6 @@ func (x *BfdStatus) GetUptimeMs() int64 { return 0 } -// type BfdStatusPacketCounts struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -29794,7 +29762,6 @@ func (x *BulkInsertRegionInstanceRequest) GetRequestId() string { return "" } -// type CacheInvalidationRule struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -30491,7 +30458,6 @@ func (x *Commitment) GetType() string { return "" } -// type CommitmentAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -30688,7 +30654,6 @@ func (x *CommitmentList) GetWarning() *Warning { return nil } -// type CommitmentsScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -31527,7 +31492,6 @@ func (x *CreateSnapshotRegionDiskRequest) GetSnapshotResource() *Snapshot { return nil } -// type CustomerEncryptionKey struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -31612,7 +31576,6 @@ func (x *CustomerEncryptionKey) GetSha256() string { return "" } -// type CustomerEncryptionKeyProtectedDisk struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -31670,7 +31633,6 @@ func (x *CustomerEncryptionKeyProtectedDisk) GetSource() string { return "" } -// type Data struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -37913,7 +37875,6 @@ func (*DeleteZoneOperationResponse) Descriptor() ([]byte, []int) { return file_google_cloud_compute_v1_compute_proto_rawDescGZIP(), []int{244} } -// type Denied struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -38942,7 +38903,6 @@ func (x *Disk) GetZone() string { return "" } -// type DiskAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -39045,7 +39005,6 @@ func (x *DiskAggregatedList) GetWarning() *Warning { return nil } -// type DiskAsyncReplication struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -39121,7 +39080,6 @@ func (x *DiskAsyncReplication) GetDiskId() string { return "" } -// type DiskAsyncReplicationList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -39340,7 +39298,6 @@ func (x *DiskList) GetWarning() *Warning { return nil } -// type DiskMoveRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -39447,7 +39404,6 @@ func (x *DiskParams) GetResourceManagerTags() map[string]string { return nil } -// type DiskResourceStatus struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -39504,7 +39460,6 @@ func (x *DiskResourceStatus) GetAsyncSecondaryDisks() map[string]*DiskResourceSt return nil } -// type DiskResourceStatusAsyncReplicationStatus struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -39693,7 +39648,6 @@ func (x *DiskType) GetZone() string { return "" } -// type DiskTypeAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -39890,7 +39844,6 @@ func (x *DiskTypeList) GetWarning() *Warning { return nil } -// type DiskTypesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -39948,7 +39901,6 @@ func (x *DiskTypesScopedList) GetWarning() *Warning { return nil } -// type DisksAddResourcePoliciesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -39997,7 +39949,6 @@ func (x *DisksAddResourcePoliciesRequest) GetResourcePolicies() []string { return nil } -// type DisksRemoveResourcePoliciesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -40046,7 +39997,6 @@ func (x *DisksRemoveResourcePoliciesRequest) GetResourcePolicies() []string { return nil } -// type DisksResizeRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -40095,7 +40045,6 @@ func (x *DisksResizeRequest) GetSizeGb() int64 { return 0 } -// type DisksScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -40153,7 +40102,6 @@ func (x *DisksScopedList) GetWarning() *Warning { return nil } -// type DisksStartAsyncReplicationRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -40300,7 +40248,6 @@ func (x *DisplayDevice) GetEnableDisplay() bool { return false } -// type DistributionPolicy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -40359,7 +40306,6 @@ func (x *DistributionPolicy) GetZones() []*DistributionPolicyZoneConfiguration { return nil } -// type DistributionPolicyZoneConfiguration struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -40640,7 +40586,6 @@ func (x *Error) GetErrors() []*Errors { return nil } -// type ErrorDetails struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -40779,7 +40724,6 @@ func (x *ErrorInfo) GetReason() string { return "" } -// type Errors struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -40855,7 +40799,6 @@ func (x *Errors) GetMessage() string { return "" } -// type ExchangedPeeringRoute struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -40941,7 +40884,6 @@ func (x *ExchangedPeeringRoute) GetType() string { return "" } -// type ExchangedPeeringRoutesList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -41487,7 +41429,6 @@ func (x *ExternalVpnGatewayList) GetWarning() *Warning { return nil } -// type FileContentBuffer struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -41911,7 +41852,6 @@ func (x *FirewallLogConfig) GetMetadata() string { return "" } -// type FirewallPoliciesListAssociationsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -42144,7 +42084,6 @@ func (x *FirewallPolicy) GetShortName() string { return "" } -// type FirewallPolicyAssociation struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -42229,7 +42168,6 @@ func (x *FirewallPolicyAssociation) GetShortName() string { return "" } -// type FirewallPolicyList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -42620,7 +42558,6 @@ func (x *FirewallPolicyRuleMatcher) GetSrcThreatIntelligences() []string { return nil } -// type FirewallPolicyRuleMatcherLayer4Config struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -42678,7 +42615,6 @@ func (x *FirewallPolicyRuleMatcherLayer4Config) GetPorts() []string { return nil } -// type FirewallPolicyRuleSecureTag struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -43155,7 +43091,6 @@ func (x *ForwardingRule) GetTarget() string { return "" } -// type ForwardingRuleAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -43352,7 +43287,6 @@ func (x *ForwardingRuleList) GetWarning() *Warning { return nil } -// type ForwardingRuleReference struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -43467,7 +43401,6 @@ func (x *ForwardingRuleServiceDirectoryRegistration) GetServiceDirectoryRegion() return "" } -// type ForwardingRulesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -43525,7 +43458,6 @@ func (x *ForwardingRulesScopedList) GetWarning() *Warning { return nil } -// type GRPCHealthCheck struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -52358,7 +52290,6 @@ func (x *GetZoneRequest) GetZone() string { return "" } -// type GlobalAddressesMoveRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -52416,7 +52347,6 @@ func (x *GlobalAddressesMoveRequest) GetDestinationAddress() string { return "" } -// type GlobalNetworkEndpointGroupsAttachEndpointsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -52465,7 +52395,6 @@ func (x *GlobalNetworkEndpointGroupsAttachEndpointsRequest) GetNetworkEndpoints( return nil } -// type GlobalNetworkEndpointGroupsDetachEndpointsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -52514,7 +52443,6 @@ func (x *GlobalNetworkEndpointGroupsDetachEndpointsRequest) GetNetworkEndpoints( return nil } -// type GlobalOrganizationSetPolicyRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -52581,7 +52509,6 @@ func (x *GlobalOrganizationSetPolicyRequest) GetPolicy() *Policy { return nil } -// type GlobalSetLabelsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -52639,7 +52566,6 @@ func (x *GlobalSetLabelsRequest) GetLabels() map[string]string { return nil } -// type GlobalSetPolicyRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -52965,7 +52891,6 @@ func (x *GuestOsFeature) GetType() string { return "" } -// type HTTP2HealthCheck struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -53070,7 +52995,6 @@ func (x *HTTP2HealthCheck) GetResponse() string { return "" } -// type HTTPHealthCheck struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -53175,7 +53099,6 @@ func (x *HTTPHealthCheck) GetResponse() string { return "" } -// type HTTPSHealthCheck struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -53874,7 +53797,6 @@ func (x *HealthCheckServiceReference) GetHealthCheckService() string { return "" } -// type HealthCheckServicesList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -53968,7 +53890,6 @@ func (x *HealthCheckServicesList) GetWarning() *Warning { return nil } -// type HealthChecksAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -54071,7 +53992,6 @@ func (x *HealthChecksAggregatedList) GetWarning() *Warning { return nil } -// type HealthChecksScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -54129,7 +54049,6 @@ func (x *HealthChecksScopedList) GetWarning() *Warning { return nil } -// type HealthStatus struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -54251,7 +54170,6 @@ func (x *HealthStatus) GetWeightError() string { return "" } -// type HealthStatusForNetworkEndpoint struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -55178,7 +55096,6 @@ func (x *HttpRetryPolicy) GetRetryConditions() []string { return nil } -// type HttpRouteAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -55836,7 +55753,6 @@ func (x *Image) GetStorageLocations() []string { return nil } -// type ImageFamilyView struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -61809,7 +61725,6 @@ func (x *Instance) GetZone() string { return "" } -// type InstanceAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -61912,7 +61827,6 @@ func (x *InstanceAggregatedList) GetWarning() *Warning { return nil } -// type InstanceConsumptionData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -61970,7 +61884,6 @@ func (x *InstanceConsumptionData) GetInstance() string { return "" } -// type InstanceConsumptionInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -62203,7 +62116,6 @@ func (x *InstanceGroup) GetZone() string { return "" } -// type InstanceGroupAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -62657,7 +62569,6 @@ func (x *InstanceGroupManager) GetZone() string { return "" } -// type InstanceGroupManagerActionsSummary struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -62814,7 +62725,6 @@ func (x *InstanceGroupManagerActionsSummary) GetVerifying() int32 { return 0 } -// type InstanceGroupManagerAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -62917,7 +62827,6 @@ func (x *InstanceGroupManagerAggregatedList) GetWarning() *Warning { return nil } -// type InstanceGroupManagerAutoHealingPolicy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -62975,7 +62884,6 @@ func (x *InstanceGroupManagerAutoHealingPolicy) GetInitialDelaySec() int32 { return 0 } -// type InstanceGroupManagerInstanceLifecyclePolicy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -63119,7 +63027,6 @@ func (x *InstanceGroupManagerList) GetWarning() *Warning { return nil } -// type InstanceGroupManagerStatus struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -63195,7 +63102,6 @@ func (x *InstanceGroupManagerStatus) GetVersionTarget() *InstanceGroupManagerSta return nil } -// type InstanceGroupManagerStatusStateful struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -63253,7 +63159,6 @@ func (x *InstanceGroupManagerStatusStateful) GetPerInstanceConfigs() *InstanceGr return nil } -// type InstanceGroupManagerStatusStatefulPerInstanceConfigs struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -63302,7 +63207,6 @@ func (x *InstanceGroupManagerStatusStatefulPerInstanceConfigs) GetAllEffective() return false } -// type InstanceGroupManagerStatusVersionTarget struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -63351,7 +63255,6 @@ func (x *InstanceGroupManagerStatusVersionTarget) GetIsReached() bool { return false } -// type InstanceGroupManagerUpdatePolicy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -63459,7 +63362,6 @@ func (x *InstanceGroupManagerUpdatePolicy) GetType() string { return "" } -// type InstanceGroupManagerVersion struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -63526,7 +63428,6 @@ func (x *InstanceGroupManagerVersion) GetTargetSize() *FixedOrPercent { return nil } -// type InstanceGroupManagersAbandonInstancesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -63702,7 +63603,6 @@ func (x *InstanceGroupManagersCreateInstancesRequest) GetInstances() []*PerInsta return nil } -// type InstanceGroupManagersDeleteInstancesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -63809,7 +63709,6 @@ func (x *InstanceGroupManagersDeletePerInstanceConfigsReq) GetNames() []string { return nil } -// type InstanceGroupManagersListErrorsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -63867,7 +63766,6 @@ func (x *InstanceGroupManagersListErrorsResponse) GetNextPageToken() string { return "" } -// type InstanceGroupManagersListManagedInstancesResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -63925,7 +63823,6 @@ func (x *InstanceGroupManagersListManagedInstancesResponse) GetNextPageToken() s return "" } -// type InstanceGroupManagersListPerInstanceConfigsResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -64041,7 +63938,6 @@ func (x *InstanceGroupManagersPatchPerInstanceConfigsReq) GetPerInstanceConfigs( return nil } -// type InstanceGroupManagersRecreateInstancesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -64090,7 +63986,6 @@ func (x *InstanceGroupManagersRecreateInstancesRequest) GetInstances() []string return nil } -// type InstanceGroupManagersScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -64148,7 +64043,6 @@ func (x *InstanceGroupManagersScopedList) GetWarning() *Warning { return nil } -// type InstanceGroupManagersSetInstanceTemplateRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -64197,7 +64091,6 @@ func (x *InstanceGroupManagersSetInstanceTemplateRequest) GetInstanceTemplate() return "" } -// type InstanceGroupManagersSetTargetPoolsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -64304,7 +64197,6 @@ func (x *InstanceGroupManagersUpdatePerInstanceConfigsReq) GetPerInstanceConfigs return nil } -// type InstanceGroupsAddInstancesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -64353,7 +64245,6 @@ func (x *InstanceGroupsAddInstancesRequest) GetInstances() []*InstanceReference return nil } -// type InstanceGroupsListInstances struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -64447,7 +64338,6 @@ func (x *InstanceGroupsListInstances) GetWarning() *Warning { return nil } -// type InstanceGroupsListInstancesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -64497,7 +64387,6 @@ func (x *InstanceGroupsListInstancesRequest) GetInstanceState() string { return "" } -// type InstanceGroupsRemoveInstancesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -64546,7 +64435,6 @@ func (x *InstanceGroupsRemoveInstancesRequest) GetInstances() []*InstanceReferen return nil } -// type InstanceGroupsScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -64604,7 +64492,6 @@ func (x *InstanceGroupsScopedList) GetWarning() *Warning { return nil } -// type InstanceGroupsSetNamedPortsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -64850,7 +64737,6 @@ func (x *InstanceListReferrers) GetWarning() *Warning { return nil } -// type InstanceManagedByIgmError struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -64917,7 +64803,6 @@ func (x *InstanceManagedByIgmError) GetTimestamp() string { return "" } -// type InstanceManagedByIgmErrorInstanceActionDetails struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -64985,7 +64870,6 @@ func (x *InstanceManagedByIgmErrorInstanceActionDetails) GetVersion() *ManagedIn return nil } -// type InstanceManagedByIgmErrorManagedInstanceError struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -65043,7 +64927,6 @@ func (x *InstanceManagedByIgmErrorManagedInstanceError) GetMessage() string { return "" } -// type InstanceMoveRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -65150,7 +65033,6 @@ func (x *InstanceParams) GetResourceManagerTags() map[string]string { return nil } -// type InstanceProperties struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -65381,7 +65263,6 @@ func (x *InstanceProperties) GetTags() *Tags { return nil } -// type InstanceReference struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -65748,7 +65629,6 @@ func (x *InstanceTemplateList) GetWarning() *Warning { return nil } -// type InstanceTemplatesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -65806,7 +65686,6 @@ func (x *InstanceTemplatesScopedList) GetWarning() *Warning { return nil } -// type InstanceWithNamedPorts struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -65874,7 +65753,6 @@ func (x *InstanceWithNamedPorts) GetStatus() string { return "" } -// type InstancesAddResourcePoliciesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -65923,7 +65801,6 @@ func (x *InstancesAddResourcePoliciesRequest) GetResourcePolicies() []string { return nil } -// type InstancesGetEffectiveFirewallsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -65981,7 +65858,6 @@ func (x *InstancesGetEffectiveFirewallsResponse) GetFirewalls() []*Firewall { return nil } -// type InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -66067,7 +65943,6 @@ func (x *InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy) GetType( return "" } -// type InstancesRemoveResourcePoliciesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -66116,7 +65991,6 @@ func (x *InstancesRemoveResourcePoliciesRequest) GetResourcePolicies() []string return nil } -// type InstancesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -66174,7 +66048,6 @@ func (x *InstancesScopedList) GetWarning() *Warning { return nil } -// type InstancesSetLabelsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -66231,7 +66104,6 @@ func (x *InstancesSetLabelsRequest) GetLabels() map[string]string { return nil } -// type InstancesSetMachineResourcesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -66280,7 +66152,6 @@ func (x *InstancesSetMachineResourcesRequest) GetGuestAccelerators() []*Accelera return nil } -// type InstancesSetMachineTypeRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -66329,7 +66200,6 @@ func (x *InstancesSetMachineTypeRequest) GetMachineType() string { return "" } -// type InstancesSetMinCpuPlatformRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -66378,7 +66248,6 @@ func (x *InstancesSetMinCpuPlatformRequest) GetMinCpuPlatform() string { return "" } -// type InstancesSetNameRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -66436,7 +66305,6 @@ func (x *InstancesSetNameRequest) GetName() string { return "" } -// type InstancesSetServiceAccountRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -66494,7 +66362,6 @@ func (x *InstancesSetServiceAccountRequest) GetScopes() []string { return nil } -// type InstancesStartWithEncryptionKeyRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -67286,7 +67153,6 @@ func (x *InterconnectAttachment) GetVlanTag8021Q() int32 { return 0 } -// type InterconnectAttachmentAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -67389,7 +67255,6 @@ func (x *InterconnectAttachmentAggregatedList) GetWarning() *Warning { return nil } -// type InterconnectAttachmentConfigurationConstraints struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -67448,7 +67313,6 @@ func (x *InterconnectAttachmentConfigurationConstraints) GetBgpPeerAsnRanges() [ return nil } -// type InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -67714,7 +67578,6 @@ func (x *InterconnectAttachmentPrivateInfo) GetTag8021Q() uint32 { return 0 } -// type InterconnectAttachmentsScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -67984,7 +67847,6 @@ func (x *InterconnectDiagnosticsARPEntry) GetMacAddress() string { return "" } -// type InterconnectDiagnosticsLinkLACPStatus struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -68052,7 +67914,6 @@ func (x *InterconnectDiagnosticsLinkLACPStatus) GetState() string { return "" } -// type InterconnectDiagnosticsLinkOpticalPower struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -68111,7 +67972,6 @@ func (x *InterconnectDiagnosticsLinkOpticalPower) GetValue() float32 { return 0 } -// type InterconnectDiagnosticsLinkStatus struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -68994,7 +68854,6 @@ func (x *InterconnectRemoteLocation) GetStatus() string { return "" } -// type InterconnectRemoteLocationConstraints struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -69063,7 +68922,6 @@ func (x *InterconnectRemoteLocationConstraints) GetSubnetLengthRange() *Intercon return nil } -// type InterconnectRemoteLocationConstraintsSubnetLengthRange struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -69213,7 +69071,6 @@ func (x *InterconnectRemoteLocationList) GetWarning() *Warning { return nil } -// type InterconnectRemoteLocationPermittedConnections struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -69695,7 +69552,6 @@ func (x *LicenseCode) GetTransferable() bool { return false } -// type LicenseCodeLicenseAlias struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -69820,7 +69676,6 @@ func (x *LicenseResourceCommitment) GetLicense() string { return "" } -// type LicenseResourceRequirements struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -69878,7 +69733,6 @@ func (x *LicenseResourceRequirements) GetMinMemoryMb() int32 { return 0 } -// type LicensesListResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -80433,7 +80287,6 @@ func (x *ListZonesRequest) GetReturnPartialSuccess() bool { return false } -// type LocalDisk struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -80617,7 +80470,6 @@ func (x *LocationPolicy) GetTargetShape() string { return "" } -// type LocationPolicyLocation struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -81498,7 +81350,6 @@ func (x *MachineType) GetZone() string { return "" } -// type MachineTypeAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -81695,7 +81546,6 @@ func (x *MachineTypeList) GetWarning() *Warning { return nil } -// type MachineTypesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -81876,7 +81726,6 @@ func (x *ManagedInstance) GetVersion() *ManagedInstanceVersion { return nil } -// type ManagedInstanceInstanceHealth struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -81935,7 +81784,6 @@ func (x *ManagedInstanceInstanceHealth) GetHealthCheck() string { return "" } -// type ManagedInstanceLastAttempt struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -81984,7 +81832,6 @@ func (x *ManagedInstanceLastAttempt) GetErrors() *Errors { return nil } -// type ManagedInstanceVersion struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -83204,7 +83051,6 @@ func (x *NetworkAttachmentConnectedEndpoint) GetSubnetwork() string { return "" } -// type NetworkAttachmentList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -83297,7 +83143,6 @@ func (x *NetworkAttachmentList) GetWarning() *Warning { return nil } -// type NetworkAttachmentsScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -83485,7 +83330,6 @@ func (x *NetworkEdgeSecurityService) GetSelfLinkWithId() string { return "" } -// type NetworkEdgeSecurityServiceAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -83596,7 +83440,6 @@ func (x *NetworkEdgeSecurityServiceAggregatedList) GetWarning() *Warning { return nil } -// type NetworkEdgeSecurityServicesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -83950,7 +83793,6 @@ func (x *NetworkEndpointGroup) GetZone() string { return "" } -// type NetworkEndpointGroupAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -84245,7 +84087,6 @@ func (x *NetworkEndpointGroupCloudRun) GetUrlMask() string { return "" } -// type NetworkEndpointGroupList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -84407,7 +84248,6 @@ func (x *NetworkEndpointGroupPscData) GetPscConnectionStatus() string { return "" } -// type NetworkEndpointGroupsAttachEndpointsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -84456,7 +84296,6 @@ func (x *NetworkEndpointGroupsAttachEndpointsRequest) GetNetworkEndpoints() []*N return nil } -// type NetworkEndpointGroupsDetachEndpointsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -84505,7 +84344,6 @@ func (x *NetworkEndpointGroupsDetachEndpointsRequest) GetNetworkEndpoints() []*N return nil } -// type NetworkEndpointGroupsListEndpointsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -84555,7 +84393,6 @@ func (x *NetworkEndpointGroupsListEndpointsRequest) GetHealthStatus() string { return "" } -// type NetworkEndpointGroupsListNetworkEndpoints struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -84640,7 +84477,6 @@ func (x *NetworkEndpointGroupsListNetworkEndpoints) GetWarning() *Warning { return nil } -// type NetworkEndpointGroupsScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -84698,7 +84534,6 @@ func (x *NetworkEndpointGroupsScopedList) GetWarning() *Warning { return nil } -// type NetworkEndpointWithHealthStatus struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -85187,7 +85022,6 @@ func (x *NetworkPeering) GetStateDetails() string { return "" } -// type NetworkPerformanceConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -85287,7 +85121,6 @@ func (x *NetworkRoutingConfig) GetRoutingMode() string { return "" } -// type NetworksAddPeeringRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -85363,7 +85196,6 @@ func (x *NetworksAddPeeringRequest) GetPeerNetwork() string { return "" } -// type NetworksGetEffectiveFirewallsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -85421,7 +85253,6 @@ func (x *NetworksGetEffectiveFirewallsResponse) GetFirewalls() []*Firewall { return nil } -// type NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -85507,7 +85338,6 @@ func (x *NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy) GetType() return "" } -// type NetworksRemovePeeringRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -85556,7 +85386,6 @@ func (x *NetworksRemovePeeringRequest) GetName() string { return "" } -// type NetworksUpdatePeeringRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -85788,7 +85617,6 @@ func (x *NodeGroup) GetZone() string { return "" } -// type NodeGroupAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -85891,7 +85719,6 @@ func (x *NodeGroupAggregatedList) GetWarning() *Warning { return nil } -// type NodeGroupAutoscalingPolicy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -86111,7 +85938,6 @@ func (x *NodeGroupMaintenanceWindow) GetStartTime() string { return "" } -// type NodeGroupNode struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -86270,7 +86096,6 @@ func (x *NodeGroupNode) GetTotalResources() *InstanceConsumptionInfo { return nil } -// type NodeGroupsAddNodesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -86319,7 +86144,6 @@ func (x *NodeGroupsAddNodesRequest) GetAdditionalNodeCount() int32 { return 0 } -// type NodeGroupsDeleteNodesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -86368,7 +86192,6 @@ func (x *NodeGroupsDeleteNodesRequest) GetNodes() []string { return nil } -// type NodeGroupsListNodes struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -86462,7 +86285,6 @@ func (x *NodeGroupsListNodes) GetWarning() *Warning { return nil } -// type NodeGroupsScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -86520,7 +86342,6 @@ func (x *NodeGroupsScopedList) GetWarning() *Warning { return nil } -// type NodeGroupsSetNodeTemplateRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -86569,7 +86390,6 @@ func (x *NodeGroupsSetNodeTemplateRequest) GetNodeTemplate() string { return "" } -// type NodeGroupsSimulateMaintenanceEventRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -86802,7 +86622,6 @@ func (x *NodeTemplate) GetStatusMessage() string { return "" } -// type NodeTemplateAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -86999,7 +86818,6 @@ func (x *NodeTemplateList) GetWarning() *Warning { return nil } -// type NodeTemplateNodeTypeFlexibility struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -87063,7 +86881,6 @@ func (x *NodeTemplateNodeTypeFlexibility) GetMemory() string { return "" } -// type NodeTemplatesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -87269,7 +87086,6 @@ func (x *NodeType) GetZone() string { return "" } -// type NodeTypeAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -87466,7 +87282,6 @@ func (x *NodeTypeList) GetWarning() *Warning { return nil } -// type NodeTypesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -87721,7 +87536,6 @@ func (x *NotificationEndpointGrpcSettings) GetRetryDurationSec() uint32 { return 0 } -// type NotificationEndpointList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -88071,7 +87885,6 @@ func (x *Operation) GetZone() string { return "" } -// type OperationAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -88268,7 +88081,6 @@ func (x *OperationList) GetWarning() *Warning { return nil } -// type OperationsScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -88822,7 +88634,6 @@ func (x *PacketMirroringAggregatedList) GetWarning() *Warning { return nil } -// type PacketMirroringFilter struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -88890,7 +88701,6 @@ func (x *PacketMirroringFilter) GetDirection() string { return "" } -// type PacketMirroringForwardingRuleInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -89042,7 +88852,6 @@ func (x *PacketMirroringList) GetWarning() *Warning { return nil } -// type PacketMirroringMirroredResourceInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -89109,7 +88918,6 @@ func (x *PacketMirroringMirroredResourceInfo) GetTags() []string { return nil } -// type PacketMirroringMirroredResourceInfoInstanceInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -89167,7 +88975,6 @@ func (x *PacketMirroringMirroredResourceInfoInstanceInfo) GetUrl() string { return "" } -// type PacketMirroringMirroredResourceInfoSubnetInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -89225,7 +89032,6 @@ func (x *PacketMirroringMirroredResourceInfoSubnetInfo) GetUrl() string { return "" } -// type PacketMirroringNetworkInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -89283,7 +89089,6 @@ func (x *PacketMirroringNetworkInfo) GetUrl() string { return "" } -// type PacketMirroringsScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -93303,7 +93108,6 @@ func (x *PathRule) GetUrlRedirect() *HttpRedirectAction { return nil } -// type PerInstanceConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -93473,7 +93277,6 @@ func (x *Policy) GetVersion() int32 { return 0 } -// type PreconfiguredWafSet struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -93580,7 +93383,6 @@ func (x *PreservedState) GetMetadata() map[string]string { return nil } -// type PreservedStatePreservedDisk struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -93894,7 +93696,6 @@ func (x *Project) GetXpnProjectStatus() string { return "" } -// type ProjectsDisableXpnResourceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -93943,7 +93744,6 @@ func (x *ProjectsDisableXpnResourceRequest) GetXpnResource() *XpnResourceId { return nil } -// type ProjectsEnableXpnResourceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -93992,7 +93792,6 @@ func (x *ProjectsEnableXpnResourceRequest) GetXpnResource() *XpnResourceId { return nil } -// type ProjectsGetXpnResources struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -94059,7 +93858,6 @@ func (x *ProjectsGetXpnResources) GetResources() []*XpnResourceId { return nil } -// type ProjectsListXpnHostsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -94108,7 +93906,6 @@ func (x *ProjectsListXpnHostsRequest) GetOrganization() string { return "" } -// type ProjectsSetDefaultNetworkTierRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -94307,7 +94104,6 @@ func (x *PublicAdvertisedPrefix) GetStatus() string { return "" } -// type PublicAdvertisedPrefixList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -94644,7 +94440,6 @@ func (x *PublicDelegatedPrefix) GetStatus() string { return "" } -// type PublicDelegatedPrefixAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -94747,7 +94542,6 @@ func (x *PublicDelegatedPrefixAggregatedList) GetWarning() *Warning { return nil } -// type PublicDelegatedPrefixList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -94945,7 +94739,6 @@ func (x *PublicDelegatedPrefixPublicDelegatedSubPrefix) GetStatus() string { return "" } -// type PublicDelegatedPrefixesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -95629,7 +95422,6 @@ func (x *Region) GetZones() []string { return nil } -// type RegionAddressesMoveRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -95781,7 +95573,6 @@ func (x *RegionAutoscalerList) GetWarning() *Warning { return nil } -// type RegionDiskTypeList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -95875,7 +95666,6 @@ func (x *RegionDiskTypeList) GetWarning() *Warning { return nil } -// type RegionDisksAddResourcePoliciesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -95924,7 +95714,6 @@ func (x *RegionDisksAddResourcePoliciesRequest) GetResourcePolicies() []string { return nil } -// type RegionDisksRemoveResourcePoliciesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -95973,7 +95762,6 @@ func (x *RegionDisksRemoveResourcePoliciesRequest) GetResourcePolicies() []strin return nil } -// type RegionDisksResizeRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -96022,7 +95810,6 @@ func (x *RegionDisksResizeRequest) GetSizeGb() int64 { return 0 } -// type RegionDisksStartAsyncReplicationRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -96406,7 +96193,6 @@ func (x *RegionInstanceGroupManagerUpdateInstanceConfigReq) GetPerInstanceConfig return nil } -// type RegionInstanceGroupManagersAbandonInstancesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -96582,7 +96368,6 @@ func (x *RegionInstanceGroupManagersCreateInstancesRequest) GetInstances() []*Pe return nil } -// type RegionInstanceGroupManagersDeleteInstancesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -96640,7 +96425,6 @@ func (x *RegionInstanceGroupManagersDeleteInstancesRequest) GetSkipInstancesOnVa return false } -// type RegionInstanceGroupManagersListErrorsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -96698,7 +96482,6 @@ func (x *RegionInstanceGroupManagersListErrorsResponse) GetNextPageToken() strin return "" } -// type RegionInstanceGroupManagersListInstanceConfigsResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -96765,7 +96548,6 @@ func (x *RegionInstanceGroupManagersListInstanceConfigsResp) GetWarning() *Warni return nil } -// type RegionInstanceGroupManagersListInstancesResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -96823,7 +96605,6 @@ func (x *RegionInstanceGroupManagersListInstancesResponse) GetNextPageToken() st return "" } -// type RegionInstanceGroupManagersRecreateRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -96872,7 +96653,6 @@ func (x *RegionInstanceGroupManagersRecreateRequest) GetInstances() []string { return nil } -// type RegionInstanceGroupManagersSetTargetPoolsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -96930,7 +96710,6 @@ func (x *RegionInstanceGroupManagersSetTargetPoolsRequest) GetTargetPools() []st return nil } -// type RegionInstanceGroupManagersSetTemplateRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -96979,7 +96758,6 @@ func (x *RegionInstanceGroupManagersSetTemplateRequest) GetInstanceTemplate() st return "" } -// type RegionInstanceGroupsListInstances struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -97073,7 +96851,6 @@ func (x *RegionInstanceGroupsListInstances) GetWarning() *Warning { return nil } -// type RegionInstanceGroupsListInstancesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -97132,7 +96909,6 @@ func (x *RegionInstanceGroupsListInstancesRequest) GetPortName() string { return "" } -// type RegionInstanceGroupsSetNamedPortsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -97284,7 +97060,6 @@ func (x *RegionList) GetWarning() *Warning { return nil } -// type RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -97342,7 +97117,6 @@ func (x *RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse) GetFirewall return nil } -// type RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -97420,7 +97194,6 @@ func (x *RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFire return "" } -// type RegionSetLabelsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -97478,7 +97251,6 @@ func (x *RegionSetLabelsRequest) GetLabels() map[string]string { return nil } -// type RegionSetPolicyRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -97545,7 +97317,6 @@ func (x *RegionSetPolicyRequest) GetPolicy() *Policy { return nil } -// type RegionTargetHttpsProxiesSetSslCertificatesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -97594,7 +97365,6 @@ func (x *RegionTargetHttpsProxiesSetSslCertificatesRequest) GetSslCertificates() return nil } -// type RegionUrlMapsValidateRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -99148,7 +98918,6 @@ func (x *ReservationAggregatedList) GetWarning() *Warning { return nil } -// type ReservationList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -99242,7 +99011,6 @@ func (x *ReservationList) GetWarning() *Warning { return nil } -// type ReservationsResizeRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -99291,7 +99059,6 @@ func (x *ReservationsResizeRequest) GetSpecificSkuCount() int64 { return 0 } -// type ReservationsScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -99918,7 +99685,6 @@ func (x *ResourceCommitment) GetType() string { return "" } -// type ResourceGroupReference struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -99967,7 +99733,6 @@ func (x *ResourceGroupReference) GetGroup() string { return "" } -// type ResourcePoliciesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -100667,7 +100432,6 @@ func (x *ResourcePolicyInstanceSchedulePolicySchedule) GetSchedule() string { return "" } -// type ResourcePolicyList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -100818,7 +100582,6 @@ func (x *ResourcePolicyResourceStatus) GetInstanceSchedulePolicy() *ResourcePoli return nil } -// type ResourcePolicyResourceStatusInstanceSchedulePolicyStatus struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -101191,7 +100954,6 @@ func (x *ResourcePolicyWeeklyCycle) GetDayOfWeeks() []*ResourcePolicyWeeklyCycle return nil } -// type ResourcePolicyWeeklyCycleDayOfWeek struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -101624,7 +101386,6 @@ func (x *Route) GetWarnings() []*Warnings { return nil } -// type RouteAsPath struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -102104,7 +101865,6 @@ func (x *RouterAggregatedList) GetWarning() *Warning { return nil } -// type RouterBgp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -102191,7 +101951,6 @@ func (x *RouterBgp) GetKeepaliveInterval() uint32 { return 0 } -// type RouterBgpPeer struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -102406,7 +102165,6 @@ func (x *RouterBgpPeer) GetRouterApplianceInstance() string { return "" } -// type RouterBgpPeerBfd struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -102483,7 +102241,6 @@ func (x *RouterBgpPeerBfd) GetSessionInitializationMode() string { return "" } -// type RouterBgpPeerCustomLearnedIpRange struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -102532,7 +102289,6 @@ func (x *RouterBgpPeerCustomLearnedIpRange) GetRange() string { return "" } -// type RouterInterface struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -102739,7 +102495,6 @@ func (x *RouterList) GetWarning() *Warning { return nil } -// type RouterMd5AuthenticationKey struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -103070,7 +102825,6 @@ func (x *RouterNatLogConfig) GetFilter() string { return "" } -// type RouterNatRule struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -103146,7 +102900,6 @@ func (x *RouterNatRule) GetRuleNumber() uint32 { return 0 } -// type RouterNatRuleAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -103272,7 +103025,6 @@ func (x *RouterNatSubnetworkToNat) GetSourceIpRangesToNat() []string { return nil } -// type RouterStatus struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -103355,7 +103107,6 @@ func (x *RouterStatus) GetNetwork() string { return "" } -// type RouterStatusBgpPeerStatus struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -103755,7 +103506,6 @@ func (x *RouterStatusNatStatusNatRuleStatus) GetRuleNumber() int32 { return 0 } -// type RouterStatusResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -103812,7 +103562,6 @@ func (x *RouterStatusResponse) GetResult() *RouterStatus { return nil } -// type RoutersPreviewResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -103861,7 +103610,6 @@ func (x *RoutersPreviewResponse) GetResource() *Router { return nil } -// type RoutersScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -104023,7 +103771,6 @@ func (x *Rule) GetPermissions() []string { return nil } -// type SSLHealthCheck struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -104394,7 +104141,6 @@ func (x *SavedDisk) GetStorageBytesStatus() string { return "" } -// type ScalingScheduleStatus struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -104654,7 +104400,6 @@ func (x *SchedulingNodeAffinity) GetValues() []string { return nil } -// type ScratchDisks struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -104761,7 +104506,6 @@ func (x *Screenshot) GetKind() string { return "" } -// type SecurityPoliciesAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -104872,7 +104616,6 @@ func (x *SecurityPoliciesAggregatedList) GetWarning() *Warning { return nil } -// type SecurityPoliciesListPreconfiguredExpressionSetsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -104920,7 +104663,6 @@ func (x *SecurityPoliciesListPreconfiguredExpressionSetsResponse) GetPreconfigur return nil } -// type SecurityPoliciesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -104978,7 +104720,6 @@ func (x *SecurityPoliciesScopedList) GetWarning() *Warning { return nil } -// type SecurityPoliciesWafConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -105315,7 +105056,6 @@ func (x *SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig) GetRuleV return "" } -// type SecurityPolicyAdvancedOptionsConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -105384,7 +105124,6 @@ func (x *SecurityPolicyAdvancedOptionsConfig) GetLogLevel() string { return "" } -// type SecurityPolicyAdvancedOptionsConfigJsonCustomConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -105433,7 +105172,6 @@ func (x *SecurityPolicyAdvancedOptionsConfigJsonCustomConfig) GetContentTypes() return nil } -// type SecurityPolicyDdosProtectionConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -105483,7 +105221,6 @@ func (x *SecurityPolicyDdosProtectionConfig) GetDdosProtection() string { return "" } -// type SecurityPolicyList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -105568,7 +105305,6 @@ func (x *SecurityPolicyList) GetWarning() *Warning { return nil } -// type SecurityPolicyRecaptchaOptionsConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -105617,7 +105353,6 @@ func (x *SecurityPolicyRecaptchaOptionsConfig) GetRedirectSiteKey() string { return "" } -// type SecurityPolicyReference struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -105795,7 +105530,6 @@ func (x *SecurityPolicyRule) GetRedirectOptions() *SecurityPolicyRuleRedirectOpt return nil } -// type SecurityPolicyRuleHttpHeaderAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -105844,7 +105578,6 @@ func (x *SecurityPolicyRuleHttpHeaderAction) GetRequestHeadersToAdds() []*Securi return nil } -// type SecurityPolicyRuleHttpHeaderActionHttpHeaderOption struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -105970,7 +105703,6 @@ func (x *SecurityPolicyRuleMatcher) GetVersionedExpr() string { return "" } -// type SecurityPolicyRuleMatcherConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -106019,7 +105751,6 @@ func (x *SecurityPolicyRuleMatcherConfig) GetSrcIpRanges() []string { return nil } -// type SecurityPolicyRulePreconfiguredWafConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -106068,7 +105799,6 @@ func (x *SecurityPolicyRulePreconfiguredWafConfig) GetExclusions() []*SecurityPo return nil } -// type SecurityPolicyRulePreconfiguredWafConfigExclusion struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -106162,7 +105892,6 @@ func (x *SecurityPolicyRulePreconfiguredWafConfigExclusion) GetTargetRuleSet() s return "" } -// type SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -106221,7 +105950,6 @@ func (x *SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams) GetVal() return "" } -// type SecurityPolicyRuleRateLimitOptions struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -106343,7 +106071,6 @@ func (x *SecurityPolicyRuleRateLimitOptions) GetRateLimitThreshold() *SecurityPo return nil } -// type SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -106402,7 +106129,6 @@ func (x *SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig) GetEnforceOnKeyTy return "" } -// type SecurityPolicyRuleRateLimitOptionsThreshold struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -106460,7 +106186,6 @@ func (x *SecurityPolicyRuleRateLimitOptionsThreshold) GetIntervalSec() int32 { return 0 } -// type SecurityPolicyRuleRedirectOptions struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -106768,7 +106493,6 @@ func (x *SerialPortOutput) GetStart() int64 { return 0 } -// type ServerBinding struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -107268,7 +106992,6 @@ func (x *ServiceAttachmentConnectedEndpoint) GetStatus() string { return "" } -// type ServiceAttachmentConsumerProjectLimit struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -107335,7 +107058,6 @@ func (x *ServiceAttachmentConsumerProjectLimit) GetProjectIdOrNum() string { return "" } -// type ServiceAttachmentList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -107429,7 +107151,6 @@ func (x *ServiceAttachmentList) GetWarning() *Warning { return nil } -// type ServiceAttachmentsScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -114678,7 +114399,6 @@ func (x *SnapshotList) GetWarning() *Warning { return nil } -// type SourceDiskEncryptionKey struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -115119,7 +114839,6 @@ func (x *SslCertificate) GetType() string { return "" } -// type SslCertificateAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -115442,7 +115161,6 @@ func (x *SslCertificateSelfManagedSslCertificate) GetPrivateKey() string { return "" } -// type SslCertificatesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -115500,7 +115218,6 @@ func (x *SslCertificatesScopedList) GetWarning() *Warning { return nil } -// type SslPoliciesAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -115611,7 +115328,6 @@ func (x *SslPoliciesAggregatedList) GetWarning() *Warning { return nil } -// type SslPoliciesList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -115705,7 +115421,6 @@ func (x *SslPoliciesList) GetWarning() *Warning { return nil } -// type SslPoliciesListAvailableFeaturesResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -115753,7 +115468,6 @@ func (x *SslPoliciesListAvailableFeaturesResponse) GetFeatures() []string { return nil } -// type SslPoliciesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -115970,7 +115684,6 @@ func (x *SslPolicy) GetWarnings() []*Warnings { return nil } -// type SslPolicyReference struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -116350,7 +116063,6 @@ func (x *StartWithEncryptionKeyInstanceRequest) GetZone() string { return "" } -// type StatefulPolicy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -116447,7 +116159,6 @@ func (x *StatefulPolicyPreservedState) GetDisks() map[string]*StatefulPolicyPres return nil } -// type StatefulPolicyPreservedStateDiskDevice struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -117148,7 +116859,6 @@ func (x *Subnetwork) GetState() string { return "" } -// type SubnetworkAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -117499,7 +117209,6 @@ func (x *SubnetworkSecondaryRange) GetRangeName() string { return "" } -// type SubnetworksExpandIpCidrRangeRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -117548,7 +117257,6 @@ func (x *SubnetworksExpandIpCidrRangeRequest) GetIpCidrRange() string { return "" } -// type SubnetworksScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -117606,7 +117314,6 @@ func (x *SubnetworksScopedList) GetWarning() *Warning { return nil } -// type SubnetworksSetPrivateIpGoogleAccessRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -117856,7 +117563,6 @@ func (x *SwitchToCustomModeNetworkRequest) GetRequestId() string { return "" } -// type TCPHealthCheck struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -118140,7 +117846,6 @@ func (x *TargetGrpcProxy) GetValidateForProxyless() bool { return false } -// type TargetGrpcProxyList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -118234,7 +117939,6 @@ func (x *TargetGrpcProxyList) GetWarning() *Warning { return nil } -// type TargetHttpProxiesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -118431,7 +118135,6 @@ func (x *TargetHttpProxy) GetUrlMap() string { return "" } -// type TargetHttpProxyAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -118619,7 +118322,6 @@ func (x *TargetHttpProxyList) GetWarning() *Warning { return nil } -// type TargetHttpsProxiesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -118677,7 +118379,6 @@ func (x *TargetHttpsProxiesScopedList) GetWarning() *Warning { return nil } -// type TargetHttpsProxiesSetCertificateMapRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -118726,7 +118427,6 @@ func (x *TargetHttpsProxiesSetCertificateMapRequest) GetCertificateMap() string return "" } -// type TargetHttpsProxiesSetQuicOverrideRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -118776,7 +118476,6 @@ func (x *TargetHttpsProxiesSetQuicOverrideRequest) GetQuicOverride() string { return "" } -// type TargetHttpsProxiesSetSslCertificatesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -119019,7 +118718,6 @@ func (x *TargetHttpsProxy) GetUrlMap() string { return "" } -// type TargetHttpsProxyAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -119347,7 +119045,6 @@ func (x *TargetInstance) GetZone() string { return "" } -// type TargetInstanceAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -119544,7 +119241,6 @@ func (x *TargetInstanceList) GetWarning() *Warning { return nil } -// type TargetInstancesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -119751,7 +119447,6 @@ func (x *TargetPool) GetSessionAffinity() string { return "" } -// type TargetPoolAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -119854,7 +119549,6 @@ func (x *TargetPoolAggregatedList) GetWarning() *Warning { return nil } -// type TargetPoolInstanceHealth struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -120005,7 +119699,6 @@ func (x *TargetPoolList) GetWarning() *Warning { return nil } -// type TargetPoolsAddHealthCheckRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -120054,7 +119747,6 @@ func (x *TargetPoolsAddHealthCheckRequest) GetHealthChecks() []*HealthCheckRefer return nil } -// type TargetPoolsAddInstanceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -120103,7 +119795,6 @@ func (x *TargetPoolsAddInstanceRequest) GetInstances() []*InstanceReference { return nil } -// type TargetPoolsRemoveHealthCheckRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -120152,7 +119843,6 @@ func (x *TargetPoolsRemoveHealthCheckRequest) GetHealthChecks() []*HealthCheckRe return nil } -// type TargetPoolsRemoveInstanceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -120201,7 +119891,6 @@ func (x *TargetPoolsRemoveInstanceRequest) GetInstances() []*InstanceReference { return nil } -// type TargetPoolsScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -120259,7 +119948,6 @@ func (x *TargetPoolsScopedList) GetWarning() *Warning { return nil } -// type TargetReference struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -120307,7 +119995,6 @@ func (x *TargetReference) GetTarget() string { return "" } -// type TargetSslProxiesSetBackendServiceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -120356,7 +120043,6 @@ func (x *TargetSslProxiesSetBackendServiceRequest) GetService() string { return "" } -// type TargetSslProxiesSetCertificateMapRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -120405,7 +120091,6 @@ func (x *TargetSslProxiesSetCertificateMapRequest) GetCertificateMap() string { return "" } -// type TargetSslProxiesSetProxyHeaderRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -120455,7 +120140,6 @@ func (x *TargetSslProxiesSetProxyHeaderRequest) GetProxyHeader() string { return "" } -// type TargetSslProxiesSetSslCertificatesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -120738,7 +120422,6 @@ func (x *TargetSslProxyList) GetWarning() *Warning { return nil } -// type TargetTcpProxiesScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -120796,7 +120479,6 @@ func (x *TargetTcpProxiesScopedList) GetWarning() *Warning { return nil } -// type TargetTcpProxiesSetBackendServiceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -120845,7 +120527,6 @@ func (x *TargetTcpProxiesSetBackendServiceRequest) GetService() string { return "" } -// type TargetTcpProxiesSetProxyHeaderRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -121026,7 +120707,6 @@ func (x *TargetTcpProxy) GetService() string { return "" } -// type TargetTcpProxyAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -121381,7 +121061,6 @@ func (x *TargetVpnGateway) GetTunnels() []string { return nil } -// type TargetVpnGatewayAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -121578,7 +121257,6 @@ func (x *TargetVpnGatewayList) GetWarning() *Warning { return nil } -// type TargetVpnGatewaysScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -121636,7 +121314,6 @@ func (x *TargetVpnGatewaysScopedList) GetWarning() *Warning { return nil } -// type TestFailure struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -123415,7 +123092,6 @@ func (x *TestIamPermissionsVpnGatewayRequest) GetTestPermissionsRequestResource( return nil } -// type TestPermissionsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -123464,7 +123140,6 @@ func (x *TestPermissionsRequest) GetPermissions() []string { return nil } -// type TestPermissionsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -123513,7 +123188,6 @@ func (x *TestPermissionsResponse) GetPermissions() []string { return nil } -// type Uint128 struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -125845,7 +125519,6 @@ func (x *UrlMapList) GetWarning() *Warning { return nil } -// type UrlMapReference struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -126128,7 +125801,6 @@ func (x *UrlMapValidationResult) GetTestPassed() bool { return false } -// type UrlMapsAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -126231,7 +125903,6 @@ func (x *UrlMapsAggregatedList) GetWarning() *Warning { return nil } -// type UrlMapsScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -126289,7 +125960,6 @@ func (x *UrlMapsScopedList) GetWarning() *Warning { return nil } -// type UrlMapsValidateRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -126348,7 +126018,6 @@ func (x *UrlMapsValidateRequest) GetResource() *UrlMap { return nil } -// type UrlMapsValidateResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -126655,7 +126324,6 @@ func (x *UsableSubnetworkSecondaryRange) GetRangeName() string { return "" } -// type UsableSubnetworksAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -127438,7 +127106,6 @@ func (x *VpnGateway) GetVpnInterfaces() []*VpnGatewayVpnGatewayInterface { return nil } -// type VpnGatewayAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -127635,7 +127302,6 @@ func (x *VpnGatewayList) GetWarning() *Warning { return nil } -// type VpnGatewayStatus struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -127954,7 +127620,6 @@ func (x *VpnGatewayVpnGatewayInterface) GetIpAddress() string { return "" } -// type VpnGatewaysGetStatusResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -128002,7 +127667,6 @@ func (x *VpnGatewaysGetStatusResponse) GetResult() *VpnGatewayStatus { return nil } -// type VpnGatewaysScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -128317,7 +127981,6 @@ func (x *VpnTunnel) GetVpnGatewayInterface() int32 { return 0 } -// type VpnTunnelAggregatedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -128514,7 +128177,6 @@ func (x *VpnTunnelList) GetWarning() *Warning { return nil } -// type VpnTunnelsScopedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -128572,7 +128234,6 @@ func (x *VpnTunnelsScopedList) GetWarning() *Warning { return nil } -// type WafExpressionSet struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -128639,7 +128300,6 @@ func (x *WafExpressionSet) GetId() string { return "" } -// type WafExpressionSetExpression struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -128957,7 +128617,6 @@ func (x *Warning) GetMessage() string { return "" } -// type Warnings struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -129092,7 +128751,6 @@ func (x *WeightedBackendService) GetWeight() uint32 { return 0 } -// type XpnHostList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -129479,7 +129137,6 @@ func (x *ZoneList) GetWarning() *Warning { return nil } -// type ZoneSetLabelsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -129537,7 +129194,6 @@ func (x *ZoneSetLabelsRequest) GetLabels() map[string]string { return nil } -// type ZoneSetPolicyRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/compute/apiv1/doc.go b/compute/apiv1/doc.go index f5d24d70160e..997dcaa80794 100755 --- a/compute/apiv1/doc.go +++ b/compute/apiv1/doc.go @@ -17,71 +17,72 @@ // Package compute is an auto-generated package for the // Google Compute Engine API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := compute.NewAcceleratorTypesClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := compute.NewAcceleratorTypesClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := compute.NewAcceleratorTypesRESTClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &computepb.AggregatedListAcceleratorTypesRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/compute/apiv1/computepb#AggregatedListAcceleratorTypesRequest. -// } -// it := c.AggregatedList(ctx, req) -// for { -// resp, err := it.Next() -// if err == iterator.Done { -// break -// } -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// } -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := compute.NewAcceleratorTypesRESTClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &computepb.AggregatedListAcceleratorTypesRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/compute/apiv1/computepb#AggregatedListAcceleratorTypesRequest. +// } +// it := c.AggregatedList(ctx, req) +// for { +// resp, err := it.Next() +// if err == iterator.Done { +// break +// } +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// } +// +// # Use of Context // // The ctx passed to NewAcceleratorTypesClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/confidentialcomputing/apiv1/confidentialcomputingpb/service.pb.go b/confidentialcomputing/apiv1/confidentialcomputingpb/service.pb.go index d5e1b0ae15f3..2a3c116b5e9b 100755 --- a/confidentialcomputing/apiv1/confidentialcomputingpb/service.pb.go +++ b/confidentialcomputing/apiv1/confidentialcomputingpb/service.pb.go @@ -22,6 +22,9 @@ package confidentialcomputingpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/confidentialcomputing/apiv1/doc.go b/confidentialcomputing/apiv1/doc.go index eb4e4b3b4fab..72b137591b97 100755 --- a/confidentialcomputing/apiv1/doc.go +++ b/confidentialcomputing/apiv1/doc.go @@ -19,65 +19,66 @@ // // Attestation verifier for Confidential Space. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := confidentialcomputing.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := confidentialcomputing.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := confidentialcomputing.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &confidentialcomputingpb.CreateChallengeRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/confidentialcomputing/apiv1/confidentialcomputingpb#CreateChallengeRequest. -// } -// resp, err := c.CreateChallenge(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := confidentialcomputing.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &confidentialcomputingpb.CreateChallengeRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/confidentialcomputing/apiv1/confidentialcomputingpb#CreateChallengeRequest. +// } +// resp, err := c.CreateChallenge(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/confidentialcomputing/apiv1alpha1/confidentialcomputingpb/service.pb.go b/confidentialcomputing/apiv1alpha1/confidentialcomputingpb/service.pb.go index 265dbb942a79..624ff36a40f3 100755 --- a/confidentialcomputing/apiv1alpha1/confidentialcomputingpb/service.pb.go +++ b/confidentialcomputing/apiv1alpha1/confidentialcomputingpb/service.pb.go @@ -22,6 +22,9 @@ package confidentialcomputingpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/confidentialcomputing/apiv1alpha1/doc.go b/confidentialcomputing/apiv1alpha1/doc.go index 8b4f38344e07..8486d8be1048 100755 --- a/confidentialcomputing/apiv1alpha1/doc.go +++ b/confidentialcomputing/apiv1alpha1/doc.go @@ -17,67 +17,68 @@ // Package confidentialcomputing is an auto-generated package for the // Confidential Computing API. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := confidentialcomputing.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := confidentialcomputing.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := confidentialcomputing.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &confidentialcomputingpb.CreateChallengeRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/confidentialcomputing/apiv1alpha1/confidentialcomputingpb#CreateChallengeRequest. -// } -// resp, err := c.CreateChallenge(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := confidentialcomputing.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &confidentialcomputingpb.CreateChallengeRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/confidentialcomputing/apiv1alpha1/confidentialcomputingpb#CreateChallengeRequest. +// } +// resp, err := c.CreateChallenge(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/config/apiv1/configpb/config.pb.go b/config/apiv1/configpb/config.pb.go index 3dae1bad01dd..d62913dfad76 100755 --- a/config/apiv1/configpb/config.pb.go +++ b/config/apiv1/configpb/config.pb.go @@ -21,8 +21,11 @@ package configpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -34,8 +37,6 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/config/apiv1/doc.go b/config/apiv1/doc.go index 9436212c7a0f..621bc35cef10 100755 --- a/config/apiv1/doc.go +++ b/config/apiv1/doc.go @@ -19,72 +19,73 @@ // // Creates and manages Google Cloud Platform resources and infrastructure. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := config.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := config.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := config.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &configpb.CreateDeploymentRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/config/apiv1/configpb#CreateDeploymentRequest. -// } -// op, err := c.CreateDeployment(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := config.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &configpb.CreateDeploymentRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/config/apiv1/configpb#CreateDeploymentRequest. +// } +// op, err := c.CreateDeployment(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/contactcenterinsights/apiv1/contactcenterinsightspb/contact_center_insights.pb.go b/contactcenterinsights/apiv1/contactcenterinsightspb/contact_center_insights.pb.go index 13cdb61f1265..a8ffcd115e94 100755 --- a/contactcenterinsights/apiv1/contactcenterinsightspb/contact_center_insights.pb.go +++ b/contactcenterinsights/apiv1/contactcenterinsightspb/contact_center_insights.pb.go @@ -21,8 +21,11 @@ package contactcenterinsightspb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -34,8 +37,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/contactcenterinsights/apiv1/contactcenterinsightspb/resources.pb.go b/contactcenterinsights/apiv1/contactcenterinsightspb/resources.pb.go index 622e468549b9..25f7f0855846 100755 --- a/contactcenterinsights/apiv1/contactcenterinsightspb/resources.pb.go +++ b/contactcenterinsights/apiv1/contactcenterinsightspb/resources.pb.go @@ -21,13 +21,14 @@ package contactcenterinsightspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/contactcenterinsights/apiv1/doc.go b/contactcenterinsights/apiv1/doc.go index a9dcb11c0a58..41b4c91a8ab0 100755 --- a/contactcenterinsights/apiv1/doc.go +++ b/contactcenterinsights/apiv1/doc.go @@ -17,70 +17,71 @@ // Package contactcenterinsights is an auto-generated package for the // Contact Center AI Insights API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := contactcenterinsights.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := contactcenterinsights.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := contactcenterinsights.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &contactcenterinsightspb.BulkAnalyzeConversationsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/contactcenterinsights/apiv1/contactcenterinsightspb#BulkAnalyzeConversationsRequest. -// } -// op, err := c.BulkAnalyzeConversations(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := contactcenterinsights.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &contactcenterinsightspb.BulkAnalyzeConversationsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/contactcenterinsights/apiv1/contactcenterinsightspb#BulkAnalyzeConversationsRequest. +// } +// op, err := c.BulkAnalyzeConversations(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/container/apiv1/containerpb/cluster_service.pb.go b/container/apiv1/containerpb/cluster_service.pb.go index a8fef26458bb..9259de7135ca 100755 --- a/container/apiv1/containerpb/cluster_service.pb.go +++ b/container/apiv1/containerpb/cluster_service.pb.go @@ -22,6 +22,9 @@ package containerpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" code "google.golang.org/genproto/googleapis/rpc/code" status "google.golang.org/genproto/googleapis/rpc/status" @@ -34,8 +37,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/container/apiv1/doc.go b/container/apiv1/doc.go index 46dd9f1bd9b2..92427e09188e 100755 --- a/container/apiv1/doc.go +++ b/container/apiv1/doc.go @@ -20,63 +20,64 @@ // Builds and manages container-based applications, powered by the open // source Kubernetes technology. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := container.NewClusterManagerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := container.NewClusterManagerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := container.NewClusterManagerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &containerpb.CancelOperationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/container/apiv1/containerpb#CancelOperationRequest. -// } -// err = c.CancelOperation(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := container.NewClusterManagerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &containerpb.CancelOperationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/container/apiv1/containerpb#CancelOperationRequest. +// } +// err = c.CancelOperation(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// # Use of Context // // The ctx passed to NewClusterManagerClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/containeranalysis/apiv1beta1/containeranalysispb/containeranalysis.pb.go b/containeranalysis/apiv1beta1/containeranalysispb/containeranalysis.pb.go index 3db50825a5cd..9d9bef659711 100755 --- a/containeranalysis/apiv1beta1/containeranalysispb/containeranalysis.pb.go +++ b/containeranalysis/apiv1beta1/containeranalysispb/containeranalysis.pb.go @@ -21,16 +21,17 @@ package containeranalysispb import ( - iampb "cloud.google.com/go/iam/apiv1/iampb" context "context" + reflect "reflect" + sync "sync" + + iampb "cloud.google.com/go/iam/apiv1/iampb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/containeranalysis/apiv1beta1/doc.go b/containeranalysis/apiv1beta1/doc.go index cf1cf28797a2..996a3fb9b8af 100755 --- a/containeranalysis/apiv1beta1/doc.go +++ b/containeranalysis/apiv1beta1/doc.go @@ -20,67 +20,68 @@ // An implementation of the Grafeas API, which stores, and enables querying // and retrieval of critical metadata about all of your software artifacts. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := containeranalysis.NewContainerAnalysisV1Beta1Client(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := containeranalysis.NewContainerAnalysisV1Beta1Client(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := containeranalysis.NewContainerAnalysisV1Beta1Client(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &containeranalysispb.ExportSBOMRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb#ExportSBOMRequest. -// } -// resp, err := c.ExportSBOM(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := containeranalysis.NewContainerAnalysisV1Beta1Client(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &containeranalysispb.ExportSBOMRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb#ExportSBOMRequest. +// } +// resp, err := c.ExportSBOM(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewContainerAnalysisV1Beta1Client is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/datacatalog/apiv1/data_catalog_client.go b/datacatalog/apiv1/data_catalog_client.go index 6f47f0cfa4fd..2e45d8efedc3 100755 --- a/datacatalog/apiv1/data_catalog_client.go +++ b/datacatalog/apiv1/data_catalog_client.go @@ -1153,11 +1153,11 @@ func (c *Client) SearchCatalog(ctx context.Context, req *datacatalogpb.SearchCat // Data Catalog automatically creates entry groups with names that start with // the @ symbol for the following resources: // -// BigQuery entries (@bigquery) +// BigQuery entries (@bigquery) // -// Pub/Sub topics (@pubsub) +// Pub/Sub topics (@pubsub) // -// Dataproc Metastore services (@dataproc_metastore_{SERVICE_NAME_HASH}) +// Dataproc Metastore services (@dataproc_metastore_{SERVICE_NAME_HASH}) // // You can create your own entry groups for Cloud Storage fileset entries // and custom entries together with the corresponding IAM policies. @@ -1370,11 +1370,11 @@ func (c *Client) DeleteTagTemplateField(ctx context.Context, req *datacatalogpb. // CreateTag creates a tag and assigns it to: // -// An Entry if the method name is -// projects.locations.entryGroups.entries.tags.create. +// An Entry if the method name is +// projects.locations.entryGroups.entries.tags.create. // -// Or EntryGroupif the method -// name is projects.locations.entryGroups.tags.create. +// Or EntryGroupif the method +// name is projects.locations.entryGroups.tags.create. // // Note: The project identified by the parent parameter for the [tag] // (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters (at https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)) @@ -1442,9 +1442,9 @@ func (c *Client) UnstarEntry(ctx context.Context, req *datacatalogpb.UnstarEntry // // Supported resources are: // -// Tag templates +// Tag templates // -// Entry groups +// Entry groups // // Note: This method sets policies only within Data Catalog and can’t be // used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any @@ -1452,10 +1452,10 @@ func (c *Client) UnstarEntry(ctx context.Context, req *datacatalogpb.UnstarEntry // // To call this method, you must have the following Google IAM permissions: // -// datacatalog.tagTemplates.setIamPolicy to set policies on tag -// templates. +// datacatalog.tagTemplates.setIamPolicy to set policies on tag +// templates. // -// datacatalog.entryGroups.setIamPolicy to set policies on entry groups. +// datacatalog.entryGroups.setIamPolicy to set policies on entry groups. func (c *Client) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { return c.internalClient.SetIamPolicy(ctx, req, opts...) } @@ -1464,26 +1464,26 @@ func (c *Client) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyReques // // May return: // -// ANOT_FOUND error if the resource doesn’t exist or you don’t have the -// permission to view it. +// ANOT_FOUND error if the resource doesn’t exist or you don’t have the +// permission to view it. // -// An empty policy if the resource exists but doesn’t have a set policy. +// An empty policy if the resource exists but doesn’t have a set policy. // // Supported resources are: // -// Tag templates +// Tag templates // -// Entry groups +// Entry groups // // Note: This method doesn’t get policies from Google Cloud Platform // resources ingested into Data Catalog. // // To call this method, you must have the following Google IAM permissions: // -// datacatalog.tagTemplates.getIamPolicy to get policies on tag -// templates. +// datacatalog.tagTemplates.getIamPolicy to get policies on tag +// templates. // -// datacatalog.entryGroups.getIamPolicy to get policies on entry groups. +// datacatalog.entryGroups.getIamPolicy to get policies on entry groups. func (c *Client) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { return c.internalClient.GetIamPolicy(ctx, req, opts...) } @@ -1494,9 +1494,9 @@ func (c *Client) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyReques // // Supported resources are: // -// Tag templates +// Tag templates // -// Entry groups +// Entry groups // // Note: This method gets policies only within Data Catalog and can’t be // used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any @@ -2633,11 +2633,11 @@ func (c *restClient) SearchCatalog(ctx context.Context, req *datacatalogpb.Searc // Data Catalog automatically creates entry groups with names that start with // the @ symbol for the following resources: // -// BigQuery entries (@bigquery) +// BigQuery entries (@bigquery) // -// Pub/Sub topics (@pubsub) +// Pub/Sub topics (@pubsub) // -// Dataproc Metastore services (@dataproc_metastore_{SERVICE_NAME_HASH}) +// Dataproc Metastore services (@dataproc_metastore_{SERVICE_NAME_HASH}) // // You can create your own entry groups for Cloud Storage fileset entries // and custom entries together with the corresponding IAM policies. @@ -4139,11 +4139,11 @@ func (c *restClient) DeleteTagTemplateField(ctx context.Context, req *datacatalo // CreateTag creates a tag and assigns it to: // -// An Entry if the method name is -// projects.locations.entryGroups.entries.tags.create. +// An Entry if the method name is +// projects.locations.entryGroups.entries.tags.create. // -// Or EntryGroupif the method -// name is projects.locations.entryGroups.tags.create. +// Or EntryGroupif the method +// name is projects.locations.entryGroups.tags.create. // // Note: The project identified by the parent parameter for the [tag] // (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters (at https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)) @@ -4617,9 +4617,9 @@ func (c *restClient) UnstarEntry(ctx context.Context, req *datacatalogpb.UnstarE // // Supported resources are: // -// Tag templates +// Tag templates // -// Entry groups +// Entry groups // // Note: This method sets policies only within Data Catalog and can’t be // used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any @@ -4627,10 +4627,10 @@ func (c *restClient) UnstarEntry(ctx context.Context, req *datacatalogpb.UnstarE // // To call this method, you must have the following Google IAM permissions: // -// datacatalog.tagTemplates.setIamPolicy to set policies on tag -// templates. +// datacatalog.tagTemplates.setIamPolicy to set policies on tag +// templates. // -// datacatalog.entryGroups.setIamPolicy to set policies on entry groups. +// datacatalog.entryGroups.setIamPolicy to set policies on entry groups. func (c *restClient) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -4695,26 +4695,26 @@ func (c *restClient) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRe // // May return: // -// ANOT_FOUND error if the resource doesn’t exist or you don’t have the -// permission to view it. +// ANOT_FOUND error if the resource doesn’t exist or you don’t have the +// permission to view it. // -// An empty policy if the resource exists but doesn’t have a set policy. +// An empty policy if the resource exists but doesn’t have a set policy. // // Supported resources are: // -// Tag templates +// Tag templates // -// Entry groups +// Entry groups // // Note: This method doesn’t get policies from Google Cloud Platform // resources ingested into Data Catalog. // // To call this method, you must have the following Google IAM permissions: // -// datacatalog.tagTemplates.getIamPolicy to get policies on tag -// templates. +// datacatalog.tagTemplates.getIamPolicy to get policies on tag +// templates. // -// datacatalog.entryGroups.getIamPolicy to get policies on entry groups. +// datacatalog.entryGroups.getIamPolicy to get policies on entry groups. func (c *restClient) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -4781,9 +4781,9 @@ func (c *restClient) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRe // // Supported resources are: // -// Tag templates +// Tag templates // -// Entry groups +// Entry groups // // Note: This method gets policies only within Data Catalog and can’t be // used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any diff --git a/datacatalog/apiv1/datacatalogpb/bigquery.pb.go b/datacatalog/apiv1/datacatalogpb/bigquery.pb.go index ef81f83796ab..82cc3df0606b 100755 --- a/datacatalog/apiv1/datacatalogpb/bigquery.pb.go +++ b/datacatalog/apiv1/datacatalogpb/bigquery.pb.go @@ -21,11 +21,12 @@ package datacatalogpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/common.pb.go b/datacatalog/apiv1/datacatalogpb/common.pb.go index 0c2204ac975c..72a7da87dcb5 100755 --- a/datacatalog/apiv1/datacatalogpb/common.pb.go +++ b/datacatalog/apiv1/datacatalogpb/common.pb.go @@ -21,11 +21,12 @@ package datacatalogpb 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" - reflect "reflect" - sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/data_source.pb.go b/datacatalog/apiv1/datacatalogpb/data_source.pb.go index c09a16ad0de2..b9ccd63dfe53 100755 --- a/datacatalog/apiv1/datacatalogpb/data_source.pb.go +++ b/datacatalog/apiv1/datacatalogpb/data_source.pb.go @@ -21,11 +21,12 @@ package datacatalogpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/datacatalog.pb.go b/datacatalog/apiv1/datacatalogpb/datacatalog.pb.go index 47c6e51b2e2a..dfbcf80d7ef3 100755 --- a/datacatalog/apiv1/datacatalogpb/datacatalog.pb.go +++ b/datacatalog/apiv1/datacatalogpb/datacatalog.pb.go @@ -21,9 +21,12 @@ package datacatalogpb import ( + context "context" + reflect "reflect" + sync "sync" + iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" - context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -33,8 +36,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/dataplex_spec.pb.go b/datacatalog/apiv1/datacatalogpb/dataplex_spec.pb.go index c51faacfd942..3d3ec0ec73e2 100755 --- a/datacatalog/apiv1/datacatalogpb/dataplex_spec.pb.go +++ b/datacatalog/apiv1/datacatalogpb/dataplex_spec.pb.go @@ -21,10 +21,11 @@ package datacatalogpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/dump_content.pb.go b/datacatalog/apiv1/datacatalogpb/dump_content.pb.go index c0788bca73c0..b21430a1944c 100755 --- a/datacatalog/apiv1/datacatalogpb/dump_content.pb.go +++ b/datacatalog/apiv1/datacatalogpb/dump_content.pb.go @@ -21,11 +21,12 @@ package datacatalogpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/gcs_fileset_spec.pb.go b/datacatalog/apiv1/datacatalogpb/gcs_fileset_spec.pb.go index ce40a9bdecc7..7286790db803 100755 --- a/datacatalog/apiv1/datacatalogpb/gcs_fileset_spec.pb.go +++ b/datacatalog/apiv1/datacatalogpb/gcs_fileset_spec.pb.go @@ -21,11 +21,12 @@ package datacatalogpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/physical_schema.pb.go b/datacatalog/apiv1/datacatalogpb/physical_schema.pb.go index 260937a71186..7e01e86676e3 100755 --- a/datacatalog/apiv1/datacatalogpb/physical_schema.pb.go +++ b/datacatalog/apiv1/datacatalogpb/physical_schema.pb.go @@ -21,10 +21,11 @@ package datacatalogpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/policytagmanager.pb.go b/datacatalog/apiv1/datacatalogpb/policytagmanager.pb.go index bb9917d3bf43..3e7463b31823 100755 --- a/datacatalog/apiv1/datacatalogpb/policytagmanager.pb.go +++ b/datacatalog/apiv1/datacatalogpb/policytagmanager.pb.go @@ -21,8 +21,11 @@ package datacatalogpb import ( - iampb "cloud.google.com/go/iam/apiv1/iampb" context "context" + reflect "reflect" + sync "sync" + + iampb "cloud.google.com/go/iam/apiv1/iampb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( @@ -100,12 +101,14 @@ func (Taxonomy_PolicyType) EnumDescriptor() ([]byte, []int) { // // ``` // + PII -// + Account number -// + Age -// + SSN -// + Zipcode +// - Account number +// - Age +// - SSN +// - Zipcode +// // + Financials -// + Revenue +// - Revenue +// // ``` // // A "data origin" taxonomy might contain the following policy tags: @@ -239,9 +242,10 @@ func (x *Taxonomy) GetService() *Taxonomy_Service { // // ``` // + Geolocation -// + LatLong -// + City -// + ZipCode +// - LatLong +// - City +// - ZipCode +// // ``` // // Where the "Geolocation" policy tag contains three children. diff --git a/datacatalog/apiv1/datacatalogpb/policytagmanagerserialization.pb.go b/datacatalog/apiv1/datacatalogpb/policytagmanagerserialization.pb.go index 93a933498198..1ba2bc51d94f 100755 --- a/datacatalog/apiv1/datacatalogpb/policytagmanagerserialization.pb.go +++ b/datacatalog/apiv1/datacatalogpb/policytagmanagerserialization.pb.go @@ -22,14 +22,15 @@ package datacatalogpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/schema.pb.go b/datacatalog/apiv1/datacatalogpb/schema.pb.go index 8f3b60122887..4d063c855462 100755 --- a/datacatalog/apiv1/datacatalogpb/schema.pb.go +++ b/datacatalog/apiv1/datacatalogpb/schema.pb.go @@ -21,11 +21,12 @@ package datacatalogpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/search.pb.go b/datacatalog/apiv1/datacatalogpb/search.pb.go index 36c517a910b4..77c6f728a321 100755 --- a/datacatalog/apiv1/datacatalogpb/search.pb.go +++ b/datacatalog/apiv1/datacatalogpb/search.pb.go @@ -21,12 +21,13 @@ package datacatalogpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/table_spec.pb.go b/datacatalog/apiv1/datacatalogpb/table_spec.pb.go index 34d1f589c090..60d4e41ca0ee 100755 --- a/datacatalog/apiv1/datacatalogpb/table_spec.pb.go +++ b/datacatalog/apiv1/datacatalogpb/table_spec.pb.go @@ -21,11 +21,12 @@ package datacatalogpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/tags.pb.go b/datacatalog/apiv1/datacatalogpb/tags.pb.go index 6530eeb0ef9f..e3935fdc102e 100755 --- a/datacatalog/apiv1/datacatalogpb/tags.pb.go +++ b/datacatalog/apiv1/datacatalogpb/tags.pb.go @@ -21,12 +21,13 @@ package datacatalogpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -414,7 +415,9 @@ func (*TagField_RichtextValue) isTagField_Kind() {} // A tag template defines a tag that can have one or more typed fields. // // The template is used to create tags that are attached to Google Cloud -// resources. [Tag template roles] +// +// resources. [Tag template roles] +// // (https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles) // provide permissions to create, edit, and use the template. For example, // see the [TagTemplate User] diff --git a/datacatalog/apiv1/datacatalogpb/timestamps.pb.go b/datacatalog/apiv1/datacatalogpb/timestamps.pb.go index dca26411845d..6b2a44be8327 100755 --- a/datacatalog/apiv1/datacatalogpb/timestamps.pb.go +++ b/datacatalog/apiv1/datacatalogpb/timestamps.pb.go @@ -21,12 +21,13 @@ package datacatalogpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/datacatalog/apiv1/datacatalogpb/usage.pb.go b/datacatalog/apiv1/datacatalogpb/usage.pb.go index 87cd1e316d0d..f33eb9f9f1c6 100755 --- a/datacatalog/apiv1/datacatalogpb/usage.pb.go +++ b/datacatalog/apiv1/datacatalogpb/usage.pb.go @@ -21,12 +21,13 @@ package datacatalogpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -40,12 +41,12 @@ const ( // // Usage statistics have the following limitations: // -// - Only BigQuery tables have them. -// - They only include BigQuery query jobs. -// - They might be underestimated because wildcard table references -// are not yet counted. For more information, see -// [Querying multiple tables using a wildcard table] -// (https://cloud.google.com/bigquery/docs/querying-wildcard-tables) +// - Only BigQuery tables have them. +// - They only include BigQuery query jobs. +// - They might be underestimated because wildcard table references +// are not yet counted. For more information, see +// [Querying multiple tables using a wildcard table] +// (https://cloud.google.com/bigquery/docs/querying-wildcard-tables) type UsageStats struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/datacatalog/apiv1/doc.go b/datacatalog/apiv1/doc.go index a06c49097e0d..8d8975d871b1 100755 --- a/datacatalog/apiv1/doc.go +++ b/datacatalog/apiv1/doc.go @@ -20,65 +20,66 @@ // A fully managed and highly scalable data discovery and metadata management // service. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datacatalog.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datacatalog.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datacatalog.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &datacatalogpb.CreateEntryRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/datacatalog/apiv1/datacatalogpb#CreateEntryRequest. -// } -// resp, err := c.CreateEntry(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datacatalog.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &datacatalogpb.CreateEntryRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/datacatalog/apiv1/datacatalogpb#CreateEntryRequest. +// } +// resp, err := c.CreateEntry(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/datacatalog/apiv1/policy_tag_manager_client.go b/datacatalog/apiv1/policy_tag_manager_client.go index 27a67ae784c7..a180d6edbd15 100755 --- a/datacatalog/apiv1/policy_tag_manager_client.go +++ b/datacatalog/apiv1/policy_tag_manager_client.go @@ -274,12 +274,12 @@ func (c *PolicyTagManagerClient) CreatePolicyTag(ctx context.Context, req *datac // DeletePolicyTag deletes a policy tag together with the following: // -// All of its descendant policy tags, if any +// All of its descendant policy tags, if any // -// Policies associated with the policy tag and its descendants +// Policies associated with the policy tag and its descendants // -// References from BigQuery table schema of the policy tag and its -// descendants +// References from BigQuery table schema of the policy tag and its +// descendants func (c *PolicyTagManagerClient) DeletePolicyTag(ctx context.Context, req *datacatalogpb.DeletePolicyTagRequest, opts ...gax.CallOption) error { return c.internalClient.DeletePolicyTag(ctx, req, opts...) } @@ -1251,12 +1251,12 @@ func (c *policyTagManagerRESTClient) CreatePolicyTag(ctx context.Context, req *d // DeletePolicyTag deletes a policy tag together with the following: // -// All of its descendant policy tags, if any +// All of its descendant policy tags, if any // -// Policies associated with the policy tag and its descendants +// Policies associated with the policy tag and its descendants // -// References from BigQuery table schema of the policy tag and its -// descendants +// References from BigQuery table schema of the policy tag and its +// descendants func (c *policyTagManagerRESTClient) DeletePolicyTag(ctx context.Context, req *datacatalogpb.DeletePolicyTagRequest, opts ...gax.CallOption) error { baseUrl, err := url.Parse(c.endpoint) if err != nil { diff --git a/datacatalog/apiv1/policy_tag_manager_serialization_client.go b/datacatalog/apiv1/policy_tag_manager_serialization_client.go index 62f814f313cc..400ce6f272c6 100755 --- a/datacatalog/apiv1/policy_tag_manager_serialization_client.go +++ b/datacatalog/apiv1/policy_tag_manager_serialization_client.go @@ -161,13 +161,13 @@ func (c *PolicyTagManagerSerializationClient) Connection() *grpc.ClientConn { // // This operation automatically does the following: // -// Deletes the existing policy tags that are missing from the -// SerializedPolicyTag. +// Deletes the existing policy tags that are missing from the +// SerializedPolicyTag. // -// Creates policy tags that don’t have resource names. They are considered -// new. +// Creates policy tags that don’t have resource names. They are considered +// new. // -// Updates policy tags with valid resources names accordingly. +// Updates policy tags with valid resources names accordingly. func (c *PolicyTagManagerSerializationClient) ReplaceTaxonomy(ctx context.Context, req *datacatalogpb.ReplaceTaxonomyRequest, opts ...gax.CallOption) (*datacatalogpb.Taxonomy, error) { return c.internalClient.ReplaceTaxonomy(ctx, req, opts...) } @@ -517,13 +517,13 @@ func (c *policyTagManagerSerializationGRPCClient) ListOperations(ctx context.Con // // This operation automatically does the following: // -// Deletes the existing policy tags that are missing from the -// SerializedPolicyTag. +// Deletes the existing policy tags that are missing from the +// SerializedPolicyTag. // -// Creates policy tags that don’t have resource names. They are considered -// new. +// Creates policy tags that don’t have resource names. They are considered +// new. // -// Updates policy tags with valid resources names accordingly. +// Updates policy tags with valid resources names accordingly. func (c *policyTagManagerSerializationRESTClient) ReplaceTaxonomy(ctx context.Context, req *datacatalogpb.ReplaceTaxonomyRequest, opts ...gax.CallOption) (*datacatalogpb.Taxonomy, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/datacatalog/apiv1beta1/data_catalog_client.go b/datacatalog/apiv1beta1/data_catalog_client.go index 809dff3348da..c86cdc10c09c 100755 --- a/datacatalog/apiv1beta1/data_catalog_client.go +++ b/datacatalog/apiv1beta1/data_catalog_client.go @@ -1142,22 +1142,22 @@ func (c *Client) ListTags(ctx context.Context, req *datacatalogpb.ListTagsReques // policy. // Supported resources are: // -// Tag templates. +// Tag templates. // -// Entries. +// Entries. // -// Entry groups. -// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub -// and any external Google Cloud Platform resources synced to Data Catalog. +// Entry groups. +// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub +// and any external Google Cloud Platform resources synced to Data Catalog. // // Callers must have following Google IAM permission // -// datacatalog.tagTemplates.setIamPolicy to set policies on tag -// templates. +// datacatalog.tagTemplates.setIamPolicy to set policies on tag +// templates. // -// datacatalog.entries.setIamPolicy to set policies on entries. +// datacatalog.entries.setIamPolicy to set policies on entries. // -// datacatalog.entryGroups.setIamPolicy to set policies on entry groups. +// datacatalog.entryGroups.setIamPolicy to set policies on entry groups. func (c *Client) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { return c.internalClient.SetIamPolicy(ctx, req, opts...) } @@ -1168,22 +1168,22 @@ func (c *Client) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyReques // // Supported resources are: // -// Tag templates. +// Tag templates. // -// Entries. +// Entries. // -// Entry groups. -// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub -// and any external Google Cloud Platform resources synced to Data Catalog. +// Entry groups. +// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub +// and any external Google Cloud Platform resources synced to Data Catalog. // // Callers must have following Google IAM permission // -// datacatalog.tagTemplates.getIamPolicy to get policies on tag -// templates. +// datacatalog.tagTemplates.getIamPolicy to get policies on tag +// templates. // -// datacatalog.entries.getIamPolicy to get policies on entries. +// datacatalog.entries.getIamPolicy to get policies on entries. // -// datacatalog.entryGroups.getIamPolicy to get policies on entry groups. +// datacatalog.entryGroups.getIamPolicy to get policies on entry groups. func (c *Client) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { return c.internalClient.GetIamPolicy(ctx, req, opts...) } @@ -1194,13 +1194,13 @@ func (c *Client) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyReques // // Supported resources are: // -// Tag templates. +// Tag templates. // -// Entries. +// Entries. // -// Entry groups. -// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub -// and any external Google Cloud Platform resources synced to Data Catalog. +// Entry groups. +// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub +// and any external Google Cloud Platform resources synced to Data Catalog. // // A caller is not required to have Google IAM permission to make this // request. @@ -3645,22 +3645,22 @@ func (c *restClient) ListTags(ctx context.Context, req *datacatalogpb.ListTagsRe // policy. // Supported resources are: // -// Tag templates. +// Tag templates. // -// Entries. +// Entries. // -// Entry groups. -// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub -// and any external Google Cloud Platform resources synced to Data Catalog. +// Entry groups. +// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub +// and any external Google Cloud Platform resources synced to Data Catalog. // // Callers must have following Google IAM permission // -// datacatalog.tagTemplates.setIamPolicy to set policies on tag -// templates. +// datacatalog.tagTemplates.setIamPolicy to set policies on tag +// templates. // -// datacatalog.entries.setIamPolicy to set policies on entries. +// datacatalog.entries.setIamPolicy to set policies on entries. // -// datacatalog.entryGroups.setIamPolicy to set policies on entry groups. +// datacatalog.entryGroups.setIamPolicy to set policies on entry groups. func (c *restClient) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -3727,22 +3727,22 @@ func (c *restClient) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRe // // Supported resources are: // -// Tag templates. +// Tag templates. // -// Entries. +// Entries. // -// Entry groups. -// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub -// and any external Google Cloud Platform resources synced to Data Catalog. +// Entry groups. +// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub +// and any external Google Cloud Platform resources synced to Data Catalog. // // Callers must have following Google IAM permission // -// datacatalog.tagTemplates.getIamPolicy to get policies on tag -// templates. +// datacatalog.tagTemplates.getIamPolicy to get policies on tag +// templates. // -// datacatalog.entries.getIamPolicy to get policies on entries. +// datacatalog.entries.getIamPolicy to get policies on entries. // -// datacatalog.entryGroups.getIamPolicy to get policies on entry groups. +// datacatalog.entryGroups.getIamPolicy to get policies on entry groups. func (c *restClient) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -3809,13 +3809,13 @@ func (c *restClient) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRe // // Supported resources are: // -// Tag templates. +// Tag templates. // -// Entries. +// Entries. // -// Entry groups. -// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub -// and any external Google Cloud Platform resources synced to Data Catalog. +// Entry groups. +// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub +// and any external Google Cloud Platform resources synced to Data Catalog. // // A caller is not required to have Google IAM permission to make this // request. diff --git a/datacatalog/apiv1beta1/datacatalogpb/common.pb.go b/datacatalog/apiv1beta1/datacatalogpb/common.pb.go index 46f29db731e7..869093b37333 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/common.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/common.pb.go @@ -21,10 +21,11 @@ package datacatalogpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/datacatalog.pb.go b/datacatalog/apiv1beta1/datacatalogpb/datacatalog.pb.go index 88de74a10168..6d83699015e6 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/datacatalog.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/datacatalog.pb.go @@ -21,8 +21,11 @@ package datacatalogpb import ( - iampb "cloud.google.com/go/iam/apiv1/iampb" context "context" + reflect "reflect" + sync "sync" + + iampb "cloud.google.com/go/iam/apiv1/iampb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/gcs_fileset_spec.pb.go b/datacatalog/apiv1beta1/datacatalogpb/gcs_fileset_spec.pb.go index 25e5d8010225..c125ec6d407d 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/gcs_fileset_spec.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/gcs_fileset_spec.pb.go @@ -21,11 +21,12 @@ package datacatalogpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/policytagmanager.pb.go b/datacatalog/apiv1beta1/datacatalogpb/policytagmanager.pb.go index 406b54194dc1..0002f988cb78 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/policytagmanager.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/policytagmanager.pb.go @@ -21,8 +21,11 @@ package datacatalogpb import ( - iampb "cloud.google.com/go/iam/apiv1/iampb" context "context" + reflect "reflect" + sync "sync" + + iampb "cloud.google.com/go/iam/apiv1/iampb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/policytagmanagerserialization.pb.go b/datacatalog/apiv1beta1/datacatalogpb/policytagmanagerserialization.pb.go index 79047761eaa1..d22f4bd42fad 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/policytagmanagerserialization.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/policytagmanagerserialization.pb.go @@ -22,14 +22,15 @@ package datacatalogpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/schema.pb.go b/datacatalog/apiv1beta1/datacatalogpb/schema.pb.go index 1052cc8979ad..e3a475971318 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/schema.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/schema.pb.go @@ -21,11 +21,12 @@ package datacatalogpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/search.pb.go b/datacatalog/apiv1beta1/datacatalogpb/search.pb.go index af2f4d4d980a..ebac1e142d82 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/search.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/search.pb.go @@ -21,12 +21,13 @@ package datacatalogpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/table_spec.pb.go b/datacatalog/apiv1beta1/datacatalogpb/table_spec.pb.go index ed30bb6de332..a937ad68f541 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/table_spec.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/table_spec.pb.go @@ -21,11 +21,12 @@ package datacatalogpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/tags.pb.go b/datacatalog/apiv1beta1/datacatalogpb/tags.pb.go index ca6daa35d2b5..871266c0d48b 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/tags.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/tags.pb.go @@ -21,12 +21,13 @@ package datacatalogpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/timestamps.pb.go b/datacatalog/apiv1beta1/datacatalogpb/timestamps.pb.go index a7d1a11186c9..6634021c08c4 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/timestamps.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/timestamps.pb.go @@ -21,12 +21,13 @@ package datacatalogpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/datacatalogpb/usage.pb.go b/datacatalog/apiv1beta1/datacatalogpb/usage.pb.go index 31fb428b0516..fe8db4f3a01f 100755 --- a/datacatalog/apiv1beta1/datacatalogpb/usage.pb.go +++ b/datacatalog/apiv1beta1/datacatalogpb/usage.pb.go @@ -21,11 +21,12 @@ package datacatalogpb 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" - reflect "reflect" - sync "sync" ) const ( diff --git a/datacatalog/apiv1beta1/doc.go b/datacatalog/apiv1beta1/doc.go index 17a729241246..dec9da7469b7 100755 --- a/datacatalog/apiv1beta1/doc.go +++ b/datacatalog/apiv1beta1/doc.go @@ -20,67 +20,68 @@ // A fully managed and highly scalable data discovery and metadata management // service. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datacatalog.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datacatalog.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datacatalog.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &datacatalogpb.CreateEntryRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/datacatalog/apiv1beta1/datacatalogpb#CreateEntryRequest. -// } -// resp, err := c.CreateEntry(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datacatalog.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &datacatalogpb.CreateEntryRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/datacatalog/apiv1beta1/datacatalogpb#CreateEntryRequest. +// } +// resp, err := c.CreateEntry(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/datacatalog/lineage/apiv1/doc.go b/datacatalog/lineage/apiv1/doc.go index 6bb53e7033a7..1133ffb102bb 100755 --- a/datacatalog/lineage/apiv1/doc.go +++ b/datacatalog/lineage/apiv1/doc.go @@ -17,71 +17,72 @@ // Package lineage is an auto-generated package for the // Data Lineage API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := lineage.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := lineage.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := lineage.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &lineagepb.BatchSearchLinkProcessesRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/datacatalog/lineage/apiv1/lineagepb#BatchSearchLinkProcessesRequest. -// } -// it := c.BatchSearchLinkProcesses(ctx, req) -// for { -// resp, err := it.Next() -// if err == iterator.Done { -// break -// } -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// } -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := lineage.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &lineagepb.BatchSearchLinkProcessesRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/datacatalog/lineage/apiv1/lineagepb#BatchSearchLinkProcessesRequest. +// } +// it := c.BatchSearchLinkProcesses(ctx, req) +// for { +// resp, err := it.Next() +// if err == iterator.Done { +// break +// } +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// } +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/datacatalog/lineage/apiv1/lineagepb/lineage.pb.go b/datacatalog/lineage/apiv1/lineagepb/lineage.pb.go index 4095b7294531..cb41d02c16a2 100755 --- a/datacatalog/lineage/apiv1/lineagepb/lineage.pb.go +++ b/datacatalog/lineage/apiv1/lineagepb/lineage.pb.go @@ -21,8 +21,11 @@ package lineagepb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,8 +36,6 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataflow/apiv1beta3/dataflowpb/environment.pb.go b/dataflow/apiv1beta3/dataflowpb/environment.pb.go index 3a88ed119988..09bc2ffdf17b 100755 --- a/dataflow/apiv1beta3/dataflowpb/environment.pb.go +++ b/dataflow/apiv1beta3/dataflowpb/environment.pb.go @@ -21,13 +21,14 @@ package dataflowpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataflow/apiv1beta3/dataflowpb/jobs.pb.go b/dataflow/apiv1beta3/dataflowpb/jobs.pb.go index 2b9c1a0f59b3..371a1df71202 100755 --- a/dataflow/apiv1beta3/dataflowpb/jobs.pb.go +++ b/dataflow/apiv1beta3/dataflowpb/jobs.pb.go @@ -22,6 +22,9 @@ package dataflowpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -1889,19 +1890,19 @@ func (*DisplayData_BoolValue) isDisplayData_Value() {} // Here's an example of a sequence of steps which together implement a // Map-Reduce job: // -// * Read a collection of data from some source, parsing the +// - Read a collection of data from some source, parsing the // collection's elements. // -// * Validate the elements. +// - Validate the elements. // -// * Apply a user-defined function to map each element to some value +// - Apply a user-defined function to map each element to some value // and extract an element-specific key value. // -// * Group elements with the same key into a single element with +// - Group elements with the same key into a single element with // that key, transforming a multiply-keyed collection into a // uniquely-keyed collection. // -// * Write the elements out to some data sink. +// - Write the elements out to some data sink. // // Note that the Cloud Dataflow service may be used to run many different // types of jobs, not just Map-Reduce. diff --git a/dataflow/apiv1beta3/dataflowpb/messages.pb.go b/dataflow/apiv1beta3/dataflowpb/messages.pb.go index 3e0aa2ea0e23..e97175546ac9 100755 --- a/dataflow/apiv1beta3/dataflowpb/messages.pb.go +++ b/dataflow/apiv1beta3/dataflowpb/messages.pb.go @@ -22,6 +22,9 @@ package dataflowpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataflow/apiv1beta3/dataflowpb/metrics.pb.go b/dataflow/apiv1beta3/dataflowpb/metrics.pb.go index e60cca76de1e..19f01f86a519 100755 --- a/dataflow/apiv1beta3/dataflowpb/metrics.pb.go +++ b/dataflow/apiv1beta3/dataflowpb/metrics.pb.go @@ -22,6 +22,9 @@ package dataflowpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataflow/apiv1beta3/dataflowpb/snapshots.pb.go b/dataflow/apiv1beta3/dataflowpb/snapshots.pb.go index 8634ee501651..2a69a2af64ba 100755 --- a/dataflow/apiv1beta3/dataflowpb/snapshots.pb.go +++ b/dataflow/apiv1beta3/dataflowpb/snapshots.pb.go @@ -22,6 +22,9 @@ package dataflowpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataflow/apiv1beta3/dataflowpb/streaming.pb.go b/dataflow/apiv1beta3/dataflowpb/streaming.pb.go index 17c8b4db6cc9..7549d6228073 100755 --- a/dataflow/apiv1beta3/dataflowpb/streaming.pb.go +++ b/dataflow/apiv1beta3/dataflowpb/streaming.pb.go @@ -21,10 +21,11 @@ package dataflowpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/dataflow/apiv1beta3/dataflowpb/templates.pb.go b/dataflow/apiv1beta3/dataflowpb/templates.pb.go index 70b41ab89d1b..defc58b15f7d 100755 --- a/dataflow/apiv1beta3/dataflowpb/templates.pb.go +++ b/dataflow/apiv1beta3/dataflowpb/templates.pb.go @@ -22,6 +22,9 @@ package dataflowpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -29,8 +32,6 @@ import ( status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataflow/apiv1beta3/doc.go b/dataflow/apiv1beta3/doc.go index 182f059e6a75..3294c45b941d 100755 --- a/dataflow/apiv1beta3/doc.go +++ b/dataflow/apiv1beta3/doc.go @@ -19,67 +19,68 @@ // // Manages Google Cloud Dataflow projects on Google Cloud Platform. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dataflow.NewSnapshotsV1Beta3Client(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dataflow.NewSnapshotsV1Beta3Client(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dataflow.NewSnapshotsV1Beta3Client(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &dataflowpb.DeleteSnapshotRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/dataflow/apiv1beta3/dataflowpb#DeleteSnapshotRequest. -// } -// resp, err := c.DeleteSnapshot(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dataflow.NewSnapshotsV1Beta3Client(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &dataflowpb.DeleteSnapshotRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/dataflow/apiv1beta3/dataflowpb#DeleteSnapshotRequest. +// } +// resp, err := c.DeleteSnapshot(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewSnapshotsV1Beta3Client is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/dataform/apiv1alpha2/dataformpb/dataform.pb.go b/dataform/apiv1alpha2/dataformpb/dataform.pb.go index c32c9417eb81..01427d957682 100755 --- a/dataform/apiv1alpha2/dataformpb/dataform.pb.go +++ b/dataform/apiv1alpha2/dataformpb/dataform.pb.go @@ -22,6 +22,9 @@ package dataformpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" interval "google.golang.org/genproto/googleapis/type/interval" grpc "google.golang.org/grpc" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataform/apiv1alpha2/doc.go b/dataform/apiv1alpha2/doc.go index 8a0c2d0c9afd..5afb3da3fed5 100755 --- a/dataform/apiv1alpha2/doc.go +++ b/dataform/apiv1alpha2/doc.go @@ -17,65 +17,66 @@ // Package dataform is an auto-generated package for the // Dataform API. // -// NOTE: This package is in alpha. It is not stable, and is likely to change. +// NOTE: This package is in alpha. It is not stable, and is likely to change. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dataform.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dataform.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dataform.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &dataformpb.CancelWorkflowInvocationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/dataform/apiv1alpha2/dataformpb#CancelWorkflowInvocationRequest. -// } -// err = c.CancelWorkflowInvocation(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dataform.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &dataformpb.CancelWorkflowInvocationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/dataform/apiv1alpha2/dataformpb#CancelWorkflowInvocationRequest. +// } +// err = c.CancelWorkflowInvocation(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/dataform/apiv1beta1/dataformpb/dataform.pb.go b/dataform/apiv1beta1/dataformpb/dataform.pb.go index fb1b19f181b4..71f679811543 100755 --- a/dataform/apiv1beta1/dataformpb/dataform.pb.go +++ b/dataform/apiv1beta1/dataformpb/dataform.pb.go @@ -22,6 +22,9 @@ package dataformpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" interval "google.golang.org/genproto/googleapis/type/interval" @@ -33,8 +36,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataform/apiv1beta1/doc.go b/dataform/apiv1beta1/doc.go index 1b1587b5c101..12da0bd8ea00 100755 --- a/dataform/apiv1beta1/doc.go +++ b/dataform/apiv1beta1/doc.go @@ -20,65 +20,66 @@ // Service to develop, version control, and operationalize SQL pipelines in // BigQuery. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dataform.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dataform.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dataform.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &dataformpb.CancelWorkflowInvocationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/dataform/apiv1beta1/dataformpb#CancelWorkflowInvocationRequest. -// } -// err = c.CancelWorkflowInvocation(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dataform.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &dataformpb.CancelWorkflowInvocationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/dataform/apiv1beta1/dataformpb#CancelWorkflowInvocationRequest. +// } +// err = c.CancelWorkflowInvocation(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/datafusion/apiv1/datafusionpb/datafusion.pb.go b/datafusion/apiv1/datafusionpb/datafusion.pb.go index 9c7c1eafcd72..5d444c12992f 100755 --- a/datafusion/apiv1/datafusionpb/datafusion.pb.go +++ b/datafusion/apiv1/datafusionpb/datafusion.pb.go @@ -21,8 +21,11 @@ package datafusionpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/datafusion/apiv1/doc.go b/datafusion/apiv1/doc.go index ff76c284f7d7..11af7a9c2a23 100755 --- a/datafusion/apiv1/doc.go +++ b/datafusion/apiv1/doc.go @@ -25,70 +25,71 @@ // prepare, blend, transfer and transform data without having to wrestle with // infrastructure. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datafusion.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datafusion.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datafusion.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &datafusionpb.CreateInstanceRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/datafusion/apiv1/datafusionpb#CreateInstanceRequest. -// } -// op, err := c.CreateInstance(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datafusion.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &datafusionpb.CreateInstanceRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/datafusion/apiv1/datafusionpb#CreateInstanceRequest. +// } +// op, err := c.CreateInstance(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/datalabeling/apiv1beta1/datalabelingpb/annotation.pb.go b/datalabeling/apiv1beta1/datalabelingpb/annotation.pb.go index 63756b90d902..8b28407a570b 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/annotation.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/annotation.pb.go @@ -22,11 +22,12 @@ package datalabelingpb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/datalabelingpb/annotation_spec_set.pb.go b/datalabeling/apiv1beta1/datalabelingpb/annotation_spec_set.pb.go index f213060c9496..a4f54364ee72 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/annotation_spec_set.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/annotation_spec_set.pb.go @@ -22,11 +22,12 @@ package datalabelingpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/datalabelingpb/data_labeling_service.pb.go b/datalabeling/apiv1beta1/datalabelingpb/data_labeling_service.pb.go index d2142b26b6ca..15eb1a04b3c7 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/data_labeling_service.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/data_labeling_service.pb.go @@ -22,8 +22,11 @@ package datalabelingpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/datalabelingpb/data_payloads.pb.go b/datalabeling/apiv1beta1/datalabelingpb/data_payloads.pb.go index ecde4bbf4312..f33415b49d14 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/data_payloads.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/data_payloads.pb.go @@ -22,11 +22,12 @@ package datalabelingpb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/datalabelingpb/dataset.pb.go b/datalabeling/apiv1beta1/datalabelingpb/dataset.pb.go index 5dbc0674b632..4d32b78956ab 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/dataset.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/dataset.pb.go @@ -22,12 +22,13 @@ package datalabelingpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/datalabelingpb/evaluation.pb.go b/datalabeling/apiv1beta1/datalabelingpb/evaluation.pb.go index 5bef13c92316..ff60041cf348 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/evaluation.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/evaluation.pb.go @@ -22,12 +22,13 @@ package datalabelingpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/datalabelingpb/evaluation_job.pb.go b/datalabeling/apiv1beta1/datalabelingpb/evaluation_job.pb.go index 62d86f873ccf..f5000ea6e3ec 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/evaluation_job.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/evaluation_job.pb.go @@ -22,13 +22,14 @@ package datalabelingpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/datalabelingpb/human_annotation_config.pb.go b/datalabeling/apiv1beta1/datalabelingpb/human_annotation_config.pb.go index 4d78d0f39851..d9a082e48706 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/human_annotation_config.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/human_annotation_config.pb.go @@ -22,12 +22,13 @@ package datalabelingpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/datalabelingpb/instruction.pb.go b/datalabeling/apiv1beta1/datalabelingpb/instruction.pb.go index 7e79d1baa4b5..1a219f139e48 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/instruction.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/instruction.pb.go @@ -22,12 +22,13 @@ package datalabelingpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/datalabelingpb/operations.pb.go b/datalabeling/apiv1beta1/datalabelingpb/operations.pb.go index 92267751ba65..d4f6c9de59a4 100755 --- a/datalabeling/apiv1beta1/datalabelingpb/operations.pb.go +++ b/datalabeling/apiv1beta1/datalabelingpb/operations.pb.go @@ -22,12 +22,13 @@ package datalabelingpb import ( + reflect "reflect" + sync "sync" + status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/datalabeling/apiv1beta1/doc.go b/datalabeling/apiv1beta1/doc.go index 5184f6d41ec4..73297d486ee4 100755 --- a/datalabeling/apiv1beta1/doc.go +++ b/datalabeling/apiv1beta1/doc.go @@ -19,67 +19,68 @@ // // Public API for Google Cloud AI Data Labeling Service. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datalabeling.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datalabeling.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datalabeling.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &datalabelingpb.CreateAnnotationSpecSetRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb#CreateAnnotationSpecSetRequest. -// } -// resp, err := c.CreateAnnotationSpecSet(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datalabeling.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &datalabelingpb.CreateAnnotationSpecSetRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb#CreateAnnotationSpecSetRequest. +// } +// resp, err := c.CreateAnnotationSpecSet(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/dataplex/apiv1/dataplexpb/analyze.pb.go b/dataplex/apiv1/dataplexpb/analyze.pb.go index 4105092b150c..607ca238d47e 100755 --- a/dataplex/apiv1/dataplexpb/analyze.pb.go +++ b/dataplex/apiv1/dataplexpb/analyze.pb.go @@ -21,13 +21,14 @@ package dataplexpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/content.pb.go b/dataplex/apiv1/dataplexpb/content.pb.go index 344187f61c68..a40c25d39e63 100755 --- a/dataplex/apiv1/dataplexpb/content.pb.go +++ b/dataplex/apiv1/dataplexpb/content.pb.go @@ -21,8 +21,11 @@ package dataplexpb import ( - iampb "cloud.google.com/go/iam/apiv1/iampb" context "context" + reflect "reflect" + sync "sync" + + iampb "cloud.google.com/go/iam/apiv1/iampb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/data_profile.pb.go b/dataplex/apiv1/dataplexpb/data_profile.pb.go index 97f02f0201b3..fb8ba97ef8dd 100755 --- a/dataplex/apiv1/dataplexpb/data_profile.pb.go +++ b/dataplex/apiv1/dataplexpb/data_profile.pb.go @@ -21,11 +21,12 @@ package dataplexpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/data_quality.pb.go b/dataplex/apiv1/dataplexpb/data_quality.pb.go index c12f1cbc7f8b..3cba28e94e6f 100755 --- a/dataplex/apiv1/dataplexpb/data_quality.pb.go +++ b/dataplex/apiv1/dataplexpb/data_quality.pb.go @@ -21,11 +21,12 @@ package dataplexpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/data_taxonomy.pb.go b/dataplex/apiv1/dataplexpb/data_taxonomy.pb.go index 7e99a6e21423..e235b81f7d22 100755 --- a/dataplex/apiv1/dataplexpb/data_taxonomy.pb.go +++ b/dataplex/apiv1/dataplexpb/data_taxonomy.pb.go @@ -21,8 +21,11 @@ package dataplexpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -187,9 +188,10 @@ func (x *DataTaxonomy) GetClassCount() int32 { // ``` // PII // - ResourceAccessSpec : -// - readers :foo@bar.com +// - readers :foo@bar.com // - DataAccessSpec : -// - readers :bar@foo.com +// - readers :bar@foo.com +// // ``` type DataAttribute struct { state protoimpl.MessageState diff --git a/dataplex/apiv1/dataplexpb/datascans.pb.go b/dataplex/apiv1/dataplexpb/datascans.pb.go index 8f40a87907d8..0a2729fb4152 100755 --- a/dataplex/apiv1/dataplexpb/datascans.pb.go +++ b/dataplex/apiv1/dataplexpb/datascans.pb.go @@ -21,8 +21,11 @@ package dataplexpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -1031,11 +1032,11 @@ func (x *ListDataScanJobsResponse) GetNextPageToken() string { // // For example: // -// * Data Quality: generates queries based on the rules and runs against the -// data to get data quality check results. -// * Data Profile: analyzes the data in table(s) and generates insights about -// the structure, content and relationships (such as null percent, -// cardinality, min/max/mean, etc). +// - Data Quality: generates queries based on the rules and runs against the +// data to get data quality check results. +// - Data Profile: analyzes the data in table(s) and generates insights about +// the structure, content and relationships (such as null percent, +// cardinality, min/max/mean, etc). type DataScan struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/dataplex/apiv1/dataplexpb/logs.pb.go b/dataplex/apiv1/dataplexpb/logs.pb.go index 7ba45da22b4f..e3c2684be9bb 100755 --- a/dataplex/apiv1/dataplexpb/logs.pb.go +++ b/dataplex/apiv1/dataplexpb/logs.pb.go @@ -21,13 +21,14 @@ package dataplexpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/metadata.pb.go b/dataplex/apiv1/dataplexpb/metadata.pb.go index 18f46d1777a6..27d4945d4852 100755 --- a/dataplex/apiv1/dataplexpb/metadata.pb.go +++ b/dataplex/apiv1/dataplexpb/metadata.pb.go @@ -22,6 +22,9 @@ package dataplexpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/processing.pb.go b/dataplex/apiv1/dataplexpb/processing.pb.go index 8cc9d410b0c3..1b70572bd309 100755 --- a/dataplex/apiv1/dataplexpb/processing.pb.go +++ b/dataplex/apiv1/dataplexpb/processing.pb.go @@ -21,11 +21,12 @@ package dataplexpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/resources.pb.go b/dataplex/apiv1/dataplexpb/resources.pb.go index 185d256585df..173d5d784b7b 100755 --- a/dataplex/apiv1/dataplexpb/resources.pb.go +++ b/dataplex/apiv1/dataplexpb/resources.pb.go @@ -21,13 +21,14 @@ package dataplexpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/security.pb.go b/dataplex/apiv1/dataplexpb/security.pb.go index edd16e3e06d0..2d610561ab62 100755 --- a/dataplex/apiv1/dataplexpb/security.pb.go +++ b/dataplex/apiv1/dataplexpb/security.pb.go @@ -21,11 +21,12 @@ package dataplexpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/service.pb.go b/dataplex/apiv1/dataplexpb/service.pb.go index 47de677b5b80..14d47f6c8b10 100755 --- a/dataplex/apiv1/dataplexpb/service.pb.go +++ b/dataplex/apiv1/dataplexpb/service.pb.go @@ -21,8 +21,11 @@ package dataplexpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataplex/apiv1/dataplexpb/tasks.pb.go b/dataplex/apiv1/dataplexpb/tasks.pb.go index da1c9a7ef93d..d7729ad14458 100755 --- a/dataplex/apiv1/dataplexpb/tasks.pb.go +++ b/dataplex/apiv1/dataplexpb/tasks.pb.go @@ -21,13 +21,14 @@ package dataplexpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataplex/apiv1/doc.go b/dataplex/apiv1/doc.go index 5994ee7448bf..31a6c8430046 100755 --- a/dataplex/apiv1/doc.go +++ b/dataplex/apiv1/doc.go @@ -19,65 +19,66 @@ // // Dataplex API is used to manage the lifecycle of data lakes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dataplex.NewContentClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dataplex.NewContentClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dataplex.NewContentClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &dataplexpb.CreateContentRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/dataplex/apiv1/dataplexpb#CreateContentRequest. -// } -// resp, err := c.CreateContent(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dataplex.NewContentClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &dataplexpb.CreateContentRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/dataplex/apiv1/dataplexpb#CreateContentRequest. +// } +// resp, err := c.CreateContent(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewContentClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/dataproc/apiv1/dataprocpb/autoscaling_policies.pb.go b/dataproc/apiv1/dataprocpb/autoscaling_policies.pb.go index 354e3297828c..4968f9318398 100755 --- a/dataproc/apiv1/dataprocpb/autoscaling_policies.pb.go +++ b/dataproc/apiv1/dataprocpb/autoscaling_policies.pb.go @@ -22,6 +22,9 @@ package dataprocpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" emptypb "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataproc/apiv1/dataprocpb/batches.pb.go b/dataproc/apiv1/dataprocpb/batches.pb.go index c32f49061c69..f2ed422c6387 100755 --- a/dataproc/apiv1/dataprocpb/batches.pb.go +++ b/dataproc/apiv1/dataprocpb/batches.pb.go @@ -21,8 +21,11 @@ package dataprocpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataproc/apiv1/dataprocpb/clusters.pb.go b/dataproc/apiv1/dataprocpb/clusters.pb.go index 7836ce24dcb5..18cd5509a5d6 100755 --- a/dataproc/apiv1/dataprocpb/clusters.pb.go +++ b/dataproc/apiv1/dataprocpb/clusters.pb.go @@ -21,8 +21,11 @@ package dataprocpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" interval "google.golang.org/genproto/googleapis/type/interval" grpc "google.golang.org/grpc" @@ -35,8 +38,6 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" _ "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataproc/apiv1/dataprocpb/jobs.pb.go b/dataproc/apiv1/dataprocpb/jobs.pb.go index ac450001b767..7004976355d9 100755 --- a/dataproc/apiv1/dataprocpb/jobs.pb.go +++ b/dataproc/apiv1/dataprocpb/jobs.pb.go @@ -21,8 +21,11 @@ package dataprocpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataproc/apiv1/dataprocpb/node_groups.pb.go b/dataproc/apiv1/dataprocpb/node_groups.pb.go index 739a3505a2f7..50be24fbfe67 100755 --- a/dataproc/apiv1/dataprocpb/node_groups.pb.go +++ b/dataproc/apiv1/dataprocpb/node_groups.pb.go @@ -21,8 +21,11 @@ package dataprocpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataproc/apiv1/dataprocpb/operations.pb.go b/dataproc/apiv1/dataprocpb/operations.pb.go index 7bd509b872ce..83f078f4a4bb 100755 --- a/dataproc/apiv1/dataprocpb/operations.pb.go +++ b/dataproc/apiv1/dataprocpb/operations.pb.go @@ -21,12 +21,13 @@ package dataprocpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataproc/apiv1/dataprocpb/shared.pb.go b/dataproc/apiv1/dataprocpb/shared.pb.go index 08d3c3ac7f5b..dd26e88a0f87 100755 --- a/dataproc/apiv1/dataprocpb/shared.pb.go +++ b/dataproc/apiv1/dataprocpb/shared.pb.go @@ -21,13 +21,14 @@ package dataprocpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataproc/apiv1/dataprocpb/workflow_templates.pb.go b/dataproc/apiv1/dataprocpb/workflow_templates.pb.go index 3bb214a80bfc..fc5d6f30ea32 100755 --- a/dataproc/apiv1/dataprocpb/workflow_templates.pb.go +++ b/dataproc/apiv1/dataprocpb/workflow_templates.pb.go @@ -21,8 +21,11 @@ package dataprocpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataproc/apiv1/doc.go b/dataproc/apiv1/doc.go index a2f7fd9f6a18..fa3dd5ef717a 100755 --- a/dataproc/apiv1/doc.go +++ b/dataproc/apiv1/doc.go @@ -19,65 +19,66 @@ // // Manages Hadoop-based clusters and jobs on Google Cloud Platform. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dataproc.NewAutoscalingPolicyClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dataproc.NewAutoscalingPolicyClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dataproc.NewAutoscalingPolicyClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &dataprocpb.CreateAutoscalingPolicyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/dataproc/v2/apiv1/dataprocpb#CreateAutoscalingPolicyRequest. -// } -// resp, err := c.CreateAutoscalingPolicy(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dataproc.NewAutoscalingPolicyClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &dataprocpb.CreateAutoscalingPolicyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/dataproc/v2/apiv1/dataprocpb#CreateAutoscalingPolicyRequest. +// } +// resp, err := c.CreateAutoscalingPolicy(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewAutoscalingPolicyClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/dataqna/apiv1alpha/auxiliary.go b/dataqna/apiv1alpha/auxiliary.go index 411d22aad261..5d35bd513228 100755 --- a/dataqna/apiv1alpha/auxiliary.go +++ b/dataqna/apiv1alpha/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package dataqna - -import () diff --git a/dataqna/apiv1alpha/dataqnapb/annotated_string.pb.go b/dataqna/apiv1alpha/dataqnapb/annotated_string.pb.go index e0c404d8f3b6..eeddfada214b 100755 --- a/dataqna/apiv1alpha/dataqnapb/annotated_string.pb.go +++ b/dataqna/apiv1alpha/dataqnapb/annotated_string.pb.go @@ -21,10 +21,11 @@ package dataqnapb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( @@ -108,9 +109,9 @@ func (AnnotatedString_SemanticMarkupType) EnumDescriptor() ([]byte, []int) { // // User Query: // -// top countries by population in Africa +// top countries by population in Africa // -// 0 4 14 17 28 31 37 +// 0 4 14 17 28 31 37 // // Table Data: // @@ -121,13 +122,16 @@ func (AnnotatedString_SemanticMarkupType) EnumDescriptor() ([]byte, []int) { // text_formatted = `"top countries by population in Africa"` // // html_formatted = -// `"top countries by population in Africa"` +// +// `"top countries by population in Africa"` // // ``` // markups = [ -// {DIMENSION, 4, 12}, // 'countries' -// {METRIC, 17, 26}, // 'population' -// {FILTER, 31, 36} // 'Africa' +// +// {DIMENSION, 4, 12}, // 'countries' +// {METRIC, 17, 26}, // 'population' +// {FILTER, 31, 36} // 'Africa' +// // ] // ``` // diff --git a/dataqna/apiv1alpha/dataqnapb/auto_suggestion_service.pb.go b/dataqna/apiv1alpha/dataqnapb/auto_suggestion_service.pb.go index 7e0ed32c7263..0e7ea5cbd1fd 100755 --- a/dataqna/apiv1alpha/dataqnapb/auto_suggestion_service.pb.go +++ b/dataqna/apiv1alpha/dataqnapb/auto_suggestion_service.pb.go @@ -22,14 +22,15 @@ package dataqnapb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( @@ -365,19 +366,21 @@ func (x *SuggestQueriesResponse) GetSuggestions() []*Suggestion { // user query: `top products` // // ``` -// annotated_suggestion { -// text_formatted = "top product_group" -// html_formatted = "top product_group" -// markups { -// {type: TEXT, start_char_index: 0, length: 3} -// {type: DIMENSION, start_char_index: 4, length: 13} -// } -// } // -// query_matches { -// { start_char_index: 0, length: 3 } -// { start_char_index: 4, length: 7} -// } +// annotated_suggestion { +// text_formatted = "top product_group" +// html_formatted = "top product_group" +// markups { +// {type: TEXT, start_char_index: 0, length: 3} +// {type: DIMENSION, start_char_index: 4, length: 13} +// } +// } +// +// query_matches { +// { start_char_index: 0, length: 3 } +// { start_char_index: 4, length: 7} +// } +// // ``` type SuggestionInfo_MatchInfo struct { state protoimpl.MessageState diff --git a/dataqna/apiv1alpha/dataqnapb/question.pb.go b/dataqna/apiv1alpha/dataqnapb/question.pb.go index f373ff9d3a5b..b13022a03cdd 100755 --- a/dataqna/apiv1alpha/dataqnapb/question.pb.go +++ b/dataqna/apiv1alpha/dataqnapb/question.pb.go @@ -21,14 +21,15 @@ package dataqnapb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataqna/apiv1alpha/dataqnapb/question_service.pb.go b/dataqna/apiv1alpha/dataqnapb/question_service.pb.go index 540fbb4cbd32..1251276534a6 100755 --- a/dataqna/apiv1alpha/dataqnapb/question_service.pb.go +++ b/dataqna/apiv1alpha/dataqnapb/question_service.pb.go @@ -22,6 +22,9 @@ package dataqnapb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataqna/apiv1alpha/dataqnapb/user_feedback.pb.go b/dataqna/apiv1alpha/dataqnapb/user_feedback.pb.go index 1d778ba97b0c..225b2f5612b5 100755 --- a/dataqna/apiv1alpha/dataqnapb/user_feedback.pb.go +++ b/dataqna/apiv1alpha/dataqnapb/user_feedback.pb.go @@ -21,11 +21,12 @@ package dataqnapb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/dataqna/apiv1alpha/doc.go b/dataqna/apiv1alpha/doc.go index c1e1c77ae214..d9e78f59e018 100755 --- a/dataqna/apiv1alpha/doc.go +++ b/dataqna/apiv1alpha/doc.go @@ -20,67 +20,68 @@ // Data QnA is a natural language question and answer service for BigQuery // data. // -// NOTE: This package is in alpha. It is not stable, and is likely to change. +// NOTE: This package is in alpha. It is not stable, and is likely to change. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dataqna.NewAutoSuggestionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dataqna.NewAutoSuggestionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dataqna.NewAutoSuggestionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &dataqnapb.SuggestQueriesRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/dataqna/apiv1alpha/dataqnapb#SuggestQueriesRequest. -// } -// resp, err := c.SuggestQueries(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dataqna.NewAutoSuggestionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &dataqnapb.SuggestQueriesRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/dataqna/apiv1alpha/dataqnapb#SuggestQueriesRequest. +// } +// resp, err := c.SuggestQueries(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewAutoSuggestionClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/datastore/admin/apiv1/adminpb/datastore_admin.pb.go b/datastore/admin/apiv1/adminpb/datastore_admin.pb.go index 280b2f069a24..1562e4feab73 100755 --- a/datastore/admin/apiv1/adminpb/datastore_admin.pb.go +++ b/datastore/admin/apiv1/adminpb/datastore_admin.pb.go @@ -21,8 +21,11 @@ package adminpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -747,19 +748,24 @@ func (x *ImportEntitiesMetadata) GetInputUrl() string { // Example usage: // // Entire project: -// kinds=[], namespace_ids=[] +// +// kinds=[], namespace_ids=[] // // Kinds Foo and Bar in all namespaces: -// kinds=['Foo', 'Bar'], namespace_ids=[] +// +// kinds=['Foo', 'Bar'], namespace_ids=[] // // Kinds Foo and Bar only in the default namespace: -// kinds=['Foo', 'Bar'], namespace_ids=[''] +// +// kinds=['Foo', 'Bar'], namespace_ids=[''] // // Kinds Foo and Bar in both the default and Baz namespaces: -// kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz'] +// +// kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz'] // // The entire Baz namespace: -// kinds=[], namespace_ids=['Baz'] +// +// kinds=[], namespace_ids=['Baz'] type EntityFilter struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/datastore/admin/apiv1/adminpb/index.pb.go b/datastore/admin/apiv1/adminpb/index.pb.go index 8d7ac2a28d6f..b7c6a8a73335 100755 --- a/datastore/admin/apiv1/adminpb/index.pb.go +++ b/datastore/admin/apiv1/adminpb/index.pb.go @@ -21,11 +21,12 @@ package adminpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/datastore/admin/apiv1/adminpb/migration.pb.go b/datastore/admin/apiv1/adminpb/migration.pb.go index 0bc7ef8dcdb0..0528a8502e8b 100755 --- a/datastore/admin/apiv1/adminpb/migration.pb.go +++ b/datastore/admin/apiv1/adminpb/migration.pb.go @@ -21,10 +21,11 @@ package adminpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/datastore/admin/apiv1/datastore_admin_client.go b/datastore/admin/apiv1/datastore_admin_client.go index 4dc083fecd48..ed259fa9cdf6 100755 --- a/datastore/admin/apiv1/datastore_admin_client.go +++ b/datastore/admin/apiv1/datastore_admin_client.go @@ -187,7 +187,7 @@ type internalDatastoreAdminClient interface { // DatastoreAdminClient is a client for interacting with Cloud Datastore API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// Google Cloud Datastore Admin API +// # Google Cloud Datastore Admin API // // The Datastore Admin API provides several admin services for Cloud Datastore. // @@ -202,46 +202,46 @@ type internalDatastoreAdminClient interface { // // Export/Import Service: // -// The Export/Import service provides the ability to copy all or a subset of -// entities to/from Google Cloud Storage. +// The Export/Import service provides the ability to copy all or a subset of +// entities to/from Google Cloud Storage. // -// Exported data may be imported into Cloud Datastore for any Google Cloud -// Platform project. It is not restricted to the export source project. It is -// possible to export from one project and then import into another. +// Exported data may be imported into Cloud Datastore for any Google Cloud +// Platform project. It is not restricted to the export source project. It is +// possible to export from one project and then import into another. // -// Exported data can also be loaded into Google BigQuery for analysis. +// Exported data can also be loaded into Google BigQuery for analysis. // -// Exports and imports are performed asynchronously. An Operation resource is -// created for each export/import. The state (including any errors encountered) -// of the export/import may be queried via the Operation resource. +// Exports and imports are performed asynchronously. An Operation resource is +// created for each export/import. The state (including any errors encountered) +// of the export/import may be queried via the Operation resource. // // Index Service: // -// The index service manages Cloud Datastore composite indexes. +// The index service manages Cloud Datastore composite indexes. // -// Index creation and deletion are performed asynchronously. -// An Operation resource is created for each such asynchronous operation. -// The state of the operation (including any errors encountered) -// may be queried via the Operation resource. +// Index creation and deletion are performed asynchronously. +// An Operation resource is created for each such asynchronous operation. +// The state of the operation (including any errors encountered) +// may be queried via the Operation resource. // // Operation Service: // -// The Operations collection provides a record of actions performed for the -// specified project (including any operations in progress). Operations are not -// created directly but through calls on other collections or resources. +// The Operations collection provides a record of actions performed for the +// specified project (including any operations in progress). Operations are not +// created directly but through calls on other collections or resources. // -// An operation that is not yet done may be cancelled. The request to cancel -// is asynchronous and the operation may continue to run for some time after the -// request to cancel is made. +// An operation that is not yet done may be cancelled. The request to cancel +// is asynchronous and the operation may continue to run for some time after the +// request to cancel is made. // -// An operation that is done may be deleted so that it is no longer listed as -// part of the Operation collection. +// An operation that is done may be deleted so that it is no longer listed as +// part of the Operation collection. // -// ListOperations returns all pending operations, but not completed -// operations. +// ListOperations returns all pending operations, but not completed +// operations. // -// Operations are created by service DatastoreAdmin, but are accessed via -// service google.longrunning.Operations. +// Operations are created by service DatastoreAdmin, but are accessed via +// service google.longrunning.Operations. type DatastoreAdminClient struct { // The internal transport-dependent client. internalClient internalDatastoreAdminClient @@ -415,7 +415,7 @@ type datastoreAdminGRPCClient struct { // NewDatastoreAdminClient creates a new datastore admin client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// Google Cloud Datastore Admin API +// # Google Cloud Datastore Admin API // // The Datastore Admin API provides several admin services for Cloud Datastore. // @@ -430,46 +430,46 @@ type datastoreAdminGRPCClient struct { // // Export/Import Service: // -// The Export/Import service provides the ability to copy all or a subset of -// entities to/from Google Cloud Storage. +// The Export/Import service provides the ability to copy all or a subset of +// entities to/from Google Cloud Storage. // -// Exported data may be imported into Cloud Datastore for any Google Cloud -// Platform project. It is not restricted to the export source project. It is -// possible to export from one project and then import into another. +// Exported data may be imported into Cloud Datastore for any Google Cloud +// Platform project. It is not restricted to the export source project. It is +// possible to export from one project and then import into another. // -// Exported data can also be loaded into Google BigQuery for analysis. +// Exported data can also be loaded into Google BigQuery for analysis. // -// Exports and imports are performed asynchronously. An Operation resource is -// created for each export/import. The state (including any errors encountered) -// of the export/import may be queried via the Operation resource. +// Exports and imports are performed asynchronously. An Operation resource is +// created for each export/import. The state (including any errors encountered) +// of the export/import may be queried via the Operation resource. // // Index Service: // -// The index service manages Cloud Datastore composite indexes. +// The index service manages Cloud Datastore composite indexes. // -// Index creation and deletion are performed asynchronously. -// An Operation resource is created for each such asynchronous operation. -// The state of the operation (including any errors encountered) -// may be queried via the Operation resource. +// Index creation and deletion are performed asynchronously. +// An Operation resource is created for each such asynchronous operation. +// The state of the operation (including any errors encountered) +// may be queried via the Operation resource. // // Operation Service: // -// The Operations collection provides a record of actions performed for the -// specified project (including any operations in progress). Operations are not -// created directly but through calls on other collections or resources. +// The Operations collection provides a record of actions performed for the +// specified project (including any operations in progress). Operations are not +// created directly but through calls on other collections or resources. // -// An operation that is not yet done may be cancelled. The request to cancel -// is asynchronous and the operation may continue to run for some time after the -// request to cancel is made. +// An operation that is not yet done may be cancelled. The request to cancel +// is asynchronous and the operation may continue to run for some time after the +// request to cancel is made. // -// An operation that is done may be deleted so that it is no longer listed as -// part of the Operation collection. +// An operation that is done may be deleted so that it is no longer listed as +// part of the Operation collection. // -// ListOperations returns all pending operations, but not completed -// operations. +// ListOperations returns all pending operations, but not completed +// operations. // -// Operations are created by service DatastoreAdmin, but are accessed via -// service google.longrunning.Operations. +// Operations are created by service DatastoreAdmin, but are accessed via +// service google.longrunning.Operations. func NewDatastoreAdminClient(ctx context.Context, opts ...option.ClientOption) (*DatastoreAdminClient, error) { clientOpts := defaultDatastoreAdminGRPCClientOptions() if newDatastoreAdminClientHook != nil { @@ -555,7 +555,7 @@ type datastoreAdminRESTClient struct { // NewDatastoreAdminRESTClient creates a new datastore admin rest client. // -// Google Cloud Datastore Admin API +// # Google Cloud Datastore Admin API // // The Datastore Admin API provides several admin services for Cloud Datastore. // @@ -570,46 +570,46 @@ type datastoreAdminRESTClient struct { // // Export/Import Service: // -// The Export/Import service provides the ability to copy all or a subset of -// entities to/from Google Cloud Storage. +// The Export/Import service provides the ability to copy all or a subset of +// entities to/from Google Cloud Storage. // -// Exported data may be imported into Cloud Datastore for any Google Cloud -// Platform project. It is not restricted to the export source project. It is -// possible to export from one project and then import into another. +// Exported data may be imported into Cloud Datastore for any Google Cloud +// Platform project. It is not restricted to the export source project. It is +// possible to export from one project and then import into another. // -// Exported data can also be loaded into Google BigQuery for analysis. +// Exported data can also be loaded into Google BigQuery for analysis. // -// Exports and imports are performed asynchronously. An Operation resource is -// created for each export/import. The state (including any errors encountered) -// of the export/import may be queried via the Operation resource. +// Exports and imports are performed asynchronously. An Operation resource is +// created for each export/import. The state (including any errors encountered) +// of the export/import may be queried via the Operation resource. // // Index Service: // -// The index service manages Cloud Datastore composite indexes. +// The index service manages Cloud Datastore composite indexes. // -// Index creation and deletion are performed asynchronously. -// An Operation resource is created for each such asynchronous operation. -// The state of the operation (including any errors encountered) -// may be queried via the Operation resource. +// Index creation and deletion are performed asynchronously. +// An Operation resource is created for each such asynchronous operation. +// The state of the operation (including any errors encountered) +// may be queried via the Operation resource. // // Operation Service: // -// The Operations collection provides a record of actions performed for the -// specified project (including any operations in progress). Operations are not -// created directly but through calls on other collections or resources. +// The Operations collection provides a record of actions performed for the +// specified project (including any operations in progress). Operations are not +// created directly but through calls on other collections or resources. // -// An operation that is not yet done may be cancelled. The request to cancel -// is asynchronous and the operation may continue to run for some time after the -// request to cancel is made. +// An operation that is not yet done may be cancelled. The request to cancel +// is asynchronous and the operation may continue to run for some time after the +// request to cancel is made. // -// An operation that is done may be deleted so that it is no longer listed as -// part of the Operation collection. +// An operation that is done may be deleted so that it is no longer listed as +// part of the Operation collection. // -// ListOperations returns all pending operations, but not completed -// operations. +// ListOperations returns all pending operations, but not completed +// operations. // -// Operations are created by service DatastoreAdmin, but are accessed via -// service google.longrunning.Operations. +// Operations are created by service DatastoreAdmin, but are accessed via +// service google.longrunning.Operations. func NewDatastoreAdminRESTClient(ctx context.Context, opts ...option.ClientOption) (*DatastoreAdminClient, error) { clientOpts := append(defaultDatastoreAdminRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/datastore/admin/apiv1/doc.go b/datastore/admin/apiv1/doc.go index 002374aac692..57d7191b2c8a 100755 --- a/datastore/admin/apiv1/doc.go +++ b/datastore/admin/apiv1/doc.go @@ -20,70 +20,71 @@ // Accesses the schemaless NoSQL database to provide fully managed, robust, // scalable storage for your application. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := admin.NewDatastoreAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := admin.NewDatastoreAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := admin.NewDatastoreAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &adminpb.CreateIndexRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/datastore/admin/apiv1/adminpb#CreateIndexRequest. -// } -// op, err := c.CreateIndex(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := admin.NewDatastoreAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &adminpb.CreateIndexRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/datastore/admin/apiv1/adminpb#CreateIndexRequest. +// } +// op, err := c.CreateIndex(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewDatastoreAdminClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/datastream/apiv1/datastreampb/datastream.pb.go b/datastream/apiv1/datastreampb/datastream.pb.go index 875729bff6f1..008d34911b3c 100755 --- a/datastream/apiv1/datastreampb/datastream.pb.go +++ b/datastream/apiv1/datastreampb/datastream.pb.go @@ -21,8 +21,11 @@ package datastreampb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/datastream/apiv1/datastreampb/datastream_resources.pb.go b/datastream/apiv1/datastreampb/datastream_resources.pb.go index 6c790fd7a7a5..f75bd921742d 100755 --- a/datastream/apiv1/datastreampb/datastream_resources.pb.go +++ b/datastream/apiv1/datastreampb/datastream_resources.pb.go @@ -21,13 +21,14 @@ package datastreampb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/datastream/apiv1/doc.go b/datastream/apiv1/doc.go index 9e6dd38ba610..cc6069f7c175 100755 --- a/datastream/apiv1/doc.go +++ b/datastream/apiv1/doc.go @@ -17,70 +17,71 @@ // Package datastream is an auto-generated package for the // Datastream API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datastream.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datastream.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datastream.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &datastreampb.CreateConnectionProfileRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/datastream/apiv1/datastreampb#CreateConnectionProfileRequest. -// } -// op, err := c.CreateConnectionProfile(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datastream.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &datastreampb.CreateConnectionProfileRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/datastream/apiv1/datastreampb#CreateConnectionProfileRequest. +// } +// op, err := c.CreateConnectionProfile(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/datastream/apiv1alpha1/datastreampb/datastream.pb.go b/datastream/apiv1alpha1/datastreampb/datastream.pb.go index 577ca3036400..8d4126a1a2a1 100755 --- a/datastream/apiv1alpha1/datastreampb/datastream.pb.go +++ b/datastream/apiv1alpha1/datastreampb/datastream.pb.go @@ -21,8 +21,11 @@ package datastreampb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/datastream/apiv1alpha1/datastreampb/datastream_resources.pb.go b/datastream/apiv1alpha1/datastreampb/datastream_resources.pb.go index 99859b18c714..56abd2a9baea 100755 --- a/datastream/apiv1alpha1/datastreampb/datastream_resources.pb.go +++ b/datastream/apiv1alpha1/datastreampb/datastream_resources.pb.go @@ -21,13 +21,14 @@ package datastreampb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/datastream/apiv1alpha1/doc.go b/datastream/apiv1alpha1/doc.go index e654dc08a019..501e9a2ce006 100755 --- a/datastream/apiv1alpha1/doc.go +++ b/datastream/apiv1alpha1/doc.go @@ -17,72 +17,73 @@ // Package datastream is an auto-generated package for the // Datastream API. // -// NOTE: This package is in alpha. It is not stable, and is likely to change. +// NOTE: This package is in alpha. It is not stable, and is likely to change. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datastream.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datastream.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := datastream.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &datastreampb.CreateConnectionProfileRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/datastream/apiv1alpha1/datastreampb#CreateConnectionProfileRequest. -// } -// op, err := c.CreateConnectionProfile(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := datastream.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &datastreampb.CreateConnectionProfileRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/datastream/apiv1alpha1/datastreampb#CreateConnectionProfileRequest. +// } +// op, err := c.CreateConnectionProfile(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/deploy/apiv1/deploypb/automation_payload.pb.go b/deploy/apiv1/deploypb/automation_payload.pb.go index 7df6aa614c22..bf1b5c377c24 100755 --- a/deploy/apiv1/deploypb/automation_payload.pb.go +++ b/deploy/apiv1/deploypb/automation_payload.pb.go @@ -21,10 +21,11 @@ package deploypb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/deploy/apiv1/deploypb/automationrun_payload.pb.go b/deploy/apiv1/deploypb/automationrun_payload.pb.go index 49c95ddb9371..3150bca61fe7 100755 --- a/deploy/apiv1/deploypb/automationrun_payload.pb.go +++ b/deploy/apiv1/deploypb/automationrun_payload.pb.go @@ -21,10 +21,11 @@ package deploypb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/deploy/apiv1/deploypb/cloud_deploy.pb.go b/deploy/apiv1/deploypb/cloud_deploy.pb.go index f30c004005e5..2fefa42db985 100755 --- a/deploy/apiv1/deploypb/cloud_deploy.pb.go +++ b/deploy/apiv1/deploypb/cloud_deploy.pb.go @@ -21,8 +21,11 @@ package deploypb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" grpc "google.golang.org/grpc" @@ -34,8 +37,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/deploy/apiv1/deploypb/deliverypipeline_notification_payload.pb.go b/deploy/apiv1/deploypb/deliverypipeline_notification_payload.pb.go index 039d16ad708e..9bc3d2b48094 100755 --- a/deploy/apiv1/deploypb/deliverypipeline_notification_payload.pb.go +++ b/deploy/apiv1/deploypb/deliverypipeline_notification_payload.pb.go @@ -21,10 +21,11 @@ package deploypb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/deploy/apiv1/deploypb/jobrun_notification_payload.pb.go b/deploy/apiv1/deploypb/jobrun_notification_payload.pb.go index ce11337bd629..5d4568f63d51 100755 --- a/deploy/apiv1/deploypb/jobrun_notification_payload.pb.go +++ b/deploy/apiv1/deploypb/jobrun_notification_payload.pb.go @@ -21,10 +21,11 @@ package deploypb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/deploy/apiv1/deploypb/log_enums.pb.go b/deploy/apiv1/deploypb/log_enums.pb.go index a94af6ec3e30..f6825556393c 100755 --- a/deploy/apiv1/deploypb/log_enums.pb.go +++ b/deploy/apiv1/deploypb/log_enums.pb.go @@ -21,10 +21,11 @@ package deploypb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/deploy/apiv1/deploypb/release_notification_payload.pb.go b/deploy/apiv1/deploypb/release_notification_payload.pb.go index 5ea04ae0e186..a16ac9c6c831 100755 --- a/deploy/apiv1/deploypb/release_notification_payload.pb.go +++ b/deploy/apiv1/deploypb/release_notification_payload.pb.go @@ -21,10 +21,11 @@ package deploypb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/deploy/apiv1/deploypb/release_render_payload.pb.go b/deploy/apiv1/deploypb/release_render_payload.pb.go index 309615243f5b..dae0717a5d0b 100755 --- a/deploy/apiv1/deploypb/release_render_payload.pb.go +++ b/deploy/apiv1/deploypb/release_render_payload.pb.go @@ -21,10 +21,11 @@ package deploypb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/deploy/apiv1/deploypb/rollout_notification_payload.pb.go b/deploy/apiv1/deploypb/rollout_notification_payload.pb.go index 5e1871ea5753..f42080afa0d4 100755 --- a/deploy/apiv1/deploypb/rollout_notification_payload.pb.go +++ b/deploy/apiv1/deploypb/rollout_notification_payload.pb.go @@ -21,10 +21,11 @@ package deploypb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/deploy/apiv1/deploypb/rollout_update_payload.pb.go b/deploy/apiv1/deploypb/rollout_update_payload.pb.go index da9f8c100925..d3a977688639 100755 --- a/deploy/apiv1/deploypb/rollout_update_payload.pb.go +++ b/deploy/apiv1/deploypb/rollout_update_payload.pb.go @@ -21,10 +21,11 @@ package deploypb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/deploy/apiv1/deploypb/target_notification_payload.pb.go b/deploy/apiv1/deploypb/target_notification_payload.pb.go index eca6bf8b7f0c..9a4dc05c8cd2 100755 --- a/deploy/apiv1/deploypb/target_notification_payload.pb.go +++ b/deploy/apiv1/deploypb/target_notification_payload.pb.go @@ -21,10 +21,11 @@ package deploypb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/deploy/apiv1/doc.go b/deploy/apiv1/doc.go index c0e985da0c0b..dbd3b3c160be 100755 --- a/deploy/apiv1/doc.go +++ b/deploy/apiv1/doc.go @@ -17,65 +17,66 @@ // Package deploy is an auto-generated package for the // Cloud Deploy API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := deploy.NewCloudDeployClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := deploy.NewCloudDeployClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := deploy.NewCloudDeployClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &deploypb.AbandonReleaseRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/deploy/apiv1/deploypb#AbandonReleaseRequest. -// } -// resp, err := c.AbandonRelease(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := deploy.NewCloudDeployClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &deploypb.AbandonReleaseRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/deploy/apiv1/deploypb#AbandonReleaseRequest. +// } +// resp, err := c.AbandonRelease(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewCloudDeployClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/dialogflow/apiv2/agents_client.go b/dialogflow/apiv2/agents_client.go index 84f89edf956a..7699c7566380 100755 --- a/dialogflow/apiv2/agents_client.go +++ b/dialogflow/apiv2/agents_client.go @@ -404,11 +404,11 @@ func (c *AgentsClient) SearchAgents(ctx context.Context, req *dialogflowpb.Searc // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -429,11 +429,11 @@ func (c *AgentsClient) TrainAgentOperation(name string) *TrainAgentOperation { // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ExportAgentResponse +// response: +// ExportAgentResponse func (c *AgentsClient) ExportAgent(ctx context.Context, req *dialogflowpb.ExportAgentRequest, opts ...gax.CallOption) (*ExportAgentOperation, error) { return c.internalClient.ExportAgent(ctx, req, opts...) } @@ -460,11 +460,11 @@ func (c *AgentsClient) ExportAgentOperation(name string) *ExportAgentOperation { // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // The operation only tracks when importing is complete, not when it is done // training. @@ -496,11 +496,11 @@ func (c *AgentsClient) ImportAgentOperation(name string) *ImportAgentOperation { // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // The operation only tracks when restoring is complete, not when it is done // training. @@ -1343,11 +1343,11 @@ func (c *agentsRESTClient) SearchAgents(ctx context.Context, req *dialogflowpb.S // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1427,11 +1427,11 @@ func (c *agentsRESTClient) TrainAgent(ctx context.Context, req *dialogflowpb.Tra // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ExportAgentResponse +// response: +// ExportAgentResponse func (c *agentsRESTClient) ExportAgent(ctx context.Context, req *dialogflowpb.ExportAgentRequest, opts ...gax.CallOption) (*ExportAgentOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1517,11 +1517,11 @@ func (c *agentsRESTClient) ExportAgent(ctx context.Context, req *dialogflowpb.Ex // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // The operation only tracks when importing is complete, not when it is done // training. @@ -1612,11 +1612,11 @@ func (c *agentsRESTClient) ImportAgent(ctx context.Context, req *dialogflowpb.Im // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // The operation only tracks when restoring is complete, not when it is done // training. diff --git a/dialogflow/apiv2/conversation_datasets_client.go b/dialogflow/apiv2/conversation_datasets_client.go index a9da1fd2b2e0..473664c92bc4 100755 --- a/dialogflow/apiv2/conversation_datasets_client.go +++ b/dialogflow/apiv2/conversation_datasets_client.go @@ -276,11 +276,11 @@ func (c *ConversationDatasetsClient) Connection() *grpc.ClientConn { // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// CreateConversationDatasetOperationMetadata +// metadata: +// CreateConversationDatasetOperationMetadata // -// response: -// ConversationDataset +// response: +// ConversationDataset func (c *ConversationDatasetsClient) CreateConversationDataset(ctx context.Context, req *dialogflowpb.CreateConversationDatasetRequest, opts ...gax.CallOption) (*CreateConversationDatasetOperation, error) { return c.internalClient.CreateConversationDataset(ctx, req, opts...) } @@ -308,11 +308,11 @@ func (c *ConversationDatasetsClient) ListConversationDatasets(ctx context.Contex // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// DeleteConversationDatasetOperationMetadata +// metadata: +// DeleteConversationDatasetOperationMetadata // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *ConversationDatasetsClient) DeleteConversationDataset(ctx context.Context, req *dialogflowpb.DeleteConversationDatasetRequest, opts ...gax.CallOption) (*DeleteConversationDatasetOperation, error) { return c.internalClient.DeleteConversationDataset(ctx, req, opts...) } @@ -331,11 +331,11 @@ func (c *ConversationDatasetsClient) DeleteConversationDatasetOperation(name str // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// ImportConversationDataOperationMetadata +// metadata: +// ImportConversationDataOperationMetadata // -// response: -// ImportConversationDataOperationResponse +// response: +// ImportConversationDataOperationResponse func (c *ConversationDatasetsClient) ImportConversationData(ctx context.Context, req *dialogflowpb.ImportConversationDataRequest, opts ...gax.CallOption) (*ImportConversationDataOperation, error) { return c.internalClient.ImportConversationData(ctx, req, opts...) } @@ -826,11 +826,11 @@ func (c *conversationDatasetsGRPCClient) ListOperations(ctx context.Context, req // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// CreateConversationDatasetOperationMetadata +// metadata: +// CreateConversationDatasetOperationMetadata // -// response: -// ConversationDataset +// response: +// ConversationDataset func (c *conversationDatasetsRESTClient) CreateConversationDataset(ctx context.Context, req *dialogflowpb.CreateConversationDatasetRequest, opts ...gax.CallOption) (*CreateConversationDatasetOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetConversationDataset() @@ -1057,11 +1057,11 @@ func (c *conversationDatasetsRESTClient) ListConversationDatasets(ctx context.Co // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// DeleteConversationDatasetOperationMetadata +// metadata: +// DeleteConversationDatasetOperationMetadata // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *conversationDatasetsRESTClient) DeleteConversationDataset(ctx context.Context, req *dialogflowpb.DeleteConversationDatasetRequest, opts ...gax.CallOption) (*DeleteConversationDatasetOperation, error) { baseUrl, err := url.Parse(c.endpoint) if err != nil { @@ -1133,11 +1133,11 @@ func (c *conversationDatasetsRESTClient) DeleteConversationDataset(ctx context.C // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// ImportConversationDataOperationMetadata +// metadata: +// ImportConversationDataOperationMetadata // -// response: -// ImportConversationDataOperationResponse +// response: +// ImportConversationDataOperationResponse func (c *conversationDatasetsRESTClient) ImportConversationData(ctx context.Context, req *dialogflowpb.ImportConversationDataRequest, opts ...gax.CallOption) (*ImportConversationDataOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/dialogflow/apiv2/conversation_models_client.go b/dialogflow/apiv2/conversation_models_client.go index daecdc0356ad..c054dd4249b6 100755 --- a/dialogflow/apiv2/conversation_models_client.go +++ b/dialogflow/apiv2/conversation_models_client.go @@ -375,11 +375,11 @@ func (c *ConversationModelsClient) Connection() *grpc.ClientConn { // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// CreateConversationModelOperationMetadata +// metadata: +// CreateConversationModelOperationMetadata // -// response: -// ConversationModel +// response: +// ConversationModel func (c *ConversationModelsClient) CreateConversationModel(ctx context.Context, req *dialogflowpb.CreateConversationModelRequest, opts ...gax.CallOption) (*CreateConversationModelOperation, error) { return c.internalClient.CreateConversationModel(ctx, req, opts...) } @@ -406,11 +406,11 @@ func (c *ConversationModelsClient) ListConversationModels(ctx context.Context, r // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// DeleteConversationModelOperationMetadata +// metadata: +// DeleteConversationModelOperationMetadata // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *ConversationModelsClient) DeleteConversationModel(ctx context.Context, req *dialogflowpb.DeleteConversationModelRequest, opts ...gax.CallOption) (*DeleteConversationModelOperation, error) { return c.internalClient.DeleteConversationModel(ctx, req, opts...) } @@ -430,11 +430,11 @@ func (c *ConversationModelsClient) DeleteConversationModelOperation(name string) // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// DeployConversationModelOperationMetadata +// metadata: +// DeployConversationModelOperationMetadata // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *ConversationModelsClient) DeployConversationModel(ctx context.Context, req *dialogflowpb.DeployConversationModelRequest, opts ...gax.CallOption) (*DeployConversationModelOperation, error) { return c.internalClient.DeployConversationModel(ctx, req, opts...) } @@ -448,18 +448,18 @@ func (c *ConversationModelsClient) DeployConversationModelOperation(name string) // UndeployConversationModel undeploys a model. If the model is not deployed this method has no effect. // If the model is currently being used: // -// For article suggestion, article suggestion will fallback to the default -// model if model is undeployed. +// For article suggestion, article suggestion will fallback to the default +// model if model is undeployed. // // This method is a long-running // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// UndeployConversationModelOperationMetadata +// metadata: +// UndeployConversationModelOperationMetadata // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *ConversationModelsClient) UndeployConversationModel(ctx context.Context, req *dialogflowpb.UndeployConversationModelRequest, opts ...gax.CallOption) (*UndeployConversationModelOperation, error) { return c.internalClient.UndeployConversationModel(ctx, req, opts...) } @@ -1069,11 +1069,11 @@ func (c *conversationModelsGRPCClient) ListOperations(ctx context.Context, req * // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// CreateConversationModelOperationMetadata +// metadata: +// CreateConversationModelOperationMetadata // -// response: -// ConversationModel +// response: +// ConversationModel func (c *conversationModelsRESTClient) CreateConversationModel(ctx context.Context, req *dialogflowpb.CreateConversationModelRequest, opts ...gax.CallOption) (*CreateConversationModelOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetConversationModel() @@ -1299,11 +1299,11 @@ func (c *conversationModelsRESTClient) ListConversationModels(ctx context.Contex // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// DeleteConversationModelOperationMetadata +// metadata: +// DeleteConversationModelOperationMetadata // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *conversationModelsRESTClient) DeleteConversationModel(ctx context.Context, req *dialogflowpb.DeleteConversationModelRequest, opts ...gax.CallOption) (*DeleteConversationModelOperation, error) { baseUrl, err := url.Parse(c.endpoint) if err != nil { @@ -1376,11 +1376,11 @@ func (c *conversationModelsRESTClient) DeleteConversationModel(ctx context.Conte // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// DeployConversationModelOperationMetadata +// metadata: +// DeployConversationModelOperationMetadata // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *conversationModelsRESTClient) DeployConversationModel(ctx context.Context, req *dialogflowpb.DeployConversationModelRequest, opts ...gax.CallOption) (*DeployConversationModelOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1453,18 +1453,18 @@ func (c *conversationModelsRESTClient) DeployConversationModel(ctx context.Conte // UndeployConversationModel undeploys a model. If the model is not deployed this method has no effect. // If the model is currently being used: // -// For article suggestion, article suggestion will fallback to the default -// model if model is undeployed. +// For article suggestion, article suggestion will fallback to the default +// model if model is undeployed. // // This method is a long-running // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// UndeployConversationModelOperationMetadata +// metadata: +// UndeployConversationModelOperationMetadata // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *conversationModelsRESTClient) UndeployConversationModel(ctx context.Context, req *dialogflowpb.UndeployConversationModelRequest, opts ...gax.CallOption) (*UndeployConversationModelOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/dialogflow/apiv2/conversation_profiles_client.go b/dialogflow/apiv2/conversation_profiles_client.go index 8949df7dbb52..8c220f1f6b06 100755 --- a/dialogflow/apiv2/conversation_profiles_client.go +++ b/dialogflow/apiv2/conversation_profiles_client.go @@ -361,11 +361,11 @@ func (c *ConversationProfilesClient) DeleteConversationProfile(ctx context.Conte // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// SetSuggestionFeatureConfigOperationMetadata +// metadata: +// SetSuggestionFeatureConfigOperationMetadata // -// response: -// ConversationProfile +// response: +// ConversationProfile // // If a long running operation to add or update suggestion feature // config for the same conversation profile, participant role and suggestion @@ -388,11 +388,11 @@ func (c *ConversationProfilesClient) SetSuggestionFeatureConfigOperation(name st // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// ClearSuggestionFeatureConfigOperationMetadata +// metadata: +// ClearSuggestionFeatureConfigOperationMetadata // -// response: -// ConversationProfile +// response: +// ConversationProfile func (c *ConversationProfilesClient) ClearSuggestionFeatureConfig(ctx context.Context, req *dialogflowpb.ClearSuggestionFeatureConfigRequest, opts ...gax.CallOption) (*ClearSuggestionFeatureConfigOperation, error) { return c.internalClient.ClearSuggestionFeatureConfig(ctx, req, opts...) } @@ -1254,11 +1254,11 @@ func (c *conversationProfilesRESTClient) DeleteConversationProfile(ctx context.C // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// SetSuggestionFeatureConfigOperationMetadata +// metadata: +// SetSuggestionFeatureConfigOperationMetadata // -// response: -// ConversationProfile +// response: +// ConversationProfile // // If a long running operation to add or update suggestion feature // config for the same conversation profile, participant role and suggestion @@ -1340,11 +1340,11 @@ func (c *conversationProfilesRESTClient) SetSuggestionFeatureConfig(ctx context. // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// ClearSuggestionFeatureConfigOperationMetadata +// metadata: +// ClearSuggestionFeatureConfigOperationMetadata // -// response: -// ConversationProfile +// response: +// ConversationProfile func (c *conversationProfilesRESTClient) ClearSuggestionFeatureConfig(ctx context.Context, req *dialogflowpb.ClearSuggestionFeatureConfigRequest, opts ...gax.CallOption) (*ClearSuggestionFeatureConfigOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/dialogflow/apiv2/dialogflowpb/agent.pb.go b/dialogflow/apiv2/dialogflowpb/agent.pb.go index 03d4ae2eeeb4..72ad7bf6e44a 100755 --- a/dialogflow/apiv2/dialogflowpb/agent.pb.go +++ b/dialogflow/apiv2/dialogflowpb/agent.pb.go @@ -21,8 +21,11 @@ package dialogflowpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( @@ -224,7 +225,6 @@ func (Agent_Tier) EnumDescriptor() ([]byte, []int) { // // For more information about agents, see the // [Agent guide](https://cloud.google.com/dialogflow/docs/agents-overview). -// type Agent struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/dialogflow/apiv2/dialogflowpb/answer_record.pb.go b/dialogflow/apiv2/dialogflowpb/answer_record.pb.go index 29fa25d8ae53..78b1661f2c4d 100755 --- a/dialogflow/apiv2/dialogflowpb/answer_record.pb.go +++ b/dialogflow/apiv2/dialogflowpb/answer_record.pb.go @@ -22,6 +22,9 @@ package dialogflowpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -277,14 +278,16 @@ func (AgentAssistantFeedback_DocumentEfficiency) EnumDescriptor() ([]byte, []int // // A typical workflow for customers provide feedback to an answer is: // -// 1. For human agent assistant, customers get suggestion via ListSuggestions -// API. Together with the answers, -// [AnswerRecord.name][google.cloud.dialogflow.v2.AnswerRecord.name] are -// returned to the customers. -// 2. The customer uses the +// 1. For human agent assistant, customers get suggestion via ListSuggestions +// API. Together with the answers, +// [AnswerRecord.name][google.cloud.dialogflow.v2.AnswerRecord.name] are +// returned to the customers. +// 2. The customer uses the +// // [AnswerRecord.name][google.cloud.dialogflow.v2.AnswerRecord.name] to call the -// [UpdateAnswerRecord][] method to send feedback about a specific answer -// that they believe is wrong. +// +// [UpdateAnswerRecord][] method to send feedback about a specific answer +// that they believe is wrong. type AnswerRecord struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/dialogflow/apiv2/dialogflowpb/audio_config.pb.go b/dialogflow/apiv2/dialogflowpb/audio_config.pb.go index e09e45bc5d23..deb1efd8d5e9 100755 --- a/dialogflow/apiv2/dialogflowpb/audio_config.pb.go +++ b/dialogflow/apiv2/dialogflowpb/audio_config.pb.go @@ -21,12 +21,13 @@ package dialogflowpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/context.pb.go b/dialogflow/apiv2/dialogflowpb/context.pb.go index c57e9b005598..bad7cd9ff0a9 100755 --- a/dialogflow/apiv2/dialogflowpb/context.pb.go +++ b/dialogflow/apiv2/dialogflowpb/context.pb.go @@ -22,6 +22,9 @@ package dialogflowpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/conversation.pb.go b/dialogflow/apiv2/dialogflowpb/conversation.pb.go index 4ed613843708..5d3a3a2b788e 100755 --- a/dialogflow/apiv2/dialogflowpb/conversation.pb.go +++ b/dialogflow/apiv2/dialogflowpb/conversation.pb.go @@ -22,6 +22,9 @@ package dialogflowpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/conversation_dataset.pb.go b/dialogflow/apiv2/dialogflowpb/conversation_dataset.pb.go index 7a461ace6eb7..89032eba04c2 100755 --- a/dialogflow/apiv2/dialogflowpb/conversation_dataset.pb.go +++ b/dialogflow/apiv2/dialogflowpb/conversation_dataset.pb.go @@ -21,8 +21,11 @@ package dialogflowpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -32,8 +35,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/conversation_event.pb.go b/dialogflow/apiv2/dialogflowpb/conversation_event.pb.go index 28958ccbdf86..628c0d6d0fc7 100755 --- a/dialogflow/apiv2/dialogflowpb/conversation_event.pb.go +++ b/dialogflow/apiv2/dialogflowpb/conversation_event.pb.go @@ -21,11 +21,12 @@ package dialogflowpb import ( + reflect "reflect" + sync "sync" + status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/conversation_model.pb.go b/dialogflow/apiv2/dialogflowpb/conversation_model.pb.go index b54dd4a3c1c7..4faa335ab572 100755 --- a/dialogflow/apiv2/dialogflowpb/conversation_model.pb.go +++ b/dialogflow/apiv2/dialogflowpb/conversation_model.pb.go @@ -21,8 +21,11 @@ package dialogflowpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/conversation_profile.pb.go b/dialogflow/apiv2/dialogflowpb/conversation_profile.pb.go index cda00d5c4a6a..8bf8c778db82 100755 --- a/dialogflow/apiv2/dialogflowpb/conversation_profile.pb.go +++ b/dialogflow/apiv2/dialogflowpb/conversation_profile.pb.go @@ -21,8 +21,11 @@ package dialogflowpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,8 +36,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/document.pb.go b/dialogflow/apiv2/dialogflowpb/document.pb.go index 80e8b636176c..b6880ca27c16 100755 --- a/dialogflow/apiv2/dialogflowpb/document.pb.go +++ b/dialogflow/apiv2/dialogflowpb/document.pb.go @@ -21,8 +21,11 @@ package dialogflowpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -33,8 +36,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/entity_type.pb.go b/dialogflow/apiv2/dialogflowpb/entity_type.pb.go index 87a4576c5eb2..fe592c8811f7 100755 --- a/dialogflow/apiv2/dialogflowpb/entity_type.pb.go +++ b/dialogflow/apiv2/dialogflowpb/entity_type.pb.go @@ -21,8 +21,11 @@ package dialogflowpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/environment.pb.go b/dialogflow/apiv2/dialogflowpb/environment.pb.go index 4aa304910315..bd42decd373c 100755 --- a/dialogflow/apiv2/dialogflowpb/environment.pb.go +++ b/dialogflow/apiv2/dialogflowpb/environment.pb.go @@ -22,6 +22,9 @@ package dialogflowpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/fulfillment.pb.go b/dialogflow/apiv2/dialogflowpb/fulfillment.pb.go index 7d3e1c0b1cb1..b362660b5024 100755 --- a/dialogflow/apiv2/dialogflowpb/fulfillment.pb.go +++ b/dialogflow/apiv2/dialogflowpb/fulfillment.pb.go @@ -22,6 +22,9 @@ package dialogflowpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/gcs.pb.go b/dialogflow/apiv2/dialogflowpb/gcs.pb.go index 6c74c04400eb..0d9f0ba96839 100755 --- a/dialogflow/apiv2/dialogflowpb/gcs.pb.go +++ b/dialogflow/apiv2/dialogflowpb/gcs.pb.go @@ -21,11 +21,12 @@ package dialogflowpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/human_agent_assistant_event.pb.go b/dialogflow/apiv2/dialogflowpb/human_agent_assistant_event.pb.go index 88417b021f64..cf748feb4fb9 100755 --- a/dialogflow/apiv2/dialogflowpb/human_agent_assistant_event.pb.go +++ b/dialogflow/apiv2/dialogflowpb/human_agent_assistant_event.pb.go @@ -21,10 +21,11 @@ package dialogflowpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/intent.pb.go b/dialogflow/apiv2/dialogflowpb/intent.pb.go index 6fcea9816ca2..48aca8d8193b 100755 --- a/dialogflow/apiv2/dialogflowpb/intent.pb.go +++ b/dialogflow/apiv2/dialogflowpb/intent.pb.go @@ -21,8 +21,11 @@ package dialogflowpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/knowledge_base.pb.go b/dialogflow/apiv2/dialogflowpb/knowledge_base.pb.go index ac17c088a942..ffc43d7a7bd8 100755 --- a/dialogflow/apiv2/dialogflowpb/knowledge_base.pb.go +++ b/dialogflow/apiv2/dialogflowpb/knowledge_base.pb.go @@ -22,6 +22,9 @@ package dialogflowpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/participant.pb.go b/dialogflow/apiv2/dialogflowpb/participant.pb.go index 7cbf32912941..5ec23bae6faa 100755 --- a/dialogflow/apiv2/dialogflowpb/participant.pb.go +++ b/dialogflow/apiv2/dialogflowpb/participant.pb.go @@ -22,6 +22,9 @@ package dialogflowpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -32,8 +35,6 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -1083,7 +1084,7 @@ func (x *AnalyzeContentResponse) GetDtmfParameters() *DtmfParameters { // // Multiple request messages should be sent in order: // -// 1. The first message must contain +// 1. The first message must contain // [participant][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.participant], // [config][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.config] // and optionally @@ -1096,26 +1097,27 @@ func (x *AnalyzeContentResponse) GetDtmfParameters() *DtmfParameters { // 2. If // [config][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.config] in // the first message -// was set to -// [audio_config][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.audio_config], -// all subsequent messages must contain -// [input_audio][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.input_audio] -// to continue with Speech recognition. However, note that: // -// * Dialogflow will bill you for the audio so far. -// * Dialogflow discards all Speech recognition results in favor of the -// text input. +// was set to +// [audio_config][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.audio_config], +// all subsequent messages must contain +// [input_audio][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.input_audio] +// to continue with Speech recognition. However, note that: +// +// * Dialogflow will bill you for the audio so far. +// * Dialogflow discards all Speech recognition results in favor of the +// text input. // -// 3. If -// [StreamingAnalyzeContentRequest.config][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.config] -// in the first message was set -// to -// [StreamingAnalyzeContentRequest.text_config][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.text_config], -// then the second message must contain only -// [input_text][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.input_text]. -// Moreover, you must not send more than two messages. +// 3. If +// [StreamingAnalyzeContentRequest.config][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.config] +// in the first message was set +// to +// [StreamingAnalyzeContentRequest.text_config][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.text_config], +// then the second message must contain only +// [input_text][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.input_text]. +// Moreover, you must not send more than two messages. // -// After you sent all input, you must half-close or abort the request stream. +// After you sent all input, you must half-close or abort the request stream. type StreamingAnalyzeContentRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1377,12 +1379,12 @@ func (*StreamingAnalyzeContentRequest_InputDtmf) isStreamingAnalyzeContentReques // // Multiple response messages can be returned in order: // -// 1. If the input was set to streaming audio, the first one or more messages +// 1. If the input was set to streaming audio, the first one or more messages // contain `recognition_result`. Each `recognition_result` represents a more // complete transcript of what the user said. The last `recognition_result` // has `is_final` set to `true`. // -// 2. In virtual agent stage: if `enable_partial_automated_agent_reply` is +// 2. In virtual agent stage: if `enable_partial_automated_agent_reply` is // true, the following N (currently 1 <= N <= 4) messages // contain `automated_agent_reply` and optionally `reply_audio` // returned by the virtual agent. The first (N-1) diff --git a/dialogflow/apiv2/dialogflowpb/session.pb.go b/dialogflow/apiv2/dialogflowpb/session.pb.go index 78b1def647e3..c63925ba74fd 100755 --- a/dialogflow/apiv2/dialogflowpb/session.pb.go +++ b/dialogflow/apiv2/dialogflowpb/session.pb.go @@ -22,6 +22,9 @@ package dialogflowpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" latlng "google.golang.org/genproto/googleapis/type/latlng" @@ -33,8 +36,6 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( @@ -834,30 +835,33 @@ func (x *QueryResult) GetSentimentAnalysisResult() *SentimentAnalysisResult { // // 1. The first message must contain // [session][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.session], -// [query_input][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.query_input] -// plus optionally -// [query_params][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.query_params]. -// If the client wants to receive an audio response, it should also contain -// [output_audio_config][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.output_audio_config]. -// The message must not contain -// [input_audio][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.input_audio]. +// +// [query_input][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.query_input] +// plus optionally +// [query_params][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.query_params]. +// If the client wants to receive an audio response, it should also contain +// [output_audio_config][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.output_audio_config]. +// The message must not contain +// [input_audio][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.input_audio]. +// // 2. If // [query_input][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.query_input] // was set to -// [query_input.audio_config][google.cloud.dialogflow.v2.InputAudioConfig], -// all subsequent messages must contain -// [input_audio][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.input_audio] -// to continue with Speech recognition. If you decide to rather detect an -// intent from text input after you already started Speech recognition, -// please send a message with -// [query_input.text][google.cloud.dialogflow.v2.QueryInput.text]. // -// However, note that: +// [query_input.audio_config][google.cloud.dialogflow.v2.InputAudioConfig], +// all subsequent messages must contain +// [input_audio][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.input_audio] +// to continue with Speech recognition. If you decide to rather detect an +// intent from text input after you already started Speech recognition, +// please send a message with +// [query_input.text][google.cloud.dialogflow.v2.QueryInput.text]. +// +// However, note that: // -// * Dialogflow will bill you for the audio duration so far. -// * Dialogflow discards all Speech recognition results in favor of the -// input text. -// * Dialogflow will use the language code from the first message. +// * Dialogflow will bill you for the audio duration so far. +// * Dialogflow discards all Speech recognition results in favor of the +// input text. +// * Dialogflow will use the language code from the first message. // // After you sent all input, you must half-close or abort the request stream. type StreamingDetectIntentRequest struct { @@ -1234,14 +1238,14 @@ func (x *CloudConversationDebuggingInfo) GetClientHalfCloseStreamingTimeOffset() // // Multiple response messages can be returned in order: // -// 1. If the `StreamingDetectIntentRequest.input_audio` field was +// 1. If the `StreamingDetectIntentRequest.input_audio` field was // set, the `recognition_result` field is populated for one // or more messages. // See the // [StreamingRecognitionResult][google.cloud.dialogflow.v2.StreamingRecognitionResult] // message for details about the result message sequence. // -// 2. The next message contains `response_id`, `query_result` +// 2. The next message contains `response_id`, `query_result` // and optionally `webhook_status` if a WebHook was called. type StreamingDetectIntentResponse struct { state protoimpl.MessageState diff --git a/dialogflow/apiv2/dialogflowpb/session_entity_type.pb.go b/dialogflow/apiv2/dialogflowpb/session_entity_type.pb.go index 44c20f75def0..f2e97af4f3e6 100755 --- a/dialogflow/apiv2/dialogflowpb/session_entity_type.pb.go +++ b/dialogflow/apiv2/dialogflowpb/session_entity_type.pb.go @@ -22,6 +22,9 @@ package dialogflowpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/validation_result.pb.go b/dialogflow/apiv2/dialogflowpb/validation_result.pb.go index fcf8c6f040ad..fb72d28191f0 100755 --- a/dialogflow/apiv2/dialogflowpb/validation_result.pb.go +++ b/dialogflow/apiv2/dialogflowpb/validation_result.pb.go @@ -21,10 +21,11 @@ package dialogflowpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/version.pb.go b/dialogflow/apiv2/dialogflowpb/version.pb.go index d4b6d9157ca1..8a3f61348627 100755 --- a/dialogflow/apiv2/dialogflowpb/version.pb.go +++ b/dialogflow/apiv2/dialogflowpb/version.pb.go @@ -22,6 +22,9 @@ package dialogflowpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2/dialogflowpb/webhook.pb.go b/dialogflow/apiv2/dialogflowpb/webhook.pb.go index c80cdcd05f28..3a628eeb7ab5 100755 --- a/dialogflow/apiv2/dialogflowpb/webhook.pb.go +++ b/dialogflow/apiv2/dialogflowpb/webhook.pb.go @@ -21,11 +21,12 @@ package dialogflowpb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2/doc.go b/dialogflow/apiv2/doc.go index 1b543c24daeb..077f694a7fde 100755 --- a/dialogflow/apiv2/doc.go +++ b/dialogflow/apiv2/doc.go @@ -20,63 +20,64 @@ // Builds conversational interfaces (for example, chatbots, and voice-powered // apps and devices). // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dialogflow.NewAgentsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dialogflow.NewAgentsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dialogflow.NewAgentsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &dialogflowpb.DeleteAgentRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/dialogflow/apiv2/dialogflowpb#DeleteAgentRequest. -// } -// err = c.DeleteAgent(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dialogflow.NewAgentsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &dialogflowpb.DeleteAgentRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/dialogflow/apiv2/dialogflowpb#DeleteAgentRequest. +// } +// err = c.DeleteAgent(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// # Use of Context // // The ctx passed to NewAgentsClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/dialogflow/apiv2/documents_client.go b/dialogflow/apiv2/documents_client.go index ae70d89a8370..7b7bdfab4079 100755 --- a/dialogflow/apiv2/documents_client.go +++ b/dialogflow/apiv2/documents_client.go @@ -362,10 +362,10 @@ func (c *DocumentsClient) GetDocument(ctx context.Context, req *dialogflowpb.Get // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: Document +// response: Document func (c *DocumentsClient) CreateDocument(ctx context.Context, req *dialogflowpb.CreateDocumentRequest, opts ...gax.CallOption) (*CreateDocumentOperation, error) { return c.internalClient.CreateDocument(ctx, req, opts...) } @@ -384,11 +384,11 @@ func (c *DocumentsClient) CreateDocumentOperation(name string) *CreateDocumentOp // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: -// ImportDocumentsResponse +// response: +// ImportDocumentsResponse func (c *DocumentsClient) ImportDocuments(ctx context.Context, req *dialogflowpb.ImportDocumentsRequest, opts ...gax.CallOption) (*ImportDocumentsOperation, error) { return c.internalClient.ImportDocuments(ctx, req, opts...) } @@ -405,11 +405,11 @@ func (c *DocumentsClient) ImportDocumentsOperation(name string) *ImportDocuments // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *DocumentsClient) DeleteDocument(ctx context.Context, req *dialogflowpb.DeleteDocumentRequest, opts ...gax.CallOption) (*DeleteDocumentOperation, error) { return c.internalClient.DeleteDocument(ctx, req, opts...) } @@ -426,10 +426,10 @@ func (c *DocumentsClient) DeleteDocumentOperation(name string) *DeleteDocumentOp // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: Document +// response: Document func (c *DocumentsClient) UpdateDocument(ctx context.Context, req *dialogflowpb.UpdateDocumentRequest, opts ...gax.CallOption) (*UpdateDocumentOperation, error) { return c.internalClient.UpdateDocument(ctx, req, opts...) } @@ -449,10 +449,10 @@ func (c *DocumentsClient) UpdateDocumentOperation(name string) *UpdateDocumentOp // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: Document +// response: Document // // Note: The projects.agent.knowledgeBases.documents resource is deprecated; // only use projects.knowledgeBases.documents. @@ -473,10 +473,10 @@ func (c *DocumentsClient) ReloadDocumentOperation(name string) *ReloadDocumentOp // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: Document +// response: Document func (c *DocumentsClient) ExportDocument(ctx context.Context, req *dialogflowpb.ExportDocumentRequest, opts ...gax.CallOption) (*ExportDocumentOperation, error) { return c.internalClient.ExportDocument(ctx, req, opts...) } @@ -1175,10 +1175,10 @@ func (c *documentsRESTClient) GetDocument(ctx context.Context, req *dialogflowpb // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: Document +// response: Document func (c *documentsRESTClient) CreateDocument(ctx context.Context, req *dialogflowpb.CreateDocumentRequest, opts ...gax.CallOption) (*CreateDocumentOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetDocument() @@ -1257,11 +1257,11 @@ func (c *documentsRESTClient) CreateDocument(ctx context.Context, req *dialogflo // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: -// ImportDocumentsResponse +// response: +// ImportDocumentsResponse func (c *documentsRESTClient) ImportDocuments(ctx context.Context, req *dialogflowpb.ImportDocumentsRequest, opts ...gax.CallOption) (*ImportDocumentsOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1337,11 +1337,11 @@ func (c *documentsRESTClient) ImportDocuments(ctx context.Context, req *dialogfl // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *documentsRESTClient) DeleteDocument(ctx context.Context, req *dialogflowpb.DeleteDocumentRequest, opts ...gax.CallOption) (*DeleteDocumentOperation, error) { baseUrl, err := url.Parse(c.endpoint) if err != nil { @@ -1411,10 +1411,10 @@ func (c *documentsRESTClient) DeleteDocument(ctx context.Context, req *dialogflo // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: Document +// response: Document func (c *documentsRESTClient) UpdateDocument(ctx context.Context, req *dialogflowpb.UpdateDocumentRequest, opts ...gax.CallOption) (*UpdateDocumentOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetDocument() @@ -1501,10 +1501,10 @@ func (c *documentsRESTClient) UpdateDocument(ctx context.Context, req *dialogflo // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: Document +// response: Document // // Note: The projects.agent.knowledgeBases.documents resource is deprecated; // only use projects.knowledgeBases.documents. @@ -1584,10 +1584,10 @@ func (c *documentsRESTClient) ReloadDocument(ctx context.Context, req *dialogflo // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: Document +// response: Document func (c *documentsRESTClient) ExportDocument(ctx context.Context, req *dialogflowpb.ExportDocumentRequest, opts ...gax.CallOption) (*ExportDocumentOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/dialogflow/apiv2/entity_types_client.go b/dialogflow/apiv2/entity_types_client.go index 09924f756779..3a1a3bcf9d19 100755 --- a/dialogflow/apiv2/entity_types_client.go +++ b/dialogflow/apiv2/entity_types_client.go @@ -437,11 +437,11 @@ func (c *EntityTypesClient) DeleteEntityType(ctx context.Context, req *dialogflo // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// BatchUpdateEntityTypesResponse +// response: +// BatchUpdateEntityTypesResponse // // Note: You should always train an agent prior to sending it queries. See the // training @@ -462,11 +462,11 @@ func (c *EntityTypesClient) BatchUpdateEntityTypesOperation(name string) *BatchU // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -487,11 +487,11 @@ func (c *EntityTypesClient) BatchDeleteEntityTypesOperation(name string) *BatchD // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -514,11 +514,11 @@ func (c *EntityTypesClient) BatchCreateEntitiesOperation(name string) *BatchCrea // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -539,11 +539,11 @@ func (c *EntityTypesClient) BatchUpdateEntitiesOperation(name string) *BatchUpda // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1478,11 +1478,11 @@ func (c *entityTypesRESTClient) DeleteEntityType(ctx context.Context, req *dialo // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// BatchUpdateEntityTypesResponse +// response: +// BatchUpdateEntityTypesResponse // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1562,11 +1562,11 @@ func (c *entityTypesRESTClient) BatchUpdateEntityTypes(ctx context.Context, req // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1646,11 +1646,11 @@ func (c *entityTypesRESTClient) BatchDeleteEntityTypes(ctx context.Context, req // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1732,11 +1732,11 @@ func (c *entityTypesRESTClient) BatchCreateEntities(ctx context.Context, req *di // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1816,11 +1816,11 @@ func (c *entityTypesRESTClient) BatchUpdateEntities(ctx context.Context, req *di // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training diff --git a/dialogflow/apiv2/intents_client.go b/dialogflow/apiv2/intents_client.go index 9943bd6a7957..10287eb104c2 100755 --- a/dialogflow/apiv2/intents_client.go +++ b/dialogflow/apiv2/intents_client.go @@ -359,11 +359,11 @@ func (c *IntentsClient) DeleteIntent(ctx context.Context, req *dialogflowpb.Dele // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// BatchUpdateIntentsResponse +// response: +// BatchUpdateIntentsResponse // // Note: You should always train an agent prior to sending it queries. See the // training @@ -384,11 +384,11 @@ func (c *IntentsClient) BatchUpdateIntentsOperation(name string) *BatchUpdateInt // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1275,11 +1275,11 @@ func (c *intentsRESTClient) DeleteIntent(ctx context.Context, req *dialogflowpb. // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// BatchUpdateIntentsResponse +// response: +// BatchUpdateIntentsResponse // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1359,11 +1359,11 @@ func (c *intentsRESTClient) BatchUpdateIntents(ctx context.Context, req *dialogf // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training diff --git a/dialogflow/apiv2beta1/agents_client.go b/dialogflow/apiv2beta1/agents_client.go index f84f7bef3852..2ca624cdd741 100755 --- a/dialogflow/apiv2beta1/agents_client.go +++ b/dialogflow/apiv2beta1/agents_client.go @@ -403,11 +403,11 @@ func (c *AgentsClient) SearchAgents(ctx context.Context, req *dialogflowpb.Searc // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -428,11 +428,11 @@ func (c *AgentsClient) TrainAgentOperation(name string) *TrainAgentOperation { // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ExportAgentResponse +// response: +// ExportAgentResponse func (c *AgentsClient) ExportAgent(ctx context.Context, req *dialogflowpb.ExportAgentRequest, opts ...gax.CallOption) (*ExportAgentOperation, error) { return c.internalClient.ExportAgent(ctx, req, opts...) } @@ -459,11 +459,11 @@ func (c *AgentsClient) ExportAgentOperation(name string) *ExportAgentOperation { // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // The operation only tracks when importing is complete, not when it is done // training. @@ -495,11 +495,11 @@ func (c *AgentsClient) ImportAgentOperation(name string) *ImportAgentOperation { // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // The operation only tracks when restoring is complete, not when it is done // training. @@ -1341,11 +1341,11 @@ func (c *agentsRESTClient) SearchAgents(ctx context.Context, req *dialogflowpb.S // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1425,11 +1425,11 @@ func (c *agentsRESTClient) TrainAgent(ctx context.Context, req *dialogflowpb.Tra // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ExportAgentResponse +// response: +// ExportAgentResponse func (c *agentsRESTClient) ExportAgent(ctx context.Context, req *dialogflowpb.ExportAgentRequest, opts ...gax.CallOption) (*ExportAgentOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1515,11 +1515,11 @@ func (c *agentsRESTClient) ExportAgent(ctx context.Context, req *dialogflowpb.Ex // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // The operation only tracks when importing is complete, not when it is done // training. @@ -1610,11 +1610,11 @@ func (c *agentsRESTClient) ImportAgent(ctx context.Context, req *dialogflowpb.Im // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // The operation only tracks when restoring is complete, not when it is done // training. diff --git a/dialogflow/apiv2beta1/conversation_profiles_client.go b/dialogflow/apiv2beta1/conversation_profiles_client.go index 4d6339c18e96..dc2683b37056 100755 --- a/dialogflow/apiv2beta1/conversation_profiles_client.go +++ b/dialogflow/apiv2beta1/conversation_profiles_client.go @@ -361,11 +361,11 @@ func (c *ConversationProfilesClient) DeleteConversationProfile(ctx context.Conte // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// SetSuggestionFeatureConfigOperationMetadata +// metadata: +// SetSuggestionFeatureConfigOperationMetadata // -// response: -// ConversationProfile +// response: +// ConversationProfile // // If a long running operation to add or update suggestion feature // config for the same conversation profile, participant role and suggestion @@ -388,11 +388,11 @@ func (c *ConversationProfilesClient) SetSuggestionFeatureConfigOperation(name st // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// ClearSuggestionFeatureConfigOperationMetadata +// metadata: +// ClearSuggestionFeatureConfigOperationMetadata // -// response: -// ConversationProfile +// response: +// ConversationProfile func (c *ConversationProfilesClient) ClearSuggestionFeatureConfig(ctx context.Context, req *dialogflowpb.ClearSuggestionFeatureConfigRequest, opts ...gax.CallOption) (*ClearSuggestionFeatureConfigOperation, error) { return c.internalClient.ClearSuggestionFeatureConfig(ctx, req, opts...) } @@ -1254,11 +1254,11 @@ func (c *conversationProfilesRESTClient) DeleteConversationProfile(ctx context.C // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// SetSuggestionFeatureConfigOperationMetadata +// metadata: +// SetSuggestionFeatureConfigOperationMetadata // -// response: -// ConversationProfile +// response: +// ConversationProfile // // If a long running operation to add or update suggestion feature // config for the same conversation profile, participant role and suggestion @@ -1340,11 +1340,11 @@ func (c *conversationProfilesRESTClient) SetSuggestionFeatureConfig(ctx context. // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: -// ClearSuggestionFeatureConfigOperationMetadata +// metadata: +// ClearSuggestionFeatureConfigOperationMetadata // -// response: -// ConversationProfile +// response: +// ConversationProfile func (c *conversationProfilesRESTClient) ClearSuggestionFeatureConfig(ctx context.Context, req *dialogflowpb.ClearSuggestionFeatureConfigRequest, opts ...gax.CallOption) (*ClearSuggestionFeatureConfigOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/dialogflow/apiv2beta1/dialogflowpb/agent.pb.go b/dialogflow/apiv2beta1/dialogflowpb/agent.pb.go index d0247995c9ef..a0dcff4c7e3f 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/agent.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/agent.pb.go @@ -21,8 +21,11 @@ package dialogflowpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( @@ -224,7 +225,6 @@ func (Agent_Tier) EnumDescriptor() ([]byte, []int) { // // For more information about agents, see the // [Agent guide](https://cloud.google.com/dialogflow/docs/agents-overview). -// type Agent struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/dialogflow/apiv2beta1/dialogflowpb/answer_record.pb.go b/dialogflow/apiv2beta1/dialogflowpb/answer_record.pb.go index cb012af38eb6..7504afc2f56f 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/answer_record.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/answer_record.pb.go @@ -22,6 +22,9 @@ package dialogflowpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -277,15 +278,17 @@ func (AgentAssistantFeedback_DocumentEfficiency) EnumDescriptor() ([]byte, []int // // A typical workflow for customers provide feedback to an answer is: // -// 1. For human agent assistant, customers get suggestion via ListSuggestions -// API. Together with the answers, -// [AnswerRecord.name][google.cloud.dialogflow.v2beta1.AnswerRecord.name] are -// returned to the customers. -// 2. The customer uses the +// 1. For human agent assistant, customers get suggestion via ListSuggestions +// API. Together with the answers, +// [AnswerRecord.name][google.cloud.dialogflow.v2beta1.AnswerRecord.name] are +// returned to the customers. +// 2. The customer uses the +// // [AnswerRecord.name][google.cloud.dialogflow.v2beta1.AnswerRecord.name] to // call the -// [UpdateAnswerRecord][] method to send feedback about a specific answer -// that they believe is wrong. +// +// [UpdateAnswerRecord][] method to send feedback about a specific answer +// that they believe is wrong. type AnswerRecord struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/dialogflow/apiv2beta1/dialogflowpb/audio_config.pb.go b/dialogflow/apiv2beta1/dialogflowpb/audio_config.pb.go index 1af24327b661..ba377a654818 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/audio_config.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/audio_config.pb.go @@ -21,12 +21,13 @@ package dialogflowpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( @@ -630,13 +631,13 @@ func (x *SpeechWordInfo) GetConfidence() float32 { // as soon as it starts playing back the audio from the previous response. The // playback is modeled into two phases: // -// * No barge-in phase: which goes first and during which speech detection -// should not be carried out. +// - No barge-in phase: which goes first and during which speech detection +// should not be carried out. // -// * Barge-in phase: which follows the no barge-in phase and during which -// the API starts speech detection and may inform the client that an utterance -// has been detected. Note that no-speech event is not expected in this -// phase. +// - Barge-in phase: which follows the no barge-in phase and during which +// the API starts speech detection and may inform the client that an utterance +// has been detected. Note that no-speech event is not expected in this +// phase. // // The client provides this configuration in terms of the durations of those // two phases. The durations are measured in terms of the audio length fromt the @@ -648,10 +649,14 @@ func (x *SpeechWordInfo) GetConfidence() float32 { // --> Time // // without speech detection | utterance only | utterance or no-speech event -// | | -// +-------------+ | +------------+ | +---------------+ +// +// | | +// +-------------+ | +------------+ | +---------------+ +// // ----------+ no barge-in +-|-+ barge-in +-|-+ normal period +----------- -// +-------------+ | +------------+ | +---------------+ +// +// +-------------+ | +------------+ | +---------------+ +// // ``` // // No-speech event is a response with END_OF_UTTERANCE without any transcript diff --git a/dialogflow/apiv2beta1/dialogflowpb/context.pb.go b/dialogflow/apiv2beta1/dialogflowpb/context.pb.go index f53bf00628da..f2a48bd76c21 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/context.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/context.pb.go @@ -22,6 +22,9 @@ package dialogflowpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/conversation.pb.go b/dialogflow/apiv2beta1/dialogflowpb/conversation.pb.go index 598c22b77df9..307fecb0a931 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/conversation.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/conversation.pb.go @@ -22,6 +22,9 @@ package dialogflowpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/conversation_event.pb.go b/dialogflow/apiv2beta1/dialogflowpb/conversation_event.pb.go index 6d7a92d41aab..3a300d717f03 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/conversation_event.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/conversation_event.pb.go @@ -21,11 +21,12 @@ package dialogflowpb import ( + reflect "reflect" + sync "sync" + status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/conversation_profile.pb.go b/dialogflow/apiv2beta1/dialogflowpb/conversation_profile.pb.go index c4490e44be29..2de4e80677a7 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/conversation_profile.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/conversation_profile.pb.go @@ -21,8 +21,11 @@ package dialogflowpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,8 +36,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/document.pb.go b/dialogflow/apiv2beta1/dialogflowpb/document.pb.go index a198ed49143e..12cc54ecb66f 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/document.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/document.pb.go @@ -21,8 +21,11 @@ package dialogflowpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -33,8 +36,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/entity_type.pb.go b/dialogflow/apiv2beta1/dialogflowpb/entity_type.pb.go index 88fca9c8991a..d89756fd49e7 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/entity_type.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/entity_type.pb.go @@ -21,8 +21,11 @@ package dialogflowpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/environment.pb.go b/dialogflow/apiv2beta1/dialogflowpb/environment.pb.go index a58f4afe2e7a..b6df275e4899 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/environment.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/environment.pb.go @@ -22,6 +22,9 @@ package dialogflowpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/fulfillment.pb.go b/dialogflow/apiv2beta1/dialogflowpb/fulfillment.pb.go index 348878757188..9ec5aa43e983 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/fulfillment.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/fulfillment.pb.go @@ -22,6 +22,9 @@ package dialogflowpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/gcs.pb.go b/dialogflow/apiv2beta1/dialogflowpb/gcs.pb.go index 16dc49990c70..7aebcd7951e2 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/gcs.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/gcs.pb.go @@ -21,11 +21,12 @@ package dialogflowpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/human_agent_assistant_event.pb.go b/dialogflow/apiv2beta1/dialogflowpb/human_agent_assistant_event.pb.go index ec3d47e396a9..6a1ef634a7b5 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/human_agent_assistant_event.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/human_agent_assistant_event.pb.go @@ -21,10 +21,11 @@ package dialogflowpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/intent.pb.go b/dialogflow/apiv2beta1/dialogflowpb/intent.pb.go index 86238d052abb..5186a6a742e8 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/intent.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/intent.pb.go @@ -21,8 +21,11 @@ package dialogflowpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( @@ -4788,14 +4789,14 @@ func (x *Intent_Message_CarouselSelect_Item) GetImage() *Intent_Message_Image { // Rich Business Messaging (RBM) Media displayed in Cards // The following media-types are currently supported: // -// Image Types +// # Image Types // // * image/jpeg // * image/jpg' // * image/gif // * image/png // -// Video Types +// # Video Types // // * video/h263 // * video/m4v diff --git a/dialogflow/apiv2beta1/dialogflowpb/knowledge_base.pb.go b/dialogflow/apiv2beta1/dialogflowpb/knowledge_base.pb.go index 4237a20eed01..a1a0a18d0250 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/knowledge_base.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/knowledge_base.pb.go @@ -22,6 +22,9 @@ package dialogflowpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/participant.pb.go b/dialogflow/apiv2beta1/dialogflowpb/participant.pb.go index f51690b7b8e1..fa2cef7177a7 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/participant.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/participant.pb.go @@ -22,6 +22,9 @@ package dialogflowpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -32,8 +35,6 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -1853,7 +1854,7 @@ func (x *InputTextConfig) GetLanguageCode() string { // // Multiple request messages should be sent in order: // -// 1. The first message must contain +// 1. The first message must contain // [participant][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.participant], // [config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config] // and optionally @@ -1866,31 +1867,32 @@ func (x *InputTextConfig) GetLanguageCode() string { // 2. If // [config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config] // in the first message -// was set to -// [audio_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.audio_config], -// all subsequent messages must contain -// [input_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_audio] -// to continue with Speech recognition. If you decide to rather analyze text -// input after you already started Speech recognition, please send a message -// with -// [StreamingAnalyzeContentRequest.input_text][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_text]. // -// However, note that: +// was set to +// [audio_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.audio_config], +// all subsequent messages must contain +// [input_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_audio] +// to continue with Speech recognition. If you decide to rather analyze text +// input after you already started Speech recognition, please send a message +// with +// [StreamingAnalyzeContentRequest.input_text][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_text]. +// +// However, note that: // -// * Dialogflow will bill you for the audio so far. -// * Dialogflow discards all Speech recognition results in favor of the -// text input. +// * Dialogflow will bill you for the audio so far. +// * Dialogflow discards all Speech recognition results in favor of the +// text input. // -// 3. If -// [StreamingAnalyzeContentRequest.config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config] -// in the first message was set -// to -// [StreamingAnalyzeContentRequest.text_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.text_config], -// then the second message must contain only -// [input_text][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_text]. -// Moreover, you must not send more than two messages. +// 3. If +// [StreamingAnalyzeContentRequest.config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config] +// in the first message was set +// to +// [StreamingAnalyzeContentRequest.text_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.text_config], +// then the second message must contain only +// [input_text][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_text]. +// Moreover, you must not send more than two messages. // -// After you sent all input, you must half-close or abort the request stream. +// After you sent all input, you must half-close or abort the request stream. type StreamingAnalyzeContentRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2174,12 +2176,12 @@ func (*StreamingAnalyzeContentRequest_InputDtmf) isStreamingAnalyzeContentReques // // Multiple response messages can be returned in order: // -// 1. If the input was set to streaming audio, the first one or more messages +// 1. If the input was set to streaming audio, the first one or more messages // contain `recognition_result`. Each `recognition_result` represents a more // complete transcript of what the user said. The last `recognition_result` // has `is_final` set to `true`. // -// 2. In virtual agent stage: if `enable_partial_automated_agent_reply` is +// 2. In virtual agent stage: if `enable_partial_automated_agent_reply` is // true, the following N (currently 1 <= N <= 4) messages // contain `automated_agent_reply` and optionally `reply_audio` // returned by the virtual agent. The first (N-1) @@ -4443,10 +4445,10 @@ func (x *ResponseMessage_Text) GetText() []string { // // You may set this, for example: // -// * In the entry fulfillment of a CX Page if entering the page indicates -// something went extremely wrong in the conversation. -// * In a webhook response when you determine that the customer issue can only -// be handled by a human. +// - In the entry fulfillment of a CX Page if entering the page indicates +// something went extremely wrong in the conversation. +// - In a webhook response when you determine that the customer issue can only +// be handled by a human. type ResponseMessage_LiveAgentHandoff struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/dialogflow/apiv2beta1/dialogflowpb/session.pb.go b/dialogflow/apiv2beta1/dialogflowpb/session.pb.go index 4645e6679766..1533f74a9eb0 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/session.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/session.pb.go @@ -22,6 +22,9 @@ package dialogflowpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" latlng "google.golang.org/genproto/googleapis/type/latlng" @@ -33,8 +36,6 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( @@ -1020,30 +1021,33 @@ func (x *KnowledgeAnswers) GetAnswers() []*KnowledgeAnswers_Answer { // // 1. The first message must contain // [session][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.session], -// [query_input][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_input] -// plus optionally -// [query_params][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_params]. -// If the client wants to receive an audio response, it should also contain -// [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]. -// The message must not contain -// [input_audio][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.input_audio]. +// +// [query_input][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_input] +// plus optionally +// [query_params][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_params]. +// If the client wants to receive an audio response, it should also contain +// [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]. +// The message must not contain +// [input_audio][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.input_audio]. +// // 2. If // [query_input][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_input] // was set to -// [query_input.audio_config][google.cloud.dialogflow.v2beta1.InputAudioConfig], -// all subsequent messages must contain -// [input_audio][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.input_audio] -// to continue with Speech recognition. If you decide to rather detect an -// intent from text input after you already started Speech recognition, -// please send a message with -// [query_input.text][google.cloud.dialogflow.v2beta1.QueryInput.text]. // -// However, note that: +// [query_input.audio_config][google.cloud.dialogflow.v2beta1.InputAudioConfig], +// all subsequent messages must contain +// [input_audio][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.input_audio] +// to continue with Speech recognition. If you decide to rather detect an +// intent from text input after you already started Speech recognition, +// please send a message with +// [query_input.text][google.cloud.dialogflow.v2beta1.QueryInput.text]. +// +// However, note that: // -// * Dialogflow will bill you for the audio duration so far. -// * Dialogflow discards all Speech recognition results in favor of the -// input text. -// * Dialogflow will use the language code from the first message. +// * Dialogflow will bill you for the audio duration so far. +// * Dialogflow discards all Speech recognition results in favor of the +// input text. +// * Dialogflow will use the language code from the first message. // // After you sent all input, you must half-close or abort the request stream. type StreamingDetectIntentRequest struct { @@ -1427,18 +1431,18 @@ func (x *CloudConversationDebuggingInfo) GetClientHalfCloseStreamingTimeOffset() // // Multiple response messages can be returned in order: // -// 1. If the `StreamingDetectIntentRequest.input_audio` field was +// 1. If the `StreamingDetectIntentRequest.input_audio` field was // set, the `recognition_result` field is populated for one // or more messages. // See the // [StreamingRecognitionResult][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult] // message for details about the result message sequence. // -// 2. The next message contains `response_id`, `query_result`, +// 2. The next message contains `response_id`, `query_result`, // `alternative_query_results` and optionally `webhook_status` if a WebHook // was called. // -// 3. If `output_audio_config` was specified in the request or agent-level +// 3. If `output_audio_config` was specified in the request or agent-level // speech synthesizer is configured, all subsequent messages contain // `output_audio` and `output_audio_config`. type StreamingDetectIntentResponse struct { diff --git a/dialogflow/apiv2beta1/dialogflowpb/session_entity_type.pb.go b/dialogflow/apiv2beta1/dialogflowpb/session_entity_type.pb.go index 358c28c01493..6877947237c8 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/session_entity_type.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/session_entity_type.pb.go @@ -22,6 +22,9 @@ package dialogflowpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/validation_result.pb.go b/dialogflow/apiv2beta1/dialogflowpb/validation_result.pb.go index 6ba96aa82a99..a8728a5c682b 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/validation_result.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/validation_result.pb.go @@ -21,10 +21,11 @@ package dialogflowpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/version.pb.go b/dialogflow/apiv2beta1/dialogflowpb/version.pb.go index c8facdf59f1c..a9c87e70b9c0 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/version.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/version.pb.go @@ -22,6 +22,9 @@ package dialogflowpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/dialogflowpb/webhook.pb.go b/dialogflow/apiv2beta1/dialogflowpb/webhook.pb.go index 421b9a9ba1d0..737fbfc3bf7e 100755 --- a/dialogflow/apiv2beta1/dialogflowpb/webhook.pb.go +++ b/dialogflow/apiv2beta1/dialogflowpb/webhook.pb.go @@ -21,11 +21,12 @@ package dialogflowpb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/apiv2beta1/doc.go b/dialogflow/apiv2beta1/doc.go index 740d6fe08047..0ca428b141e1 100755 --- a/dialogflow/apiv2beta1/doc.go +++ b/dialogflow/apiv2beta1/doc.go @@ -20,65 +20,66 @@ // Builds conversational interfaces (for example, chatbots, and voice-powered // apps and devices). // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dialogflow.NewAgentsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dialogflow.NewAgentsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dialogflow.NewAgentsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &dialogflowpb.DeleteAgentRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/dialogflow/apiv2beta1/dialogflowpb#DeleteAgentRequest. -// } -// err = c.DeleteAgent(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dialogflow.NewAgentsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &dialogflowpb.DeleteAgentRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/dialogflow/apiv2beta1/dialogflowpb#DeleteAgentRequest. +// } +// err = c.DeleteAgent(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// # Use of Context // // The ctx passed to NewAgentsClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/dialogflow/apiv2beta1/documents_client.go b/dialogflow/apiv2beta1/documents_client.go index d428e5b1fdce..77b869d6fab9 100755 --- a/dialogflow/apiv2beta1/documents_client.go +++ b/dialogflow/apiv2beta1/documents_client.go @@ -342,10 +342,10 @@ func (c *DocumentsClient) GetDocument(ctx context.Context, req *dialogflowpb.Get // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: Document +// response: Document // // Note: The projects.agent.knowledgeBases.documents resource is deprecated; // only use projects.knowledgeBases.documents. @@ -367,11 +367,11 @@ func (c *DocumentsClient) CreateDocumentOperation(name string) *CreateDocumentOp // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: -// ImportDocumentsResponse +// response: +// ImportDocumentsResponse func (c *DocumentsClient) ImportDocuments(ctx context.Context, req *dialogflowpb.ImportDocumentsRequest, opts ...gax.CallOption) (*ImportDocumentsOperation, error) { return c.internalClient.ImportDocuments(ctx, req, opts...) } @@ -388,11 +388,11 @@ func (c *DocumentsClient) ImportDocumentsOperation(name string) *ImportDocuments // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: The projects.agent.knowledgeBases.documents resource is deprecated; // only use projects.knowledgeBases.documents. @@ -412,10 +412,10 @@ func (c *DocumentsClient) DeleteDocumentOperation(name string) *DeleteDocumentOp // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: Document +// response: Document // // Note: The projects.agent.knowledgeBases.documents resource is deprecated; // only use projects.knowledgeBases.documents. @@ -441,10 +441,10 @@ func (c *DocumentsClient) UpdateDocumentOperation(name string) *UpdateDocumentOp // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: Document +// response: Document // // Note: The projects.agent.knowledgeBases.documents resource is deprecated; // only use projects.knowledgeBases.documents. @@ -1132,10 +1132,10 @@ func (c *documentsRESTClient) GetDocument(ctx context.Context, req *dialogflowpb // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: Document +// response: Document // // Note: The projects.agent.knowledgeBases.documents resource is deprecated; // only use projects.knowledgeBases.documents. @@ -1220,11 +1220,11 @@ func (c *documentsRESTClient) CreateDocument(ctx context.Context, req *dialogflo // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: -// ImportDocumentsResponse +// response: +// ImportDocumentsResponse func (c *documentsRESTClient) ImportDocuments(ctx context.Context, req *dialogflowpb.ImportDocumentsRequest, opts ...gax.CallOption) (*ImportDocumentsOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1300,11 +1300,11 @@ func (c *documentsRESTClient) ImportDocuments(ctx context.Context, req *dialogfl // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: The projects.agent.knowledgeBases.documents resource is deprecated; // only use projects.knowledgeBases.documents. @@ -1377,10 +1377,10 @@ func (c *documentsRESTClient) DeleteDocument(ctx context.Context, req *dialogflo // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: Document +// response: Document // // Note: The projects.agent.knowledgeBases.documents resource is deprecated; // only use projects.knowledgeBases.documents. @@ -1473,10 +1473,10 @@ func (c *documentsRESTClient) UpdateDocument(ctx context.Context, req *dialogflo // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// KnowledgeOperationMetadata +// metadata: +// KnowledgeOperationMetadata // -// response: Document +// response: Document // // Note: The projects.agent.knowledgeBases.documents resource is deprecated; // only use projects.knowledgeBases.documents. diff --git a/dialogflow/apiv2beta1/entity_types_client.go b/dialogflow/apiv2beta1/entity_types_client.go index 85785c5a6bd5..c5d4f2a108fb 100755 --- a/dialogflow/apiv2beta1/entity_types_client.go +++ b/dialogflow/apiv2beta1/entity_types_client.go @@ -438,11 +438,11 @@ func (c *EntityTypesClient) DeleteEntityType(ctx context.Context, req *dialogflo // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// BatchUpdateEntityTypesResponse +// response: +// BatchUpdateEntityTypesResponse // // Note: You should always train an agent prior to sending it queries. See the // training @@ -463,11 +463,11 @@ func (c *EntityTypesClient) BatchUpdateEntityTypesOperation(name string) *BatchU // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -488,11 +488,11 @@ func (c *EntityTypesClient) BatchDeleteEntityTypesOperation(name string) *BatchD // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -519,11 +519,11 @@ func (c *EntityTypesClient) BatchCreateEntitiesOperation(name string) *BatchCrea // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *EntityTypesClient) BatchUpdateEntities(ctx context.Context, req *dialogflowpb.BatchUpdateEntitiesRequest, opts ...gax.CallOption) (*BatchUpdateEntitiesOperation, error) { return c.internalClient.BatchUpdateEntities(ctx, req, opts...) } @@ -540,11 +540,11 @@ func (c *EntityTypesClient) BatchUpdateEntitiesOperation(name string) *BatchUpda // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1481,11 +1481,11 @@ func (c *entityTypesRESTClient) DeleteEntityType(ctx context.Context, req *dialo // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// BatchUpdateEntityTypesResponse +// response: +// BatchUpdateEntityTypesResponse // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1565,11 +1565,11 @@ func (c *entityTypesRESTClient) BatchUpdateEntityTypes(ctx context.Context, req // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1649,11 +1649,11 @@ func (c *entityTypesRESTClient) BatchDeleteEntityTypes(ctx context.Context, req // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1739,11 +1739,11 @@ func (c *entityTypesRESTClient) BatchCreateEntities(ctx context.Context, req *di // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *entityTypesRESTClient) BatchUpdateEntities(ctx context.Context, req *dialogflowpb.BatchUpdateEntitiesRequest, opts ...gax.CallOption) (*BatchUpdateEntitiesOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1819,11 +1819,11 @@ func (c *entityTypesRESTClient) BatchUpdateEntities(ctx context.Context, req *di // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training diff --git a/dialogflow/apiv2beta1/intents_client.go b/dialogflow/apiv2beta1/intents_client.go index a26d54613df4..e54a7e0175d7 100755 --- a/dialogflow/apiv2beta1/intents_client.go +++ b/dialogflow/apiv2beta1/intents_client.go @@ -359,11 +359,11 @@ func (c *IntentsClient) DeleteIntent(ctx context.Context, req *dialogflowpb.Dele // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// BatchUpdateIntentsResponse +// response: +// BatchUpdateIntentsResponse // // Note: You should always train an agent prior to sending it queries. See the // training @@ -384,11 +384,11 @@ func (c *IntentsClient) BatchUpdateIntentsOperation(name string) *BatchUpdateInt // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1275,11 +1275,11 @@ func (c *intentsRESTClient) DeleteIntent(ctx context.Context, req *dialogflowpb. // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// BatchUpdateIntentsResponse +// response: +// BatchUpdateIntentsResponse // // Note: You should always train an agent prior to sending it queries. See the // training @@ -1359,11 +1359,11 @@ func (c *intentsRESTClient) BatchUpdateIntents(ctx context.Context, req *dialogf // operation (at https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // training diff --git a/dialogflow/cx/apiv3/agents_client.go b/dialogflow/cx/apiv3/agents_client.go index 8a0afc4188ea..398d6867d2ec 100755 --- a/dialogflow/cx/apiv3/agents_client.go +++ b/dialogflow/cx/apiv3/agents_client.go @@ -455,11 +455,11 @@ func (c *AgentsClient) DeleteAgent(ctx context.Context, req *cxpb.DeleteAgentReq // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ExportAgentResponse +// response: +// ExportAgentResponse func (c *AgentsClient) ExportAgent(ctx context.Context, req *cxpb.ExportAgentRequest, opts ...gax.CallOption) (*ExportAgentOperation, error) { return c.internalClient.ExportAgent(ctx, req, opts...) } @@ -479,11 +479,11 @@ func (c *AgentsClient) ExportAgentOperation(name string) *ExportAgentOperation { // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train flows prior to sending them queries. See the // training @@ -1437,11 +1437,11 @@ func (c *agentsRESTClient) DeleteAgent(ctx context.Context, req *cxpb.DeleteAgen // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ExportAgentResponse +// response: +// ExportAgentResponse func (c *agentsRESTClient) ExportAgent(ctx context.Context, req *cxpb.ExportAgentRequest, opts ...gax.CallOption) (*ExportAgentOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1520,11 +1520,11 @@ func (c *agentsRESTClient) ExportAgent(ctx context.Context, req *cxpb.ExportAgen // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train flows prior to sending them queries. See the // training diff --git a/dialogflow/cx/apiv3/cxpb/advanced_settings.pb.go b/dialogflow/cx/apiv3/cxpb/advanced_settings.pb.go index 845ab53d942b..54d05c482e19 100755 --- a/dialogflow/cx/apiv3/cxpb/advanced_settings.pb.go +++ b/dialogflow/cx/apiv3/cxpb/advanced_settings.pb.go @@ -21,11 +21,12 @@ package cxpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/agent.pb.go b/dialogflow/cx/apiv3/cxpb/agent.pb.go index d47bd1632e5b..c387a2bc4379 100755 --- a/dialogflow/cx/apiv3/cxpb/agent.pb.go +++ b/dialogflow/cx/apiv3/cxpb/agent.pb.go @@ -21,8 +21,11 @@ package cxpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/audio_config.pb.go b/dialogflow/cx/apiv3/cxpb/audio_config.pb.go index f20b62951fc7..c029fc1ac97c 100755 --- a/dialogflow/cx/apiv3/cxpb/audio_config.pb.go +++ b/dialogflow/cx/apiv3/cxpb/audio_config.pb.go @@ -21,12 +21,13 @@ package cxpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( @@ -441,13 +442,13 @@ func (x *SpeechWordInfo) GetConfidence() float32 { // as soon as it starts playing back the audio from the previous response. The // playback is modeled into two phases: // -// * No barge-in phase: which goes first and during which speech detection -// should not be carried out. +// - No barge-in phase: which goes first and during which speech detection +// should not be carried out. // -// * Barge-in phase: which follows the no barge-in phase and during which -// the API starts speech detection and may inform the client that an utterance -// has been detected. Note that no-speech event is not expected in this -// phase. +// - Barge-in phase: which follows the no barge-in phase and during which +// the API starts speech detection and may inform the client that an utterance +// has been detected. Note that no-speech event is not expected in this +// phase. // // The client provides this configuration in terms of the durations of those // two phases. The durations are measured in terms of the audio length from the diff --git a/dialogflow/cx/apiv3/cxpb/changelog.pb.go b/dialogflow/cx/apiv3/cxpb/changelog.pb.go index 2c479a7fd1b0..f79c5e9b9607 100755 --- a/dialogflow/cx/apiv3/cxpb/changelog.pb.go +++ b/dialogflow/cx/apiv3/cxpb/changelog.pb.go @@ -22,6 +22,9 @@ package cxpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/data_store_connection.pb.go b/dialogflow/cx/apiv3/cxpb/data_store_connection.pb.go index bce40b28de87..1b8448466d0c 100755 --- a/dialogflow/cx/apiv3/cxpb/data_store_connection.pb.go +++ b/dialogflow/cx/apiv3/cxpb/data_store_connection.pb.go @@ -21,10 +21,11 @@ package cxpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/deployment.pb.go b/dialogflow/cx/apiv3/cxpb/deployment.pb.go index 15b4d5f34ef6..591e9a287c61 100755 --- a/dialogflow/cx/apiv3/cxpb/deployment.pb.go +++ b/dialogflow/cx/apiv3/cxpb/deployment.pb.go @@ -22,6 +22,9 @@ package cxpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/entity_type.pb.go b/dialogflow/cx/apiv3/cxpb/entity_type.pb.go index 6f6bad1c321a..94da4cef7688 100755 --- a/dialogflow/cx/apiv3/cxpb/entity_type.pb.go +++ b/dialogflow/cx/apiv3/cxpb/entity_type.pb.go @@ -22,6 +22,9 @@ package cxpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( @@ -164,18 +165,18 @@ func (EntityType_AutoExpansionMode) EnumDescriptor() ([]byte, []int) { // // There are three types of entities: // -// * **System** - entities that are defined by the Dialogflow API for common +// - **System** - entities that are defined by the Dialogflow API for common // data types such as date, time, currency, and so on. A system entity is // represented by the `EntityType` type. // -// * **Custom** - entities that are defined by you that represent +// - **Custom** - entities that are defined by you that represent // actionable data that is meaningful to your application. For example, // you could define a `pizza.sauce` entity for red or white pizza sauce, // a `pizza.cheese` entity for the different types of cheese on a pizza, // a `pizza.topping` entity for different toppings, and so on. A custom // entity is represented by the `EntityType` type. // -// * **User** - entities that are built for an individual user such as +// - **User** - entities that are built for an individual user such as // favorites, preferences, playlists, and so on. A user entity is // represented by the // [SessionEntityType][google.cloud.dialogflow.cx.v3.SessionEntityType] diff --git a/dialogflow/cx/apiv3/cxpb/environment.pb.go b/dialogflow/cx/apiv3/cxpb/environment.pb.go index 1d86473090ce..399453cfcbaa 100755 --- a/dialogflow/cx/apiv3/cxpb/environment.pb.go +++ b/dialogflow/cx/apiv3/cxpb/environment.pb.go @@ -21,8 +21,11 @@ package cxpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,8 +36,6 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/experiment.pb.go b/dialogflow/cx/apiv3/cxpb/experiment.pb.go index 660489a9b0d2..afff43a5e5fb 100755 --- a/dialogflow/cx/apiv3/cxpb/experiment.pb.go +++ b/dialogflow/cx/apiv3/cxpb/experiment.pb.go @@ -22,6 +22,9 @@ package cxpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/flow.pb.go b/dialogflow/cx/apiv3/cxpb/flow.pb.go index 3384b8ba8eeb..2869284882a5 100755 --- a/dialogflow/cx/apiv3/cxpb/flow.pb.go +++ b/dialogflow/cx/apiv3/cxpb/flow.pb.go @@ -21,8 +21,11 @@ package cxpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,8 +36,6 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/fulfillment.pb.go b/dialogflow/cx/apiv3/cxpb/fulfillment.pb.go index 6b420b32398a..521df7eed377 100755 --- a/dialogflow/cx/apiv3/cxpb/fulfillment.pb.go +++ b/dialogflow/cx/apiv3/cxpb/fulfillment.pb.go @@ -21,12 +21,13 @@ package cxpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( @@ -38,9 +39,9 @@ const ( // A fulfillment can do one or more of the following actions at the same time: // -// * Generate rich message responses. -// * Set parameter values. -// * Call the webhook. +// - Generate rich message responses. +// - Set parameter values. +// - Call the webhook. // // Fulfillments can be called at various stages in the // [Page][google.cloud.dialogflow.cx.v3.Page] or diff --git a/dialogflow/cx/apiv3/cxpb/gcs.pb.go b/dialogflow/cx/apiv3/cxpb/gcs.pb.go index c25089bf8435..c73bdd515dfe 100755 --- a/dialogflow/cx/apiv3/cxpb/gcs.pb.go +++ b/dialogflow/cx/apiv3/cxpb/gcs.pb.go @@ -21,11 +21,12 @@ package cxpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/generative_settings.pb.go b/dialogflow/cx/apiv3/cxpb/generative_settings.pb.go index 4a1228060f62..920b5d43eb88 100755 --- a/dialogflow/cx/apiv3/cxpb/generative_settings.pb.go +++ b/dialogflow/cx/apiv3/cxpb/generative_settings.pb.go @@ -21,11 +21,12 @@ package cxpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/import_strategy.pb.go b/dialogflow/cx/apiv3/cxpb/import_strategy.pb.go index 71a8eaec21e2..9d08ec717da4 100755 --- a/dialogflow/cx/apiv3/cxpb/import_strategy.pb.go +++ b/dialogflow/cx/apiv3/cxpb/import_strategy.pb.go @@ -21,10 +21,11 @@ package cxpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/inline.pb.go b/dialogflow/cx/apiv3/cxpb/inline.pb.go index 7748609f04c4..598e48b9e11d 100755 --- a/dialogflow/cx/apiv3/cxpb/inline.pb.go +++ b/dialogflow/cx/apiv3/cxpb/inline.pb.go @@ -21,11 +21,12 @@ package cxpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/intent.pb.go b/dialogflow/cx/apiv3/cxpb/intent.pb.go index aae05eeac19a..181c18138226 100755 --- a/dialogflow/cx/apiv3/cxpb/intent.pb.go +++ b/dialogflow/cx/apiv3/cxpb/intent.pb.go @@ -21,8 +21,11 @@ package cxpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/page.pb.go b/dialogflow/cx/apiv3/cxpb/page.pb.go index 33c01863ad36..404b285e80ff 100755 --- a/dialogflow/cx/apiv3/cxpb/page.pb.go +++ b/dialogflow/cx/apiv3/cxpb/page.pb.go @@ -22,6 +22,9 @@ package cxpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/response_message.pb.go b/dialogflow/cx/apiv3/cxpb/response_message.pb.go index a977ad079f57..c7742ea6e85d 100755 --- a/dialogflow/cx/apiv3/cxpb/response_message.pb.go +++ b/dialogflow/cx/apiv3/cxpb/response_message.pb.go @@ -21,12 +21,13 @@ package cxpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( @@ -104,15 +105,15 @@ func (ResponseMessage_ResponseType) EnumDescriptor() ([]byte, []int) { // Response messages are also used for output audio synthesis. The approach is // as follows: // -// * If at least one OutputAudioText response is present, then all -// OutputAudioText responses are linearly concatenated, and the result is used -// for output audio synthesis. -// * If the OutputAudioText responses are a mixture of text and SSML, then the -// concatenated result is treated as SSML; otherwise, the result is treated as -// either text or SSML as appropriate. The agent designer should ideally use -// either text or SSML consistently throughout the bot design. -// * Otherwise, all Text responses are linearly concatenated, and the result is -// used for output audio synthesis. +// - If at least one OutputAudioText response is present, then all +// OutputAudioText responses are linearly concatenated, and the result is used +// for output audio synthesis. +// - If the OutputAudioText responses are a mixture of text and SSML, then the +// concatenated result is treated as SSML; otherwise, the result is treated as +// either text or SSML as appropriate. The agent designer should ideally use +// either text or SSML consistently throughout the bot design. +// - Otherwise, all Text responses are linearly concatenated, and the result is +// used for output audio synthesis. // // This approach allows for more sophisticated user experience scenarios, where // the text displayed to the user may differ from what is heard. @@ -427,10 +428,11 @@ func (x *ResponseMessage_Text) GetAllowPlaybackInterruption() bool { // * In the // [entry_fulfillment][google.cloud.dialogflow.cx.v3.Page.entry_fulfillment] // of a [Page][google.cloud.dialogflow.cx.v3.Page] if -// entering the page indicates something went extremely wrong in the -// conversation. -// * In a webhook response when you determine that the customer issue can only -// be handled by a human. +// +// entering the page indicates something went extremely wrong in the +// conversation. +// - In a webhook response when you determine that the customer issue can only +// be handled by a human. type ResponseMessage_LiveAgentHandoff struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -493,9 +495,10 @@ func (x *ResponseMessage_LiveAgentHandoff) GetMetadata() *structpb.Struct { // * In the // [entry_fulfillment][google.cloud.dialogflow.cx.v3.Page.entry_fulfillment] // of a [Page][google.cloud.dialogflow.cx.v3.Page] if -// entering the page indicates that the conversation succeeded. -// * In a webhook response when you determine that you handled the customer -// issue. +// +// entering the page indicates that the conversation succeeded. +// - In a webhook response when you determine that you handled the customer +// issue. type ResponseMessage_ConversationSuccess struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/dialogflow/cx/apiv3/cxpb/safety_settings.pb.go b/dialogflow/cx/apiv3/cxpb/safety_settings.pb.go index 2c9ebdbc46c6..744b67afa86c 100755 --- a/dialogflow/cx/apiv3/cxpb/safety_settings.pb.go +++ b/dialogflow/cx/apiv3/cxpb/safety_settings.pb.go @@ -21,11 +21,12 @@ package cxpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/security_settings.pb.go b/dialogflow/cx/apiv3/cxpb/security_settings.pb.go index fc2c022df74c..d6dc37a688cb 100755 --- a/dialogflow/cx/apiv3/cxpb/security_settings.pb.go +++ b/dialogflow/cx/apiv3/cxpb/security_settings.pb.go @@ -22,6 +22,9 @@ package cxpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/session.pb.go b/dialogflow/cx/apiv3/cxpb/session.pb.go index ff6dcdae6693..3f4e87edf78c 100755 --- a/dialogflow/cx/apiv3/cxpb/session.pb.go +++ b/dialogflow/cx/apiv3/cxpb/session.pb.go @@ -22,6 +22,9 @@ package cxpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" latlng "google.golang.org/genproto/googleapis/type/latlng" @@ -33,8 +36,6 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( @@ -633,7 +634,7 @@ func (x *DetectIntentResponse) GetAllowCancellation() bool { // // Multiple request messages should be sent in order: // -// 1. The first message must contain +// 1. The first message must contain // [session][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.session], // [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] // plus optionally @@ -644,20 +645,21 @@ func (x *DetectIntentResponse) GetAllowCancellation() bool { // 2. If // [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] // was set to -// [query_input.audio.config][google.cloud.dialogflow.cx.v3.AudioInput.config], -// all subsequent messages must contain -// [query_input.audio.audio][google.cloud.dialogflow.cx.v3.AudioInput.audio] -// to continue with Speech recognition. If you decide to rather detect an -// intent from text input after you already started Speech recognition, -// please send a message with -// [query_input.text][google.cloud.dialogflow.cx.v3.QueryInput.text]. // -// However, note that: +// [query_input.audio.config][google.cloud.dialogflow.cx.v3.AudioInput.config], +// all subsequent messages must contain +// [query_input.audio.audio][google.cloud.dialogflow.cx.v3.AudioInput.audio] +// to continue with Speech recognition. If you decide to rather detect an +// intent from text input after you already started Speech recognition, +// please send a message with +// [query_input.text][google.cloud.dialogflow.cx.v3.QueryInput.text]. +// +// However, note that: // -// * Dialogflow will bill you for the audio duration so far. -// * Dialogflow discards all Speech recognition results in favor of the -// input text. -// * Dialogflow will use the language code from the first message. +// * Dialogflow will bill you for the audio duration so far. +// * Dialogflow discards all Speech recognition results in favor of the +// input text. +// * Dialogflow will use the language code from the first message. // // After you sent all input, you must half-close or abort the request stream. type StreamingDetectIntentRequest struct { @@ -994,7 +996,7 @@ func (x *CloudConversationDebuggingInfo) GetClientHalfCloseStreamingTimeOffset() // The first (N-1) responses set either the `recognition_result` or // `detect_intent_response` field, depending on the request: // -// * If the `StreamingDetectIntentRequest.query_input.audio` field was +// - If the `StreamingDetectIntentRequest.query_input.audio` field was // set, and the `StreamingDetectIntentRequest.enable_partial_response` // field was false, the `recognition_result` field is populated for each // of the (N-1) responses. @@ -1002,7 +1004,7 @@ func (x *CloudConversationDebuggingInfo) GetClientHalfCloseStreamingTimeOffset() // [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult] // message for details about the result message sequence. // -// * If the `StreamingDetectIntentRequest.enable_partial_response` field was +// - If the `StreamingDetectIntentRequest.enable_partial_response` field was // true, the `detect_intent_response` field is populated for each // of the (N-1) responses, where 1 <= N <= 4. // These responses set the diff --git a/dialogflow/cx/apiv3/cxpb/session_entity_type.pb.go b/dialogflow/cx/apiv3/cxpb/session_entity_type.pb.go index a81f77c024c2..3202d7caa81e 100755 --- a/dialogflow/cx/apiv3/cxpb/session_entity_type.pb.go +++ b/dialogflow/cx/apiv3/cxpb/session_entity_type.pb.go @@ -22,6 +22,9 @@ package cxpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/test_case.pb.go b/dialogflow/cx/apiv3/cxpb/test_case.pb.go index 805d59c44ff6..38f08b54ab12 100755 --- a/dialogflow/cx/apiv3/cxpb/test_case.pb.go +++ b/dialogflow/cx/apiv3/cxpb/test_case.pb.go @@ -21,8 +21,11 @@ package cxpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -34,8 +37,6 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/transition_route_group.pb.go b/dialogflow/cx/apiv3/cxpb/transition_route_group.pb.go index 9f26a1636928..9c46419fe275 100755 --- a/dialogflow/cx/apiv3/cxpb/transition_route_group.pb.go +++ b/dialogflow/cx/apiv3/cxpb/transition_route_group.pb.go @@ -22,6 +22,9 @@ package cxpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/validation_message.pb.go b/dialogflow/cx/apiv3/cxpb/validation_message.pb.go index 35a35a0c19f9..8a9212829a83 100755 --- a/dialogflow/cx/apiv3/cxpb/validation_message.pb.go +++ b/dialogflow/cx/apiv3/cxpb/validation_message.pb.go @@ -21,10 +21,11 @@ package cxpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/version.pb.go b/dialogflow/cx/apiv3/cxpb/version.pb.go index 2236a6335b2d..345e0de80bb5 100755 --- a/dialogflow/cx/apiv3/cxpb/version.pb.go +++ b/dialogflow/cx/apiv3/cxpb/version.pb.go @@ -21,8 +21,11 @@ package cxpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,8 +36,6 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/cxpb/webhook.pb.go b/dialogflow/cx/apiv3/cxpb/webhook.pb.go index 3de8183a14ab..7def99c95e6c 100755 --- a/dialogflow/cx/apiv3/cxpb/webhook.pb.go +++ b/dialogflow/cx/apiv3/cxpb/webhook.pb.go @@ -22,6 +22,9 @@ package cxpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3/doc.go b/dialogflow/cx/apiv3/doc.go index 817b247edc1a..925709f3a5bb 100755 --- a/dialogflow/cx/apiv3/doc.go +++ b/dialogflow/cx/apiv3/doc.go @@ -20,65 +20,66 @@ // Builds conversational interfaces (for example, chatbots, and voice-powered // apps and devices). // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cx.NewPagesClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cx.NewPagesClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cx.NewPagesClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &cxpb.CreatePageRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/dialogflow/cx/apiv3/cxpb#CreatePageRequest. -// } -// resp, err := c.CreatePage(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cx.NewPagesClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &cxpb.CreatePageRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/dialogflow/cx/apiv3/cxpb#CreatePageRequest. +// } +// resp, err := c.CreatePage(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewPagesClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/dialogflow/cx/apiv3/environments_client.go b/dialogflow/cx/apiv3/environments_client.go index 0f919e871c1d..7f5ff112fa65 100755 --- a/dialogflow/cx/apiv3/environments_client.go +++ b/dialogflow/cx/apiv3/environments_client.go @@ -388,10 +388,10 @@ func (c *EnvironmentsClient) GetEnvironment(ctx context.Context, req *cxpb.GetEn // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: Environment +// response: Environment func (c *EnvironmentsClient) CreateEnvironment(ctx context.Context, req *cxpb.CreateEnvironmentRequest, opts ...gax.CallOption) (*CreateEnvironmentOperation, error) { return c.internalClient.CreateEnvironment(ctx, req, opts...) } @@ -409,10 +409,10 @@ func (c *EnvironmentsClient) CreateEnvironmentOperation(name string) *CreateEnvi // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: Environment +// response: Environment func (c *EnvironmentsClient) UpdateEnvironment(ctx context.Context, req *cxpb.UpdateEnvironmentRequest, opts ...gax.CallOption) (*UpdateEnvironmentOperation, error) { return c.internalClient.UpdateEnvironment(ctx, req, opts...) } @@ -442,11 +442,11 @@ func (c *EnvironmentsClient) LookupEnvironmentHistory(ctx context.Context, req * // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// RunContinuousTestMetadata +// metadata: +// RunContinuousTestMetadata // -// response: -// RunContinuousTestResponse +// response: +// RunContinuousTestResponse func (c *EnvironmentsClient) RunContinuousTest(ctx context.Context, req *cxpb.RunContinuousTestRequest, opts ...gax.CallOption) (*RunContinuousTestOperation, error) { return c.internalClient.RunContinuousTest(ctx, req, opts...) } @@ -469,11 +469,11 @@ func (c *EnvironmentsClient) ListContinuousTestResults(ctx context.Context, req // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// DeployFlowMetadata +// metadata: +// DeployFlowMetadata // -// response: -// DeployFlowResponse +// response: +// DeployFlowResponse func (c *EnvironmentsClient) DeployFlow(ctx context.Context, req *cxpb.DeployFlowRequest, opts ...gax.CallOption) (*DeployFlowOperation, error) { return c.internalClient.DeployFlow(ctx, req, opts...) } @@ -1238,10 +1238,10 @@ func (c *environmentsRESTClient) GetEnvironment(ctx context.Context, req *cxpb.G // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: Environment +// response: Environment func (c *environmentsRESTClient) CreateEnvironment(ctx context.Context, req *cxpb.CreateEnvironmentRequest, opts ...gax.CallOption) (*CreateEnvironmentOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetEnvironment() @@ -1319,10 +1319,10 @@ func (c *environmentsRESTClient) CreateEnvironment(ctx context.Context, req *cxp // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: Environment +// response: Environment func (c *environmentsRESTClient) UpdateEnvironment(ctx context.Context, req *cxpb.UpdateEnvironmentRequest, opts ...gax.CallOption) (*UpdateEnvironmentOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetEnvironment() @@ -1540,11 +1540,11 @@ func (c *environmentsRESTClient) LookupEnvironmentHistory(ctx context.Context, r // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// RunContinuousTestMetadata +// metadata: +// RunContinuousTestMetadata // -// response: -// RunContinuousTestResponse +// response: +// RunContinuousTestResponse func (c *environmentsRESTClient) RunContinuousTest(ctx context.Context, req *cxpb.RunContinuousTestRequest, opts ...gax.CallOption) (*RunContinuousTestOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1710,11 +1710,11 @@ func (c *environmentsRESTClient) ListContinuousTestResults(ctx context.Context, // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// DeployFlowMetadata +// metadata: +// DeployFlowMetadata // -// response: -// DeployFlowResponse +// response: +// DeployFlowResponse func (c *environmentsRESTClient) DeployFlow(ctx context.Context, req *cxpb.DeployFlowRequest, opts ...gax.CallOption) (*DeployFlowOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/dialogflow/cx/apiv3/flows_client.go b/dialogflow/cx/apiv3/flows_client.go index 0a82f205d1cd..9485b21a0546 100755 --- a/dialogflow/cx/apiv3/flows_client.go +++ b/dialogflow/cx/apiv3/flows_client.go @@ -432,11 +432,11 @@ func (c *FlowsClient) UpdateFlow(ctx context.Context, req *cxpb.UpdateFlowReques // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train a flow prior to sending it queries. See the // training @@ -470,11 +470,11 @@ func (c *FlowsClient) GetFlowValidationResult(ctx context.Context, req *cxpb.Get // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ImportFlowResponse +// response: +// ImportFlowResponse // // Note: You should always train a flow prior to sending it queries. See the // training @@ -495,11 +495,11 @@ func (c *FlowsClient) ImportFlowOperation(name string) *ImportFlowOperation { // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ExportFlowResponse +// response: +// ExportFlowResponse // // Note that resources (e.g. intents, entities, webhooks) that the flow // references will also be exported. @@ -1429,11 +1429,11 @@ func (c *flowsRESTClient) UpdateFlow(ctx context.Context, req *cxpb.UpdateFlowRe // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train a flow prior to sending it queries. See the // training @@ -1645,11 +1645,11 @@ func (c *flowsRESTClient) GetFlowValidationResult(ctx context.Context, req *cxpb // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ImportFlowResponse +// response: +// ImportFlowResponse // // Note: You should always train a flow prior to sending it queries. See the // training @@ -1729,11 +1729,11 @@ func (c *flowsRESTClient) ImportFlow(ctx context.Context, req *cxpb.ImportFlowRe // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ExportFlowResponse +// response: +// ExportFlowResponse // // Note that resources (e.g. intents, entities, webhooks) that the flow // references will also be exported. diff --git a/dialogflow/cx/apiv3/intents_client.go b/dialogflow/cx/apiv3/intents_client.go index d7c3f597725e..94b53464468c 100755 --- a/dialogflow/cx/apiv3/intents_client.go +++ b/dialogflow/cx/apiv3/intents_client.go @@ -359,11 +359,11 @@ func (c *IntentsClient) DeleteIntent(ctx context.Context, req *cxpb.DeleteIntent // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ImportIntentsMetadata +// metadata: +// ImportIntentsMetadata // -// response: -// ImportIntentsResponse +// response: +// ImportIntentsResponse func (c *IntentsClient) ImportIntents(ctx context.Context, req *cxpb.ImportIntentsRequest, opts ...gax.CallOption) (*ImportIntentsOperation, error) { return c.internalClient.ImportIntents(ctx, req, opts...) } @@ -380,11 +380,11 @@ func (c *IntentsClient) ImportIntentsOperation(name string) *ImportIntentsOperat // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ExportIntentsMetadata +// metadata: +// ExportIntentsMetadata // -// response: -// ExportIntentsResponse +// response: +// ExportIntentsResponse func (c *IntentsClient) ExportIntents(ctx context.Context, req *cxpb.ExportIntentsRequest, opts ...gax.CallOption) (*ExportIntentsOperation, error) { return c.internalClient.ExportIntents(ctx, req, opts...) } @@ -1258,11 +1258,11 @@ func (c *intentsRESTClient) DeleteIntent(ctx context.Context, req *cxpb.DeleteIn // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ImportIntentsMetadata +// metadata: +// ImportIntentsMetadata // -// response: -// ImportIntentsResponse +// response: +// ImportIntentsResponse func (c *intentsRESTClient) ImportIntents(ctx context.Context, req *cxpb.ImportIntentsRequest, opts ...gax.CallOption) (*ImportIntentsOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1338,11 +1338,11 @@ func (c *intentsRESTClient) ImportIntents(ctx context.Context, req *cxpb.ImportI // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ExportIntentsMetadata +// metadata: +// ExportIntentsMetadata // -// response: -// ExportIntentsResponse +// response: +// ExportIntentsResponse func (c *intentsRESTClient) ExportIntents(ctx context.Context, req *cxpb.ExportIntentsRequest, opts ...gax.CallOption) (*ExportIntentsOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/dialogflow/cx/apiv3/test_cases_client.go b/dialogflow/cx/apiv3/test_cases_client.go index 7b23a2da5790..f00a9ab9e641 100755 --- a/dialogflow/cx/apiv3/test_cases_client.go +++ b/dialogflow/cx/apiv3/test_cases_client.go @@ -475,11 +475,11 @@ func (c *TestCasesClient) UpdateTestCase(ctx context.Context, req *cxpb.UpdateTe // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// RunTestCaseMetadata +// metadata: +// RunTestCaseMetadata // -// response: -// RunTestCaseResponse +// response: +// RunTestCaseResponse func (c *TestCasesClient) RunTestCase(ctx context.Context, req *cxpb.RunTestCaseRequest, opts ...gax.CallOption) (*RunTestCaseOperation, error) { return c.internalClient.RunTestCase(ctx, req, opts...) } @@ -496,11 +496,11 @@ func (c *TestCasesClient) RunTestCaseOperation(name string) *RunTestCaseOperatio // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// BatchRunTestCasesMetadata +// metadata: +// BatchRunTestCasesMetadata // -// response: -// BatchRunTestCasesResponse +// response: +// BatchRunTestCasesResponse func (c *TestCasesClient) BatchRunTestCases(ctx context.Context, req *cxpb.BatchRunTestCasesRequest, opts ...gax.CallOption) (*BatchRunTestCasesOperation, error) { return c.internalClient.BatchRunTestCases(ctx, req, opts...) } @@ -524,11 +524,11 @@ func (c *TestCasesClient) CalculateCoverage(ctx context.Context, req *cxpb.Calcu // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ImportTestCasesMetadata +// metadata: +// ImportTestCasesMetadata // -// response: -// ImportTestCasesResponse +// response: +// ImportTestCasesResponse func (c *TestCasesClient) ImportTestCases(ctx context.Context, req *cxpb.ImportTestCasesRequest, opts ...gax.CallOption) (*ImportTestCasesOperation, error) { return c.internalClient.ImportTestCases(ctx, req, opts...) } @@ -546,11 +546,11 @@ func (c *TestCasesClient) ImportTestCasesOperation(name string) *ImportTestCases // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ExportTestCasesMetadata +// metadata: +// ExportTestCasesMetadata // -// response: -// ExportTestCasesResponse +// response: +// ExportTestCasesResponse func (c *TestCasesClient) ExportTestCases(ctx context.Context, req *cxpb.ExportTestCasesRequest, opts ...gax.CallOption) (*ExportTestCasesOperation, error) { return c.internalClient.ExportTestCases(ctx, req, opts...) } @@ -1541,11 +1541,11 @@ func (c *testCasesRESTClient) UpdateTestCase(ctx context.Context, req *cxpb.Upda // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// RunTestCaseMetadata +// metadata: +// RunTestCaseMetadata // -// response: -// RunTestCaseResponse +// response: +// RunTestCaseResponse func (c *testCasesRESTClient) RunTestCase(ctx context.Context, req *cxpb.RunTestCaseRequest, opts ...gax.CallOption) (*RunTestCaseOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1621,11 +1621,11 @@ func (c *testCasesRESTClient) RunTestCase(ctx context.Context, req *cxpb.RunTest // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// BatchRunTestCasesMetadata +// metadata: +// BatchRunTestCasesMetadata // -// response: -// BatchRunTestCasesResponse +// response: +// BatchRunTestCasesResponse func (c *testCasesRESTClient) BatchRunTestCases(ctx context.Context, req *cxpb.BatchRunTestCasesRequest, opts ...gax.CallOption) (*BatchRunTestCasesOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1764,11 +1764,11 @@ func (c *testCasesRESTClient) CalculateCoverage(ctx context.Context, req *cxpb.C // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ImportTestCasesMetadata +// metadata: +// ImportTestCasesMetadata // -// response: -// ImportTestCasesResponse +// response: +// ImportTestCasesResponse func (c *testCasesRESTClient) ImportTestCases(ctx context.Context, req *cxpb.ImportTestCasesRequest, opts ...gax.CallOption) (*ImportTestCasesOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1845,11 +1845,11 @@ func (c *testCasesRESTClient) ImportTestCases(ctx context.Context, req *cxpb.Imp // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ExportTestCasesMetadata +// metadata: +// ExportTestCasesMetadata // -// response: -// ExportTestCasesResponse +// response: +// ExportTestCasesResponse func (c *testCasesRESTClient) ExportTestCases(ctx context.Context, req *cxpb.ExportTestCasesRequest, opts ...gax.CallOption) (*ExportTestCasesOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/dialogflow/cx/apiv3/versions_client.go b/dialogflow/cx/apiv3/versions_client.go index e34ad3626773..04b8cf0821ae 100755 --- a/dialogflow/cx/apiv3/versions_client.go +++ b/dialogflow/cx/apiv3/versions_client.go @@ -334,10 +334,10 @@ func (c *VersionsClient) GetVersion(ctx context.Context, req *cxpb.GetVersionReq // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// CreateVersionOperationMetadata +// metadata: +// CreateVersionOperationMetadata // -// response: Version +// response: Version func (c *VersionsClient) CreateVersion(ctx context.Context, req *cxpb.CreateVersionRequest, opts ...gax.CallOption) (*CreateVersionOperation, error) { return c.internalClient.CreateVersion(ctx, req, opts...) } @@ -364,11 +364,11 @@ func (c *VersionsClient) DeleteVersion(ctx context.Context, req *cxpb.DeleteVers // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *VersionsClient) LoadVersion(ctx context.Context, req *cxpb.LoadVersionRequest, opts ...gax.CallOption) (*LoadVersionOperation, error) { return c.internalClient.LoadVersion(ctx, req, opts...) } @@ -1039,10 +1039,10 @@ func (c *versionsRESTClient) GetVersion(ctx context.Context, req *cxpb.GetVersio // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// CreateVersionOperationMetadata +// metadata: +// CreateVersionOperationMetadata // -// response: Version +// response: Version func (c *versionsRESTClient) CreateVersion(ctx context.Context, req *cxpb.CreateVersionRequest, opts ...gax.CallOption) (*CreateVersionOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetVersion() @@ -1235,11 +1235,11 @@ func (c *versionsRESTClient) DeleteVersion(ctx context.Context, req *cxpb.Delete // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *versionsRESTClient) LoadVersion(ctx context.Context, req *cxpb.LoadVersionRequest, opts ...gax.CallOption) (*LoadVersionOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/dialogflow/cx/apiv3beta1/agents_client.go b/dialogflow/cx/apiv3beta1/agents_client.go index 1555808d2b3e..aebc24658dd5 100755 --- a/dialogflow/cx/apiv3beta1/agents_client.go +++ b/dialogflow/cx/apiv3beta1/agents_client.go @@ -455,11 +455,11 @@ func (c *AgentsClient) DeleteAgent(ctx context.Context, req *cxpb.DeleteAgentReq // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ExportAgentResponse +// response: +// ExportAgentResponse func (c *AgentsClient) ExportAgent(ctx context.Context, req *cxpb.ExportAgentRequest, opts ...gax.CallOption) (*ExportAgentOperation, error) { return c.internalClient.ExportAgent(ctx, req, opts...) } @@ -479,11 +479,11 @@ func (c *AgentsClient) ExportAgentOperation(name string) *ExportAgentOperation { // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train a flow prior to sending it queries. See the // training @@ -1437,11 +1437,11 @@ func (c *agentsRESTClient) DeleteAgent(ctx context.Context, req *cxpb.DeleteAgen // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ExportAgentResponse +// response: +// ExportAgentResponse func (c *agentsRESTClient) ExportAgent(ctx context.Context, req *cxpb.ExportAgentRequest, opts ...gax.CallOption) (*ExportAgentOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1520,11 +1520,11 @@ func (c *agentsRESTClient) ExportAgent(ctx context.Context, req *cxpb.ExportAgen // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train a flow prior to sending it queries. See the // training diff --git a/dialogflow/cx/apiv3beta1/cxpb/advanced_settings.pb.go b/dialogflow/cx/apiv3beta1/cxpb/advanced_settings.pb.go index cab1daea3f1a..8307eb542d90 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/advanced_settings.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/advanced_settings.pb.go @@ -21,11 +21,12 @@ package cxpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/agent.pb.go b/dialogflow/cx/apiv3beta1/cxpb/agent.pb.go index f80119c86a00..984c9f54d26c 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/agent.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/agent.pb.go @@ -21,8 +21,11 @@ package cxpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/audio_config.pb.go b/dialogflow/cx/apiv3beta1/cxpb/audio_config.pb.go index 6afc42f5480b..5853a753fbd6 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/audio_config.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/audio_config.pb.go @@ -21,12 +21,13 @@ package cxpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( @@ -441,13 +442,13 @@ func (x *SpeechWordInfo) GetConfidence() float32 { // as soon as it starts playing back the audio from the previous response. The // playback is modeled into two phases: // -// * No barge-in phase: which goes first and during which speech detection -// should not be carried out. +// - No barge-in phase: which goes first and during which speech detection +// should not be carried out. // -// * Barge-in phase: which follows the no barge-in phase and during which -// the API starts speech detection and may inform the client that an utterance -// has been detected. Note that no-speech event is not expected in this -// phase. +// - Barge-in phase: which follows the no barge-in phase and during which +// the API starts speech detection and may inform the client that an utterance +// has been detected. Note that no-speech event is not expected in this +// phase. // // The client provides this configuration in terms of the durations of those // two phases. The durations are measured in terms of the audio length from the diff --git a/dialogflow/cx/apiv3beta1/cxpb/changelog.pb.go b/dialogflow/cx/apiv3beta1/cxpb/changelog.pb.go index f586c925b22d..a5a598f75cde 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/changelog.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/changelog.pb.go @@ -22,6 +22,9 @@ package cxpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/data_store_connection.pb.go b/dialogflow/cx/apiv3beta1/cxpb/data_store_connection.pb.go index 9e633a39f75b..2a0e1da81e46 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/data_store_connection.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/data_store_connection.pb.go @@ -21,10 +21,11 @@ package cxpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/deployment.pb.go b/dialogflow/cx/apiv3beta1/cxpb/deployment.pb.go index b5f741584eb8..320890521e09 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/deployment.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/deployment.pb.go @@ -22,6 +22,9 @@ package cxpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/entity_type.pb.go b/dialogflow/cx/apiv3beta1/cxpb/entity_type.pb.go index de04cb2d0c64..f60e5f39e366 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/entity_type.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/entity_type.pb.go @@ -22,6 +22,9 @@ package cxpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( @@ -164,18 +165,18 @@ func (EntityType_AutoExpansionMode) EnumDescriptor() ([]byte, []int) { // // There are three types of entities: // -// * **System** - entities that are defined by the Dialogflow API for common +// - **System** - entities that are defined by the Dialogflow API for common // data types such as date, time, currency, and so on. A system entity is // represented by the `EntityType` type. // -// * **Custom** - entities that are defined by you that represent +// - **Custom** - entities that are defined by you that represent // actionable data that is meaningful to your application. For example, // you could define a `pizza.sauce` entity for red or white pizza sauce, // a `pizza.cheese` entity for the different types of cheese on a pizza, // a `pizza.topping` entity for different toppings, and so on. A custom // entity is represented by the `EntityType` type. // -// * **User** - entities that are built for an individual user such as +// - **User** - entities that are built for an individual user such as // favorites, preferences, playlists, and so on. A user entity is // represented by the // [SessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityType] diff --git a/dialogflow/cx/apiv3beta1/cxpb/environment.pb.go b/dialogflow/cx/apiv3beta1/cxpb/environment.pb.go index 3c23bec37d92..25ebb2ae3b75 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/environment.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/environment.pb.go @@ -21,8 +21,11 @@ package cxpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,8 +36,6 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/experiment.pb.go b/dialogflow/cx/apiv3beta1/cxpb/experiment.pb.go index 3fadea24a7a2..684e57c8ac21 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/experiment.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/experiment.pb.go @@ -22,6 +22,9 @@ package cxpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/flow.pb.go b/dialogflow/cx/apiv3beta1/cxpb/flow.pb.go index 56a2d3f5300f..58379a109386 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/flow.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/flow.pb.go @@ -21,8 +21,11 @@ package cxpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,8 +36,6 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/fulfillment.pb.go b/dialogflow/cx/apiv3beta1/cxpb/fulfillment.pb.go index 7e38a37c7661..849db0215b9b 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/fulfillment.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/fulfillment.pb.go @@ -21,12 +21,13 @@ package cxpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( @@ -38,9 +39,9 @@ const ( // A fulfillment can do one or more of the following actions at the same time: // -// * Generate rich message responses. -// * Set parameter values. -// * Call the webhook. +// - Generate rich message responses. +// - Set parameter values. +// - Call the webhook. // // Fulfillments can be called at various stages in the // [Page][google.cloud.dialogflow.cx.v3beta1.Page] or diff --git a/dialogflow/cx/apiv3beta1/cxpb/gcs.pb.go b/dialogflow/cx/apiv3beta1/cxpb/gcs.pb.go index 07e6b309a131..f0c34fca92b6 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/gcs.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/gcs.pb.go @@ -21,11 +21,12 @@ package cxpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/generative_settings.pb.go b/dialogflow/cx/apiv3beta1/cxpb/generative_settings.pb.go index 010375c5dafb..32b825b883e2 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/generative_settings.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/generative_settings.pb.go @@ -21,11 +21,12 @@ package cxpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/import_strategy.pb.go b/dialogflow/cx/apiv3beta1/cxpb/import_strategy.pb.go index a1ed95e02fe2..2a7eb8e2836b 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/import_strategy.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/import_strategy.pb.go @@ -21,10 +21,11 @@ package cxpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/inline.pb.go b/dialogflow/cx/apiv3beta1/cxpb/inline.pb.go index 875d8ad5dd56..004ad55b5c3e 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/inline.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/inline.pb.go @@ -21,11 +21,12 @@ package cxpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/intent.pb.go b/dialogflow/cx/apiv3beta1/cxpb/intent.pb.go index 9e6d1526c702..a4462e1acc8d 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/intent.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/intent.pb.go @@ -21,8 +21,11 @@ package cxpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/page.pb.go b/dialogflow/cx/apiv3beta1/cxpb/page.pb.go index 433a35a06028..ed206ccf1dd3 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/page.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/page.pb.go @@ -22,6 +22,9 @@ package cxpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/response_message.pb.go b/dialogflow/cx/apiv3beta1/cxpb/response_message.pb.go index 14b16c22d793..9d3294faf576 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/response_message.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/response_message.pb.go @@ -21,12 +21,13 @@ package cxpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( @@ -41,15 +42,15 @@ const ( // Response messages are also used for output audio synthesis. The approach is // as follows: // -// * If at least one OutputAudioText response is present, then all -// OutputAudioText responses are linearly concatenated, and the result is used -// for output audio synthesis. -// * If the OutputAudioText responses are a mixture of text and SSML, then the -// concatenated result is treated as SSML; otherwise, the result is treated as -// either text or SSML as appropriate. The agent designer should ideally use -// either text or SSML consistently throughout the bot design. -// * Otherwise, all Text responses are linearly concatenated, and the result is -// used for output audio synthesis. +// - If at least one OutputAudioText response is present, then all +// OutputAudioText responses are linearly concatenated, and the result is used +// for output audio synthesis. +// - If the OutputAudioText responses are a mixture of text and SSML, then the +// concatenated result is treated as SSML; otherwise, the result is treated as +// either text or SSML as appropriate. The agent designer should ideally use +// either text or SSML consistently throughout the bot design. +// - Otherwise, all Text responses are linearly concatenated, and the result is +// used for output audio synthesis. // // This approach allows for more sophisticated user experience scenarios, where // the text displayed to the user may differ from what is heard. @@ -355,10 +356,11 @@ func (x *ResponseMessage_Text) GetAllowPlaybackInterruption() bool { // * In the // [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment] // of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if -// entering the page indicates something went extremely wrong in the -// conversation. -// * In a webhook response when you determine that the customer issue can only -// be handled by a human. +// +// entering the page indicates something went extremely wrong in the +// conversation. +// - In a webhook response when you determine that the customer issue can only +// be handled by a human. type ResponseMessage_LiveAgentHandoff struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -421,9 +423,10 @@ func (x *ResponseMessage_LiveAgentHandoff) GetMetadata() *structpb.Struct { // * In the // [entry_fulfillment][google.cloud.dialogflow.cx.v3beta1.Page.entry_fulfillment] // of a [Page][google.cloud.dialogflow.cx.v3beta1.Page] if -// entering the page indicates that the conversation succeeded. -// * In a webhook response when you determine that you handled the customer -// issue. +// +// entering the page indicates that the conversation succeeded. +// - In a webhook response when you determine that you handled the customer +// issue. type ResponseMessage_ConversationSuccess struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/dialogflow/cx/apiv3beta1/cxpb/safety_settings.pb.go b/dialogflow/cx/apiv3beta1/cxpb/safety_settings.pb.go index 754f36836b59..fbcf297d0257 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/safety_settings.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/safety_settings.pb.go @@ -21,11 +21,12 @@ package cxpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/security_settings.pb.go b/dialogflow/cx/apiv3beta1/cxpb/security_settings.pb.go index 037e80859a56..e8b2e7827b58 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/security_settings.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/security_settings.pb.go @@ -22,6 +22,9 @@ package cxpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/session.pb.go b/dialogflow/cx/apiv3beta1/cxpb/session.pb.go index ae4615930230..cf34f4b0d666 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/session.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/session.pb.go @@ -22,6 +22,9 @@ package cxpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" latlng "google.golang.org/genproto/googleapis/type/latlng" @@ -33,8 +36,6 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( @@ -633,7 +634,7 @@ func (x *DetectIntentResponse) GetAllowCancellation() bool { // // Multiple request messages should be sent in order: // -// 1. The first message must contain +// 1. The first message must contain // [session][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.session], // [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input] // plus optionally @@ -644,20 +645,21 @@ func (x *DetectIntentResponse) GetAllowCancellation() bool { // 2. If // [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input] // was set to -// [query_input.audio.config][google.cloud.dialogflow.cx.v3beta1.AudioInput.config], -// all subsequent messages must contain -// [query_input.audio.audio][google.cloud.dialogflow.cx.v3beta1.AudioInput.audio] -// to continue with Speech recognition. If you decide to rather detect an -// intent from text input after you already started Speech recognition, -// please send a message with -// [query_input.text][google.cloud.dialogflow.cx.v3beta1.QueryInput.text]. // -// However, note that: +// [query_input.audio.config][google.cloud.dialogflow.cx.v3beta1.AudioInput.config], +// all subsequent messages must contain +// [query_input.audio.audio][google.cloud.dialogflow.cx.v3beta1.AudioInput.audio] +// to continue with Speech recognition. If you decide to rather detect an +// intent from text input after you already started Speech recognition, +// please send a message with +// [query_input.text][google.cloud.dialogflow.cx.v3beta1.QueryInput.text]. +// +// However, note that: // -// * Dialogflow will bill you for the audio duration so far. -// * Dialogflow discards all Speech recognition results in favor of the -// input text. -// * Dialogflow will use the language code from the first message. +// * Dialogflow will bill you for the audio duration so far. +// * Dialogflow discards all Speech recognition results in favor of the +// input text. +// * Dialogflow will use the language code from the first message. // // After you sent all input, you must half-close or abort the request stream. type StreamingDetectIntentRequest struct { @@ -994,7 +996,7 @@ func (x *CloudConversationDebuggingInfo) GetClientHalfCloseStreamingTimeOffset() // The first (N-1) responses set either the `recognition_result` or // `detect_intent_response` field, depending on the request: // -// * If the `StreamingDetectIntentRequest.query_input.audio` field was +// - If the `StreamingDetectIntentRequest.query_input.audio` field was // set, and the `StreamingDetectIntentRequest.enable_partial_response` // field was false, the `recognition_result` field is populated for each // of the (N-1) responses. @@ -1002,7 +1004,7 @@ func (x *CloudConversationDebuggingInfo) GetClientHalfCloseStreamingTimeOffset() // [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult] // message for details about the result message sequence. // -// * If the `StreamingDetectIntentRequest.enable_partial_response` field was +// - If the `StreamingDetectIntentRequest.enable_partial_response` field was // true, the `detect_intent_response` field is populated for each // of the (N-1) responses, where 1 <= N <= 4. // These responses set the diff --git a/dialogflow/cx/apiv3beta1/cxpb/session_entity_type.pb.go b/dialogflow/cx/apiv3beta1/cxpb/session_entity_type.pb.go index 4e56400eac2e..15cde8488837 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/session_entity_type.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/session_entity_type.pb.go @@ -22,6 +22,9 @@ package cxpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/test_case.pb.go b/dialogflow/cx/apiv3beta1/cxpb/test_case.pb.go index 8f44aa458a19..35f399743457 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/test_case.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/test_case.pb.go @@ -21,8 +21,11 @@ package cxpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -34,8 +37,6 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/transition_route_group.pb.go b/dialogflow/cx/apiv3beta1/cxpb/transition_route_group.pb.go index 94de62a553ca..ddc25d04e072 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/transition_route_group.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/transition_route_group.pb.go @@ -22,6 +22,9 @@ package cxpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/validation_message.pb.go b/dialogflow/cx/apiv3beta1/cxpb/validation_message.pb.go index 9522b668abf6..d0308ee9207a 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/validation_message.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/validation_message.pb.go @@ -21,10 +21,11 @@ package cxpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/version.pb.go b/dialogflow/cx/apiv3beta1/cxpb/version.pb.go index f18401e79166..f0f9da85f29e 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/version.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/version.pb.go @@ -21,8 +21,11 @@ package cxpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,8 +36,6 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/cxpb/webhook.pb.go b/dialogflow/cx/apiv3beta1/cxpb/webhook.pb.go index 46841565cc4b..bd53ca9b09dd 100755 --- a/dialogflow/cx/apiv3beta1/cxpb/webhook.pb.go +++ b/dialogflow/cx/apiv3beta1/cxpb/webhook.pb.go @@ -22,6 +22,9 @@ package cxpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dialogflow/cx/apiv3beta1/doc.go b/dialogflow/cx/apiv3beta1/doc.go index 9d1b69eccb0b..d85654fa4350 100755 --- a/dialogflow/cx/apiv3beta1/doc.go +++ b/dialogflow/cx/apiv3beta1/doc.go @@ -20,67 +20,68 @@ // Builds conversational interfaces (for example, chatbots, and voice-powered // apps and devices). // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cx.NewPagesClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cx.NewPagesClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cx.NewPagesClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &cxpb.CreatePageRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/dialogflow/cx/apiv3beta1/cxpb#CreatePageRequest. -// } -// resp, err := c.CreatePage(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cx.NewPagesClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &cxpb.CreatePageRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/dialogflow/cx/apiv3beta1/cxpb#CreatePageRequest. +// } +// resp, err := c.CreatePage(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewPagesClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/dialogflow/cx/apiv3beta1/environments_client.go b/dialogflow/cx/apiv3beta1/environments_client.go index d2de981427c8..3754e5dca223 100755 --- a/dialogflow/cx/apiv3beta1/environments_client.go +++ b/dialogflow/cx/apiv3beta1/environments_client.go @@ -388,10 +388,10 @@ func (c *EnvironmentsClient) GetEnvironment(ctx context.Context, req *cxpb.GetEn // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: Environment +// response: Environment func (c *EnvironmentsClient) CreateEnvironment(ctx context.Context, req *cxpb.CreateEnvironmentRequest, opts ...gax.CallOption) (*CreateEnvironmentOperation, error) { return c.internalClient.CreateEnvironment(ctx, req, opts...) } @@ -409,10 +409,10 @@ func (c *EnvironmentsClient) CreateEnvironmentOperation(name string) *CreateEnvi // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: Environment +// response: Environment func (c *EnvironmentsClient) UpdateEnvironment(ctx context.Context, req *cxpb.UpdateEnvironmentRequest, opts ...gax.CallOption) (*UpdateEnvironmentOperation, error) { return c.internalClient.UpdateEnvironment(ctx, req, opts...) } @@ -442,11 +442,11 @@ func (c *EnvironmentsClient) LookupEnvironmentHistory(ctx context.Context, req * // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// RunContinuousTestMetadata +// metadata: +// RunContinuousTestMetadata // -// response: -// RunContinuousTestResponse +// response: +// RunContinuousTestResponse func (c *EnvironmentsClient) RunContinuousTest(ctx context.Context, req *cxpb.RunContinuousTestRequest, opts ...gax.CallOption) (*RunContinuousTestOperation, error) { return c.internalClient.RunContinuousTest(ctx, req, opts...) } @@ -469,11 +469,11 @@ func (c *EnvironmentsClient) ListContinuousTestResults(ctx context.Context, req // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// DeployFlowMetadata +// metadata: +// DeployFlowMetadata // -// response: -// DeployFlowResponse +// response: +// DeployFlowResponse func (c *EnvironmentsClient) DeployFlow(ctx context.Context, req *cxpb.DeployFlowRequest, opts ...gax.CallOption) (*DeployFlowOperation, error) { return c.internalClient.DeployFlow(ctx, req, opts...) } @@ -1238,10 +1238,10 @@ func (c *environmentsRESTClient) GetEnvironment(ctx context.Context, req *cxpb.G // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: Environment +// response: Environment func (c *environmentsRESTClient) CreateEnvironment(ctx context.Context, req *cxpb.CreateEnvironmentRequest, opts ...gax.CallOption) (*CreateEnvironmentOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetEnvironment() @@ -1319,10 +1319,10 @@ func (c *environmentsRESTClient) CreateEnvironment(ctx context.Context, req *cxp // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: Environment +// response: Environment func (c *environmentsRESTClient) UpdateEnvironment(ctx context.Context, req *cxpb.UpdateEnvironmentRequest, opts ...gax.CallOption) (*UpdateEnvironmentOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetEnvironment() @@ -1540,11 +1540,11 @@ func (c *environmentsRESTClient) LookupEnvironmentHistory(ctx context.Context, r // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// RunContinuousTestMetadata +// metadata: +// RunContinuousTestMetadata // -// response: -// RunContinuousTestResponse +// response: +// RunContinuousTestResponse func (c *environmentsRESTClient) RunContinuousTest(ctx context.Context, req *cxpb.RunContinuousTestRequest, opts ...gax.CallOption) (*RunContinuousTestOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1710,11 +1710,11 @@ func (c *environmentsRESTClient) ListContinuousTestResults(ctx context.Context, // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// DeployFlowMetadata +// metadata: +// DeployFlowMetadata // -// response: -// DeployFlowResponse +// response: +// DeployFlowResponse func (c *environmentsRESTClient) DeployFlow(ctx context.Context, req *cxpb.DeployFlowRequest, opts ...gax.CallOption) (*DeployFlowOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/dialogflow/cx/apiv3beta1/flows_client.go b/dialogflow/cx/apiv3beta1/flows_client.go index 1ac5fad5534e..cd2e71d7088f 100755 --- a/dialogflow/cx/apiv3beta1/flows_client.go +++ b/dialogflow/cx/apiv3beta1/flows_client.go @@ -432,11 +432,11 @@ func (c *FlowsClient) UpdateFlow(ctx context.Context, req *cxpb.UpdateFlowReques // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train a flow prior to sending it queries. See the // training @@ -470,11 +470,11 @@ func (c *FlowsClient) GetFlowValidationResult(ctx context.Context, req *cxpb.Get // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ImportFlowResponse +// response: +// ImportFlowResponse // // Note: You should always train a flow prior to sending it queries. See the // training @@ -495,11 +495,11 @@ func (c *FlowsClient) ImportFlowOperation(name string) *ImportFlowOperation { // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ExportFlowResponse +// response: +// ExportFlowResponse // // Note that resources (e.g. intents, entities, webhooks) that the flow // references will also be exported. @@ -1429,11 +1429,11 @@ func (c *flowsRESTClient) UpdateFlow(ctx context.Context, req *cxpb.UpdateFlowRe // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train a flow prior to sending it queries. See the // training @@ -1645,11 +1645,11 @@ func (c *flowsRESTClient) GetFlowValidationResult(ctx context.Context, req *cxpb // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ImportFlowResponse +// response: +// ImportFlowResponse // // Note: You should always train a flow prior to sending it queries. See the // training @@ -1729,11 +1729,11 @@ func (c *flowsRESTClient) ImportFlow(ctx context.Context, req *cxpb.ImportFlowRe // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: -// ExportFlowResponse +// response: +// ExportFlowResponse // // Note that resources (e.g. intents, entities, webhooks) that the flow // references will also be exported. diff --git a/dialogflow/cx/apiv3beta1/intents_client.go b/dialogflow/cx/apiv3beta1/intents_client.go index 196a3900752d..51fa74b48834 100755 --- a/dialogflow/cx/apiv3beta1/intents_client.go +++ b/dialogflow/cx/apiv3beta1/intents_client.go @@ -359,11 +359,11 @@ func (c *IntentsClient) DeleteIntent(ctx context.Context, req *cxpb.DeleteIntent // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ImportIntentsMetadata +// metadata: +// ImportIntentsMetadata // -// response: -// ImportIntentsResponse +// response: +// ImportIntentsResponse func (c *IntentsClient) ImportIntents(ctx context.Context, req *cxpb.ImportIntentsRequest, opts ...gax.CallOption) (*ImportIntentsOperation, error) { return c.internalClient.ImportIntents(ctx, req, opts...) } @@ -380,11 +380,11 @@ func (c *IntentsClient) ImportIntentsOperation(name string) *ImportIntentsOperat // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ExportIntentsMetadata +// metadata: +// ExportIntentsMetadata // -// response: -// ExportIntentsResponse +// response: +// ExportIntentsResponse func (c *IntentsClient) ExportIntents(ctx context.Context, req *cxpb.ExportIntentsRequest, opts ...gax.CallOption) (*ExportIntentsOperation, error) { return c.internalClient.ExportIntents(ctx, req, opts...) } @@ -1258,11 +1258,11 @@ func (c *intentsRESTClient) DeleteIntent(ctx context.Context, req *cxpb.DeleteIn // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ImportIntentsMetadata +// metadata: +// ImportIntentsMetadata // -// response: -// ImportIntentsResponse +// response: +// ImportIntentsResponse func (c *intentsRESTClient) ImportIntents(ctx context.Context, req *cxpb.ImportIntentsRequest, opts ...gax.CallOption) (*ImportIntentsOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1338,11 +1338,11 @@ func (c *intentsRESTClient) ImportIntents(ctx context.Context, req *cxpb.ImportI // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ExportIntentsMetadata +// metadata: +// ExportIntentsMetadata // -// response: -// ExportIntentsResponse +// response: +// ExportIntentsResponse func (c *intentsRESTClient) ExportIntents(ctx context.Context, req *cxpb.ExportIntentsRequest, opts ...gax.CallOption) (*ExportIntentsOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/dialogflow/cx/apiv3beta1/test_cases_client.go b/dialogflow/cx/apiv3beta1/test_cases_client.go index bf9fad54467c..90bfa932700d 100755 --- a/dialogflow/cx/apiv3beta1/test_cases_client.go +++ b/dialogflow/cx/apiv3beta1/test_cases_client.go @@ -476,11 +476,11 @@ func (c *TestCasesClient) UpdateTestCase(ctx context.Context, req *cxpb.UpdateTe // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// RunTestCaseMetadata +// metadata: +// RunTestCaseMetadata // -// response: -// RunTestCaseResponse +// response: +// RunTestCaseResponse func (c *TestCasesClient) RunTestCase(ctx context.Context, req *cxpb.RunTestCaseRequest, opts ...gax.CallOption) (*RunTestCaseOperation, error) { return c.internalClient.RunTestCase(ctx, req, opts...) } @@ -497,11 +497,11 @@ func (c *TestCasesClient) RunTestCaseOperation(name string) *RunTestCaseOperatio // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// BatchRunTestCasesMetadata +// metadata: +// BatchRunTestCasesMetadata // -// response: -// BatchRunTestCasesResponse +// response: +// BatchRunTestCasesResponse func (c *TestCasesClient) BatchRunTestCases(ctx context.Context, req *cxpb.BatchRunTestCasesRequest, opts ...gax.CallOption) (*BatchRunTestCasesOperation, error) { return c.internalClient.BatchRunTestCases(ctx, req, opts...) } @@ -525,11 +525,11 @@ func (c *TestCasesClient) CalculateCoverage(ctx context.Context, req *cxpb.Calcu // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ImportTestCasesMetadata +// metadata: +// ImportTestCasesMetadata // -// response: -// ImportTestCasesResponse +// response: +// ImportTestCasesResponse func (c *TestCasesClient) ImportTestCases(ctx context.Context, req *cxpb.ImportTestCasesRequest, opts ...gax.CallOption) (*ImportTestCasesOperation, error) { return c.internalClient.ImportTestCases(ctx, req, opts...) } @@ -547,11 +547,11 @@ func (c *TestCasesClient) ImportTestCasesOperation(name string) *ImportTestCases // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ExportTestCasesMetadata +// metadata: +// ExportTestCasesMetadata // -// response: -// ExportTestCasesResponse +// response: +// ExportTestCasesResponse func (c *TestCasesClient) ExportTestCases(ctx context.Context, req *cxpb.ExportTestCasesRequest, opts ...gax.CallOption) (*ExportTestCasesOperation, error) { return c.internalClient.ExportTestCases(ctx, req, opts...) } @@ -1544,11 +1544,11 @@ func (c *testCasesRESTClient) UpdateTestCase(ctx context.Context, req *cxpb.Upda // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// RunTestCaseMetadata +// metadata: +// RunTestCaseMetadata // -// response: -// RunTestCaseResponse +// response: +// RunTestCaseResponse func (c *testCasesRESTClient) RunTestCase(ctx context.Context, req *cxpb.RunTestCaseRequest, opts ...gax.CallOption) (*RunTestCaseOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1624,11 +1624,11 @@ func (c *testCasesRESTClient) RunTestCase(ctx context.Context, req *cxpb.RunTest // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// BatchRunTestCasesMetadata +// metadata: +// BatchRunTestCasesMetadata // -// response: -// BatchRunTestCasesResponse +// response: +// BatchRunTestCasesResponse func (c *testCasesRESTClient) BatchRunTestCases(ctx context.Context, req *cxpb.BatchRunTestCasesRequest, opts ...gax.CallOption) (*BatchRunTestCasesOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1767,11 +1767,11 @@ func (c *testCasesRESTClient) CalculateCoverage(ctx context.Context, req *cxpb.C // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ImportTestCasesMetadata +// metadata: +// ImportTestCasesMetadata // -// response: -// ImportTestCasesResponse +// response: +// ImportTestCasesResponse func (c *testCasesRESTClient) ImportTestCases(ctx context.Context, req *cxpb.ImportTestCasesRequest, opts ...gax.CallOption) (*ImportTestCasesOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -1848,11 +1848,11 @@ func (c *testCasesRESTClient) ImportTestCases(ctx context.Context, req *cxpb.Imp // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// ExportTestCasesMetadata +// metadata: +// ExportTestCasesMetadata // -// response: -// ExportTestCasesResponse +// response: +// ExportTestCasesResponse func (c *testCasesRESTClient) ExportTestCases(ctx context.Context, req *cxpb.ExportTestCasesRequest, opts ...gax.CallOption) (*ExportTestCasesOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/dialogflow/cx/apiv3beta1/versions_client.go b/dialogflow/cx/apiv3beta1/versions_client.go index 4a5f6a84b8c5..d538277a7cfd 100755 --- a/dialogflow/cx/apiv3beta1/versions_client.go +++ b/dialogflow/cx/apiv3beta1/versions_client.go @@ -335,10 +335,10 @@ func (c *VersionsClient) GetVersion(ctx context.Context, req *cxpb.GetVersionReq // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// CreateVersionOperationMetadata +// metadata: +// CreateVersionOperationMetadata // -// response: Version +// response: Version func (c *VersionsClient) CreateVersion(ctx context.Context, req *cxpb.CreateVersionRequest, opts ...gax.CallOption) (*CreateVersionOperation, error) { return c.internalClient.CreateVersion(ctx, req, opts...) } @@ -367,11 +367,11 @@ func (c *VersionsClient) DeleteVersion(ctx context.Context, req *cxpb.DeleteVers // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *VersionsClient) LoadVersion(ctx context.Context, req *cxpb.LoadVersionRequest, opts ...gax.CallOption) (*LoadVersionOperation, error) { return c.internalClient.LoadVersion(ctx, req, opts...) } @@ -1043,10 +1043,10 @@ func (c *versionsRESTClient) GetVersion(ctx context.Context, req *cxpb.GetVersio // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: -// CreateVersionOperationMetadata +// metadata: +// CreateVersionOperationMetadata // -// response: Version +// response: Version func (c *versionsRESTClient) CreateVersion(ctx context.Context, req *cxpb.CreateVersionRequest, opts ...gax.CallOption) (*CreateVersionOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetVersion() @@ -1241,11 +1241,11 @@ func (c *versionsRESTClient) DeleteVersion(ctx context.Context, req *cxpb.Delete // operation (at https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned Operation type has the following method-specific fields: // -// metadata: An empty Struct -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) +// metadata: An empty Struct +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // -// response: An Empty -// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) +// response: An Empty +// message (at https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) func (c *versionsRESTClient) LoadVersion(ctx context.Context, req *cxpb.LoadVersionRequest, opts ...gax.CallOption) (*LoadVersionOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/discoveryengine/apiv1/discoveryenginepb/common.pb.go b/discoveryengine/apiv1/discoveryenginepb/common.pb.go index 3819a70de0a1..3bec6d880177 100755 --- a/discoveryengine/apiv1/discoveryenginepb/common.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/common.pb.go @@ -21,11 +21,12 @@ package discoveryenginepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/completion_service.pb.go b/discoveryengine/apiv1/discoveryenginepb/completion_service.pb.go index 6a9a3cc65b52..b003724f43d7 100755 --- a/discoveryengine/apiv1/discoveryenginepb/completion_service.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/completion_service.pb.go @@ -22,14 +22,15 @@ package discoveryenginepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/conversation.pb.go b/discoveryengine/apiv1/discoveryenginepb/conversation.pb.go index 2e9e961fdc11..f325a6bfde7f 100755 --- a/discoveryengine/apiv1/discoveryenginepb/conversation.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/conversation.pb.go @@ -21,12 +21,13 @@ package discoveryenginepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/conversational_search_service.pb.go b/discoveryengine/apiv1/discoveryenginepb/conversational_search_service.pb.go index 9420f79602c7..41bd9258f750 100755 --- a/discoveryengine/apiv1/discoveryenginepb/conversational_search_service.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/conversational_search_service.pb.go @@ -22,6 +22,9 @@ package discoveryenginepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/document.pb.go b/discoveryengine/apiv1/discoveryenginepb/document.pb.go index 208a61f2754f..4c4c02c279dd 100755 --- a/discoveryengine/apiv1/discoveryenginepb/document.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/document.pb.go @@ -21,12 +21,13 @@ package discoveryenginepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/document_service.pb.go b/discoveryengine/apiv1/discoveryenginepb/document_service.pb.go index 504deffcc93a..ffaf460b087e 100755 --- a/discoveryengine/apiv1/discoveryenginepb/document_service.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/document_service.pb.go @@ -21,8 +21,11 @@ package discoveryenginepb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" - sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/import_config.pb.go b/discoveryengine/apiv1/discoveryenginepb/import_config.pb.go index 6b055a259cd1..f99c94152bd0 100755 --- a/discoveryengine/apiv1/discoveryenginepb/import_config.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/import_config.pb.go @@ -21,14 +21,15 @@ package discoveryenginepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" date "google.golang.org/genproto/googleapis/type/date" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/purge_config.pb.go b/discoveryengine/apiv1/discoveryenginepb/purge_config.pb.go index 807bb1fdf02e..5372a0f52752 100755 --- a/discoveryengine/apiv1/discoveryenginepb/purge_config.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/purge_config.pb.go @@ -21,12 +21,13 @@ package discoveryenginepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/schema.pb.go b/discoveryengine/apiv1/discoveryenginepb/schema.pb.go index 1d6cd1a318a7..2f32553a2e79 100755 --- a/discoveryengine/apiv1/discoveryenginepb/schema.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/schema.pb.go @@ -21,12 +21,13 @@ package discoveryenginepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/schema_service.pb.go b/discoveryengine/apiv1/discoveryenginepb/schema_service.pb.go index 0413173d44e8..b3a058587f91 100755 --- a/discoveryengine/apiv1/discoveryenginepb/schema_service.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/schema_service.pb.go @@ -21,8 +21,11 @@ package discoveryenginepb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/search_service.pb.go b/discoveryengine/apiv1/discoveryenginepb/search_service.pb.go index 090aa19f3498..64a8b5954042 100755 --- a/discoveryengine/apiv1/discoveryenginepb/search_service.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/search_service.pb.go @@ -22,6 +22,9 @@ package discoveryenginepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/user_event.pb.go b/discoveryengine/apiv1/discoveryenginepb/user_event.pb.go index 91ab462090fe..358ec5b206b1 100755 --- a/discoveryengine/apiv1/discoveryenginepb/user_event.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/user_event.pb.go @@ -21,13 +21,14 @@ package discoveryenginepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/discoveryengine/apiv1/discoveryenginepb/user_event_service.pb.go b/discoveryengine/apiv1/discoveryenginepb/user_event_service.pb.go index 9e9c3328a479..6ef64deb1a21 100755 --- a/discoveryengine/apiv1/discoveryenginepb/user_event_service.pb.go +++ b/discoveryengine/apiv1/discoveryenginepb/user_event_service.pb.go @@ -21,8 +21,11 @@ package discoveryenginepb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -30,8 +33,6 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/discoveryengine/apiv1/doc.go b/discoveryengine/apiv1/doc.go index 16ed220a589b..c2bb724aa9b3 100755 --- a/discoveryengine/apiv1/doc.go +++ b/discoveryengine/apiv1/doc.go @@ -19,65 +19,66 @@ // // Discovery Engine API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := discoveryengine.NewCompletionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := discoveryengine.NewCompletionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := discoveryengine.NewCompletionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &discoveryenginepb.CompleteQueryRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/discoveryengine/apiv1/discoveryenginepb#CompleteQueryRequest. -// } -// resp, err := c.CompleteQuery(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := discoveryengine.NewCompletionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &discoveryenginepb.CompleteQueryRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/discoveryengine/apiv1/discoveryenginepb#CompleteQueryRequest. +// } +// resp, err := c.CompleteQuery(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewCompletionClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/discoveryengine/apiv1beta/discoveryenginepb/common.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/common.pb.go index d4e2337544fe..d36a1da28d7f 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/common.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/common.pb.go @@ -21,11 +21,12 @@ package discoveryenginepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/completion_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/completion_service.pb.go index 8f26ee046cea..c80c54696ab7 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/completion_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/completion_service.pb.go @@ -22,14 +22,15 @@ package discoveryenginepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/conversation.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/conversation.pb.go index b8ee8facb63b..24b49ebb0138 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/conversation.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/conversation.pb.go @@ -21,12 +21,13 @@ package discoveryenginepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/conversational_search_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/conversational_search_service.pb.go index d9263e2e3adb..8cb08a6f4594 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/conversational_search_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/conversational_search_service.pb.go @@ -22,6 +22,9 @@ package discoveryenginepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/document.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/document.pb.go index 9773160fe56a..6037e2471d32 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/document.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/document.pb.go @@ -21,12 +21,13 @@ package discoveryenginepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/document_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/document_service.pb.go index 46fd14c7ec5a..1c51bc401efc 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/document_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/document_service.pb.go @@ -21,8 +21,11 @@ package discoveryenginepb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" - sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/import_config.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/import_config.pb.go index 3077549a6f42..caf8711a7093 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/import_config.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/import_config.pb.go @@ -21,14 +21,15 @@ package discoveryenginepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" date "google.golang.org/genproto/googleapis/type/date" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/purge_config.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/purge_config.pb.go index 3f910b526724..170d3ec65ae9 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/purge_config.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/purge_config.pb.go @@ -21,12 +21,13 @@ package discoveryenginepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/recommendation_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/recommendation_service.pb.go index c7982139001c..6914c94e2d0e 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/recommendation_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/recommendation_service.pb.go @@ -22,6 +22,9 @@ package discoveryenginepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/schema.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/schema.pb.go index c3c7453add16..79ae22f83ec7 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/schema.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/schema.pb.go @@ -21,12 +21,13 @@ package discoveryenginepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/schema_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/schema_service.pb.go index cb9e36c4949f..c5285d196cb9 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/schema_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/schema_service.pb.go @@ -21,8 +21,11 @@ package discoveryenginepb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/search_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/search_service.pb.go index 7d9059deb66f..13d00e2f0879 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/search_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/search_service.pb.go @@ -22,6 +22,9 @@ package discoveryenginepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/user_event.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/user_event.pb.go index 1a31c2a82376..eb7383b1d0f0 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/user_event.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/user_event.pb.go @@ -21,13 +21,14 @@ package discoveryenginepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/discoveryenginepb/user_event_service.pb.go b/discoveryengine/apiv1beta/discoveryenginepb/user_event_service.pb.go index 21205969dc43..f3c24df35658 100755 --- a/discoveryengine/apiv1beta/discoveryenginepb/user_event_service.pb.go +++ b/discoveryengine/apiv1beta/discoveryenginepb/user_event_service.pb.go @@ -21,8 +21,11 @@ package discoveryenginepb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -30,8 +33,6 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/discoveryengine/apiv1beta/doc.go b/discoveryengine/apiv1beta/doc.go index 5577ad8ece98..baf9abfb0f37 100755 --- a/discoveryengine/apiv1beta/doc.go +++ b/discoveryengine/apiv1beta/doc.go @@ -19,67 +19,68 @@ // // Discovery Engine API. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := discoveryengine.NewCompletionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := discoveryengine.NewCompletionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := discoveryengine.NewCompletionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &discoveryenginepb.CompleteQueryRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/discoveryengine/apiv1beta/discoveryenginepb#CompleteQueryRequest. -// } -// resp, err := c.CompleteQuery(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := discoveryengine.NewCompletionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &discoveryenginepb.CompleteQueryRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/discoveryengine/apiv1beta/discoveryenginepb#CompleteQueryRequest. +// } +// resp, err := c.CompleteQuery(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewCompletionClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/dlp/apiv2/dlppb/dlp.pb.go b/dlp/apiv2/dlppb/dlp.pb.go index 5bec52d3141e..fdeffaae1fc6 100755 --- a/dlp/apiv2/dlppb/dlp.pb.go +++ b/dlp/apiv2/dlppb/dlp.pb.go @@ -22,6 +22,9 @@ package dlppb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" date "google.golang.org/genproto/googleapis/type/date" @@ -36,8 +39,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -19211,9 +19212,11 @@ func (x *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiId } // A KMapEstimationHistogramBucket message with the following values: -// min_anonymity: 3 -// max_anonymity: 5 -// frequency: 42 +// +// min_anonymity: 3 +// max_anonymity: 5 +// frequency: 42 +// // means that there are 42 records whose quasi-identifier values correspond // to 3, 4 or 5 people in the overlying population. An important particular // case is when min_anonymity = max_anonymity = 1: the frequency field then @@ -19372,9 +19375,11 @@ func (x *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenc // A DeltaPresenceEstimationHistogramBucket message with the following // values: -// min_probability: 0.1 -// max_probability: 0.2 -// frequency: 42 +// +// min_probability: 0.1 +// max_probability: 0.2 +// frequency: 42 +// // means that there are 42 records for which δ is in [0.1, 0.2). An // important particular case is when min_probability = max_probability = 1: // then, every individual who shares this quasi-identifier combination is in diff --git a/dlp/apiv2/dlppb/storage.pb.go b/dlp/apiv2/dlppb/storage.pb.go index e04114695267..3a2cd94d43e4 100755 --- a/dlp/apiv2/dlppb/storage.pb.go +++ b/dlp/apiv2/dlppb/storage.pb.go @@ -21,12 +21,13 @@ package dlppb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/dlp/apiv2/doc.go b/dlp/apiv2/doc.go index 7e0839e3e106..d439e97ecd25 100755 --- a/dlp/apiv2/doc.go +++ b/dlp/apiv2/doc.go @@ -21,65 +21,66 @@ // privacy-sensitive fragments in text, images, and Google Cloud Platform // storage repositories. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dlp.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dlp.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dlp.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &dlppb.ActivateJobTriggerRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/dlp/apiv2/dlppb#ActivateJobTriggerRequest. -// } -// resp, err := c.ActivateJobTrigger(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dlp.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &dlppb.ActivateJobTriggerRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/dlp/apiv2/dlppb#ActivateJobTriggerRequest. +// } +// resp, err := c.ActivateJobTrigger(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/documentai/apiv1/doc.go b/documentai/apiv1/doc.go index a100c883e8ea..d82e2c22a50d 100755 --- a/documentai/apiv1/doc.go +++ b/documentai/apiv1/doc.go @@ -21,70 +21,71 @@ // semi-structured documents using state-of-the-art Google AI such as natural // language, computer vision, translation, and AutoML. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := documentai.NewDocumentProcessorClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := documentai.NewDocumentProcessorClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := documentai.NewDocumentProcessorClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &documentaipb.BatchProcessRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/documentai/apiv1/documentaipb#BatchProcessRequest. -// } -// op, err := c.BatchProcessDocuments(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := documentai.NewDocumentProcessorClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &documentaipb.BatchProcessRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/documentai/apiv1/documentaipb#BatchProcessRequest. +// } +// op, err := c.BatchProcessDocuments(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewDocumentProcessorClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/documentai/apiv1/documentaipb/barcode.pb.go b/documentai/apiv1/documentaipb/barcode.pb.go index bb99be294363..b34b93051ba4 100755 --- a/documentai/apiv1/documentaipb/barcode.pb.go +++ b/documentai/apiv1/documentaipb/barcode.pb.go @@ -21,10 +21,11 @@ package documentaipb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/documentai/apiv1/documentaipb/document.pb.go b/documentai/apiv1/documentaipb/document.pb.go index 1687d8e5d43d..e7bf2338e80a 100755 --- a/documentai/apiv1/documentaipb/document.pb.go +++ b/documentai/apiv1/documentaipb/document.pb.go @@ -21,6 +21,9 @@ package documentaipb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" color "google.golang.org/genproto/googleapis/type/color" @@ -31,8 +34,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/documentai/apiv1/documentaipb/document_io.pb.go b/documentai/apiv1/documentaipb/document_io.pb.go index d9bac9f2a20f..9489a68c6524 100755 --- a/documentai/apiv1/documentaipb/document_io.pb.go +++ b/documentai/apiv1/documentaipb/document_io.pb.go @@ -21,11 +21,12 @@ package documentaipb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/documentai/apiv1/documentaipb/document_processor_service.pb.go b/documentai/apiv1/documentaipb/document_processor_service.pb.go index 0545a33f7e7f..fe4fefec7d8b 100755 --- a/documentai/apiv1/documentaipb/document_processor_service.pb.go +++ b/documentai/apiv1/documentaipb/document_processor_service.pb.go @@ -21,8 +21,11 @@ package documentaipb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -33,8 +36,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/documentai/apiv1/documentaipb/document_schema.pb.go b/documentai/apiv1/documentaipb/document_schema.pb.go index 23a455d59c07..e789a22b9953 100755 --- a/documentai/apiv1/documentaipb/document_schema.pb.go +++ b/documentai/apiv1/documentaipb/document_schema.pb.go @@ -21,10 +21,11 @@ package documentaipb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/documentai/apiv1/documentaipb/evaluation.pb.go b/documentai/apiv1/documentaipb/evaluation.pb.go index 60c2e42bb76d..f558bb1ba255 100755 --- a/documentai/apiv1/documentaipb/evaluation.pb.go +++ b/documentai/apiv1/documentaipb/evaluation.pb.go @@ -21,12 +21,13 @@ package documentaipb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/documentai/apiv1/documentaipb/geometry.pb.go b/documentai/apiv1/documentaipb/geometry.pb.go index 4bf77f218dc8..d045a995d59b 100755 --- a/documentai/apiv1/documentaipb/geometry.pb.go +++ b/documentai/apiv1/documentaipb/geometry.pb.go @@ -21,10 +21,11 @@ package documentaipb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/documentai/apiv1/documentaipb/operation_metadata.pb.go b/documentai/apiv1/documentaipb/operation_metadata.pb.go index 73ba80ab884b..a9c2606d953a 100755 --- a/documentai/apiv1/documentaipb/operation_metadata.pb.go +++ b/documentai/apiv1/documentaipb/operation_metadata.pb.go @@ -21,11 +21,12 @@ package documentaipb 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" - reflect "reflect" - sync "sync" ) const ( diff --git a/documentai/apiv1/documentaipb/processor.pb.go b/documentai/apiv1/documentaipb/processor.pb.go index bfc137502a45..2bc5cded33eb 100755 --- a/documentai/apiv1/documentaipb/processor.pb.go +++ b/documentai/apiv1/documentaipb/processor.pb.go @@ -21,12 +21,13 @@ package documentaipb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/documentai/apiv1/documentaipb/processor_type.pb.go b/documentai/apiv1/documentaipb/processor_type.pb.go index 7b86a094571d..d11f0773817b 100755 --- a/documentai/apiv1/documentaipb/processor_type.pb.go +++ b/documentai/apiv1/documentaipb/processor_type.pb.go @@ -21,12 +21,13 @@ package documentaipb import ( + reflect "reflect" + sync "sync" + api "google.golang.org/genproto/googleapis/api" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/documentai/apiv1beta3/doc.go b/documentai/apiv1beta3/doc.go index d9b4cf6b7593..bbe37cfd01ce 100755 --- a/documentai/apiv1beta3/doc.go +++ b/documentai/apiv1beta3/doc.go @@ -21,72 +21,73 @@ // semi-structured documents using state-of-the-art Google AI such as natural // language, computer vision, translation, and AutoML. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := documentai.NewDocumentProcessorClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := documentai.NewDocumentProcessorClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := documentai.NewDocumentProcessorClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &documentaipb.BatchProcessRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/documentai/apiv1beta3/documentaipb#BatchProcessRequest. -// } -// op, err := c.BatchProcessDocuments(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := documentai.NewDocumentProcessorClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &documentaipb.BatchProcessRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/documentai/apiv1beta3/documentaipb#BatchProcessRequest. +// } +// op, err := c.BatchProcessDocuments(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewDocumentProcessorClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/documentai/apiv1beta3/documentaipb/barcode.pb.go b/documentai/apiv1beta3/documentaipb/barcode.pb.go index 5e1e8ce5260d..90a7b71fc0dc 100755 --- a/documentai/apiv1beta3/documentaipb/barcode.pb.go +++ b/documentai/apiv1beta3/documentaipb/barcode.pb.go @@ -21,10 +21,11 @@ package documentaipb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/dataset.pb.go b/documentai/apiv1beta3/documentaipb/dataset.pb.go index f42a89f75cda..8ebd182bd843 100755 --- a/documentai/apiv1beta3/documentaipb/dataset.pb.go +++ b/documentai/apiv1beta3/documentaipb/dataset.pb.go @@ -21,11 +21,12 @@ package documentaipb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/document.pb.go b/documentai/apiv1beta3/documentaipb/document.pb.go index 617a633435d0..f7e1d497edfa 100755 --- a/documentai/apiv1beta3/documentaipb/document.pb.go +++ b/documentai/apiv1beta3/documentaipb/document.pb.go @@ -21,6 +21,9 @@ package documentaipb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" color "google.golang.org/genproto/googleapis/type/color" @@ -31,8 +34,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/document_io.pb.go b/documentai/apiv1beta3/documentaipb/document_io.pb.go index 011f70ca6c35..8d909a408717 100755 --- a/documentai/apiv1beta3/documentaipb/document_io.pb.go +++ b/documentai/apiv1beta3/documentaipb/document_io.pb.go @@ -21,11 +21,12 @@ package documentaipb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/document_processor_service.pb.go b/documentai/apiv1beta3/documentaipb/document_processor_service.pb.go index 1e45db4d847b..825576ea62ed 100755 --- a/documentai/apiv1beta3/documentaipb/document_processor_service.pb.go +++ b/documentai/apiv1beta3/documentaipb/document_processor_service.pb.go @@ -21,8 +21,11 @@ package documentaipb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -33,8 +36,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/document_schema.pb.go b/documentai/apiv1beta3/documentaipb/document_schema.pb.go index e1b68bde27b3..95400aa209bd 100755 --- a/documentai/apiv1beta3/documentaipb/document_schema.pb.go +++ b/documentai/apiv1beta3/documentaipb/document_schema.pb.go @@ -21,10 +21,11 @@ package documentaipb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/document_service.pb.go b/documentai/apiv1beta3/documentaipb/document_service.pb.go index bf94c72ab599..045c3faa8bf3 100755 --- a/documentai/apiv1beta3/documentaipb/document_service.pb.go +++ b/documentai/apiv1beta3/documentaipb/document_service.pb.go @@ -21,8 +21,11 @@ package documentaipb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -31,8 +34,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/evaluation.pb.go b/documentai/apiv1beta3/documentaipb/evaluation.pb.go index 7b9bada806ca..0a4c13de6ff7 100755 --- a/documentai/apiv1beta3/documentaipb/evaluation.pb.go +++ b/documentai/apiv1beta3/documentaipb/evaluation.pb.go @@ -21,12 +21,13 @@ package documentaipb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/geometry.pb.go b/documentai/apiv1beta3/documentaipb/geometry.pb.go index 585ee44ffc62..732b10e2848e 100755 --- a/documentai/apiv1beta3/documentaipb/geometry.pb.go +++ b/documentai/apiv1beta3/documentaipb/geometry.pb.go @@ -21,10 +21,11 @@ package documentaipb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/operation_metadata.pb.go b/documentai/apiv1beta3/documentaipb/operation_metadata.pb.go index 0ea7051797d9..29b078546c48 100755 --- a/documentai/apiv1beta3/documentaipb/operation_metadata.pb.go +++ b/documentai/apiv1beta3/documentaipb/operation_metadata.pb.go @@ -21,11 +21,12 @@ package documentaipb 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" - reflect "reflect" - sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/processor.pb.go b/documentai/apiv1beta3/documentaipb/processor.pb.go index be274744eb5b..558ec6c3b8ec 100755 --- a/documentai/apiv1beta3/documentaipb/processor.pb.go +++ b/documentai/apiv1beta3/documentaipb/processor.pb.go @@ -21,12 +21,13 @@ package documentaipb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/documentai/apiv1beta3/documentaipb/processor_type.pb.go b/documentai/apiv1beta3/documentaipb/processor_type.pb.go index 26d28f9d2118..290c9a5631e5 100755 --- a/documentai/apiv1beta3/documentaipb/processor_type.pb.go +++ b/documentai/apiv1beta3/documentaipb/processor_type.pb.go @@ -21,12 +21,13 @@ package documentaipb import ( + reflect "reflect" + sync "sync" + api "google.golang.org/genproto/googleapis/api" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/domains/apiv1beta1/doc.go b/domains/apiv1beta1/doc.go index 4c537491732d..76cf1dafd5a4 100755 --- a/domains/apiv1beta1/doc.go +++ b/domains/apiv1beta1/doc.go @@ -19,72 +19,73 @@ // // Enables management and configuration of domain names. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := domains.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := domains.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := domains.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &domainspb.ConfigureContactSettingsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/domains/apiv1beta1/domainspb#ConfigureContactSettingsRequest. -// } -// op, err := c.ConfigureContactSettings(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := domains.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &domainspb.ConfigureContactSettingsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/domains/apiv1beta1/domainspb#ConfigureContactSettingsRequest. +// } +// op, err := c.ConfigureContactSettings(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/domains/apiv1beta1/domains_client.go b/domains/apiv1beta1/domains_client.go index f7be901489e4..a1cb02b01b50 100755 --- a/domains/apiv1beta1/domains_client.go +++ b/domains/apiv1beta1/domains_client.go @@ -274,11 +274,11 @@ func (c *Client) GetRegistration(ctx context.Context, req *domainspb.GetRegistra // UpdateRegistration updates select fields of a Registration resource, notably labels. To // update other fields, use the appropriate custom update method: // -// To update management settings, see ConfigureManagementSettings +// To update management settings, see ConfigureManagementSettings // -// To update DNS configuration, see ConfigureDnsSettings +// To update DNS configuration, see ConfigureDnsSettings // -// To update contact information, see ConfigureContactSettings +// To update contact information, see ConfigureContactSettings func (c *Client) UpdateRegistration(ctx context.Context, req *domainspb.UpdateRegistrationRequest, opts ...gax.CallOption) (*UpdateRegistrationOperation, error) { return c.internalClient.UpdateRegistration(ctx, req, opts...) } @@ -351,11 +351,11 @@ func (c *Client) ExportRegistrationOperation(name string) *ExportRegistrationOpe // For Registration resources using // Monthly billing (at /domains/pricing#billing-models), this method works if: // -// state is EXPORTED with expire_time in the past +// state is EXPORTED with expire_time in the past // -// state is REGISTRATION_FAILED +// state is REGISTRATION_FAILED // -// state is TRANSFER_FAILED +// state is TRANSFER_FAILED // // When an active registration is successfully deleted, you can continue to // use the domain in Google Domains (at https://domains.google/) until it @@ -1393,11 +1393,11 @@ func (c *restClient) GetRegistration(ctx context.Context, req *domainspb.GetRegi // UpdateRegistration updates select fields of a Registration resource, notably labels. To // update other fields, use the appropriate custom update method: // -// To update management settings, see ConfigureManagementSettings +// To update management settings, see ConfigureManagementSettings // -// To update DNS configuration, see ConfigureDnsSettings +// To update DNS configuration, see ConfigureDnsSettings // -// To update contact information, see ConfigureContactSettings +// To update contact information, see ConfigureContactSettings func (c *restClient) UpdateRegistration(ctx context.Context, req *domainspb.UpdateRegistrationRequest, opts ...gax.CallOption) (*UpdateRegistrationOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetRegistration() @@ -1773,11 +1773,11 @@ func (c *restClient) ExportRegistration(ctx context.Context, req *domainspb.Expo // For Registration resources using // Monthly billing (at /domains/pricing#billing-models), this method works if: // -// state is EXPORTED with expire_time in the past +// state is EXPORTED with expire_time in the past // -// state is REGISTRATION_FAILED +// state is REGISTRATION_FAILED // -// state is TRANSFER_FAILED +// state is TRANSFER_FAILED // // When an active registration is successfully deleted, you can continue to // use the domain in Google Domains (at https://domains.google/) until it diff --git a/domains/apiv1beta1/domainspb/domains.pb.go b/domains/apiv1beta1/domainspb/domains.pb.go index 1639e32bbaa0..d52a92ec5d10 100755 --- a/domains/apiv1beta1/domainspb/domains.pb.go +++ b/domains/apiv1beta1/domainspb/domains.pb.go @@ -21,8 +21,11 @@ package domainspb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" money "google.golang.org/genproto/googleapis/type/money" postaladdress "google.golang.org/genproto/googleapis/type/postaladdress" @@ -33,8 +36,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/edgecontainer/apiv1/doc.go b/edgecontainer/apiv1/doc.go index 7f444d89f128..eb3f018422d6 100755 --- a/edgecontainer/apiv1/doc.go +++ b/edgecontainer/apiv1/doc.go @@ -17,70 +17,71 @@ // Package edgecontainer is an auto-generated package for the // Distributed Cloud Edge Container API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := edgecontainer.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := edgecontainer.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := edgecontainer.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &edgecontainerpb.CreateClusterRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb#CreateClusterRequest. -// } -// op, err := c.CreateCluster(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := edgecontainer.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &edgecontainerpb.CreateClusterRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb#CreateClusterRequest. +// } +// op, err := c.CreateCluster(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/edgecontainer/apiv1/edgecontainerpb/resources.pb.go b/edgecontainer/apiv1/edgecontainerpb/resources.pb.go index 3651a051855b..d416c4140600 100755 --- a/edgecontainer/apiv1/edgecontainerpb/resources.pb.go +++ b/edgecontainer/apiv1/edgecontainerpb/resources.pb.go @@ -21,13 +21,14 @@ package edgecontainerpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/edgecontainer/apiv1/edgecontainerpb/service.pb.go b/edgecontainer/apiv1/edgecontainerpb/service.pb.go index bbdd5d8dff56..7602088f3d40 100755 --- a/edgecontainer/apiv1/edgecontainerpb/service.pb.go +++ b/edgecontainer/apiv1/edgecontainerpb/service.pb.go @@ -21,8 +21,11 @@ package edgecontainerpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/edgenetwork/apiv1/doc.go b/edgenetwork/apiv1/doc.go index 9b09426bb36f..7feb7ac97170 100755 --- a/edgenetwork/apiv1/doc.go +++ b/edgenetwork/apiv1/doc.go @@ -19,72 +19,73 @@ // // Network management API for Distributed Cloud Edge. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := edgenetwork.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := edgenetwork.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := edgenetwork.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &edgenetworkpb.CreateInterconnectAttachmentRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/edgenetwork/apiv1/edgenetworkpb#CreateInterconnectAttachmentRequest. -// } -// op, err := c.CreateInterconnectAttachment(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := edgenetwork.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &edgenetworkpb.CreateInterconnectAttachmentRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/edgenetwork/apiv1/edgenetworkpb#CreateInterconnectAttachmentRequest. +// } +// op, err := c.CreateInterconnectAttachment(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/edgenetwork/apiv1/edgenetworkpb/resources.pb.go b/edgenetwork/apiv1/edgenetworkpb/resources.pb.go index 3b56c574d7ed..8967410aa729 100755 --- a/edgenetwork/apiv1/edgenetworkpb/resources.pb.go +++ b/edgenetwork/apiv1/edgenetworkpb/resources.pb.go @@ -21,12 +21,13 @@ package edgenetworkpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/edgenetwork/apiv1/edgenetworkpb/service.pb.go b/edgenetwork/apiv1/edgenetworkpb/service.pb.go index 5023bd390516..6f8301991df3 100755 --- a/edgenetwork/apiv1/edgenetworkpb/service.pb.go +++ b/edgenetwork/apiv1/edgenetworkpb/service.pb.go @@ -21,8 +21,11 @@ package edgenetworkpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/essentialcontacts/apiv1/doc.go b/essentialcontacts/apiv1/doc.go index 0d64575664fd..8ee360d79bcd 100755 --- a/essentialcontacts/apiv1/doc.go +++ b/essentialcontacts/apiv1/doc.go @@ -17,71 +17,72 @@ // Package essentialcontacts is an auto-generated package for the // Essential Contacts API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := essentialcontacts.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := essentialcontacts.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := essentialcontacts.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &essentialcontactspb.ComputeContactsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb#ComputeContactsRequest. -// } -// it := c.ComputeContacts(ctx, req) -// for { -// resp, err := it.Next() -// if err == iterator.Done { -// break -// } -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// } -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := essentialcontacts.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &essentialcontactspb.ComputeContactsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb#ComputeContactsRequest. +// } +// it := c.ComputeContacts(ctx, req) +// for { +// resp, err := it.Next() +// if err == iterator.Done { +// break +// } +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// } +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/essentialcontacts/apiv1/essentialcontactspb/enums.pb.go b/essentialcontacts/apiv1/essentialcontactspb/enums.pb.go index a3ee4c2355ba..3b110a5f19a7 100755 --- a/essentialcontacts/apiv1/essentialcontactspb/enums.pb.go +++ b/essentialcontacts/apiv1/essentialcontactspb/enums.pb.go @@ -21,10 +21,11 @@ package essentialcontactspb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/essentialcontacts/apiv1/essentialcontactspb/service.pb.go b/essentialcontacts/apiv1/essentialcontactspb/service.pb.go index a8b6efd3ba7c..f510c1386d9b 100755 --- a/essentialcontacts/apiv1/essentialcontactspb/service.pb.go +++ b/essentialcontacts/apiv1/essentialcontactspb/service.pb.go @@ -22,6 +22,9 @@ package essentialcontactspb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/eventarc/apiv1/doc.go b/eventarc/apiv1/doc.go index 9e088440df9b..370a41002248 100755 --- a/eventarc/apiv1/doc.go +++ b/eventarc/apiv1/doc.go @@ -19,70 +19,71 @@ // // Build event-driven applications on Google Cloud Platform. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := eventarc.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := eventarc.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := eventarc.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &eventarcpb.CreateChannelRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/eventarc/apiv1/eventarcpb#CreateChannelRequest. -// } -// op, err := c.CreateChannel(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := eventarc.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &eventarcpb.CreateChannelRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/eventarc/apiv1/eventarcpb#CreateChannelRequest. +// } +// op, err := c.CreateChannel(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/eventarc/apiv1/eventarcpb/channel.pb.go b/eventarc/apiv1/eventarcpb/channel.pb.go index dd2428b8b957..9026c3d476d3 100755 --- a/eventarc/apiv1/eventarcpb/channel.pb.go +++ b/eventarc/apiv1/eventarcpb/channel.pb.go @@ -21,12 +21,13 @@ package eventarcpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/eventarc/apiv1/eventarcpb/channel_connection.pb.go b/eventarc/apiv1/eventarcpb/channel_connection.pb.go index b0a7397c033f..4e3ce72e84e3 100755 --- a/eventarc/apiv1/eventarcpb/channel_connection.pb.go +++ b/eventarc/apiv1/eventarcpb/channel_connection.pb.go @@ -21,12 +21,13 @@ package eventarcpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/eventarc/apiv1/eventarcpb/discovery.pb.go b/eventarc/apiv1/eventarcpb/discovery.pb.go index f059664629d8..317643d0e888 100755 --- a/eventarc/apiv1/eventarcpb/discovery.pb.go +++ b/eventarc/apiv1/eventarcpb/discovery.pb.go @@ -21,11 +21,12 @@ package eventarcpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/eventarc/apiv1/eventarcpb/eventarc.pb.go b/eventarc/apiv1/eventarcpb/eventarc.pb.go index 464a51f51f05..cb1cef18a96a 100755 --- a/eventarc/apiv1/eventarcpb/eventarc.pb.go +++ b/eventarc/apiv1/eventarcpb/eventarc.pb.go @@ -21,8 +21,11 @@ package eventarcpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/eventarc/apiv1/eventarcpb/google_channel_config.pb.go b/eventarc/apiv1/eventarcpb/google_channel_config.pb.go index 2756c156cda3..a6c23efe8c24 100755 --- a/eventarc/apiv1/eventarcpb/google_channel_config.pb.go +++ b/eventarc/apiv1/eventarcpb/google_channel_config.pb.go @@ -21,12 +21,13 @@ package eventarcpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/eventarc/apiv1/eventarcpb/trigger.pb.go b/eventarc/apiv1/eventarcpb/trigger.pb.go index 17dc25f57557..0e669d10e829 100755 --- a/eventarc/apiv1/eventarcpb/trigger.pb.go +++ b/eventarc/apiv1/eventarcpb/trigger.pb.go @@ -21,13 +21,14 @@ package eventarcpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" code "google.golang.org/genproto/googleapis/rpc/code" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/eventarc/publishing/apiv1/auxiliary.go b/eventarc/publishing/apiv1/auxiliary.go index 36bb02f36b33..bea53280283c 100755 --- a/eventarc/publishing/apiv1/auxiliary.go +++ b/eventarc/publishing/apiv1/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package publishing - -import () diff --git a/eventarc/publishing/apiv1/doc.go b/eventarc/publishing/apiv1/doc.go index 1bb1063cb702..a5a0d606ea2c 100755 --- a/eventarc/publishing/apiv1/doc.go +++ b/eventarc/publishing/apiv1/doc.go @@ -17,65 +17,66 @@ // Package publishing is an auto-generated package for the // Eventarc Publishing API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := publishing.NewPublisherClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := publishing.NewPublisherClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := publishing.NewPublisherClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &publishingpb.PublishChannelConnectionEventsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/eventarc/publishing/apiv1/publishingpb#PublishChannelConnectionEventsRequest. -// } -// resp, err := c.PublishChannelConnectionEvents(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := publishing.NewPublisherClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &publishingpb.PublishChannelConnectionEventsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/eventarc/publishing/apiv1/publishingpb#PublishChannelConnectionEventsRequest. +// } +// resp, err := c.PublishChannelConnectionEvents(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewPublisherClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/eventarc/publishing/apiv1/publishingpb/publisher.pb.go b/eventarc/publishing/apiv1/publishingpb/publisher.pb.go index 8664019236f1..399a80052dc1 100755 --- a/eventarc/publishing/apiv1/publishingpb/publisher.pb.go +++ b/eventarc/publishing/apiv1/publishingpb/publisher.pb.go @@ -22,6 +22,9 @@ package publishingpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" - reflect "reflect" - sync "sync" ) const ( diff --git a/filestore/apiv1/cloud_filestore_manager_client.go b/filestore/apiv1/cloud_filestore_manager_client.go index 8c61f15d5e6d..6d7001daa59e 100755 --- a/filestore/apiv1/cloud_filestore_manager_client.go +++ b/filestore/apiv1/cloud_filestore_manager_client.go @@ -304,24 +304,24 @@ type internalCloudFilestoreManagerClient interface { // The file.googleapis.com service implements the Filestore API and // defines the following resource model for managing instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of instances and backups, named: -// /instances/* and /backups/* respectively. +// Each location has a collection of instances and backups, named: +// /instances/* and /backups/* respectively. // -// As such, Filestore instances are resources of the form: -// /projects/{project_number}/locations/{location_id}/instances/{instance_id} -// and backups are resources of the form: -// /projects/{project_number}/locations/{location_id}/backup/{backup_id} +// As such, Filestore instances are resources of the form: +// /projects/{project_number}/locations/{location_id}/instances/{instance_id} +// and backups are resources of the form: +// /projects/{project_number}/locations/{location_id}/backup/{backup_id} // // Note that location_id must be a Google Cloud zone for instances, but // a Google Cloud region for backups; for example: // -// projects/12345/locations/us-central1-c/instances/my-filestore +// projects/12345/locations/us-central1-c/instances/my-filestore // -// projects/12345/locations/us-central1/backups/my-backup +// projects/12345/locations/us-central1/backups/my-backup type CloudFilestoreManagerClient struct { // The internal transport-dependent client. internalClient internalCloudFilestoreManagerClient @@ -585,24 +585,24 @@ type cloudFilestoreManagerGRPCClient struct { // The file.googleapis.com service implements the Filestore API and // defines the following resource model for managing instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of instances and backups, named: -// /instances/* and /backups/* respectively. +// Each location has a collection of instances and backups, named: +// /instances/* and /backups/* respectively. // -// As such, Filestore instances are resources of the form: -// /projects/{project_number}/locations/{location_id}/instances/{instance_id} -// and backups are resources of the form: -// /projects/{project_number}/locations/{location_id}/backup/{backup_id} +// As such, Filestore instances are resources of the form: +// /projects/{project_number}/locations/{location_id}/instances/{instance_id} +// and backups are resources of the form: +// /projects/{project_number}/locations/{location_id}/backup/{backup_id} // // Note that location_id must be a Google Cloud zone for instances, but // a Google Cloud region for backups; for example: // -// projects/12345/locations/us-central1-c/instances/my-filestore +// projects/12345/locations/us-central1-c/instances/my-filestore // -// projects/12345/locations/us-central1/backups/my-backup +// projects/12345/locations/us-central1/backups/my-backup func NewCloudFilestoreManagerClient(ctx context.Context, opts ...option.ClientOption) (*CloudFilestoreManagerClient, error) { clientOpts := defaultCloudFilestoreManagerGRPCClientOptions() if newCloudFilestoreManagerClientHook != nil { @@ -696,24 +696,24 @@ type cloudFilestoreManagerRESTClient struct { // The file.googleapis.com service implements the Filestore API and // defines the following resource model for managing instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of instances and backups, named: -// /instances/* and /backups/* respectively. +// Each location has a collection of instances and backups, named: +// /instances/* and /backups/* respectively. // -// As such, Filestore instances are resources of the form: -// /projects/{project_number}/locations/{location_id}/instances/{instance_id} -// and backups are resources of the form: -// /projects/{project_number}/locations/{location_id}/backup/{backup_id} +// As such, Filestore instances are resources of the form: +// /projects/{project_number}/locations/{location_id}/instances/{instance_id} +// and backups are resources of the form: +// /projects/{project_number}/locations/{location_id}/backup/{backup_id} // // Note that location_id must be a Google Cloud zone for instances, but // a Google Cloud region for backups; for example: // -// projects/12345/locations/us-central1-c/instances/my-filestore +// projects/12345/locations/us-central1-c/instances/my-filestore // -// projects/12345/locations/us-central1/backups/my-backup +// projects/12345/locations/us-central1/backups/my-backup func NewCloudFilestoreManagerRESTClient(ctx context.Context, opts ...option.ClientOption) (*CloudFilestoreManagerClient, error) { clientOpts := append(defaultCloudFilestoreManagerRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/filestore/apiv1/doc.go b/filestore/apiv1/doc.go index da57ade233c4..5543a6b5b947 100755 --- a/filestore/apiv1/doc.go +++ b/filestore/apiv1/doc.go @@ -20,70 +20,71 @@ // The Cloud Filestore API is used for creating and managing cloud file // servers. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := filestore.NewCloudFilestoreManagerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := filestore.NewCloudFilestoreManagerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := filestore.NewCloudFilestoreManagerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &filestorepb.CreateBackupRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/filestore/apiv1/filestorepb#CreateBackupRequest. -// } -// op, err := c.CreateBackup(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := filestore.NewCloudFilestoreManagerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &filestorepb.CreateBackupRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/filestore/apiv1/filestorepb#CreateBackupRequest. +// } +// op, err := c.CreateBackup(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewCloudFilestoreManagerClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/filestore/apiv1/filestorepb/cloud_filestore_service.pb.go b/filestore/apiv1/filestorepb/cloud_filestore_service.pb.go index 5fd8baa015a9..fce9d17d513c 100755 --- a/filestore/apiv1/filestorepb/cloud_filestore_service.pb.go +++ b/filestore/apiv1/filestorepb/cloud_filestore_service.pb.go @@ -21,8 +21,11 @@ package filestorepb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" _ "google.golang.org/genproto/googleapis/cloud/common" grpc "google.golang.org/grpc" @@ -34,8 +37,6 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/firestore/apiv1/admin/adminpb/database.pb.go b/firestore/apiv1/admin/adminpb/database.pb.go index 961b20da37f5..4bc18aaea6c6 100755 --- a/firestore/apiv1/admin/adminpb/database.pb.go +++ b/firestore/apiv1/admin/adminpb/database.pb.go @@ -21,11 +21,12 @@ package adminpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/firestore/apiv1/admin/adminpb/field.pb.go b/firestore/apiv1/admin/adminpb/field.pb.go index 72e5bc48ce33..68408ef3f0aa 100755 --- a/firestore/apiv1/admin/adminpb/field.pb.go +++ b/firestore/apiv1/admin/adminpb/field.pb.go @@ -21,11 +21,12 @@ package adminpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/firestore/apiv1/admin/adminpb/firestore_admin.pb.go b/firestore/apiv1/admin/adminpb/firestore_admin.pb.go index e6c67591a356..3e2e385168ed 100755 --- a/firestore/apiv1/admin/adminpb/firestore_admin.pb.go +++ b/firestore/apiv1/admin/adminpb/firestore_admin.pb.go @@ -21,8 +21,11 @@ package adminpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/firestore/apiv1/admin/adminpb/index.pb.go b/firestore/apiv1/admin/adminpb/index.pb.go index 6d54778672ff..b70bbd36c56c 100755 --- a/firestore/apiv1/admin/adminpb/index.pb.go +++ b/firestore/apiv1/admin/adminpb/index.pb.go @@ -21,11 +21,12 @@ package adminpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/firestore/apiv1/admin/adminpb/location.pb.go b/firestore/apiv1/admin/adminpb/location.pb.go index 96eed9d1a37c..3b25c993fe2d 100755 --- a/firestore/apiv1/admin/adminpb/location.pb.go +++ b/firestore/apiv1/admin/adminpb/location.pb.go @@ -21,10 +21,11 @@ package adminpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/firestore/apiv1/admin/adminpb/operation.pb.go b/firestore/apiv1/admin/adminpb/operation.pb.go index a6a1842bcee1..1262d9209746 100755 --- a/firestore/apiv1/admin/adminpb/operation.pb.go +++ b/firestore/apiv1/admin/adminpb/operation.pb.go @@ -21,11 +21,12 @@ package adminpb 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" - reflect "reflect" - sync "sync" ) const ( diff --git a/firestore/apiv1/admin/doc.go b/firestore/apiv1/admin/doc.go index afde9ed3233e..dafdb9678882 100755 --- a/firestore/apiv1/admin/doc.go +++ b/firestore/apiv1/admin/doc.go @@ -20,70 +20,71 @@ // Accesses the NoSQL document database built for automatic scaling, high // performance, and ease of application development. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := apiv1.NewFirestoreAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := apiv1.NewFirestoreAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := apiv1.NewFirestoreAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &adminpb.CreateDatabaseRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/firestore/apiv1/admin/adminpb#CreateDatabaseRequest. -// } -// op, err := c.CreateDatabase(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := apiv1.NewFirestoreAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &adminpb.CreateDatabaseRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/firestore/apiv1/admin/adminpb#CreateDatabaseRequest. +// } +// op, err := c.CreateDatabase(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewFirestoreAdminClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/firestore/apiv1/doc.go b/firestore/apiv1/doc.go index fc8d8d162dfa..f06abb838e99 100755 --- a/firestore/apiv1/doc.go +++ b/firestore/apiv1/doc.go @@ -20,42 +20,43 @@ // Accesses the NoSQL document database built for automatic scaling, high // performance, and ease of application development. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := firestore.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := firestore.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// Use of Context +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/firestore/apiv1/firestorepb/aggregation_result.pb.go b/firestore/apiv1/firestorepb/aggregation_result.pb.go index e4e0380898d6..af83c586d836 100755 --- a/firestore/apiv1/firestorepb/aggregation_result.pb.go +++ b/firestore/apiv1/firestorepb/aggregation_result.pb.go @@ -21,10 +21,11 @@ package firestorepb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/firestore/apiv1/firestorepb/bloom_filter.pb.go b/firestore/apiv1/firestorepb/bloom_filter.pb.go index 2ad24f499166..88e8d80ef2c6 100755 --- a/firestore/apiv1/firestorepb/bloom_filter.pb.go +++ b/firestore/apiv1/firestorepb/bloom_filter.pb.go @@ -21,10 +21,11 @@ package firestorepb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( @@ -118,7 +119,7 @@ func (x *BitSequence) GetPadding() int32 { // These two hash values, named `h1` and `h2`, are then used to compute the // `hash_count` hash values using the formula, starting at `i=0`: // -// h(i) = h1 + (i * h2) +// h(i) = h1 + (i * h2) // // These resulting values are then taken modulo the number of bits in the bloom // filter to get the bits of the bloom filter to test for the given entry. diff --git a/firestore/apiv1/firestorepb/common.pb.go b/firestore/apiv1/firestorepb/common.pb.go index 41b24e84cc62..155ef29007dc 100755 --- a/firestore/apiv1/firestorepb/common.pb.go +++ b/firestore/apiv1/firestorepb/common.pb.go @@ -21,11 +21,12 @@ package firestorepb 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" - reflect "reflect" - sync "sync" ) const ( diff --git a/firestore/apiv1/firestorepb/document.pb.go b/firestore/apiv1/firestorepb/document.pb.go index df39a7772f3f..19cd51913a5a 100755 --- a/firestore/apiv1/firestorepb/document.pb.go +++ b/firestore/apiv1/firestorepb/document.pb.go @@ -21,13 +21,14 @@ package firestorepb import ( + reflect "reflect" + sync "sync" + latlng "google.golang.org/genproto/googleapis/type/latlng" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/firestore/apiv1/firestorepb/firestore.pb.go b/firestore/apiv1/firestorepb/firestore.pb.go index 3087a46f03f7..b95a7e796d36 100755 --- a/firestore/apiv1/firestorepb/firestore.pb.go +++ b/firestore/apiv1/firestorepb/firestore.pb.go @@ -22,6 +22,9 @@ package firestorepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/firestore/apiv1/firestorepb/query.pb.go b/firestore/apiv1/firestorepb/query.pb.go index 4fb2bc545128..d4e83e0ee9be 100755 --- a/firestore/apiv1/firestorepb/query.pb.go +++ b/firestore/apiv1/firestorepb/query.pb.go @@ -21,12 +21,13 @@ package firestorepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/firestore/apiv1/firestorepb/write.pb.go b/firestore/apiv1/firestorepb/write.pb.go index ca43c9655f00..9f5d3f67b78f 100755 --- a/firestore/apiv1/firestorepb/write.pb.go +++ b/firestore/apiv1/firestorepb/write.pb.go @@ -21,11 +21,12 @@ package firestorepb 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" - reflect "reflect" - sync "sync" ) const ( diff --git a/functions/apiv1/cloud_functions_client.go b/functions/apiv1/cloud_functions_client.go index 990655798944..b11630b8e151 100755 --- a/functions/apiv1/cloud_functions_client.go +++ b/functions/apiv1/cloud_functions_client.go @@ -344,24 +344,24 @@ func (c *CloudFunctionsClient) CallFunction(ctx context.Context, req *functionsp // When uploading source code to the generated signed URL, please follow // these restrictions: // -// Source file type should be a zip file. +// Source file type should be a zip file. // -// Source file size should not exceed 100MB limit. +// Source file size should not exceed 100MB limit. // -// No credentials should be attached - the signed URLs provide access to the -// target bucket using internal service identity; if credentials were -// attached, the identity from the credentials would be used, but that -// identity does not have permissions to upload files to the URL. +// No credentials should be attached - the signed URLs provide access to the +// target bucket using internal service identity; if credentials were +// attached, the identity from the credentials would be used, but that +// identity does not have permissions to upload files to the URL. // // When making an HTTP PUT request, these two headers must be specified: // -// content-type: application/zip +// content-type: application/zip // -// x-goog-content-length-range: 0,104857600 +// x-goog-content-length-range: 0,104857600 // // And this header must NOT be specified: // -// Authorization: Bearer YOUR_TOKEN +// Authorization: Bearer YOUR_TOKEN func (c *CloudFunctionsClient) GenerateUploadUrl(ctx context.Context, req *functionspb.GenerateUploadUrlRequest, opts ...gax.CallOption) (*functionspb.GenerateUploadUrlResponse, error) { return c.internalClient.GenerateUploadUrl(ctx, req, opts...) } @@ -1372,24 +1372,24 @@ func (c *cloudFunctionsRESTClient) CallFunction(ctx context.Context, req *functi // When uploading source code to the generated signed URL, please follow // these restrictions: // -// Source file type should be a zip file. +// Source file type should be a zip file. // -// Source file size should not exceed 100MB limit. +// Source file size should not exceed 100MB limit. // -// No credentials should be attached - the signed URLs provide access to the -// target bucket using internal service identity; if credentials were -// attached, the identity from the credentials would be used, but that -// identity does not have permissions to upload files to the URL. +// No credentials should be attached - the signed URLs provide access to the +// target bucket using internal service identity; if credentials were +// attached, the identity from the credentials would be used, but that +// identity does not have permissions to upload files to the URL. // // When making an HTTP PUT request, these two headers must be specified: // -// content-type: application/zip +// content-type: application/zip // -// x-goog-content-length-range: 0,104857600 +// x-goog-content-length-range: 0,104857600 // // And this header must NOT be specified: // -// Authorization: Bearer YOUR_TOKEN +// Authorization: Bearer YOUR_TOKEN func (c *cloudFunctionsRESTClient) GenerateUploadUrl(ctx context.Context, req *functionspb.GenerateUploadUrlRequest, opts ...gax.CallOption) (*functionspb.GenerateUploadUrlResponse, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/functions/apiv1/doc.go b/functions/apiv1/doc.go index 08d6834a524b..8ed442221eea 100755 --- a/functions/apiv1/doc.go +++ b/functions/apiv1/doc.go @@ -20,65 +20,66 @@ // Manages lightweight user-provided functions executed in response to // events. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := functions.NewCloudFunctionsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := functions.NewCloudFunctionsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := functions.NewCloudFunctionsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &functionspb.CallFunctionRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/functions/apiv1/functionspb#CallFunctionRequest. -// } -// resp, err := c.CallFunction(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := functions.NewCloudFunctionsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &functionspb.CallFunctionRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/functions/apiv1/functionspb#CallFunctionRequest. +// } +// resp, err := c.CallFunction(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewCloudFunctionsClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/functions/apiv1/functionspb/functions.pb.go b/functions/apiv1/functionspb/functions.pb.go index b43c94cfc0a9..684b2855c4ae 100755 --- a/functions/apiv1/functionspb/functions.pb.go +++ b/functions/apiv1/functionspb/functions.pb.go @@ -21,9 +21,12 @@ package functionspb import ( + context "context" + reflect "reflect" + sync "sync" + iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" - context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,8 +37,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/functions/apiv1/functionspb/operations.pb.go b/functions/apiv1/functionspb/operations.pb.go index 722ef65f1dcf..2697f06b8cbf 100755 --- a/functions/apiv1/functionspb/operations.pb.go +++ b/functions/apiv1/functionspb/operations.pb.go @@ -21,12 +21,13 @@ package functionspb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/functions/apiv2/doc.go b/functions/apiv2/doc.go index 3371a91c73c1..d2b56fdb4003 100755 --- a/functions/apiv2/doc.go +++ b/functions/apiv2/doc.go @@ -20,70 +20,71 @@ // Manages lightweight user-provided functions executed in response to // events. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := functions.NewFunctionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := functions.NewFunctionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := functions.NewFunctionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &functionspb.CreateFunctionRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/functions/apiv2/functionspb#CreateFunctionRequest. -// } -// op, err := c.CreateFunction(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := functions.NewFunctionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &functionspb.CreateFunctionRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/functions/apiv2/functionspb#CreateFunctionRequest. +// } +// op, err := c.CreateFunction(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewFunctionClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/functions/apiv2/function_client.go b/functions/apiv2/function_client.go index f107a6dbc085..dd08ae5bdbaf 100755 --- a/functions/apiv2/function_client.go +++ b/functions/apiv2/function_client.go @@ -239,20 +239,20 @@ func (c *FunctionClient) DeleteFunctionOperation(name string) *DeleteFunctionOpe // When uploading source code to the generated signed URL, please follow // these restrictions: // -// Source file type should be a zip file. +// Source file type should be a zip file. // -// No credentials should be attached - the signed URLs provide access to the -// target bucket using internal service identity; if credentials were -// attached, the identity from the credentials would be used, but that -// identity does not have permissions to upload files to the URL. +// No credentials should be attached - the signed URLs provide access to the +// target bucket using internal service identity; if credentials were +// attached, the identity from the credentials would be used, but that +// identity does not have permissions to upload files to the URL. // // When making a HTTP PUT request, these two headers need to be specified: // -// content-type: application/zip +// content-type: application/zip // // And this header SHOULD NOT be specified: // -// Authorization: Bearer YOUR_TOKEN +// Authorization: Bearer YOUR_TOKEN func (c *FunctionClient) GenerateUploadUrl(ctx context.Context, req *functionspb.GenerateUploadUrlRequest, opts ...gax.CallOption) (*functionspb.GenerateUploadUrlResponse, error) { return c.internalClient.GenerateUploadUrl(ctx, req, opts...) } @@ -1229,20 +1229,20 @@ func (c *functionRESTClient) DeleteFunction(ctx context.Context, req *functionsp // When uploading source code to the generated signed URL, please follow // these restrictions: // -// Source file type should be a zip file. +// Source file type should be a zip file. // -// No credentials should be attached - the signed URLs provide access to the -// target bucket using internal service identity; if credentials were -// attached, the identity from the credentials would be used, but that -// identity does not have permissions to upload files to the URL. +// No credentials should be attached - the signed URLs provide access to the +// target bucket using internal service identity; if credentials were +// attached, the identity from the credentials would be used, but that +// identity does not have permissions to upload files to the URL. // // When making a HTTP PUT request, these two headers need to be specified: // -// content-type: application/zip +// content-type: application/zip // // And this header SHOULD NOT be specified: // -// Authorization: Bearer YOUR_TOKEN +// Authorization: Bearer YOUR_TOKEN func (c *functionRESTClient) GenerateUploadUrl(ctx context.Context, req *functionspb.GenerateUploadUrlRequest, opts ...gax.CallOption) (*functionspb.GenerateUploadUrlResponse, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/functions/apiv2/functionspb/functions.pb.go b/functions/apiv2/functionspb/functions.pb.go index baaecdf21cea..7e4bd3c20d12 100755 --- a/functions/apiv2/functionspb/functions.pb.go +++ b/functions/apiv2/functionspb/functions.pb.go @@ -21,8 +21,11 @@ package functionspb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,8 +36,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/functions/apiv2beta/doc.go b/functions/apiv2beta/doc.go index e800d964f338..6073e4a586ee 100755 --- a/functions/apiv2beta/doc.go +++ b/functions/apiv2beta/doc.go @@ -20,72 +20,73 @@ // Manages lightweight user-provided functions executed in response to // events. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := functions.NewFunctionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := functions.NewFunctionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := functions.NewFunctionClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &functionspb.CreateFunctionRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/functions/apiv2beta/functionspb#CreateFunctionRequest. -// } -// op, err := c.CreateFunction(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := functions.NewFunctionClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &functionspb.CreateFunctionRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/functions/apiv2beta/functionspb#CreateFunctionRequest. +// } +// op, err := c.CreateFunction(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewFunctionClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/functions/apiv2beta/function_client.go b/functions/apiv2beta/function_client.go index 5774682bf018..343618a92678 100755 --- a/functions/apiv2beta/function_client.go +++ b/functions/apiv2beta/function_client.go @@ -239,20 +239,20 @@ func (c *FunctionClient) DeleteFunctionOperation(name string) *DeleteFunctionOpe // When uploading source code to the generated signed URL, please follow // these restrictions: // -// Source file type should be a zip file. +// Source file type should be a zip file. // -// No credentials should be attached - the signed URLs provide access to the -// target bucket using internal service identity; if credentials were -// attached, the identity from the credentials would be used, but that -// identity does not have permissions to upload files to the URL. +// No credentials should be attached - the signed URLs provide access to the +// target bucket using internal service identity; if credentials were +// attached, the identity from the credentials would be used, but that +// identity does not have permissions to upload files to the URL. // // When making a HTTP PUT request, these two headers need to be specified: // -// content-type: application/zip +// content-type: application/zip // // And this header SHOULD NOT be specified: // -// Authorization: Bearer YOUR_TOKEN +// Authorization: Bearer YOUR_TOKEN func (c *FunctionClient) GenerateUploadUrl(ctx context.Context, req *functionspb.GenerateUploadUrlRequest, opts ...gax.CallOption) (*functionspb.GenerateUploadUrlResponse, error) { return c.internalClient.GenerateUploadUrl(ctx, req, opts...) } @@ -1229,20 +1229,20 @@ func (c *functionRESTClient) DeleteFunction(ctx context.Context, req *functionsp // When uploading source code to the generated signed URL, please follow // these restrictions: // -// Source file type should be a zip file. +// Source file type should be a zip file. // -// No credentials should be attached - the signed URLs provide access to the -// target bucket using internal service identity; if credentials were -// attached, the identity from the credentials would be used, but that -// identity does not have permissions to upload files to the URL. +// No credentials should be attached - the signed URLs provide access to the +// target bucket using internal service identity; if credentials were +// attached, the identity from the credentials would be used, but that +// identity does not have permissions to upload files to the URL. // // When making a HTTP PUT request, these two headers need to be specified: // -// content-type: application/zip +// content-type: application/zip // // And this header SHOULD NOT be specified: // -// Authorization: Bearer YOUR_TOKEN +// Authorization: Bearer YOUR_TOKEN func (c *functionRESTClient) GenerateUploadUrl(ctx context.Context, req *functionspb.GenerateUploadUrlRequest, opts ...gax.CallOption) (*functionspb.GenerateUploadUrlResponse, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/functions/apiv2beta/functionspb/functions.pb.go b/functions/apiv2beta/functionspb/functions.pb.go index 47cf65b657ba..b2d5d275f218 100755 --- a/functions/apiv2beta/functionspb/functions.pb.go +++ b/functions/apiv2beta/functionspb/functions.pb.go @@ -21,8 +21,11 @@ package functionspb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,8 +36,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/gkebackup/apiv1/doc.go b/gkebackup/apiv1/doc.go index 86e1b1446d37..26ac6c0ef717 100755 --- a/gkebackup/apiv1/doc.go +++ b/gkebackup/apiv1/doc.go @@ -20,70 +20,71 @@ // Backup for GKE is a managed Kubernetes workload backup and restore service // for GKE clusters. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := gkebackup.NewBackupForGKEClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := gkebackup.NewBackupForGKEClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := gkebackup.NewBackupForGKEClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &gkebackuppb.CreateBackupRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/gkebackup/apiv1/gkebackuppb#CreateBackupRequest. -// } -// op, err := c.CreateBackup(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := gkebackup.NewBackupForGKEClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &gkebackuppb.CreateBackupRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/gkebackup/apiv1/gkebackuppb#CreateBackupRequest. +// } +// op, err := c.CreateBackup(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewBackupForGKEClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/gkebackup/apiv1/gkebackuppb/backup.pb.go b/gkebackup/apiv1/gkebackuppb/backup.pb.go index 28cfa4de20ef..2377cce0d9ad 100755 --- a/gkebackup/apiv1/gkebackuppb/backup.pb.go +++ b/gkebackup/apiv1/gkebackuppb/backup.pb.go @@ -21,12 +21,13 @@ package gkebackuppb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/gkebackup/apiv1/gkebackuppb/backup_plan.pb.go b/gkebackup/apiv1/gkebackuppb/backup_plan.pb.go index 3d290c818593..e07ab8180ae3 100755 --- a/gkebackup/apiv1/gkebackuppb/backup_plan.pb.go +++ b/gkebackup/apiv1/gkebackuppb/backup_plan.pb.go @@ -21,12 +21,13 @@ package gkebackuppb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/gkebackup/apiv1/gkebackuppb/common.pb.go b/gkebackup/apiv1/gkebackuppb/common.pb.go index e4e6656a47b2..f25d9ff354f1 100755 --- a/gkebackup/apiv1/gkebackuppb/common.pb.go +++ b/gkebackup/apiv1/gkebackuppb/common.pb.go @@ -21,11 +21,12 @@ package gkebackuppb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/gkebackup/apiv1/gkebackuppb/gkebackup.pb.go b/gkebackup/apiv1/gkebackuppb/gkebackup.pb.go index 848241bf2df6..6024fb10da14 100755 --- a/gkebackup/apiv1/gkebackuppb/gkebackup.pb.go +++ b/gkebackup/apiv1/gkebackuppb/gkebackup.pb.go @@ -21,8 +21,11 @@ package gkebackuppb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/gkebackup/apiv1/gkebackuppb/restore.pb.go b/gkebackup/apiv1/gkebackuppb/restore.pb.go index ce33d4668e85..7b3fb341c3f1 100755 --- a/gkebackup/apiv1/gkebackuppb/restore.pb.go +++ b/gkebackup/apiv1/gkebackuppb/restore.pb.go @@ -21,12 +21,13 @@ package gkebackuppb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/gkebackup/apiv1/gkebackuppb/restore_plan.pb.go b/gkebackup/apiv1/gkebackuppb/restore_plan.pb.go index d7fbf8207d36..e30210af5a47 100755 --- a/gkebackup/apiv1/gkebackuppb/restore_plan.pb.go +++ b/gkebackup/apiv1/gkebackuppb/restore_plan.pb.go @@ -21,12 +21,13 @@ package gkebackuppb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/gkebackup/apiv1/gkebackuppb/volume.pb.go b/gkebackup/apiv1/gkebackuppb/volume.pb.go index 19c4492781b9..f6f1e47c0810 100755 --- a/gkebackup/apiv1/gkebackuppb/volume.pb.go +++ b/gkebackup/apiv1/gkebackuppb/volume.pb.go @@ -21,12 +21,13 @@ package gkebackuppb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/gkeconnect/gateway/apiv1beta1/auxiliary.go b/gkeconnect/gateway/apiv1beta1/auxiliary.go index 310bcf78fdee..3f242e3fb4c5 100755 --- a/gkeconnect/gateway/apiv1beta1/auxiliary.go +++ b/gkeconnect/gateway/apiv1beta1/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package gateway - -import () diff --git a/gkeconnect/gateway/apiv1beta1/doc.go b/gkeconnect/gateway/apiv1beta1/doc.go index a761d81049fd..bde478c20738 100755 --- a/gkeconnect/gateway/apiv1beta1/doc.go +++ b/gkeconnect/gateway/apiv1beta1/doc.go @@ -20,67 +20,68 @@ // The Connect Gateway service allows connectivity from external parties to // connected Kubernetes clusters. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := gateway.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := gateway.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := gateway.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &httpbodypb.HttpBody{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/google.golang.org/genproto/googleapis/api/httpbody#HttpBody. -// } -// resp, err := c.DeleteResource(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := gateway.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &httpbodypb.HttpBody{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/google.golang.org/genproto/googleapis/api/httpbody#HttpBody. +// } +// resp, err := c.DeleteResource(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/gkeconnect/gateway/apiv1beta1/gatewaypb/gateway.pb.go b/gkeconnect/gateway/apiv1beta1/gatewaypb/gateway.pb.go index 15149c6206ed..ad42dbcefd9b 100755 --- a/gkeconnect/gateway/apiv1beta1/gatewaypb/gateway.pb.go +++ b/gkeconnect/gateway/apiv1beta1/gatewaypb/gateway.pb.go @@ -22,6 +22,8 @@ package gatewaypb import ( context "context" + reflect "reflect" + _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -29,7 +31,6 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" ) const ( diff --git a/gkehub/apiv1beta1/doc.go b/gkehub/apiv1beta1/doc.go index 9a5fc9e65b36..72c02efef879 100755 --- a/gkehub/apiv1beta1/doc.go +++ b/gkehub/apiv1beta1/doc.go @@ -17,72 +17,73 @@ // Package gkehub is an auto-generated package for the // GKE Hub API. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := gkehub.NewGkeHubMembershipClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := gkehub.NewGkeHubMembershipClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := gkehub.NewGkeHubMembershipClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &gkehubpb.CreateMembershipRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/gkehub/apiv1beta1/gkehubpb#CreateMembershipRequest. -// } -// op, err := c.CreateMembership(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := gkehub.NewGkeHubMembershipClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &gkehubpb.CreateMembershipRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/gkehub/apiv1beta1/gkehubpb#CreateMembershipRequest. +// } +// op, err := c.CreateMembership(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewGkeHubMembershipClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/gkehub/apiv1beta1/gkehubpb/membership.pb.go b/gkehub/apiv1beta1/gkehubpb/membership.pb.go index 26ba774f039c..47643b1b587e 100755 --- a/gkehub/apiv1beta1/gkehubpb/membership.pb.go +++ b/gkehub/apiv1beta1/gkehubpb/membership.pb.go @@ -21,8 +21,11 @@ package gkehubpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -33,8 +36,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/gkemulticloud/apiv1/doc.go b/gkemulticloud/apiv1/doc.go index 51bd46f452d1..7f6b610836bb 100755 --- a/gkemulticloud/apiv1/doc.go +++ b/gkemulticloud/apiv1/doc.go @@ -25,70 +25,71 @@ // on your behalf. You can deploy workloads with the Anthos Multi-Cloud API // or the gcloud and kubectl command-line tools. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := gkemulticloud.NewAttachedClustersClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := gkemulticloud.NewAttachedClustersClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := gkemulticloud.NewAttachedClustersClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &gkemulticloudpb.CreateAttachedClusterRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb#CreateAttachedClusterRequest. -// } -// op, err := c.CreateAttachedCluster(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := gkemulticloud.NewAttachedClustersClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &gkemulticloudpb.CreateAttachedClusterRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb#CreateAttachedClusterRequest. +// } +// op, err := c.CreateAttachedCluster(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewAttachedClustersClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/gkemulticloud/apiv1/gkemulticloudpb/attached_resources.pb.go b/gkemulticloud/apiv1/gkemulticloudpb/attached_resources.pb.go index 9c60cf2ae255..e48714c44feb 100755 --- a/gkemulticloud/apiv1/gkemulticloudpb/attached_resources.pb.go +++ b/gkemulticloud/apiv1/gkemulticloudpb/attached_resources.pb.go @@ -21,12 +21,13 @@ package gkemulticloudpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/gkemulticloud/apiv1/gkemulticloudpb/attached_service.pb.go b/gkemulticloud/apiv1/gkemulticloudpb/attached_service.pb.go index 7dd381b556b1..619346300531 100755 --- a/gkemulticloud/apiv1/gkemulticloudpb/attached_service.pb.go +++ b/gkemulticloud/apiv1/gkemulticloudpb/attached_service.pb.go @@ -21,8 +21,11 @@ package gkemulticloudpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/gkemulticloud/apiv1/gkemulticloudpb/aws_resources.pb.go b/gkemulticloud/apiv1/gkemulticloudpb/aws_resources.pb.go index 331d2b46265d..406d5921ab11 100755 --- a/gkemulticloud/apiv1/gkemulticloudpb/aws_resources.pb.go +++ b/gkemulticloud/apiv1/gkemulticloudpb/aws_resources.pb.go @@ -21,12 +21,13 @@ package gkemulticloudpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -1825,8 +1826,8 @@ func (x *AwsConfigEncryption) GetKmsKeyArn() string { // Details of placement information for an instance. // Limitations for using the `host` tenancy: // -// * T3 instances that use the unlimited CPU credit option don't support host -// tenancy. +// - T3 instances that use the unlimited CPU credit option don't support host +// tenancy. type AwsInstancePlacement struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/gkemulticloud/apiv1/gkemulticloudpb/aws_service.pb.go b/gkemulticloud/apiv1/gkemulticloudpb/aws_service.pb.go index ced9e95ae41e..2e5d23f07bd9 100755 --- a/gkemulticloud/apiv1/gkemulticloudpb/aws_service.pb.go +++ b/gkemulticloud/apiv1/gkemulticloudpb/aws_service.pb.go @@ -21,8 +21,11 @@ package gkemulticloudpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/gkemulticloud/apiv1/gkemulticloudpb/azure_resources.pb.go b/gkemulticloud/apiv1/gkemulticloudpb/azure_resources.pb.go index 3ed09d5b4bf4..14e8993f162d 100755 --- a/gkemulticloud/apiv1/gkemulticloudpb/azure_resources.pb.go +++ b/gkemulticloud/apiv1/gkemulticloudpb/azure_resources.pb.go @@ -21,12 +21,13 @@ package gkemulticloudpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/gkemulticloud/apiv1/gkemulticloudpb/azure_service.pb.go b/gkemulticloud/apiv1/gkemulticloudpb/azure_service.pb.go index bd898071493f..1c5021ec33a1 100755 --- a/gkemulticloud/apiv1/gkemulticloudpb/azure_service.pb.go +++ b/gkemulticloud/apiv1/gkemulticloudpb/azure_service.pb.go @@ -21,8 +21,11 @@ package gkemulticloudpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/gkemulticloud/apiv1/gkemulticloudpb/common_resources.pb.go b/gkemulticloud/apiv1/gkemulticloudpb/common_resources.pb.go index 1ad0453e0a3b..d93fef6e1ff3 100755 --- a/gkemulticloud/apiv1/gkemulticloudpb/common_resources.pb.go +++ b/gkemulticloud/apiv1/gkemulticloudpb/common_resources.pb.go @@ -21,12 +21,13 @@ package gkemulticloudpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/gsuiteaddons/apiv1/doc.go b/gsuiteaddons/apiv1/doc.go index befc3a1d18bb..fd5f2ebe3b16 100755 --- a/gsuiteaddons/apiv1/doc.go +++ b/gsuiteaddons/apiv1/doc.go @@ -17,65 +17,66 @@ // Package gsuiteaddons is an auto-generated package for the // Google Workspace Add-ons API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := gsuiteaddons.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := gsuiteaddons.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := gsuiteaddons.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &gsuiteaddonspb.CreateDeploymentRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/gsuiteaddons/apiv1/gsuiteaddonspb#CreateDeploymentRequest. -// } -// resp, err := c.CreateDeployment(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := gsuiteaddons.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &gsuiteaddonspb.CreateDeploymentRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/gsuiteaddons/apiv1/gsuiteaddonspb#CreateDeploymentRequest. +// } +// resp, err := c.CreateDeployment(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/gsuiteaddons/apiv1/gsuiteaddonspb/gsuiteaddons.pb.go b/gsuiteaddons/apiv1/gsuiteaddonspb/gsuiteaddons.pb.go index 526fc6387db5..a58c52ef4d19 100755 --- a/gsuiteaddons/apiv1/gsuiteaddonspb/gsuiteaddons.pb.go +++ b/gsuiteaddons/apiv1/gsuiteaddonspb/gsuiteaddons.pb.go @@ -22,6 +22,9 @@ package gsuiteaddonspb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" _type "google.golang.org/genproto/googleapis/apps/script/type" calendar "google.golang.org/genproto/googleapis/apps/script/type/calendar" @@ -37,8 +40,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/iam/apiv1/auxiliary.go b/iam/apiv1/auxiliary.go index c52ee3e8ba81..788f307f7089 100755 --- a/iam/apiv1/auxiliary.go +++ b/iam/apiv1/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package iam - -import () diff --git a/iam/apiv1/doc.go b/iam/apiv1/doc.go index a90500f3d407..3722b35c8146 100755 --- a/iam/apiv1/doc.go +++ b/iam/apiv1/doc.go @@ -19,65 +19,66 @@ // // Manages access control for Google Cloud Platform resources. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := iam.NewIamPolicyClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := iam.NewIamPolicyClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := iam.NewIamPolicyClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &iampb.GetIamPolicyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest. -// } -// resp, err := c.GetIamPolicy(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := iam.NewIamPolicyClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &iampb.GetIamPolicyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest. +// } +// resp, err := c.GetIamPolicy(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewIamPolicyClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/iam/apiv1/iam_policy_client.go b/iam/apiv1/iam_policy_client.go index 659ad1656d0b..e5158e0a108d 100755 --- a/iam/apiv1/iam_policy_client.go +++ b/iam/apiv1/iam_policy_client.go @@ -86,7 +86,7 @@ type internalIamPolicyClient interface { // IamPolicyClient is a client for interacting with IAM Meta API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// API Overview +// # API Overview // // Manages Identity and Access Management (IAM) policies. // @@ -102,7 +102,7 @@ type internalIamPolicyClient interface { // specified only at the Table level, whereas another might allow access control // to also be specified at the Column level. // -// Policy StructureSee google.iam.v1.Policy +// # Policy StructureSee google.iam.v1.Policy // // This is intentionally not a CRUD style API because access control policies // are created and deleted implicitly with the resources to which they are @@ -184,7 +184,7 @@ type iamPolicyGRPCClient struct { // NewIamPolicyClient creates a new iam policy client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// API Overview +// # API Overview // // Manages Identity and Access Management (IAM) policies. // @@ -200,7 +200,7 @@ type iamPolicyGRPCClient struct { // specified only at the Table level, whereas another might allow access control // to also be specified at the Column level. // -// Policy StructureSee google.iam.v1.Policy +// # Policy StructureSee google.iam.v1.Policy // // This is intentionally not a CRUD style API because access control policies // are created and deleted implicitly with the resources to which they are @@ -273,7 +273,7 @@ type iamPolicyRESTClient struct { // NewIamPolicyRESTClient creates a new iam policy rest client. // -// API Overview +// # API Overview // // Manages Identity and Access Management (IAM) policies. // @@ -289,7 +289,7 @@ type iamPolicyRESTClient struct { // specified only at the Table level, whereas another might allow access control // to also be specified at the Column level. // -// Policy StructureSee google.iam.v1.Policy +// # Policy StructureSee google.iam.v1.Policy // // This is intentionally not a CRUD style API because access control policies // are created and deleted implicitly with the resources to which they are diff --git a/iam/apiv1/iampb/iam_policy.pb.go b/iam/apiv1/iampb/iam_policy.pb.go index f12f3ab27d33..85346a891df1 100755 --- a/iam/apiv1/iampb/iam_policy.pb.go +++ b/iam/apiv1/iampb/iam_policy.pb.go @@ -22,6 +22,9 @@ package iampb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/iam/apiv1/iampb/options.pb.go b/iam/apiv1/iampb/options.pb.go index 0525514da6d2..68f8d761f7f7 100755 --- a/iam/apiv1/iampb/options.pb.go +++ b/iam/apiv1/iampb/options.pb.go @@ -21,10 +21,11 @@ package iampb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/iam/apiv1/iampb/policy.pb.go b/iam/apiv1/iampb/policy.pb.go index fad8099ed1df..eefd1d0e546b 100755 --- a/iam/apiv1/iampb/policy.pb.go +++ b/iam/apiv1/iampb/policy.pb.go @@ -21,11 +21,12 @@ package iampb import ( + reflect "reflect" + sync "sync" + expr "google.golang.org/genproto/googleapis/type/expr" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( @@ -202,7 +203,6 @@ func (AuditConfigDelta_Action) EnumDescriptor() ([]byte, []int) { // An Identity and Access Management (IAM) policy, which specifies access // controls for Google Cloud resources. // -// // A `Policy` is a collection of `bindings`. A `binding` binds one or more // `members`, or principals, to a single `role`. Principals can be user // accounts, service accounts, Google groups, and domains (such as G Suite). A @@ -220,54 +220,58 @@ func (AuditConfigDelta_Action) EnumDescriptor() ([]byte, []int) { // **JSON example:** // // ``` -// { -// "bindings": [ -// { -// "role": "roles/resourcemanager.organizationAdmin", -// "members": [ -// "user:mike@example.com", -// "group:admins@example.com", -// "domain:google.com", -// "serviceAccount:my-project-id@appspot.gserviceaccount.com" -// ] -// }, -// { -// "role": "roles/resourcemanager.organizationViewer", -// "members": [ -// "user:eve@example.com" -// ], -// "condition": { -// "title": "expirable access", -// "description": "Does not grant access after Sep 2020", -// "expression": "request.time < -// timestamp('2020-10-01T00:00:00.000Z')", -// } -// } -// ], -// "etag": "BwWWja0YfJA=", -// "version": 3 -// } +// +// { +// "bindings": [ +// { +// "role": "roles/resourcemanager.organizationAdmin", +// "members": [ +// "user:mike@example.com", +// "group:admins@example.com", +// "domain:google.com", +// "serviceAccount:my-project-id@appspot.gserviceaccount.com" +// ] +// }, +// { +// "role": "roles/resourcemanager.organizationViewer", +// "members": [ +// "user:eve@example.com" +// ], +// "condition": { +// "title": "expirable access", +// "description": "Does not grant access after Sep 2020", +// "expression": "request.time < +// timestamp('2020-10-01T00:00:00.000Z')", +// } +// } +// ], +// "etag": "BwWWja0YfJA=", +// "version": 3 +// } +// // ``` // // **YAML example:** // // ``` -// bindings: -// - members: -// - user:mike@example.com -// - group:admins@example.com -// - domain:google.com -// - serviceAccount:my-project-id@appspot.gserviceaccount.com -// role: roles/resourcemanager.organizationAdmin -// - members: -// - user:eve@example.com -// role: roles/resourcemanager.organizationViewer -// condition: -// title: expirable access -// description: Does not grant access after Sep 2020 -// expression: request.time < timestamp('2020-10-01T00:00:00.000Z') -// etag: BwWWja0YfJA= -// version: 3 +// +// bindings: +// - members: +// - user:mike@example.com +// - group:admins@example.com +// - domain:google.com +// - serviceAccount:my-project-id@appspot.gserviceaccount.com +// role: roles/resourcemanager.organizationAdmin +// - members: +// - user:eve@example.com +// role: roles/resourcemanager.organizationViewer +// condition: +// title: expirable access +// description: Does not grant access after Sep 2020 +// expression: request.time < timestamp('2020-10-01T00:00:00.000Z') +// etag: BwWWja0YfJA= +// version: 3 +// // ``` // // For a description of IAM and its features, see the @@ -525,41 +529,41 @@ func (x *Binding) GetCondition() *expr.Expr { // // Example Policy with multiple AuditConfigs: // -// { -// "audit_configs": [ -// { -// "service": "allServices", -// "audit_log_configs": [ -// { -// "log_type": "DATA_READ", -// "exempted_members": [ -// "user:jose@example.com" -// ] -// }, -// { -// "log_type": "DATA_WRITE" -// }, -// { -// "log_type": "ADMIN_READ" -// } -// ] -// }, -// { -// "service": "sampleservice.googleapis.com", -// "audit_log_configs": [ -// { -// "log_type": "DATA_READ" -// }, -// { -// "log_type": "DATA_WRITE", -// "exempted_members": [ -// "user:aliya@example.com" -// ] -// } -// ] -// } -// ] -// } +// { +// "audit_configs": [ +// { +// "service": "allServices", +// "audit_log_configs": [ +// { +// "log_type": "DATA_READ", +// "exempted_members": [ +// "user:jose@example.com" +// ] +// }, +// { +// "log_type": "DATA_WRITE" +// }, +// { +// "log_type": "ADMIN_READ" +// } +// ] +// }, +// { +// "service": "sampleservice.googleapis.com", +// "audit_log_configs": [ +// { +// "log_type": "DATA_READ" +// }, +// { +// "log_type": "DATA_WRITE", +// "exempted_members": [ +// "user:aliya@example.com" +// ] +// } +// ] +// } +// ] +// } // // For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ // logging. It also exempts `jose@example.com` from DATA_READ logging, and @@ -626,19 +630,19 @@ func (x *AuditConfig) GetAuditLogConfigs() []*AuditLogConfig { // Provides the configuration for logging a type of permissions. // Example: // -// { -// "audit_log_configs": [ -// { -// "log_type": "DATA_READ", -// "exempted_members": [ -// "user:jose@example.com" -// ] -// }, -// { -// "log_type": "DATA_WRITE" -// } -// ] -// } +// { +// "audit_log_configs": [ +// { +// "log_type": "DATA_READ", +// "exempted_members": [ +// "user:jose@example.com" +// ] +// }, +// { +// "log_type": "DATA_WRITE" +// } +// ] +// } // // This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting // jose@example.com from DATA_READ logging. diff --git a/iam/apiv2/doc.go b/iam/apiv2/doc.go index 3d9171ecd12a..17fd244d0e80 100755 --- a/iam/apiv2/doc.go +++ b/iam/apiv2/doc.go @@ -21,70 +21,71 @@ // including the creation of service accounts, which you can use to // authenticate to Google and make API calls. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := iam.NewPoliciesClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := iam.NewPoliciesClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := iam.NewPoliciesClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &iampb.CreatePolicyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/iam/apiv2/iampb#CreatePolicyRequest. -// } -// op, err := c.CreatePolicy(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := iam.NewPoliciesClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &iampb.CreatePolicyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/iam/apiv2/iampb#CreatePolicyRequest. +// } +// op, err := c.CreatePolicy(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewPoliciesClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/iam/apiv2/iampb/deny.pb.go b/iam/apiv2/iampb/deny.pb.go index 82319502c559..585e5e72d36a 100755 --- a/iam/apiv2/iampb/deny.pb.go +++ b/iam/apiv2/iampb/deny.pb.go @@ -21,11 +21,12 @@ package iampb import ( + reflect "reflect" + sync "sync" + expr "google.golang.org/genproto/googleapis/type/expr" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/iam/apiv2/iampb/policy.pb.go b/iam/apiv2/iampb/policy.pb.go index 00be53897215..be46e356d93c 100755 --- a/iam/apiv2/iampb/policy.pb.go +++ b/iam/apiv2/iampb/policy.pb.go @@ -21,8 +21,11 @@ package iampb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/iam/credentials/apiv1/auxiliary.go b/iam/credentials/apiv1/auxiliary.go index 168b8e6f29de..69a05051827b 100755 --- a/iam/credentials/apiv1/auxiliary.go +++ b/iam/credentials/apiv1/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package credentials - -import () diff --git a/iam/credentials/apiv1/credentialspb/common.pb.go b/iam/credentials/apiv1/credentialspb/common.pb.go index e6eb18c40be7..e78dd4710266 100755 --- a/iam/credentials/apiv1/credentialspb/common.pb.go +++ b/iam/credentials/apiv1/credentialspb/common.pb.go @@ -21,13 +21,14 @@ package credentialspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/iam/credentials/apiv1/credentialspb/iamcredentials.pb.go b/iam/credentials/apiv1/credentialspb/iamcredentials.pb.go index 9e282dec763c..b7e371d7a3a6 100755 --- a/iam/credentials/apiv1/credentialspb/iamcredentials.pb.go +++ b/iam/credentials/apiv1/credentialspb/iamcredentials.pb.go @@ -22,13 +22,14 @@ package credentialspb import ( context "context" + reflect "reflect" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" ) const ( diff --git a/iam/credentials/apiv1/doc.go b/iam/credentials/apiv1/doc.go index 08a0c945a769..b892ea69b2ee 100755 --- a/iam/credentials/apiv1/doc.go +++ b/iam/credentials/apiv1/doc.go @@ -20,65 +20,66 @@ // Creates short-lived, limited-privilege credentials for IAM service // accounts. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := credentials.NewIamCredentialsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := credentials.NewIamCredentialsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := credentials.NewIamCredentialsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &credentialspb.GenerateAccessTokenRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/iam/credentials/apiv1/credentialspb#GenerateAccessTokenRequest. -// } -// resp, err := c.GenerateAccessToken(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := credentials.NewIamCredentialsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &credentialspb.GenerateAccessTokenRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/iam/credentials/apiv1/credentialspb#GenerateAccessTokenRequest. +// } +// resp, err := c.GenerateAccessToken(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewIamCredentialsClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/iap/apiv1/doc.go b/iap/apiv1/doc.go index 1ce0f1751ef8..682e89e8690a 100755 --- a/iap/apiv1/doc.go +++ b/iap/apiv1/doc.go @@ -19,65 +19,66 @@ // // Controls access to cloud applications running on Google Cloud Platform. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := iap.NewIdentityAwareProxyAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := iap.NewIdentityAwareProxyAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := iap.NewIdentityAwareProxyAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &iappb.CreateTunnelDestGroupRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/iap/apiv1/iappb#CreateTunnelDestGroupRequest. -// } -// resp, err := c.CreateTunnelDestGroup(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := iap.NewIdentityAwareProxyAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &iappb.CreateTunnelDestGroupRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/iap/apiv1/iappb#CreateTunnelDestGroupRequest. +// } +// resp, err := c.CreateTunnelDestGroup(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewIdentityAwareProxyAdminClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/iap/apiv1/iappb/service.pb.go b/iap/apiv1/iappb/service.pb.go index a43bd077aeb7..1b781d1e1241 100755 --- a/iap/apiv1/iappb/service.pb.go +++ b/iap/apiv1/iappb/service.pb.go @@ -21,8 +21,11 @@ package iappb import ( - iampb "cloud.google.com/go/iam/apiv1/iampb" context "context" + reflect "reflect" + sync "sync" + + iampb "cloud.google.com/go/iam/apiv1/iampb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,8 +36,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/ids/apiv1/doc.go b/ids/apiv1/doc.go index 981b72ec1af9..edac7984ad7c 100755 --- a/ids/apiv1/doc.go +++ b/ids/apiv1/doc.go @@ -23,70 +23,71 @@ // When you use this product, your organization name and consumption levels // will be shared with Palo Alto Networks. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := ids.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := ids.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := ids.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &idspb.CreateEndpointRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/ids/apiv1/idspb#CreateEndpointRequest. -// } -// op, err := c.CreateEndpoint(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := ids.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &idspb.CreateEndpointRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/ids/apiv1/idspb#CreateEndpointRequest. +// } +// op, err := c.CreateEndpoint(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/ids/apiv1/idspb/ids.pb.go b/ids/apiv1/idspb/ids.pb.go index 73c6be87d7e1..5ea752be5ef7 100755 --- a/ids/apiv1/idspb/ids.pb.go +++ b/ids/apiv1/idspb/ids.pb.go @@ -21,8 +21,11 @@ package idspb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( 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 72252e35c137..73c8c0c04208 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/accessapproval/apiv1", - "version": "$VERSION", + "version": "1.7.4", "language": "GO", "apis": [ { 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 9a069b7e4924..fbe20cc5d585 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/accesscontextmanager/apiv1", - "version": "$VERSION", + "version": "1.8.4", "language": "GO", "apis": [ { 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 020219f3900a..3ee703b42227 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/advisorynotifications/apiv1", - "version": "$VERSION", + "version": "1.2.3", "language": "GO", "apis": [ { 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 6f7403f2e3c9..e41782e16a89 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/ai/generativelanguage/apiv1beta2", - "version": "$VERSION", + "version": "0.1.4", "language": "GO", "apis": [ { 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 95b2eb23e0cf..ba4c840bb981 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": "$VERSION", + "version": "1.55.0", "language": "GO", "apis": [ { 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 dd7722afb976..fc8c3edc60cb 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": "$VERSION", + "version": "1.55.0", "language": "GO", "apis": [ { 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 cf6a302b2c7b..a99b2e3575d4 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/alloydb/apiv1", - "version": "$VERSION", + "version": "1.7.0", "language": "GO", "apis": [ { 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 e88ff2fa66a4..36f68c212e5a 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/alloydb/apiv1alpha", - "version": "$VERSION", + "version": "1.7.0", "language": "GO", "apis": [ { 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 31f13776f70c..92b27e0356f6 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/alloydb/apiv1beta", - "version": "$VERSION", + "version": "1.7.0", "language": "GO", "apis": [ { 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 b02a2b7961a0..f8b885eb173d 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/analytics/admin/apiv1alpha", - "version": "$VERSION", + "version": "0.21.6", "language": "GO", "apis": [ { 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 6bf56235057d..99f9e3fced00 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/apigateway/apiv1", - "version": "$VERSION", + "version": "1.6.4", "language": "GO", "apis": [ { 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 cd9507c8409c..f5b2431a3e12 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/apigeeconnect/apiv1", - "version": "$VERSION", + "version": "1.6.4", "language": "GO", "apis": [ { 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 2ccbb22b26b3..fa60ba3af6ad 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/apigeeregistry/apiv1", - "version": "$VERSION", + "version": "0.8.2", "language": "GO", "apis": [ { 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 2b10b5c2f8bf..42bd93ddd24b 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/apikeys/apiv2", - "version": "$VERSION", + "version": "1.1.4", "language": "GO", "apis": [ { 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 e65a73cf9ebd..7223c6ba9730 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/appengine/apiv1", - "version": "$VERSION", + "version": "1.8.4", "language": "GO", "apis": [ { 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 b62964d8ddf0..fac10ef0829a 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/area120/tables/apiv1alpha1", - "version": "$VERSION", + "version": "0.8.4", "language": "GO", "apis": [ { 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 be6d281ff214..8a1c7a96ec8c 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/artifactregistry/apiv1", - "version": "$VERSION", + "version": "1.14.6", "language": "GO", "apis": [ { 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 d48dc3633c78..9b59f083d715 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/artifactregistry/apiv1beta2", - "version": "$VERSION", + "version": "1.14.6", "language": "GO", "apis": [ { 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 6e264258aea3..4b5e6ee77c3d 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/asset/apiv1", - "version": "$VERSION", + "version": "1.15.3", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/asset/apiv1p2beta1/snippet_metadata.google.cloud.asset.v1p2beta1.json b/internal/generated/snippets/asset/apiv1p2beta1/snippet_metadata.google.cloud.asset.v1p2beta1.json index c91ae38c1151..cd650ce5925b 100644 --- a/internal/generated/snippets/asset/apiv1p2beta1/snippet_metadata.google.cloud.asset.v1p2beta1.json +++ b/internal/generated/snippets/asset/apiv1p2beta1/snippet_metadata.google.cloud.asset.v1p2beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/asset/apiv1p2beta1", - "version": "$VERSION", + "version": "1.15.3", "language": "GO", "apis": [ { 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 059d12544016..be59eebd9508 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/asset/apiv1p5beta1", - "version": "$VERSION", + "version": "1.15.3", "language": "GO", "apis": [ { 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 1803aac8711e..9f38c3487a3b 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/assuredworkloads/apiv1", - "version": "$VERSION", + "version": "1.11.4", "language": "GO", "apis": [ { 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 003e86e5339b..545002d9274c 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/assuredworkloads/apiv1beta1", - "version": "$VERSION", + "version": "1.11.4", "language": "GO", "apis": [ { 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 9286b2f722ed..3f5c84b50d43 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/automl/apiv1", - "version": "$VERSION", + "version": "1.13.4", "language": "GO", "apis": [ { 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 238ea107e8d3..923d5b8ad26d 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/automl/apiv1beta1", - "version": "$VERSION", + "version": "1.13.4", "language": "GO", "apis": [ { 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 66f4eb862c04..1dacae1cc8b4 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/baremetalsolution/apiv2", - "version": "$VERSION", + "version": "1.2.3", "language": "GO", "apis": [ { 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 cb2bc190d05e..60025cfd2b78 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/batch/apiv1", - "version": "$VERSION", + "version": "1.7.0", "language": "GO", "apis": [ { 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 43d0babd883f..140a7bc45b36 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/beyondcorp/appconnections/apiv1", - "version": "$VERSION", + "version": "1.0.3", "language": "GO", "apis": [ { 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 fda14ec92927..0ba91f251849 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/beyondcorp/appconnectors/apiv1", - "version": "$VERSION", + "version": "1.0.3", "language": "GO", "apis": [ { 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 897c855eb4dc..d4798031318a 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/beyondcorp/appgateways/apiv1", - "version": "$VERSION", + "version": "1.0.3", "language": "GO", "apis": [ { 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 f827762c285b..f7a80e3525d4 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/beyondcorp/clientconnectorservices/apiv1", - "version": "$VERSION", + "version": "1.0.3", "language": "GO", "apis": [ { 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 c8d1c34f463a..fb9f290cbd82 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/beyondcorp/clientgateways/apiv1", - "version": "$VERSION", + "version": "1.0.3", "language": "GO", "apis": [ { 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 b466fe17e895..b22279f74423 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": "$VERSION", + "version": "1.57.1", "language": "GO", "apis": [ { 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 53ebde7923e8..bb658697fb47 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": "$VERSION", + "version": "1.57.1", "language": "GO", "apis": [ { 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 01997a5df11d..5c0e81d08a92 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": "$VERSION", + "version": "1.57.1", "language": "GO", "apis": [ { 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 a48a62c3d743..bccfca9c0a2f 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": "$VERSION", + "version": "1.57.1", "language": "GO", "apis": [ { 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 efaa3a351ba4..36667e70e8c2 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": "$VERSION", + "version": "1.57.1", "language": "GO", "apis": [ { 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 fdd2eae057bf..1bb784f75262 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": "$VERSION", + "version": "1.57.1", "language": "GO", "apis": [ { 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 27f95c702e98..b7aa9e777659 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": "$VERSION", + "version": "1.57.1", "language": "GO", "apis": [ { 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 cd992d18ed63..05ad140e9196 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": "$VERSION", + "version": "1.57.1", "language": "GO", "apis": [ { 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 f2081ce28f5b..d0e7d3800e30 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": "$VERSION", + "version": "1.57.1", "language": "GO", "apis": [ { 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 e704fc1f2054..958f839d12c5 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": "$VERSION", + "version": "1.57.1", "language": "GO", "apis": [ { 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 61b61c450739..b234799f9619 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": "$VERSION", + "version": "1.57.1", "language": "GO", "apis": [ { 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 252e9d52de17..17996d8626df 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": "$VERSION", + "version": "1.57.1", "language": "GO", "apis": [ { 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 c3114096a8b5..710e810a4ca2 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": "$VERSION", + "version": "1.57.1", "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 66ba412c6d00..ee8aa8241675 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": "$VERSION", + "version": "1.57.1", "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 a3090376d340..fbbffd785e41 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": "$VERSION", + "version": "1.57.1", "language": "GO", "apis": [ { 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 4702bb691e70..d2e4fa02704d 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/billing/apiv1", - "version": "$VERSION", + "version": "1.17.4", "language": "GO", "apis": [ { 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 2220f1d6f8de..f0ad8a4108cf 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/billing/budgets/apiv1", - "version": "$VERSION", + "version": "1.17.4", "language": "GO", "apis": [ { 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 d211fed6a9bc..eea4cfd436b2 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/billing/budgets/apiv1beta1", - "version": "$VERSION", + "version": "1.17.4", "language": "GO", "apis": [ { 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 415acc7b08d3..c92c8e2c9002 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/binaryauthorization/apiv1", - "version": "$VERSION", + "version": "1.7.3", "language": "GO", "apis": [ { 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 f2575e565cba..8263bac525fc 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/binaryauthorization/apiv1beta1", - "version": "$VERSION", + "version": "1.7.3", "language": "GO", "apis": [ { 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 5d7c94fec08a..fb1971df2dd7 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/certificatemanager/apiv1", - "version": "$VERSION", + "version": "1.7.4", "language": "GO", "apis": [ { 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 778c6f3618c6..65e21c501c41 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/channel/apiv1", - "version": "$VERSION", + "version": "1.17.3", "language": "GO", "apis": [ { 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 561949360422..5c18b484967e 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/cloudbuild/apiv1/v2", - "version": "$VERSION", + "version": "1.15.0", "language": "GO", "apis": [ { 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 644775c35665..be5877c48c42 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/cloudbuild/apiv2", - "version": "$VERSION", + "version": "1.15.0", "language": "GO", "apis": [ { 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 367b547944b6..fb8bc8a4b574 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/clouddms/apiv1", - "version": "$VERSION", + "version": "1.7.3", "language": "GO", "apis": [ { 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 77e56c5b2e64..f96677a431aa 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/cloudprofiler/apiv2", - "version": "$VERSION", + "version": "0.1.0", "language": "GO", "apis": [ { 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 673ef5f196fd..96ef00106678 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/cloudtasks/apiv2", - "version": "$VERSION", + "version": "1.12.4", "language": "GO", "apis": [ { 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 086485831eca..8d28f208b957 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/cloudtasks/apiv2beta2", - "version": "$VERSION", + "version": "1.12.4", "language": "GO", "apis": [ { 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 fbce5e30e4fc..845fc2a24101 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/cloudtasks/apiv2beta3", - "version": "$VERSION", + "version": "1.12.4", "language": "GO", "apis": [ { 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 5275e36a8c9c..0076cc98ac8f 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/commerce/consumer/procurement/apiv1", - "version": "$VERSION", + "version": "0.1.3", "language": "GO", "apis": [ { 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 a189435b6760..3ae6dfeb4ca9 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/compute/apiv1", - "version": "$VERSION", + "version": "1.23.3", "language": "GO", "apis": [ { 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 bdc2b2b85213..9b311d8db25a 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": "$VERSION", + "version": "1.4.0", "language": "GO", "apis": [ { 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 ef8d81474626..cd88942f937a 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": "$VERSION", + "version": "1.4.0", "language": "GO", "apis": [ { 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 610fa7409f47..d523a7bd9445 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/config/apiv1", - "version": "$VERSION", + "version": "0.1.4", "language": "GO", "apis": [ { 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 9d54615746a7..25462b9bb043 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/contactcenterinsights/apiv1", - "version": "$VERSION", + "version": "1.12.1", "language": "GO", "apis": [ { 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 3a045aa74253..c6317093d9e8 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": "$VERSION", + "version": "1.29.0", "language": "GO", "apis": [ { 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 b2981ad33474..46a657bbcb7c 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/containeranalysis/apiv1beta1", - "version": "$VERSION", + "version": "0.11.3", "language": "GO", "apis": [ { 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 0ea64837f180..ef7249034e2d 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/datacatalog/apiv1", - "version": "$VERSION", + "version": "1.19.0", "language": "GO", "apis": [ { 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 89de60744219..5c7aec3a9b87 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/datacatalog/apiv1beta1", - "version": "$VERSION", + "version": "1.19.0", "language": "GO", "apis": [ { 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 cb8a8229a4c4..ff606f03ab56 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/datacatalog/lineage/apiv1", - "version": "$VERSION", + "version": "1.19.0", "language": "GO", "apis": [ { 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 ebbcfcc556e4..8a5b618e38eb 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dataflow/apiv1beta3", - "version": "$VERSION", + "version": "0.9.4", "language": "GO", "apis": [ { 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 420ce02acb1b..32dcf8aa991f 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dataform/apiv1alpha2", - "version": "$VERSION", + "version": "0.9.1", "language": "GO", "apis": [ { 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 d7fc061f9dab..9609e1be7041 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dataform/apiv1beta1", - "version": "$VERSION", + "version": "0.9.1", "language": "GO", "apis": [ { 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 2642bc64bdc7..ff0af30beb1a 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/datafusion/apiv1", - "version": "$VERSION", + "version": "1.7.4", "language": "GO", "apis": [ { 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 f268da07175d..51a22d0b8c11 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/datalabeling/apiv1beta1", - "version": "$VERSION", + "version": "0.8.4", "language": "GO", "apis": [ { 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 b15ed8ebc951..53dd65a13f74 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dataplex/apiv1", - "version": "$VERSION", + "version": "1.12.0", "language": "GO", "apis": [ { 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 6fc560494505..86203de82ea2 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dataproc/v2/apiv1", - "version": "$VERSION", + "version": "2.3.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/dataqna/apiv1alpha/snippet_metadata.google.cloud.dataqna.v1alpha.json b/internal/generated/snippets/dataqna/apiv1alpha/snippet_metadata.google.cloud.dataqna.v1alpha.json index b9287e0bfb3e..9496fd9f46bd 100644 --- a/internal/generated/snippets/dataqna/apiv1alpha/snippet_metadata.google.cloud.dataqna.v1alpha.json +++ b/internal/generated/snippets/dataqna/apiv1alpha/snippet_metadata.google.cloud.dataqna.v1alpha.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dataqna/apiv1alpha", - "version": "$VERSION", + "version": "0.8.4", "language": "GO", "apis": [ { 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 e2e10c6c744a..8ace687b978d 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/datastore/admin/apiv1", - "version": "$VERSION", + "version": "1.15.0", "language": "GO", "apis": [ { 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 d33bfe6dbeb3..e57a17915ca1 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/datastream/apiv1", - "version": "$VERSION", + "version": "1.10.3", "language": "GO", "apis": [ { 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 39489febfda1..39f70a7aaf25 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/datastream/apiv1alpha1", - "version": "$VERSION", + "version": "1.10.3", "language": "GO", "apis": [ { 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 4f948a7b5d8e..773b839f2263 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/deploy/apiv1", - "version": "$VERSION", + "version": "1.15.0", "language": "GO", "apis": [ { 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 b92e3f8563d3..5624798957d2 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": "$VERSION", + "version": "1.45.0", "language": "GO", "apis": [ { 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 7e888a9ba780..1774ba454fb5 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": "$VERSION", + "version": "1.45.0", "language": "GO", "apis": [ { 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 75762ea497b3..4ca0792f8ede 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": "$VERSION", + "version": "1.45.0", "language": "GO", "apis": [ { 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 4fed8856520d..4bc2dce22efb 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": "$VERSION", + "version": "1.45.0", "language": "GO", "apis": [ { 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 871e6da9f4d0..8a2c2b7e432d 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/discoveryengine/apiv1", - "version": "$VERSION", + "version": "1.2.3", "language": "GO", "apis": [ { 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 49524a3da4bb..78efc6a8b581 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/discoveryengine/apiv1beta", - "version": "$VERSION", + "version": "1.2.3", "language": "GO", "apis": [ { 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 8da094394d76..16ea5fc35a4d 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dlp/apiv2", - "version": "$VERSION", + "version": "1.11.1", "language": "GO", "apis": [ { 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 cc2051fabf2b..34a8550fa5bb 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/documentai/apiv1", - "version": "$VERSION", + "version": "1.23.6", "language": "GO", "apis": [ { 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 8df83ab2f8b4..c0cbcf51901a 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/documentai/apiv1beta3", - "version": "$VERSION", + "version": "1.23.6", "language": "GO", "apis": [ { 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 6076da9931b9..9b29d19a6e4a 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/domains/apiv1beta1", - "version": "$VERSION", + "version": "0.9.4", "language": "GO", "apis": [ { 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 e5e024aca2d2..aea9179bfa10 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/edgecontainer/apiv1", - "version": "$VERSION", + "version": "1.1.4", "language": "GO", "apis": [ { 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 d7cafa124210..1f38053468d7 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/edgenetwork/apiv1", - "version": "$VERSION", + "version": "0.1.0", "language": "GO", "apis": [ { 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 04379a2b015d..b115cef04fdc 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/essentialcontacts/apiv1", - "version": "$VERSION", + "version": "1.6.5", "language": "GO", "apis": [ { 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 bc104bf201b8..41e98cd14a50 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/eventarc/apiv1", - "version": "$VERSION", + "version": "1.13.3", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/eventarc/publishing/apiv1/snippet_metadata.google.cloud.eventarc.publishing.v1.json b/internal/generated/snippets/eventarc/publishing/apiv1/snippet_metadata.google.cloud.eventarc.publishing.v1.json index e568959bb99f..8d05a2138a43 100644 --- a/internal/generated/snippets/eventarc/publishing/apiv1/snippet_metadata.google.cloud.eventarc.publishing.v1.json +++ b/internal/generated/snippets/eventarc/publishing/apiv1/snippet_metadata.google.cloud.eventarc.publishing.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/eventarc/publishing/apiv1", - "version": "$VERSION", + "version": "1.13.3", "language": "GO", "apis": [ { 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 f13067be0ab8..aad0fff3c387 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/filestore/apiv1", - "version": "$VERSION", + "version": "1.8.0", "language": "GO", "apis": [ { 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 e0f0539cd4ed..b3fec7cd6147 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/firestore/apiv1/admin", - "version": "$VERSION", + "version": "1.14.0", "language": "GO", "apis": [ { 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 0be5e2c17f9e..1356eabca190 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/firestore/apiv1", - "version": "$VERSION", + "version": "1.14.0", "language": "GO", "apis": [ { 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 473f3df4c9b6..a5c7d7d5c051 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/functions/apiv1", - "version": "$VERSION", + "version": "1.15.4", "language": "GO", "apis": [ { 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 10c7fee36fac..952abbcc010d 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/functions/apiv2", - "version": "$VERSION", + "version": "1.15.4", "language": "GO", "apis": [ { 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 de798caed810..21f11e04a4ef 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/functions/apiv2beta", - "version": "$VERSION", + "version": "1.15.4", "language": "GO", "apis": [ { 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 878510a67270..a8c8a6f4fc48 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": "$VERSION", + "version": "1.3.4", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/gkeconnect/gateway/apiv1beta1/snippet_metadata.google.cloud.gkeconnect.gateway.v1beta1.json b/internal/generated/snippets/gkeconnect/gateway/apiv1beta1/snippet_metadata.google.cloud.gkeconnect.gateway.v1beta1.json index f4a86f45579f..4ad30be98657 100644 --- a/internal/generated/snippets/gkeconnect/gateway/apiv1beta1/snippet_metadata.google.cloud.gkeconnect.gateway.v1beta1.json +++ b/internal/generated/snippets/gkeconnect/gateway/apiv1beta1/snippet_metadata.google.cloud.gkeconnect.gateway.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/gkeconnect/gateway/apiv1beta1", - "version": "$VERSION", + "version": "0.8.4", "language": "GO", "apis": [ { 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 3bb0f35e19fb..8db54f605494 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/gkehub/apiv1beta1", - "version": "$VERSION", + "version": "0.14.4", "language": "GO", "apis": [ { 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 d444551188ad..88032b0ee356 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/gkemulticloud/apiv1", - "version": "$VERSION", + "version": "1.0.3", "language": "GO", "apis": [ { 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 e9a405282cb4..3b217796cd24 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/gsuiteaddons/apiv1", - "version": "$VERSION", + "version": "1.6.4", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/iam/apiv1/snippet_metadata.google.iam.v1.json b/internal/generated/snippets/iam/apiv1/snippet_metadata.google.iam.v1.json index 354ea8499a13..9e6f532bb5a1 100644 --- a/internal/generated/snippets/iam/apiv1/snippet_metadata.google.iam.v1.json +++ b/internal/generated/snippets/iam/apiv1/snippet_metadata.google.iam.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/iam/apiv1", - "version": "$VERSION", + "version": "1.1.5", "language": "GO", "apis": [ { 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 8588f4d6c3bb..105190a496c5 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/iam/apiv2", - "version": "$VERSION", + "version": "1.1.5", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/iam/credentials/apiv1/snippet_metadata.google.iam.credentials.v1.json b/internal/generated/snippets/iam/credentials/apiv1/snippet_metadata.google.iam.credentials.v1.json index 319f1ff11bd5..337b37e99d98 100644 --- a/internal/generated/snippets/iam/credentials/apiv1/snippet_metadata.google.iam.credentials.v1.json +++ b/internal/generated/snippets/iam/credentials/apiv1/snippet_metadata.google.iam.credentials.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/iam/credentials/apiv1", - "version": "$VERSION", + "version": "1.1.5", "language": "GO", "apis": [ { 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 976838957a73..74a1a33a9877 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/iap/apiv1", - "version": "$VERSION", + "version": "1.9.3", "language": "GO", "apis": [ { 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 8a07127fd7b0..b2f8de50dcef 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/ids/apiv1", - "version": "$VERSION", + "version": "1.4.4", "language": "GO", "apis": [ { 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 3e82363e5f42..e0f01b75e6cc 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/iot/apiv1", - "version": "$VERSION", + "version": "1.7.4", "language": "GO", "apis": [ { 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 4cb8f9853bfe..2941a2f03e42 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/kms/apiv1", - "version": "$VERSION", + "version": "1.15.5", "language": "GO", "apis": [ { 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 3e9836c3a84d..586ef04f644d 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/kms/inventory/apiv1", - "version": "$VERSION", + "version": "1.15.5", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/language/apiv1/snippet_metadata.google.cloud.language.v1.json b/internal/generated/snippets/language/apiv1/snippet_metadata.google.cloud.language.v1.json index 44021f58f80a..55ba626ebb97 100644 --- a/internal/generated/snippets/language/apiv1/snippet_metadata.google.cloud.language.v1.json +++ b/internal/generated/snippets/language/apiv1/snippet_metadata.google.cloud.language.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/language/apiv1", - "version": "$VERSION", + "version": "1.12.2", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/language/apiv1beta2/snippet_metadata.google.cloud.language.v1beta2.json b/internal/generated/snippets/language/apiv1beta2/snippet_metadata.google.cloud.language.v1beta2.json index c4bbbf9c09b6..66364c63e7a6 100644 --- a/internal/generated/snippets/language/apiv1beta2/snippet_metadata.google.cloud.language.v1beta2.json +++ b/internal/generated/snippets/language/apiv1beta2/snippet_metadata.google.cloud.language.v1beta2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/language/apiv1beta2", - "version": "$VERSION", + "version": "1.12.2", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/language/apiv2/snippet_metadata.google.cloud.language.v2.json b/internal/generated/snippets/language/apiv2/snippet_metadata.google.cloud.language.v2.json index b4a36fb6910c..92bf48abd9f7 100644 --- a/internal/generated/snippets/language/apiv2/snippet_metadata.google.cloud.language.v2.json +++ b/internal/generated/snippets/language/apiv2/snippet_metadata.google.cloud.language.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/language/apiv2", - "version": "$VERSION", + "version": "1.12.2", "language": "GO", "apis": [ { 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 d5cba488b1c6..221fb393e12b 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/lifesciences/apiv2beta", - "version": "$VERSION", + "version": "0.9.4", "language": "GO", "apis": [ { 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 ef08ea3a6b87..0829350a0376 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/logging/apiv2", - "version": "$VERSION", + "version": "1.8.1", "language": "GO", "apis": [ { 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 28993e06a2e2..ab7fcb661bd4 100644 --- a/internal/generated/snippets/longrunning/autogen/snippet_metadata.google.longrunning.json +++ b/internal/generated/snippets/longrunning/autogen/snippet_metadata.google.longrunning.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/longrunning/autogen", - "version": "$VERSION", + "version": "0.5.4", "language": "GO", "apis": [ { 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 07497c2b8473..46a68adecb58 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/managedidentities/apiv1", - "version": "$VERSION", + "version": "1.6.4", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/maps/addressvalidation/apiv1/snippet_metadata.google.maps.addressvalidation.v1.json b/internal/generated/snippets/maps/addressvalidation/apiv1/snippet_metadata.google.maps.addressvalidation.v1.json index d621693eae75..0a69a8533eb2 100644 --- a/internal/generated/snippets/maps/addressvalidation/apiv1/snippet_metadata.google.maps.addressvalidation.v1.json +++ b/internal/generated/snippets/maps/addressvalidation/apiv1/snippet_metadata.google.maps.addressvalidation.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/maps/addressvalidation/apiv1", - "version": "$VERSION", + "version": "1.6.1", "language": "GO", "apis": [ { 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 b34a3d0d0ae1..99d138dd326b 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/maps/fleetengine/apiv1", - "version": "$VERSION", + "version": "1.6.1", "language": "GO", "apis": [ { 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 8f87e7748783..a99bbb8e5149 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/maps/fleetengine/delivery/apiv1", - "version": "$VERSION", + "version": "1.6.1", "language": "GO", "apis": [ { 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 7c1ae22dd4e1..c4eb260e2559 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/maps/mapsplatformdatasets/apiv1alpha", - "version": "$VERSION", + "version": "1.6.1", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/maps/places/apiv1/snippet_metadata.google.maps.places.v1.json b/internal/generated/snippets/maps/places/apiv1/snippet_metadata.google.maps.places.v1.json index 0d9c4cd7553d..c96c480410c6 100644 --- a/internal/generated/snippets/maps/places/apiv1/snippet_metadata.google.maps.places.v1.json +++ b/internal/generated/snippets/maps/places/apiv1/snippet_metadata.google.maps.places.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/maps/places/apiv1", - "version": "$VERSION", + "version": "1.6.1", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/maps/routing/apiv2/snippet_metadata.google.maps.routing.v2.json b/internal/generated/snippets/maps/routing/apiv2/snippet_metadata.google.maps.routing.v2.json index 12a6ca3339ab..fa7ad027ecd3 100644 --- a/internal/generated/snippets/maps/routing/apiv2/snippet_metadata.google.maps.routing.v2.json +++ b/internal/generated/snippets/maps/routing/apiv2/snippet_metadata.google.maps.routing.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/maps/routing/apiv2", - "version": "$VERSION", + "version": "1.6.1", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/mediatranslation/apiv1beta1/snippet_metadata.google.cloud.mediatranslation.v1beta1.json b/internal/generated/snippets/mediatranslation/apiv1beta1/snippet_metadata.google.cloud.mediatranslation.v1beta1.json index e8bc7952ff46..2d57f60bb86a 100644 --- a/internal/generated/snippets/mediatranslation/apiv1beta1/snippet_metadata.google.cloud.mediatranslation.v1beta1.json +++ b/internal/generated/snippets/mediatranslation/apiv1beta1/snippet_metadata.google.cloud.mediatranslation.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/mediatranslation/apiv1beta1", - "version": "$VERSION", + "version": "0.8.4", "language": "GO", "apis": [ { 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 fc022a6d3236..757666657107 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/memcache/apiv1", - "version": "$VERSION", + "version": "1.10.4", "language": "GO", "apis": [ { 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 48844393b1f4..59699af60c9e 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/memcache/apiv1beta2", - "version": "$VERSION", + "version": "1.10.4", "language": "GO", "apis": [ { 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 0598a2618846..9db6ba4094f9 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/metastore/apiv1", - "version": "$VERSION", + "version": "1.13.3", "language": "GO", "apis": [ { 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 3ae699edc230..610ea9a1cff5 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/metastore/apiv1alpha", - "version": "$VERSION", + "version": "1.13.3", "language": "GO", "apis": [ { 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 58e11c14d6b0..31b42cd98c17 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/metastore/apiv1beta", - "version": "$VERSION", + "version": "1.13.3", "language": "GO", "apis": [ { 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 0730ec861896..d9278b88f9b8 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/migrationcenter/apiv1", - "version": "$VERSION", + "version": "0.2.3", "language": "GO", "apis": [ { 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 5e68e0bdd71b..35fd2e581f29 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/monitoring/apiv3/v2", - "version": "$VERSION", + "version": "1.16.3", "language": "GO", "apis": [ { 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 0c76621c111a..d27c8c9f1c0d 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/monitoring/dashboard/apiv1", - "version": "$VERSION", + "version": "1.16.3", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/monitoring/metricsscope/apiv1/snippet_metadata.google.monitoring.metricsscope.v1.json b/internal/generated/snippets/monitoring/metricsscope/apiv1/snippet_metadata.google.monitoring.metricsscope.v1.json index 48845b4163bc..37cec9bb1067 100644 --- a/internal/generated/snippets/monitoring/metricsscope/apiv1/snippet_metadata.google.monitoring.metricsscope.v1.json +++ b/internal/generated/snippets/monitoring/metricsscope/apiv1/snippet_metadata.google.monitoring.metricsscope.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/monitoring/metricsscope/apiv1", - "version": "$VERSION", + "version": "1.16.3", "language": "GO", "apis": [ { 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 6a0bcc96701b..7917e90b8a58 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/netapp/apiv1", - "version": "$VERSION", + "version": "0.2.3", "language": "GO", "apis": [ { 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 9d5453e479ed..c04ecd0e8e52 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/networkconnectivity/apiv1", - "version": "$VERSION", + "version": "1.14.3", "language": "GO", "apis": [ { 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 c1fa0c57b58b..c7b7c7760388 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/networkconnectivity/apiv1alpha1", - "version": "$VERSION", + "version": "1.14.3", "language": "GO", "apis": [ { 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 d0d38462a68d..713077f4bade 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": "$VERSION", + "version": "1.9.3", "language": "GO", "apis": [ { 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 519a3b4fabda..bb7102eb0e2b 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/networksecurity/apiv1beta1", - "version": "$VERSION", + "version": "0.9.4", "language": "GO", "apis": [ { 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 de7bd45b95cb..a1351829be3a 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/notebooks/apiv1", - "version": "$VERSION", + "version": "1.11.2", "language": "GO", "apis": [ { 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 926dc4b4ee70..f9b444d408f8 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/notebooks/apiv1beta1", - "version": "$VERSION", + "version": "1.11.2", "language": "GO", "apis": [ { 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 a927f3e90736..66feaed29f0a 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/notebooks/apiv2", - "version": "$VERSION", + "version": "1.11.2", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/optimization/apiv1/snippet_metadata.google.cloud.optimization.v1.json b/internal/generated/snippets/optimization/apiv1/snippet_metadata.google.cloud.optimization.v1.json index 33cdd000b7e8..a022b9e2ee93 100644 --- a/internal/generated/snippets/optimization/apiv1/snippet_metadata.google.cloud.optimization.v1.json +++ b/internal/generated/snippets/optimization/apiv1/snippet_metadata.google.cloud.optimization.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/optimization/apiv1", - "version": "$VERSION", + "version": "1.6.2", "language": "GO", "apis": [ { 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 21f3b7d88282..7de0f22371b1 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/orchestration/airflow/service/apiv1", - "version": "$VERSION", + "version": "1.8.4", "language": "GO", "apis": [ { 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 701838ba97f1..5132f21efeba 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/orgpolicy/apiv2", - "version": "$VERSION", + "version": "1.11.4", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/osconfig/agentendpoint/apiv1/snippet_metadata.google.cloud.osconfig.agentendpoint.v1.json b/internal/generated/snippets/osconfig/agentendpoint/apiv1/snippet_metadata.google.cloud.osconfig.agentendpoint.v1.json index 867d189cad95..f5d610c023dc 100644 --- a/internal/generated/snippets/osconfig/agentendpoint/apiv1/snippet_metadata.google.cloud.osconfig.agentendpoint.v1.json +++ b/internal/generated/snippets/osconfig/agentendpoint/apiv1/snippet_metadata.google.cloud.osconfig.agentendpoint.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/osconfig/agentendpoint/apiv1", - "version": "$VERSION", + "version": "1.12.4", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/osconfig/agentendpoint/apiv1beta/snippet_metadata.google.cloud.osconfig.agentendpoint.v1beta.json b/internal/generated/snippets/osconfig/agentendpoint/apiv1beta/snippet_metadata.google.cloud.osconfig.agentendpoint.v1beta.json index 4f5cbe38ea81..d9aeb2cf4c0b 100644 --- a/internal/generated/snippets/osconfig/agentendpoint/apiv1beta/snippet_metadata.google.cloud.osconfig.agentendpoint.v1beta.json +++ b/internal/generated/snippets/osconfig/agentendpoint/apiv1beta/snippet_metadata.google.cloud.osconfig.agentendpoint.v1beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/osconfig/agentendpoint/apiv1beta", - "version": "$VERSION", + "version": "1.12.4", "language": "GO", "apis": [ { 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 d923f9c2b330..c4089a3c1007 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/osconfig/apiv1", - "version": "$VERSION", + "version": "1.12.4", "language": "GO", "apis": [ { 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 b5e956022a7c..f44004b9f1d0 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/osconfig/apiv1alpha", - "version": "$VERSION", + "version": "1.12.4", "language": "GO", "apis": [ { 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 dc0b1b4a87e0..51c989524a12 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/osconfig/apiv1beta", - "version": "$VERSION", + "version": "1.12.4", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/oslogin/apiv1/snippet_metadata.google.cloud.oslogin.v1.json b/internal/generated/snippets/oslogin/apiv1/snippet_metadata.google.cloud.oslogin.v1.json index 0984e8e64efe..5d247805a53c 100644 --- a/internal/generated/snippets/oslogin/apiv1/snippet_metadata.google.cloud.oslogin.v1.json +++ b/internal/generated/snippets/oslogin/apiv1/snippet_metadata.google.cloud.oslogin.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/oslogin/apiv1", - "version": "$VERSION", + "version": "1.12.2", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/oslogin/apiv1beta/snippet_metadata.google.cloud.oslogin.v1beta.json b/internal/generated/snippets/oslogin/apiv1beta/snippet_metadata.google.cloud.oslogin.v1beta.json index 535913748c40..1d6a9eeab53d 100644 --- a/internal/generated/snippets/oslogin/apiv1beta/snippet_metadata.google.cloud.oslogin.v1beta.json +++ b/internal/generated/snippets/oslogin/apiv1beta/snippet_metadata.google.cloud.oslogin.v1beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/oslogin/apiv1beta", - "version": "$VERSION", + "version": "1.12.2", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/phishingprotection/apiv1beta1/snippet_metadata.google.cloud.phishingprotection.v1beta1.json b/internal/generated/snippets/phishingprotection/apiv1beta1/snippet_metadata.google.cloud.phishingprotection.v1beta1.json index aa99a4be0466..a16d385dbb81 100644 --- a/internal/generated/snippets/phishingprotection/apiv1beta1/snippet_metadata.google.cloud.phishingprotection.v1beta1.json +++ b/internal/generated/snippets/phishingprotection/apiv1beta1/snippet_metadata.google.cloud.phishingprotection.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/phishingprotection/apiv1beta1", - "version": "$VERSION", + "version": "0.8.4", "language": "GO", "apis": [ { 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 1f83e72173af..12ddb1f6d855 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/policysimulator/apiv1", - "version": "$VERSION", + "version": "0.2.2", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/policytroubleshooter/apiv1/snippet_metadata.google.cloud.policytroubleshooter.v1.json b/internal/generated/snippets/policytroubleshooter/apiv1/snippet_metadata.google.cloud.policytroubleshooter.v1.json index a1d8b024cf70..9e42109a3b19 100644 --- a/internal/generated/snippets/policytroubleshooter/apiv1/snippet_metadata.google.cloud.policytroubleshooter.v1.json +++ b/internal/generated/snippets/policytroubleshooter/apiv1/snippet_metadata.google.cloud.policytroubleshooter.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/policytroubleshooter/apiv1", - "version": "$VERSION", + "version": "1.10.2", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/policytroubleshooter/iam/apiv3/snippet_metadata.google.cloud.policytroubleshooter.iam.v3.json b/internal/generated/snippets/policytroubleshooter/iam/apiv3/snippet_metadata.google.cloud.policytroubleshooter.iam.v3.json index d32e76b836e8..a1b1c8ad8ae0 100644 --- a/internal/generated/snippets/policytroubleshooter/iam/apiv3/snippet_metadata.google.cloud.policytroubleshooter.iam.v3.json +++ b/internal/generated/snippets/policytroubleshooter/iam/apiv3/snippet_metadata.google.cloud.policytroubleshooter.iam.v3.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/policytroubleshooter/iam/apiv3", - "version": "$VERSION", + "version": "1.10.2", "language": "GO", "apis": [ { 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 e783927006aa..19068e39c4c2 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/privatecatalog/apiv1beta1", - "version": "$VERSION", + "version": "0.9.4", "language": "GO", "apis": [ { 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 ad78d261046f..b997acde4aab 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/pubsub/apiv1", - "version": "$VERSION", + "version": "1.33.0", "language": "GO", "apis": [ { 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 a502aa950435..08260d2bc0e8 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/pubsublite/apiv1", - "version": "$VERSION", + "version": "1.8.1", "language": "GO", "apis": [ { 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 456f9e35121e..2d0c006bcde8 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/rapidmigrationassessment/apiv1", - "version": "$VERSION", + "version": "1.0.4", "language": "GO", "apis": [ { 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 d15a5efad387..845d06e50275 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/recommendationengine/apiv1beta1", - "version": "$VERSION", + "version": "0.8.4", "language": "GO", "apis": [ { 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 21cd5f9ecac1..e339c2511af9 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/recommender/apiv1", - "version": "$VERSION", + "version": "1.11.3", "language": "GO", "apis": [ { 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 94ba1bd185ad..615daec774b6 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/recommender/apiv1beta1", - "version": "$VERSION", + "version": "1.11.3", "language": "GO", "apis": [ { 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 b64e57f5d428..86fa74e547bb 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/redis/apiv1", - "version": "$VERSION", + "version": "1.14.1", "language": "GO", "apis": [ { 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 207550b6f4d5..d82a03a14b52 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/redis/apiv1beta1", - "version": "$VERSION", + "version": "1.14.1", "language": "GO", "apis": [ { 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 5c59b32cbcbd..24c6de7784c4 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/redis/cluster/apiv1", - "version": "$VERSION", + "version": "1.14.1", "language": "GO", "apis": [ { 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 78c29c60494f..eafb60183708 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/resourcemanager/apiv2", - "version": "$VERSION", + "version": "1.9.4", "language": "GO", "apis": [ { 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 689deecc01f2..a64bdc2fb5e0 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/resourcemanager/apiv3", - "version": "$VERSION", + "version": "1.9.4", "language": "GO", "apis": [ { 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 b68438c3e249..5dfa55a951c5 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/resourcesettings/apiv1", - "version": "$VERSION", + "version": "1.6.4", "language": "GO", "apis": [ { 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 540abd12909b..79060a8b9d91 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/retail/apiv2", - "version": "$VERSION", + "version": "1.14.4", "language": "GO", "apis": [ { 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 b26e949f48a0..c96b16677da5 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/retail/apiv2alpha", - "version": "$VERSION", + "version": "1.14.4", "language": "GO", "apis": [ { 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 dc8af68c79f0..a6d61996264d 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/retail/apiv2beta", - "version": "$VERSION", + "version": "1.14.4", "language": "GO", "apis": [ { 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 97896391cd70..804e2c06cb9e 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/run/apiv2", - "version": "$VERSION", + "version": "1.3.3", "language": "GO", "apis": [ { 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 12cc29f25498..609a0e3552f5 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/scheduler/apiv1", - "version": "$VERSION", + "version": "1.10.5", "language": "GO", "apis": [ { 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 3f5c7bb1f17d..ace31e323ed3 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/scheduler/apiv1beta1", - "version": "$VERSION", + "version": "1.10.5", "language": "GO", "apis": [ { 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 92b11bf6fcd9..537b10176b7b 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/secretmanager/apiv1", - "version": "$VERSION", + "version": "1.11.4", "language": "GO", "apis": [ { 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 04904df35300..914426f6a181 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/securesourcemanager/apiv1", - "version": "$VERSION", + "version": "0.1.2", "language": "GO", "apis": [ { 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 adc4e46c8f82..4f48922b9d3a 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/security/privateca/apiv1", - "version": "$VERSION", + "version": "1.15.4", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/security/publicca/apiv1beta1/snippet_metadata.google.cloud.security.publicca.v1beta1.json b/internal/generated/snippets/security/publicca/apiv1beta1/snippet_metadata.google.cloud.security.publicca.v1beta1.json index eadee34be65f..8208cc243d32 100644 --- a/internal/generated/snippets/security/publicca/apiv1beta1/snippet_metadata.google.cloud.security.publicca.v1beta1.json +++ b/internal/generated/snippets/security/publicca/apiv1beta1/snippet_metadata.google.cloud.security.publicca.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/security/publicca/apiv1beta1", - "version": "$VERSION", + "version": "1.15.4", "language": "GO", "apis": [ { 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 2877b3a346e9..55f8c6086d07 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/securitycenter/apiv1", - "version": "$VERSION", + "version": "1.24.3", "language": "GO", "apis": [ { 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 a42d7ac92d76..c828eb0ffa7b 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/securitycenter/apiv1beta1", - "version": "$VERSION", + "version": "1.24.3", "language": "GO", "apis": [ { 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 611b67d6eac5..3e522504d985 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/securitycenter/apiv1p1beta1", - "version": "$VERSION", + "version": "1.24.3", "language": "GO", "apis": [ { 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 dc6f030b02a9..5c5dc60b51f7 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/securitycenter/settings/apiv1beta1", - "version": "$VERSION", + "version": "1.24.3", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/servicecontrol/apiv1/snippet_metadata.google.api.servicecontrol.v1.json b/internal/generated/snippets/servicecontrol/apiv1/snippet_metadata.google.api.servicecontrol.v1.json index 05f81ad063b0..b0749a459216 100644 --- a/internal/generated/snippets/servicecontrol/apiv1/snippet_metadata.google.api.servicecontrol.v1.json +++ b/internal/generated/snippets/servicecontrol/apiv1/snippet_metadata.google.api.servicecontrol.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/servicecontrol/apiv1", - "version": "$VERSION", + "version": "1.12.4", "language": "GO", "apis": [ { 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 481f58eddbb7..387aec5f7fe4 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/servicedirectory/apiv1", - "version": "$VERSION", + "version": "1.11.3", "language": "GO", "apis": [ { 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 b8d0e5ae910a..9efd2a6d20ef 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/servicedirectory/apiv1beta1", - "version": "$VERSION", + "version": "1.11.3", "language": "GO", "apis": [ { 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 d8647365f34b..086e2b1bacb0 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/servicemanagement/apiv1", - "version": "$VERSION", + "version": "1.9.5", "language": "GO", "apis": [ { 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 23cc11644857..5b411130f442 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/serviceusage/apiv1", - "version": "$VERSION", + "version": "1.8.3", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/shell/apiv1/snippet_metadata.google.cloud.shell.v1.json b/internal/generated/snippets/shell/apiv1/snippet_metadata.google.cloud.shell.v1.json index 993c5f419e6b..0e15fd05c1bf 100644 --- a/internal/generated/snippets/shell/apiv1/snippet_metadata.google.cloud.shell.v1.json +++ b/internal/generated/snippets/shell/apiv1/snippet_metadata.google.cloud.shell.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/shell/apiv1", - "version": "$VERSION", + "version": "1.7.4", "language": "GO", "apis": [ { 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 cb4856fd287a..e3f6d5e289f7 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": "$VERSION", + "version": "0.2.2", "language": "GO", "apis": [ { 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 1c787014bf89..1f3dbf0ecd51 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/spanner/admin/database/apiv1", - "version": "$VERSION", + "version": "1.53.0", "language": "GO", "apis": [ { 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 d53013c7758c..d2d5dde9bbe4 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/spanner/admin/instance/apiv1", - "version": "$VERSION", + "version": "1.53.0", "language": "GO", "apis": [ { 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 c3d293c49560..2c580a318559 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/spanner/apiv1", - "version": "$VERSION", + "version": "1.53.0", "language": "GO", "apis": [ { 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 6d5aa04ba86b..93342209fd93 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/speech/apiv1", - "version": "$VERSION", + "version": "1.21.0", "language": "GO", "apis": [ { 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 feeb7fa9ceab..a7f570a7c6cd 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/speech/apiv1p1beta1", - "version": "$VERSION", + "version": "1.21.0", "language": "GO", "apis": [ { 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 05dfd48e9626..59dc609ffd0b 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/speech/apiv2", - "version": "$VERSION", + "version": "1.21.0", "language": "GO", "apis": [ { 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 f0c428d7620f..c97233f5793d 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/storageinsights/apiv1", - "version": "$VERSION", + "version": "1.0.4", "language": "GO", "apis": [ { 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 e3835743cfa1..4ac29902606b 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/storagetransfer/apiv1", - "version": "$VERSION", + "version": "1.10.3", "language": "GO", "apis": [ { 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 b0837ffc92ac..abbc1689d490 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/support/apiv2", - "version": "$VERSION", + "version": "1.0.3", "language": "GO", "apis": [ { 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 b7fc10179040..5f746fa90c1f 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/talent/apiv4", - "version": "$VERSION", + "version": "1.6.5", "language": "GO", "apis": [ { 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 038afabb1770..404dc6599b09 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/talent/apiv4beta1", - "version": "$VERSION", + "version": "1.6.5", "language": "GO", "apis": [ { 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 3333de4c59a0..ddfb926541bb 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/telcoautomation/apiv1", - "version": "$VERSION", + "version": "0.1.1", "language": "GO", "apis": [ { 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 7ee1de54d817..2dcd21efd63a 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/texttospeech/apiv1", - "version": "$VERSION", + "version": "1.7.4", "language": "GO", "apis": [ { 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 eabac815f1d3..ff2d8f2747d4 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/tpu/apiv1", - "version": "$VERSION", + "version": "1.6.4", "language": "GO", "apis": [ { 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 6eca60c93a23..a0887b058a3a 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/trace/apiv1", - "version": "$VERSION", + "version": "1.10.4", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/trace/apiv2/snippet_metadata.google.devtools.cloudtrace.v2.json b/internal/generated/snippets/trace/apiv2/snippet_metadata.google.devtools.cloudtrace.v2.json index e01a9de43c4e..20b715020042 100644 --- a/internal/generated/snippets/trace/apiv2/snippet_metadata.google.devtools.cloudtrace.v2.json +++ b/internal/generated/snippets/trace/apiv2/snippet_metadata.google.devtools.cloudtrace.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/trace/apiv2", - "version": "$VERSION", + "version": "1.10.4", "language": "GO", "apis": [ { 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 85cd3809fc46..c5a8246d2d82 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/translate/apiv3", - "version": "$VERSION", + "version": "1.9.3", "language": "GO", "apis": [ { 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 c5863b450a99..4e754a8cb676 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/video/livestream/apiv1", - "version": "$VERSION", + "version": "1.20.3", "language": "GO", "apis": [ { 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 1ef5f43f5937..188038a7b825 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/video/stitcher/apiv1", - "version": "$VERSION", + "version": "1.20.3", "language": "GO", "apis": [ { 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 7d3babcc58fc..f0ad5f2b6ece 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/video/transcoder/apiv1", - "version": "$VERSION", + "version": "1.20.3", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/videointelligence/apiv1/snippet_metadata.google.cloud.videointelligence.v1.json b/internal/generated/snippets/videointelligence/apiv1/snippet_metadata.google.cloud.videointelligence.v1.json index cb661cc01bc6..3ad4709f5dc5 100644 --- a/internal/generated/snippets/videointelligence/apiv1/snippet_metadata.google.cloud.videointelligence.v1.json +++ b/internal/generated/snippets/videointelligence/apiv1/snippet_metadata.google.cloud.videointelligence.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/videointelligence/apiv1", - "version": "$VERSION", + "version": "1.11.4", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/videointelligence/apiv1beta2/snippet_metadata.google.cloud.videointelligence.v1beta2.json b/internal/generated/snippets/videointelligence/apiv1beta2/snippet_metadata.google.cloud.videointelligence.v1beta2.json index 4e9d9f24fd1c..0362d9aca335 100644 --- a/internal/generated/snippets/videointelligence/apiv1beta2/snippet_metadata.google.cloud.videointelligence.v1beta2.json +++ b/internal/generated/snippets/videointelligence/apiv1beta2/snippet_metadata.google.cloud.videointelligence.v1beta2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/videointelligence/apiv1beta2", - "version": "$VERSION", + "version": "1.11.4", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/videointelligence/apiv1p3beta1/snippet_metadata.google.cloud.videointelligence.v1p3beta1.json b/internal/generated/snippets/videointelligence/apiv1p3beta1/snippet_metadata.google.cloud.videointelligence.v1p3beta1.json index 706643935dd3..33301778ec9b 100644 --- a/internal/generated/snippets/videointelligence/apiv1p3beta1/snippet_metadata.google.cloud.videointelligence.v1p3beta1.json +++ b/internal/generated/snippets/videointelligence/apiv1p3beta1/snippet_metadata.google.cloud.videointelligence.v1p3beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/videointelligence/apiv1p3beta1", - "version": "$VERSION", + "version": "1.11.4", "language": "GO", "apis": [ { 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 3251958f14cc..d6d058d0ba1e 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/vision/v2/apiv1", - "version": "$VERSION", + "version": "2.7.5", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/vision/apiv1p1beta1/snippet_metadata.google.cloud.vision.v1p1beta1.json b/internal/generated/snippets/vision/apiv1p1beta1/snippet_metadata.google.cloud.vision.v1p1beta1.json index 4165401e6844..679c2081d80e 100644 --- a/internal/generated/snippets/vision/apiv1p1beta1/snippet_metadata.google.cloud.vision.v1p1beta1.json +++ b/internal/generated/snippets/vision/apiv1p1beta1/snippet_metadata.google.cloud.vision.v1p1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/vision/v2/apiv1p1beta1", - "version": "$VERSION", + "version": "2.7.5", "language": "GO", "apis": [ { 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 4564ff10dcd9..4ceeead54fe8 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/vmmigration/apiv1", - "version": "$VERSION", + "version": "1.7.4", "language": "GO", "apis": [ { 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 35a89462bd0e..82bf68c80e61 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/vmwareengine/apiv1", - "version": "$VERSION", + "version": "1.0.3", "language": "GO", "apis": [ { 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 16c26e3fa553..0707aa14849c 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/vpcaccess/apiv1", - "version": "$VERSION", + "version": "1.7.4", "language": "GO", "apis": [ { 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 c9a3b6ad6358..03f2ffcd84df 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/webrisk/apiv1", - "version": "$VERSION", + "version": "1.9.4", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/webrisk/apiv1beta1/snippet_metadata.google.cloud.webrisk.v1beta1.json b/internal/generated/snippets/webrisk/apiv1beta1/snippet_metadata.google.cloud.webrisk.v1beta1.json index 92970a2509bf..397145a96234 100644 --- a/internal/generated/snippets/webrisk/apiv1beta1/snippet_metadata.google.cloud.webrisk.v1beta1.json +++ b/internal/generated/snippets/webrisk/apiv1beta1/snippet_metadata.google.cloud.webrisk.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/webrisk/apiv1beta1", - "version": "$VERSION", + "version": "1.9.4", "language": "GO", "apis": [ { 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 c9ee871038c8..66368c2d6e72 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/websecurityscanner/apiv1", - "version": "$VERSION", + "version": "1.6.4", "language": "GO", "apis": [ { 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 49f7a28b6955..1b64ffe3f9d8 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/workflows/apiv1", - "version": "$VERSION", + "version": "1.12.3", "language": "GO", "apis": [ { 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 f358fb524bdd..eabf8abc4ee4 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/workflows/apiv1beta", - "version": "$VERSION", + "version": "1.12.3", "language": "GO", "apis": [ { 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 83c9344eb00a..b9b2026ceb3a 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/workflows/executions/apiv1", - "version": "$VERSION", + "version": "1.12.3", "language": "GO", "apis": [ { 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 486b6ad22495..0f129e26fdd9 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/workflows/executions/apiv1beta", - "version": "$VERSION", + "version": "1.12.3", "language": "GO", "apis": [ { 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 6fdd34e46fb4..9a112f674025 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/workstations/apiv1", - "version": "$VERSION", + "version": "0.5.3", "language": "GO", "apis": [ { 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 d87b58bb15d3..1eb2c68ace52 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 @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/workstations/apiv1beta", - "version": "$VERSION", + "version": "0.5.3", "language": "GO", "apis": [ { diff --git a/iot/apiv1/doc.go b/iot/apiv1/doc.go index af41a3d07d40..bb48e873e905 100755 --- a/iot/apiv1/doc.go +++ b/iot/apiv1/doc.go @@ -20,65 +20,66 @@ // Registers and manages IoT (Internet of Things) devices that connect to the // Google Cloud Platform. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := iot.NewDeviceManagerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := iot.NewDeviceManagerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := iot.NewDeviceManagerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &iotpb.BindDeviceToGatewayRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/iot/apiv1/iotpb#BindDeviceToGatewayRequest. -// } -// resp, err := c.BindDeviceToGateway(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := iot.NewDeviceManagerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &iotpb.BindDeviceToGatewayRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/iot/apiv1/iotpb#BindDeviceToGatewayRequest. +// } +// resp, err := c.BindDeviceToGateway(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewDeviceManagerClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/iot/apiv1/iotpb/device_manager.pb.go b/iot/apiv1/iotpb/device_manager.pb.go index bff1cf34bb11..f7de1e010731 100755 --- a/iot/apiv1/iotpb/device_manager.pb.go +++ b/iot/apiv1/iotpb/device_manager.pb.go @@ -21,8 +21,11 @@ package iotpb import ( - iampb "cloud.google.com/go/iam/apiv1/iampb" context "context" + reflect "reflect" + sync "sync" + + iampb "cloud.google.com/go/iam/apiv1/iampb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/iot/apiv1/iotpb/resources.pb.go b/iot/apiv1/iotpb/resources.pb.go index 13665edef7c4..3d226a748d9b 100755 --- a/iot/apiv1/iotpb/resources.pb.go +++ b/iot/apiv1/iotpb/resources.pb.go @@ -21,13 +21,14 @@ package iotpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/kms/apiv1/doc.go b/kms/apiv1/doc.go index d31ee3e4c5ce..31d4ab62315a 100755 --- a/kms/apiv1/doc.go +++ b/kms/apiv1/doc.go @@ -20,65 +20,66 @@ // Manages keys and performs cryptographic operations in a central cloud // service, for direct use by other cloud resources and applications. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := kms.NewEkmClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := kms.NewEkmClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := kms.NewEkmClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &kmspb.CreateEkmConnectionRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/kms/apiv1/kmspb#CreateEkmConnectionRequest. -// } -// resp, err := c.CreateEkmConnection(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := kms.NewEkmClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &kmspb.CreateEkmConnectionRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/kms/apiv1/kmspb#CreateEkmConnectionRequest. +// } +// resp, err := c.CreateEkmConnection(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewEkmClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/kms/apiv1/ekm_client.go b/kms/apiv1/ekm_client.go index 76a36b5f6bf7..87f0a120ad8c 100755 --- a/kms/apiv1/ekm_client.go +++ b/kms/apiv1/ekm_client.go @@ -220,12 +220,12 @@ type internalEkmClient interface { // EkmClient is a client for interacting with Cloud Key Management Service (KMS) API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// Google Cloud Key Management EKM Service +// # Google Cloud Key Management EKM Service // // Manages external cryptographic keys and operations using those keys. // Implements a REST model with the following objects: // -// EkmConnection +// EkmConnection type EkmClient struct { // The internal transport-dependent client. internalClient internalEkmClient @@ -360,12 +360,12 @@ type ekmGRPCClient struct { // NewEkmClient creates a new ekm service client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// Google Cloud Key Management EKM Service +// # Google Cloud Key Management EKM Service // // Manages external cryptographic keys and operations using those keys. // Implements a REST model with the following objects: // -// EkmConnection +// EkmConnection func NewEkmClient(ctx context.Context, opts ...option.ClientOption) (*EkmClient, error) { clientOpts := defaultEkmGRPCClientOptions() if newEkmClientHook != nil { @@ -436,12 +436,12 @@ type ekmRESTClient struct { // NewEkmRESTClient creates a new ekm service rest client. // -// Google Cloud Key Management EKM Service +// # Google Cloud Key Management EKM Service // // Manages external cryptographic keys and operations using those keys. // Implements a REST model with the following objects: // -// EkmConnection +// EkmConnection func NewEkmRESTClient(ctx context.Context, opts ...option.ClientOption) (*EkmClient, error) { clientOpts := append(defaultEkmRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/kms/apiv1/key_management_client.go b/kms/apiv1/key_management_client.go index 9414fa71e648..b07955e1fe70 100755 --- a/kms/apiv1/key_management_client.go +++ b/kms/apiv1/key_management_client.go @@ -772,18 +772,18 @@ type internalKeyManagementClient interface { // KeyManagementClient is a client for interacting with Cloud Key Management Service (KMS) API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// Google Cloud Key Management Service +// # Google Cloud Key Management Service // // Manages cryptographic keys and operations using those keys. Implements a REST // model with the following objects: // -// KeyRing +// KeyRing // -// CryptoKey +// CryptoKey // -// CryptoKeyVersion +// CryptoKeyVersion // -// ImportJob +// ImportJob // // If you are using manual gRPC libraries, see // Using gRPC with Cloud KMS (at https://cloud.google.com/kms/docs/grpc). @@ -1120,18 +1120,18 @@ type keyManagementGRPCClient struct { // NewKeyManagementClient creates a new key management service client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// Google Cloud Key Management Service +// # Google Cloud Key Management Service // // Manages cryptographic keys and operations using those keys. Implements a REST // model with the following objects: // -// KeyRing +// KeyRing // -// CryptoKey +// CryptoKey // -// CryptoKeyVersion +// CryptoKeyVersion // -// ImportJob +// ImportJob // // If you are using manual gRPC libraries, see // Using gRPC with Cloud KMS (at https://cloud.google.com/kms/docs/grpc). @@ -1205,18 +1205,18 @@ type keyManagementRESTClient struct { // NewKeyManagementRESTClient creates a new key management service rest client. // -// Google Cloud Key Management Service +// # Google Cloud Key Management Service // // Manages cryptographic keys and operations using those keys. Implements a REST // model with the following objects: // -// KeyRing +// KeyRing // -// CryptoKey +// CryptoKey // -// CryptoKeyVersion +// CryptoKeyVersion // -// ImportJob +// ImportJob // // If you are using manual gRPC libraries, see // Using gRPC with Cloud KMS (at https://cloud.google.com/kms/docs/grpc). diff --git a/kms/apiv1/kmspb/ekm_service.pb.go b/kms/apiv1/kmspb/ekm_service.pb.go index c83bbf53d6ec..fdc98c0846ed 100755 --- a/kms/apiv1/kmspb/ekm_service.pb.go +++ b/kms/apiv1/kmspb/ekm_service.pb.go @@ -22,6 +22,9 @@ package kmspb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/kms/apiv1/kmspb/resources.pb.go b/kms/apiv1/kmspb/resources.pb.go index 939eeb06a78d..e4b300d9d62c 100755 --- a/kms/apiv1/kmspb/resources.pb.go +++ b/kms/apiv1/kmspb/resources.pb.go @@ -21,14 +21,15 @@ package kmspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/kms/apiv1/kmspb/service.pb.go b/kms/apiv1/kmspb/service.pb.go index 07cd1f0d1a0e..6ed2a1f89dea 100755 --- a/kms/apiv1/kmspb/service.pb.go +++ b/kms/apiv1/kmspb/service.pb.go @@ -22,6 +22,9 @@ package kmspb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/kms/inventory/apiv1/doc.go b/kms/inventory/apiv1/doc.go index b1948c115296..10db9cc5f708 100755 --- a/kms/inventory/apiv1/doc.go +++ b/kms/inventory/apiv1/doc.go @@ -17,71 +17,72 @@ // Package inventory is an auto-generated package for the // KMS Inventory API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := inventory.NewKeyDashboardClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := inventory.NewKeyDashboardClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := inventory.NewKeyDashboardClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &inventorypb.ListCryptoKeysRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/kms/inventory/apiv1/inventorypb#ListCryptoKeysRequest. -// } -// it := c.ListCryptoKeys(ctx, req) -// for { -// resp, err := it.Next() -// if err == iterator.Done { -// break -// } -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// } -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := inventory.NewKeyDashboardClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &inventorypb.ListCryptoKeysRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/kms/inventory/apiv1/inventorypb#ListCryptoKeysRequest. +// } +// it := c.ListCryptoKeys(ctx, req) +// for { +// resp, err := it.Next() +// if err == iterator.Done { +// break +// } +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// } +// +// # Use of Context // // The ctx passed to NewKeyDashboardClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/kms/inventory/apiv1/inventorypb/key_dashboard_service.pb.go b/kms/inventory/apiv1/inventorypb/key_dashboard_service.pb.go index 62ef369bcd03..aa273bb2f272 100755 --- a/kms/inventory/apiv1/inventorypb/key_dashboard_service.pb.go +++ b/kms/inventory/apiv1/inventorypb/key_dashboard_service.pb.go @@ -21,16 +21,17 @@ package inventorypb import ( - kmspb "cloud.google.com/go/kms/apiv1/kmspb" context "context" + reflect "reflect" + sync "sync" + + kmspb "cloud.google.com/go/kms/apiv1/kmspb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/kms/inventory/apiv1/inventorypb/key_tracking_service.pb.go b/kms/inventory/apiv1/inventorypb/key_tracking_service.pb.go index 75b955acb9b6..358b1fcda5a6 100755 --- a/kms/inventory/apiv1/inventorypb/key_tracking_service.pb.go +++ b/kms/inventory/apiv1/inventorypb/key_tracking_service.pb.go @@ -22,6 +22,9 @@ package inventorypb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/language/apiv1/auxiliary.go b/language/apiv1/auxiliary.go index 962732f85d78..b9d2cfabb4cf 100755 --- a/language/apiv1/auxiliary.go +++ b/language/apiv1/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package language - -import () diff --git a/language/apiv1/doc.go b/language/apiv1/doc.go index 6014fd0c3ec9..7b49e7aa1846 100755 --- a/language/apiv1/doc.go +++ b/language/apiv1/doc.go @@ -21,65 +21,66 @@ // analysis, entity recognition, entity sentiment analysis, and other text // annotations, to developers. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := language.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := language.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := language.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &languagepb.AnalyzeEntitiesRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/language/apiv1/languagepb#AnalyzeEntitiesRequest. -// } -// resp, err := c.AnalyzeEntities(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := language.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &languagepb.AnalyzeEntitiesRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/language/apiv1/languagepb#AnalyzeEntitiesRequest. +// } +// resp, err := c.AnalyzeEntities(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/language/apiv1/languagepb/language_service.pb.go b/language/apiv1/languagepb/language_service.pb.go index 734d076b1b83..54ad62b20acd 100755 --- a/language/apiv1/languagepb/language_service.pb.go +++ b/language/apiv1/languagepb/language_service.pb.go @@ -22,14 +22,15 @@ package languagepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/language/apiv1beta2/auxiliary.go b/language/apiv1beta2/auxiliary.go index 962732f85d78..b9d2cfabb4cf 100755 --- a/language/apiv1beta2/auxiliary.go +++ b/language/apiv1beta2/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package language - -import () diff --git a/language/apiv1beta2/doc.go b/language/apiv1beta2/doc.go index fb675493f705..f1d958bbca26 100755 --- a/language/apiv1beta2/doc.go +++ b/language/apiv1beta2/doc.go @@ -21,67 +21,68 @@ // analysis, entity recognition, entity sentiment analysis, and other text // annotations, to developers. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := language.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := language.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := language.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &languagepb.AnalyzeEntitiesRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/language/apiv1beta2/languagepb#AnalyzeEntitiesRequest. -// } -// resp, err := c.AnalyzeEntities(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := language.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &languagepb.AnalyzeEntitiesRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/language/apiv1beta2/languagepb#AnalyzeEntitiesRequest. +// } +// resp, err := c.AnalyzeEntities(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/language/apiv1beta2/languagepb/language_service.pb.go b/language/apiv1beta2/languagepb/language_service.pb.go index 354532b41473..2f03a6762cd2 100755 --- a/language/apiv1beta2/languagepb/language_service.pb.go +++ b/language/apiv1beta2/languagepb/language_service.pb.go @@ -22,14 +22,15 @@ package languagepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/language/apiv2/auxiliary.go b/language/apiv2/auxiliary.go index 962732f85d78..b9d2cfabb4cf 100755 --- a/language/apiv2/auxiliary.go +++ b/language/apiv2/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package language - -import () diff --git a/language/apiv2/doc.go b/language/apiv2/doc.go index 7aa3d708b93b..4368e4440c51 100755 --- a/language/apiv2/doc.go +++ b/language/apiv2/doc.go @@ -21,65 +21,66 @@ // analysis, entity recognition, entity sentiment analysis, and other text // annotations, to developers. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := language.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := language.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := language.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &languagepb.AnalyzeEntitiesRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/language/apiv2/languagepb#AnalyzeEntitiesRequest. -// } -// resp, err := c.AnalyzeEntities(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := language.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &languagepb.AnalyzeEntitiesRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/language/apiv2/languagepb#AnalyzeEntitiesRequest. +// } +// resp, err := c.AnalyzeEntities(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/language/apiv2/languagepb/language_service.pb.go b/language/apiv2/languagepb/language_service.pb.go index b457180d2fa7..c4ff436a52b3 100755 --- a/language/apiv2/languagepb/language_service.pb.go +++ b/language/apiv2/languagepb/language_service.pb.go @@ -22,14 +22,15 @@ package languagepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/lifesciences/apiv2beta/doc.go b/lifesciences/apiv2beta/doc.go index 37d0659d54c2..6314ce3db1dc 100755 --- a/lifesciences/apiv2beta/doc.go +++ b/lifesciences/apiv2beta/doc.go @@ -20,72 +20,73 @@ // Cloud Life Sciences is a suite of services and tools for managing, // processing, and transforming life sciences data. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := lifesciences.NewWorkflowsServiceV2BetaClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := lifesciences.NewWorkflowsServiceV2BetaClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := lifesciences.NewWorkflowsServiceV2BetaClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &lifesciencespb.RunPipelineRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb#RunPipelineRequest. -// } -// op, err := c.RunPipeline(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := lifesciences.NewWorkflowsServiceV2BetaClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &lifesciencespb.RunPipelineRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb#RunPipelineRequest. +// } +// op, err := c.RunPipeline(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewWorkflowsServiceV2BetaClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/lifesciences/apiv2beta/lifesciencespb/workflows.pb.go b/lifesciences/apiv2beta/lifesciencespb/workflows.pb.go index 0c44b3e55004..f463518d7d19 100755 --- a/lifesciences/apiv2beta/lifesciencespb/workflows.pb.go +++ b/lifesciences/apiv2beta/lifesciencespb/workflows.pb.go @@ -21,8 +21,11 @@ package lifesciencespb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" code "google.golang.org/genproto/googleapis/rpc/code" grpc "google.golang.org/grpc" @@ -32,8 +35,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/lifesciences/apiv2beta/workflows_service_v2_beta_client.go b/lifesciences/apiv2beta/workflows_service_v2_beta_client.go index fda85dca80d9..2e664c2b4518 100755 --- a/lifesciences/apiv2beta/workflows_service_v2_beta_client.go +++ b/lifesciences/apiv2beta/workflows_service_v2_beta_client.go @@ -164,7 +164,7 @@ func (c *WorkflowsServiceV2BetaClient) Connection() *grpc.ClientConn { // Authorization requires the following Google // IAM (at https://cloud.google.com/iam/) permission: // -// lifesciences.workflows.run +// lifesciences.workflows.run func (c *WorkflowsServiceV2BetaClient) RunPipeline(ctx context.Context, req *lifesciencespb.RunPipelineRequest, opts ...gax.CallOption) (*RunPipelineOperation, error) { return c.internalClient.RunPipeline(ctx, req, opts...) } @@ -195,7 +195,7 @@ func (c *WorkflowsServiceV2BetaClient) ListLocations(ctx context.Context, req *l // Authorization requires the following Google // IAM (at https://cloud.google.com/iam) permission: // -// lifesciences.operations.cancel +// lifesciences.operations.cancel func (c *WorkflowsServiceV2BetaClient) CancelOperation(ctx context.Context, req *longrunningpb.CancelOperationRequest, opts ...gax.CallOption) error { return c.internalClient.CancelOperation(ctx, req, opts...) } @@ -206,7 +206,7 @@ func (c *WorkflowsServiceV2BetaClient) CancelOperation(ctx context.Context, req // Authorization requires the following Google // IAM (at https://cloud.google.com/iam) permission: // -// lifesciences.operations.get +// lifesciences.operations.get func (c *WorkflowsServiceV2BetaClient) GetOperation(ctx context.Context, req *longrunningpb.GetOperationRequest, opts ...gax.CallOption) (*longrunningpb.Operation, error) { return c.internalClient.GetOperation(ctx, req, opts...) } @@ -215,7 +215,7 @@ func (c *WorkflowsServiceV2BetaClient) GetOperation(ctx context.Context, req *lo // request. Authorization requires the following Google // IAM (at https://cloud.google.com/iam) permission: // -// lifesciences.operations.list +// lifesciences.operations.list func (c *WorkflowsServiceV2BetaClient) ListOperations(ctx context.Context, req *longrunningpb.ListOperationsRequest, opts ...gax.CallOption) *OperationIterator { return c.internalClient.ListOperations(ctx, req, opts...) } @@ -577,7 +577,7 @@ func (c *workflowsServiceV2BetaGRPCClient) ListOperations(ctx context.Context, r // Authorization requires the following Google // IAM (at https://cloud.google.com/iam/) permission: // -// lifesciences.workflows.run +// lifesciences.workflows.run func (c *workflowsServiceV2BetaRESTClient) RunPipeline(ctx context.Context, req *lifesciencespb.RunPipelineRequest, opts ...gax.CallOption) (*RunPipelineOperation, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -809,7 +809,7 @@ func (c *workflowsServiceV2BetaRESTClient) ListLocations(ctx context.Context, re // Authorization requires the following Google // IAM (at https://cloud.google.com/iam) permission: // -// lifesciences.operations.cancel +// lifesciences.operations.cancel func (c *workflowsServiceV2BetaRESTClient) CancelOperation(ctx context.Context, req *longrunningpb.CancelOperationRequest, opts ...gax.CallOption) error { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -863,7 +863,7 @@ func (c *workflowsServiceV2BetaRESTClient) CancelOperation(ctx context.Context, // Authorization requires the following Google // IAM (at https://cloud.google.com/iam) permission: // -// lifesciences.operations.get +// lifesciences.operations.get func (c *workflowsServiceV2BetaRESTClient) GetOperation(ctx context.Context, req *longrunningpb.GetOperationRequest, opts ...gax.CallOption) (*longrunningpb.Operation, error) { baseUrl, err := url.Parse(c.endpoint) if err != nil { @@ -927,7 +927,7 @@ func (c *workflowsServiceV2BetaRESTClient) GetOperation(ctx context.Context, req // request. Authorization requires the following Google // IAM (at https://cloud.google.com/iam) permission: // -// lifesciences.operations.list +// lifesciences.operations.list func (c *workflowsServiceV2BetaRESTClient) ListOperations(ctx context.Context, req *longrunningpb.ListOperationsRequest, opts ...gax.CallOption) *OperationIterator { it := &OperationIterator{} req = proto.Clone(req).(*longrunningpb.ListOperationsRequest) diff --git a/logging/apiv2/doc.go b/logging/apiv2/doc.go index cd3ca75a080c..5cb4ad6bfecf 100755 --- a/logging/apiv2/doc.go +++ b/logging/apiv2/doc.go @@ -19,63 +19,64 @@ // // Writes log entries and manages your Cloud Logging configuration. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := logging.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := logging.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := logging.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &loggingpb.DeleteLogRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/logging/apiv2/loggingpb#DeleteLogRequest. -// } -// err = c.DeleteLog(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := logging.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &loggingpb.DeleteLogRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/logging/apiv2/loggingpb#DeleteLogRequest. +// } +// err = c.DeleteLog(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/logging/apiv2/loggingpb/log_entry.pb.go b/logging/apiv2/loggingpb/log_entry.pb.go index 0c3b151cc4be..0eb75f54d3b3 100755 --- a/logging/apiv2/loggingpb/log_entry.pb.go +++ b/logging/apiv2/loggingpb/log_entry.pb.go @@ -21,6 +21,9 @@ package loggingpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" _type "google.golang.org/genproto/googleapis/logging/type" @@ -29,8 +32,6 @@ import ( anypb "google.golang.org/protobuf/types/known/anypb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/logging/apiv2/loggingpb/logging.pb.go b/logging/apiv2/loggingpb/logging.pb.go index 6b5287ae6007..5104c57b87d0 100755 --- a/logging/apiv2/loggingpb/logging.pb.go +++ b/logging/apiv2/loggingpb/logging.pb.go @@ -22,6 +22,9 @@ package loggingpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" status "google.golang.org/genproto/googleapis/rpc/status" @@ -32,8 +35,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" emptypb "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" - sync "sync" ) const ( diff --git a/logging/apiv2/loggingpb/logging_config.pb.go b/logging/apiv2/loggingpb/logging_config.pb.go index 8c0554df5ad8..e765759f1eca 100755 --- a/logging/apiv2/loggingpb/logging_config.pb.go +++ b/logging/apiv2/loggingpb/logging_config.pb.go @@ -21,8 +21,11 @@ package loggingpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/logging/apiv2/loggingpb/logging_metrics.pb.go b/logging/apiv2/loggingpb/logging_metrics.pb.go index 73d721e0d7f3..77a89a0d0af0 100755 --- a/logging/apiv2/loggingpb/logging_metrics.pb.go +++ b/logging/apiv2/loggingpb/logging_metrics.pb.go @@ -22,6 +22,9 @@ package loggingpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" distribution "google.golang.org/genproto/googleapis/api/distribution" metric "google.golang.org/genproto/googleapis/api/metric" @@ -32,8 +35,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/longrunning/autogen/doc.go b/longrunning/autogen/doc.go index 2eb03e4d5320..153946f2116e 100755 --- a/longrunning/autogen/doc.go +++ b/longrunning/autogen/doc.go @@ -17,63 +17,64 @@ // Package longrunning is an auto-generated package for the // Long Running Operations API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := longrunning.NewOperationsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := longrunning.NewOperationsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := longrunning.NewOperationsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &longrunningpb.CancelOperationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#CancelOperationRequest. -// } -// err = c.CancelOperation(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := longrunning.NewOperationsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &longrunningpb.CancelOperationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#CancelOperationRequest. +// } +// err = c.CancelOperation(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// # Use of Context // // The ctx passed to NewOperationsClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/longrunning/autogen/longrunningpb/operations.pb.go b/longrunning/autogen/longrunningpb/operations.pb.go index d8d53d7ac067..55bd8235e156 100755 --- a/longrunning/autogen/longrunningpb/operations.pb.go +++ b/longrunning/autogen/longrunningpb/operations.pb.go @@ -22,6 +22,9 @@ package longrunningpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -33,8 +36,6 @@ import ( anypb "google.golang.org/protobuf/types/known/anypb" durationpb "google.golang.org/protobuf/types/known/durationpb" emptypb "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" - sync "sync" ) const ( @@ -518,13 +519,13 @@ func (x *WaitOperationRequest) GetTimeout() *durationpb.Duration { // // Example: // -// rpc LongRunningRecognize(LongRunningRecognizeRequest) -// returns (google.longrunning.Operation) { -// option (google.longrunning.operation_info) = { -// response_type: "LongRunningRecognizeResponse" -// metadata_type: "LongRunningRecognizeMetadata" -// }; -// } +// rpc LongRunningRecognize(LongRunningRecognizeRequest) +// returns (google.longrunning.Operation) { +// option (google.longrunning.operation_info) = { +// response_type: "LongRunningRecognizeResponse" +// metadata_type: "LongRunningRecognizeMetadata" +// }; +// } type OperationInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/managedidentities/apiv1/doc.go b/managedidentities/apiv1/doc.go index a6354b43ad3a..35693bf69aa6 100755 --- a/managedidentities/apiv1/doc.go +++ b/managedidentities/apiv1/doc.go @@ -21,70 +21,71 @@ // managing a highly available, hardened service running Microsoft Active // Directory (AD). // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := managedidentities.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := managedidentities.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := managedidentities.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &managedidentitiespb.AttachTrustRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/managedidentities/apiv1/managedidentitiespb#AttachTrustRequest. -// } -// op, err := c.AttachTrust(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := managedidentities.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &managedidentitiespb.AttachTrustRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/managedidentities/apiv1/managedidentitiespb#AttachTrustRequest. +// } +// op, err := c.AttachTrust(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/managedidentities/apiv1/managed_identities_client.go b/managedidentities/apiv1/managed_identities_client.go index f7494eb6e398..624ae24d63fa 100755 --- a/managedidentities/apiv1/managed_identities_client.go +++ b/managedidentities/apiv1/managed_identities_client.go @@ -126,7 +126,7 @@ type internalClient interface { // Client is a client for interacting with Managed Service for Microsoft Active Directory API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// API Overview +// # API Overview // // The managedidentites.googleapis.com service implements the Google Cloud // Managed Identites API for identity services @@ -136,35 +136,35 @@ type internalClient interface { // (create/read/update/delete) domains, reset managed identities admin password, // add/remove domain controllers in GCP regions and add/remove VPC peering. // -// Data Model +// # Data Model // // The Managed Identities service exposes the following resources: // -// Locations as global, named as follows: -// projects/{project_id}/locations/global. +// Locations as global, named as follows: +// projects/{project_id}/locations/global. // -// Domains, named as follows: -// /projects/{project_id}/locations/global/domain/{domain_name}. +// Domains, named as follows: +// /projects/{project_id}/locations/global/domain/{domain_name}. // // The {domain_name} refers to fully qualified domain name in the customer // project e.g. mydomain.myorganization.com (at http://mydomain.myorganization.com), with the following restrictions: // -// Must contain only lowercase letters, numbers, periods and hyphens. +// Must contain only lowercase letters, numbers, periods and hyphens. // -// Must start with a letter. +// Must start with a letter. // -// Must contain between 2-64 characters. +// Must contain between 2-64 characters. // -// Must end with a number or a letter. +// Must end with a number or a letter. // -// Must not start with period. +// Must not start with period. // -// First segement length (mydomain form example above) shouldn’t exceed -// 15 chars. +// First segement length (mydomain form example above) shouldn’t exceed +// 15 chars. // -// The last segment cannot be fully numeric. +// The last segment cannot be fully numeric. // -// Must be unique within the customer project. +// Must be unique within the customer project. type Client struct { // The internal transport-dependent client. internalClient internalClient @@ -319,7 +319,7 @@ type gRPCClient struct { // NewClient creates a new managed identities service client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// API Overview +// # API Overview // // The managedidentites.googleapis.com service implements the Google Cloud // Managed Identites API for identity services @@ -329,35 +329,35 @@ type gRPCClient struct { // (create/read/update/delete) domains, reset managed identities admin password, // add/remove domain controllers in GCP regions and add/remove VPC peering. // -// Data Model +// # Data Model // // The Managed Identities service exposes the following resources: // -// Locations as global, named as follows: -// projects/{project_id}/locations/global. +// Locations as global, named as follows: +// projects/{project_id}/locations/global. // -// Domains, named as follows: -// /projects/{project_id}/locations/global/domain/{domain_name}. +// Domains, named as follows: +// /projects/{project_id}/locations/global/domain/{domain_name}. // // The {domain_name} refers to fully qualified domain name in the customer // project e.g. mydomain.myorganization.com (at http://mydomain.myorganization.com), with the following restrictions: // -// Must contain only lowercase letters, numbers, periods and hyphens. +// Must contain only lowercase letters, numbers, periods and hyphens. // -// Must start with a letter. +// Must start with a letter. // -// Must contain between 2-64 characters. +// Must contain between 2-64 characters. // -// Must end with a number or a letter. +// Must end with a number or a letter. // -// Must not start with period. +// Must not start with period. // -// First segement length (mydomain form example above) shouldn’t exceed -// 15 chars. +// First segement length (mydomain form example above) shouldn’t exceed +// 15 chars. // -// The last segment cannot be fully numeric. +// The last segment cannot be fully numeric. // -// Must be unique within the customer project. +// Must be unique within the customer project. func NewClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { clientOpts := defaultGRPCClientOptions() if newClientHook != nil { diff --git a/managedidentities/apiv1/managedidentitiespb/managed_identities_service.pb.go b/managedidentities/apiv1/managedidentitiespb/managed_identities_service.pb.go index f70ab1069426..1003aaa1c47d 100755 --- a/managedidentities/apiv1/managedidentitiespb/managed_identities_service.pb.go +++ b/managedidentities/apiv1/managedidentitiespb/managed_identities_service.pb.go @@ -22,8 +22,11 @@ package managedidentitiespb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/managedidentities/apiv1/managedidentitiespb/resource.pb.go b/managedidentities/apiv1/managedidentitiespb/resource.pb.go index 73868dc79347..4fc76b9aa1ce 100755 --- a/managedidentities/apiv1/managedidentitiespb/resource.pb.go +++ b/managedidentities/apiv1/managedidentitiespb/resource.pb.go @@ -22,12 +22,13 @@ package managedidentitiespb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/addressvalidation/apiv1/addressvalidationpb/address.pb.go b/maps/addressvalidation/apiv1/addressvalidationpb/address.pb.go index e10a267a6a9a..329a3505229d 100755 --- a/maps/addressvalidation/apiv1/addressvalidationpb/address.pb.go +++ b/maps/addressvalidation/apiv1/addressvalidationpb/address.pb.go @@ -21,12 +21,13 @@ package addressvalidationpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" postaladdress "google.golang.org/genproto/googleapis/type/postaladdress" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/addressvalidation/apiv1/addressvalidationpb/address_validation_service.pb.go b/maps/addressvalidation/apiv1/addressvalidationpb/address_validation_service.pb.go index fd465a0eb408..850b0532046c 100755 --- a/maps/addressvalidation/apiv1/addressvalidationpb/address_validation_service.pb.go +++ b/maps/addressvalidation/apiv1/addressvalidationpb/address_validation_service.pb.go @@ -22,6 +22,9 @@ package addressvalidationpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" postaladdress "google.golang.org/genproto/googleapis/type/postaladdress" grpc "google.golang.org/grpc" @@ -29,8 +32,6 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/addressvalidation/apiv1/addressvalidationpb/geocode.pb.go b/maps/addressvalidation/apiv1/addressvalidationpb/geocode.pb.go index 905b9948cedd..c99ac4936215 100755 --- a/maps/addressvalidation/apiv1/addressvalidationpb/geocode.pb.go +++ b/maps/addressvalidation/apiv1/addressvalidationpb/geocode.pb.go @@ -21,12 +21,13 @@ package addressvalidationpb import ( + reflect "reflect" + sync "sync" + viewport "google.golang.org/genproto/googleapis/geo/type/viewport" latlng "google.golang.org/genproto/googleapis/type/latlng" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/addressvalidation/apiv1/addressvalidationpb/metadata.pb.go b/maps/addressvalidation/apiv1/addressvalidationpb/metadata.pb.go index 4d5b38d54c08..503d424d683e 100755 --- a/maps/addressvalidation/apiv1/addressvalidationpb/metadata.pb.go +++ b/maps/addressvalidation/apiv1/addressvalidationpb/metadata.pb.go @@ -21,10 +21,11 @@ package addressvalidationpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/maps/addressvalidation/apiv1/addressvalidationpb/usps_data.pb.go b/maps/addressvalidation/apiv1/addressvalidationpb/usps_data.pb.go index a91dcd04ab9a..05ed571be900 100755 --- a/maps/addressvalidation/apiv1/addressvalidationpb/usps_data.pb.go +++ b/maps/addressvalidation/apiv1/addressvalidationpb/usps_data.pb.go @@ -21,10 +21,11 @@ package addressvalidationpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/maps/addressvalidation/apiv1/auxiliary.go b/maps/addressvalidation/apiv1/auxiliary.go index 8cfa322a0587..dcccb086a94b 100755 --- a/maps/addressvalidation/apiv1/auxiliary.go +++ b/maps/addressvalidation/apiv1/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package addressvalidation - -import () diff --git a/maps/addressvalidation/apiv1/doc.go b/maps/addressvalidation/apiv1/doc.go index 238d4f5ee168..cc4b120b1ae0 100755 --- a/maps/addressvalidation/apiv1/doc.go +++ b/maps/addressvalidation/apiv1/doc.go @@ -22,65 +22,66 @@ // of the components of the parsed address, a geocode, and a verdict on the // deliverability of the parsed address. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := addressvalidation.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := addressvalidation.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := addressvalidation.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &addressvalidationpb.ProvideValidationFeedbackRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb#ProvideValidationFeedbackRequest. -// } -// resp, err := c.ProvideValidationFeedback(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := addressvalidation.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &addressvalidationpb.ProvideValidationFeedbackRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb#ProvideValidationFeedbackRequest. +// } +// resp, err := c.ProvideValidationFeedback(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/maps/fleetengine/apiv1/doc.go b/maps/fleetengine/apiv1/doc.go index 69b1ca4ba45a..d2b1e05022d5 100755 --- a/maps/fleetengine/apiv1/doc.go +++ b/maps/fleetengine/apiv1/doc.go @@ -23,65 +23,66 @@ // Service located at https://cloud.google.com/maps-platform/terms (at // https://cloud.google.com/maps-platform/terms). // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := fleetengine.NewTripClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := fleetengine.NewTripClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := fleetengine.NewTripClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &fleetenginepb.CreateTripRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/maps/fleetengine/apiv1/fleetenginepb#CreateTripRequest. -// } -// resp, err := c.CreateTrip(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := fleetengine.NewTripClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &fleetenginepb.CreateTripRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/maps/fleetengine/apiv1/fleetenginepb#CreateTripRequest. +// } +// resp, err := c.CreateTrip(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewTripClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/maps/fleetengine/apiv1/fleetenginepb/fleetengine.pb.go b/maps/fleetengine/apiv1/fleetenginepb/fleetengine.pb.go index 422e7988875c..da031fcf5e98 100755 --- a/maps/fleetengine/apiv1/fleetenginepb/fleetengine.pb.go +++ b/maps/fleetengine/apiv1/fleetenginepb/fleetengine.pb.go @@ -21,6 +21,9 @@ package fleetenginepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -28,8 +31,6 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/fleetengine/apiv1/fleetenginepb/header.pb.go b/maps/fleetengine/apiv1/fleetenginepb/header.pb.go index 8490a6be1b72..f47c5898fd03 100755 --- a/maps/fleetengine/apiv1/fleetenginepb/header.pb.go +++ b/maps/fleetengine/apiv1/fleetenginepb/header.pb.go @@ -21,11 +21,12 @@ package fleetenginepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/fleetengine/apiv1/fleetenginepb/traffic.pb.go b/maps/fleetengine/apiv1/fleetenginepb/traffic.pb.go index b8868279b41a..030f70d2e532 100755 --- a/maps/fleetengine/apiv1/fleetenginepb/traffic.pb.go +++ b/maps/fleetengine/apiv1/fleetenginepb/traffic.pb.go @@ -21,10 +21,11 @@ package fleetenginepb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/maps/fleetengine/apiv1/fleetenginepb/trip_api.pb.go b/maps/fleetengine/apiv1/fleetenginepb/trip_api.pb.go index 778b88c0450c..b19928dadfd7 100755 --- a/maps/fleetengine/apiv1/fleetenginepb/trip_api.pb.go +++ b/maps/fleetengine/apiv1/fleetenginepb/trip_api.pb.go @@ -22,6 +22,9 @@ package fleetenginepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/fleetengine/apiv1/fleetenginepb/trips.pb.go b/maps/fleetengine/apiv1/fleetenginepb/trips.pb.go index 11561c6c9657..3d61c46b7e30 100755 --- a/maps/fleetengine/apiv1/fleetenginepb/trips.pb.go +++ b/maps/fleetengine/apiv1/fleetenginepb/trips.pb.go @@ -21,6 +21,9 @@ package fleetenginepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -28,8 +31,6 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/fleetengine/apiv1/fleetenginepb/vehicle_api.pb.go b/maps/fleetengine/apiv1/fleetenginepb/vehicle_api.pb.go index 53191c20170b..73dce227f3f6 100755 --- a/maps/fleetengine/apiv1/fleetenginepb/vehicle_api.pb.go +++ b/maps/fleetengine/apiv1/fleetenginepb/vehicle_api.pb.go @@ -22,6 +22,9 @@ package fleetenginepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" viewport "google.golang.org/genproto/googleapis/geo/type/viewport" latlng "google.golang.org/genproto/googleapis/type/latlng" @@ -34,8 +37,6 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/fleetengine/apiv1/fleetenginepb/vehicles.pb.go b/maps/fleetengine/apiv1/fleetenginepb/vehicles.pb.go index e9aa4abc4ea1..1044ff59a682 100755 --- a/maps/fleetengine/apiv1/fleetenginepb/vehicles.pb.go +++ b/maps/fleetengine/apiv1/fleetenginepb/vehicles.pb.go @@ -21,13 +21,14 @@ package fleetenginepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/fleetengine/apiv1/vehicle_client.go b/maps/fleetengine/apiv1/vehicle_client.go index e4007c1b61b0..9ac9e02ac410 100755 --- a/maps/fleetengine/apiv1/vehicle_client.go +++ b/maps/fleetengine/apiv1/vehicle_client.go @@ -185,43 +185,43 @@ func (c *VehicleClient) Connection() *grpc.ClientConn { // // The following Vehicle fields are required when creating a Vehicle: // -// vehicleState +// vehicleState // -// supportedTripTypes +// supportedTripTypes // -// maximumCapacity +// maximumCapacity // -// vehicleType +// vehicleType // // The following Vehicle fields are ignored when creating a Vehicle: // -// name +// name // -// currentTrips +// currentTrips // -// availableCapacity +// availableCapacity // -// current_route_segment +// current_route_segment // -// current_route_segment_end_point +// current_route_segment_end_point // -// current_route_segment_version +// current_route_segment_version // -// current_route_segment_traffic +// current_route_segment_traffic // -// route +// route // -// waypoints +// waypoints // -// waypoints_version +// waypoints_version // -// remaining_distance_meters +// remaining_distance_meters // -// remaining_time_seconds +// remaining_time_seconds // -// eta_to_next_waypoint +// eta_to_next_waypoint // -// navigation_status +// navigation_status // // All other fields are optional and used if provided. func (c *VehicleClient) CreateVehicle(ctx context.Context, req *fleetenginepb.CreateVehicleRequest, opts ...gax.CallOption) (*fleetenginepb.Vehicle, error) { @@ -238,13 +238,13 @@ func (c *VehicleClient) GetVehicle(ctx context.Context, req *fleetenginepb.GetVe // When updating a Vehicle, the following fields cannot be updated since // they are managed by the server: // -// currentTrips +// currentTrips // -// availableCapacity +// availableCapacity // -// current_route_segment_version +// current_route_segment_version // -// waypoints_version +// waypoints_version // // The vehicle name also cannot be updated. // diff --git a/maps/fleetengine/delivery/apiv1/deliverypb/common.pb.go b/maps/fleetengine/delivery/apiv1/deliverypb/common.pb.go index ea6aec29a552..c365f8ef62c0 100755 --- a/maps/fleetengine/delivery/apiv1/deliverypb/common.pb.go +++ b/maps/fleetengine/delivery/apiv1/deliverypb/common.pb.go @@ -21,14 +21,15 @@ package deliverypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/fleetengine/delivery/apiv1/deliverypb/delivery_api.pb.go b/maps/fleetengine/delivery/apiv1/deliverypb/delivery_api.pb.go index 807d0ec3b3be..ba535e42ec18 100755 --- a/maps/fleetengine/delivery/apiv1/deliverypb/delivery_api.pb.go +++ b/maps/fleetengine/delivery/apiv1/deliverypb/delivery_api.pb.go @@ -22,6 +22,9 @@ package deliverypb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" viewport "google.golang.org/genproto/googleapis/geo/type/viewport" grpc "google.golang.org/grpc" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/fleetengine/delivery/apiv1/deliverypb/delivery_vehicles.pb.go b/maps/fleetengine/delivery/apiv1/deliverypb/delivery_vehicles.pb.go index dc6e5642ee2b..a9cdb35fdc2b 100755 --- a/maps/fleetengine/delivery/apiv1/deliverypb/delivery_vehicles.pb.go +++ b/maps/fleetengine/delivery/apiv1/deliverypb/delivery_vehicles.pb.go @@ -21,14 +21,15 @@ package deliverypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/fleetengine/delivery/apiv1/deliverypb/header.pb.go b/maps/fleetengine/delivery/apiv1/deliverypb/header.pb.go index acc74008c9f7..bd2eff327093 100755 --- a/maps/fleetengine/delivery/apiv1/deliverypb/header.pb.go +++ b/maps/fleetengine/delivery/apiv1/deliverypb/header.pb.go @@ -21,11 +21,12 @@ package deliverypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/fleetengine/delivery/apiv1/deliverypb/task_tracking_info.pb.go b/maps/fleetengine/delivery/apiv1/deliverypb/task_tracking_info.pb.go index 91d7c6b7e763..ecd7e3008136 100755 --- a/maps/fleetengine/delivery/apiv1/deliverypb/task_tracking_info.pb.go +++ b/maps/fleetengine/delivery/apiv1/deliverypb/task_tracking_info.pb.go @@ -21,14 +21,15 @@ package deliverypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/fleetengine/delivery/apiv1/deliverypb/tasks.pb.go b/maps/fleetengine/delivery/apiv1/deliverypb/tasks.pb.go index 99dbad1091e4..10909e69c80b 100755 --- a/maps/fleetengine/delivery/apiv1/deliverypb/tasks.pb.go +++ b/maps/fleetengine/delivery/apiv1/deliverypb/tasks.pb.go @@ -21,13 +21,14 @@ package deliverypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/fleetengine/delivery/apiv1/doc.go b/maps/fleetengine/delivery/apiv1/doc.go index 1c05bab3c5e3..e07d16dc101e 100755 --- a/maps/fleetengine/delivery/apiv1/doc.go +++ b/maps/fleetengine/delivery/apiv1/doc.go @@ -23,65 +23,66 @@ // Service located at https://cloud.google.com/maps-platform/terms (at // https://cloud.google.com/maps-platform/terms). // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := delivery.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := delivery.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := delivery.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &deliverypb.BatchCreateTasksRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb#BatchCreateTasksRequest. -// } -// resp, err := c.BatchCreateTasks(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := delivery.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &deliverypb.BatchCreateTasksRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb#BatchCreateTasksRequest. +// } +// resp, err := c.BatchCreateTasks(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/maps/mapsplatformdatasets/apiv1alpha/doc.go b/maps/mapsplatformdatasets/apiv1alpha/doc.go index 4eb18ad36919..c39ca281b01b 100755 --- a/maps/mapsplatformdatasets/apiv1alpha/doc.go +++ b/maps/mapsplatformdatasets/apiv1alpha/doc.go @@ -21,67 +21,68 @@ // geospatially-tied datasets that they can use to enrich their experience of // Maps Platform solutions (e.g. styling, routing). // -// NOTE: This package is in alpha. It is not stable, and is likely to change. +// NOTE: This package is in alpha. It is not stable, and is likely to change. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := mapsplatformdatasets.NewMapsPlatformDatasetsV1AlphaClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := mapsplatformdatasets.NewMapsPlatformDatasetsV1AlphaClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := mapsplatformdatasets.NewMapsPlatformDatasetsV1AlphaClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &mapsplatformdatasetspb.CreateDatasetRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb#CreateDatasetRequest. -// } -// resp, err := c.CreateDataset(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := mapsplatformdatasets.NewMapsPlatformDatasetsV1AlphaClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &mapsplatformdatasetspb.CreateDatasetRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb#CreateDatasetRequest. +// } +// resp, err := c.CreateDataset(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewMapsPlatformDatasetsV1AlphaClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/data_source.pb.go b/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/data_source.pb.go index 6426f5b28b36..e4bac3decd23 100755 --- a/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/data_source.pb.go +++ b/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/data_source.pb.go @@ -21,10 +21,11 @@ package mapsplatformdatasetspb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/dataset.pb.go b/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/dataset.pb.go index ca780425a203..5a21475dc020 100755 --- a/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/dataset.pb.go +++ b/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/dataset.pb.go @@ -21,12 +21,13 @@ package mapsplatformdatasetspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/maps_platform_datasets.pb.go b/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/maps_platform_datasets.pb.go index c58581107f63..770fe64b23ea 100755 --- a/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/maps_platform_datasets.pb.go +++ b/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/maps_platform_datasets.pb.go @@ -21,12 +21,13 @@ package mapsplatformdatasetspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/maps_platform_datasets_alpha_service.pb.go b/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/maps_platform_datasets_alpha_service.pb.go index 9f3337a34318..da64a3b0110f 100755 --- a/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/maps_platform_datasets_alpha_service.pb.go +++ b/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb/maps_platform_datasets_alpha_service.pb.go @@ -22,6 +22,8 @@ package mapsplatformdatasetspb import ( context "context" + reflect "reflect" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,7 +31,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" ) const ( diff --git a/maps/places/apiv1/auxiliary.go b/maps/places/apiv1/auxiliary.go index 737a16d82446..b97954e9c1ba 100755 --- a/maps/places/apiv1/auxiliary.go +++ b/maps/places/apiv1/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package places - -import () diff --git a/maps/places/apiv1/doc.go b/maps/places/apiv1/doc.go index e457ba148cb3..0a390b3c1579 100755 --- a/maps/places/apiv1/doc.go +++ b/maps/places/apiv1/doc.go @@ -20,65 +20,66 @@ // The Places API allows developers to access a variety of search and // retrieval endpoints for a Place. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := places.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := places.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := places.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &placespb.GetPhotoMediaRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/maps/places/apiv1/placespb#GetPhotoMediaRequest. -// } -// resp, err := c.GetPhotoMedia(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := places.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &placespb.GetPhotoMediaRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/maps/places/apiv1/placespb#GetPhotoMediaRequest. +// } +// resp, err := c.GetPhotoMedia(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/maps/places/apiv1/placespb/attribution.pb.go b/maps/places/apiv1/placespb/attribution.pb.go index 8d3e673c55c4..750881268f20 100755 --- a/maps/places/apiv1/placespb/attribution.pb.go +++ b/maps/places/apiv1/placespb/attribution.pb.go @@ -21,11 +21,12 @@ package placespb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/places/apiv1/placespb/ev_charging.pb.go b/maps/places/apiv1/placespb/ev_charging.pb.go index b049f2c2c540..71823e24ca55 100755 --- a/maps/places/apiv1/placespb/ev_charging.pb.go +++ b/maps/places/apiv1/placespb/ev_charging.pb.go @@ -21,11 +21,12 @@ package placespb 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" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/places/apiv1/placespb/fuel_options.pb.go b/maps/places/apiv1/placespb/fuel_options.pb.go index 46f57abb65c3..b0976733225b 100755 --- a/maps/places/apiv1/placespb/fuel_options.pb.go +++ b/maps/places/apiv1/placespb/fuel_options.pb.go @@ -21,12 +21,13 @@ package placespb import ( + reflect "reflect" + sync "sync" + money "google.golang.org/genproto/googleapis/type/money" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/places/apiv1/placespb/geometry.pb.go b/maps/places/apiv1/placespb/geometry.pb.go index 9b721856effa..220a88365a83 100755 --- a/maps/places/apiv1/placespb/geometry.pb.go +++ b/maps/places/apiv1/placespb/geometry.pb.go @@ -21,12 +21,13 @@ package placespb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/places/apiv1/placespb/photo.pb.go b/maps/places/apiv1/placespb/photo.pb.go index fe3a8f40502f..a265b2fb7af6 100755 --- a/maps/places/apiv1/placespb/photo.pb.go +++ b/maps/places/apiv1/placespb/photo.pb.go @@ -21,11 +21,12 @@ package placespb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/places/apiv1/placespb/place.pb.go b/maps/places/apiv1/placespb/place.pb.go index 8e73defa1b0a..39f155fff3b1 100755 --- a/maps/places/apiv1/placespb/place.pb.go +++ b/maps/places/apiv1/placespb/place.pb.go @@ -21,6 +21,9 @@ package placespb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" viewport "google.golang.org/genproto/googleapis/geo/type/viewport" date "google.golang.org/genproto/googleapis/type/date" @@ -28,8 +31,6 @@ import ( localized_text "google.golang.org/genproto/googleapis/type/localized_text" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/places/apiv1/placespb/places_service.pb.go b/maps/places/apiv1/placespb/places_service.pb.go index 96367c311cbf..185a3b703644 100755 --- a/maps/places/apiv1/placespb/places_service.pb.go +++ b/maps/places/apiv1/placespb/places_service.pb.go @@ -22,6 +22,9 @@ package placespb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" viewport "google.golang.org/genproto/googleapis/geo/type/viewport" grpc "google.golang.org/grpc" @@ -29,8 +32,6 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( @@ -335,8 +336,6 @@ func (x *SearchNearbyRequest) GetRankPreference() SearchNearbyRequest_RankPrefer } // Response proto for Search Nearby. -// -// type SearchNearbyResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -387,8 +386,6 @@ func (x *SearchNearbyResponse) GetPlaces() []*Place { } // Request proto for SearchText. -// -// type SearchTextRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -570,7 +567,6 @@ func (x *SearchTextRequest) GetLocationRestriction() *SearchTextRequest_Location } // Response proto for SearchText. -// type SearchTextResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/maps/places/apiv1/placespb/review.pb.go b/maps/places/apiv1/placespb/review.pb.go index 659fb573b615..d42bcd69062c 100755 --- a/maps/places/apiv1/placespb/review.pb.go +++ b/maps/places/apiv1/placespb/review.pb.go @@ -21,13 +21,14 @@ package placespb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" localized_text "google.golang.org/genproto/googleapis/type/localized_text" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/routing/apiv2/auxiliary.go b/maps/routing/apiv2/auxiliary.go index 4e02699788f7..0a95e93b19db 100755 --- a/maps/routing/apiv2/auxiliary.go +++ b/maps/routing/apiv2/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package routing - -import () diff --git a/maps/routing/apiv2/doc.go b/maps/routing/apiv2/doc.go index 35fa6499852b..3670237e1798 100755 --- a/maps/routing/apiv2/doc.go +++ b/maps/routing/apiv2/doc.go @@ -19,42 +19,43 @@ // // routes.googleapis.com (at http://routes.googleapis.com) API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := routing.NewRoutesClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := routing.NewRoutesClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// Use of Context +// # Use of Context // // The ctx passed to NewRoutesClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/maps/routing/apiv2/routes_client.go b/maps/routing/apiv2/routes_client.go index 9e9622c42274..3a4c3f5affcb 100755 --- a/maps/routing/apiv2/routes_client.go +++ b/maps/routing/apiv2/routes_client.go @@ -129,29 +129,29 @@ func (c *RoutesClient) Connection() *grpc.ClientConn { // // For example, in this method: // -// Field mask of all available fields (for manual inspection): -// X-Goog-FieldMask: * +// Field mask of all available fields (for manual inspection): +// X-Goog-FieldMask: * // -// Field mask of Route-level duration, distance, and polyline (an example -// production setup): -// X-Goog-FieldMask: routes.duration,routes.distanceMeters,routes.polyline.encodedPolyline +// Field mask of Route-level duration, distance, and polyline (an example +// production setup): +// X-Goog-FieldMask: routes.duration,routes.distanceMeters,routes.polyline.encodedPolyline // // Google discourage the use of the wildcard (*) response field mask, or // specifying the field mask at the top level (routes), because: // -// Selecting only the fields that you need helps our server save computation -// cycles, allowing us to return the result to you with a lower latency. +// Selecting only the fields that you need helps our server save computation +// cycles, allowing us to return the result to you with a lower latency. // -// Selecting only the fields that you need -// in your production job ensures stable latency performance. We might add -// more response fields in the future, and those new fields might require -// extra computation time. If you select all fields, or if you select all -// fields at the top level, then you might experience performance degradation -// because any new field we add will be automatically included in the -// response. +// Selecting only the fields that you need +// in your production job ensures stable latency performance. We might add +// more response fields in the future, and those new fields might require +// extra computation time. If you select all fields, or if you select all +// fields at the top level, then you might experience performance degradation +// because any new field we add will be automatically included in the +// response. // -// Selecting only the fields that you need results in a smaller response -// size, and thus higher network throughput. +// Selecting only the fields that you need results in a smaller response +// size, and thus higher network throughput. func (c *RoutesClient) ComputeRoutes(ctx context.Context, req *routingpb.ComputeRoutesRequest, opts ...gax.CallOption) (*routingpb.ComputeRoutesResponse, error) { return c.internalClient.ComputeRoutes(ctx, req, opts...) } @@ -170,29 +170,29 @@ func (c *RoutesClient) ComputeRoutes(ctx context.Context, req *routingpb.Compute // // For example, in this method: // -// Field mask of all available fields (for manual inspection): -// X-Goog-FieldMask: * +// Field mask of all available fields (for manual inspection): +// X-Goog-FieldMask: * // -// Field mask of route durations, distances, element status, condition, and -// element indices (an example production setup): -// X-Goog-FieldMask: originIndex,destinationIndex,status,condition,distanceMeters,duration +// Field mask of route durations, distances, element status, condition, and +// element indices (an example production setup): +// X-Goog-FieldMask: originIndex,destinationIndex,status,condition,distanceMeters,duration // // It is critical that you include status in your field mask as otherwise // all messages will appear to be OK. Google discourages the use of the // wildcard (*) response field mask, because: // -// Selecting only the fields that you need helps our server save computation -// cycles, allowing us to return the result to you with a lower latency. +// Selecting only the fields that you need helps our server save computation +// cycles, allowing us to return the result to you with a lower latency. // -// Selecting only the fields that you need in your production job ensures -// stable latency performance. We might add more response fields in the -// future, and those new fields might require extra computation time. If you -// select all fields, or if you select all fields at the top level, then you -// might experience performance degradation because any new field we add will -// be automatically included in the response. +// Selecting only the fields that you need in your production job ensures +// stable latency performance. We might add more response fields in the +// future, and those new fields might require extra computation time. If you +// select all fields, or if you select all fields at the top level, then you +// might experience performance degradation because any new field we add will +// be automatically included in the response. // -// Selecting only the fields that you need results in a smaller response -// size, and thus higher network throughput. +// Selecting only the fields that you need results in a smaller response +// size, and thus higher network throughput. func (c *RoutesClient) ComputeRouteMatrix(ctx context.Context, req *routingpb.ComputeRouteMatrixRequest, opts ...gax.CallOption) (routingpb.Routes_ComputeRouteMatrixClient, error) { return c.internalClient.ComputeRouteMatrix(ctx, req, opts...) } @@ -381,29 +381,29 @@ func (c *routesGRPCClient) ComputeRouteMatrix(ctx context.Context, req *routingp // // For example, in this method: // -// Field mask of all available fields (for manual inspection): -// X-Goog-FieldMask: * +// Field mask of all available fields (for manual inspection): +// X-Goog-FieldMask: * // -// Field mask of Route-level duration, distance, and polyline (an example -// production setup): -// X-Goog-FieldMask: routes.duration,routes.distanceMeters,routes.polyline.encodedPolyline +// Field mask of Route-level duration, distance, and polyline (an example +// production setup): +// X-Goog-FieldMask: routes.duration,routes.distanceMeters,routes.polyline.encodedPolyline // // Google discourage the use of the wildcard (*) response field mask, or // specifying the field mask at the top level (routes), because: // -// Selecting only the fields that you need helps our server save computation -// cycles, allowing us to return the result to you with a lower latency. +// Selecting only the fields that you need helps our server save computation +// cycles, allowing us to return the result to you with a lower latency. // -// Selecting only the fields that you need -// in your production job ensures stable latency performance. We might add -// more response fields in the future, and those new fields might require -// extra computation time. If you select all fields, or if you select all -// fields at the top level, then you might experience performance degradation -// because any new field we add will be automatically included in the -// response. +// Selecting only the fields that you need +// in your production job ensures stable latency performance. We might add +// more response fields in the future, and those new fields might require +// extra computation time. If you select all fields, or if you select all +// fields at the top level, then you might experience performance degradation +// because any new field we add will be automatically included in the +// response. // -// Selecting only the fields that you need results in a smaller response -// size, and thus higher network throughput. +// Selecting only the fields that you need results in a smaller response +// size, and thus higher network throughput. func (c *routesRESTClient) ComputeRoutes(ctx context.Context, req *routingpb.ComputeRoutesRequest, opts ...gax.CallOption) (*routingpb.ComputeRoutesResponse, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -480,29 +480,29 @@ func (c *routesRESTClient) ComputeRoutes(ctx context.Context, req *routingpb.Com // // For example, in this method: // -// Field mask of all available fields (for manual inspection): -// X-Goog-FieldMask: * +// Field mask of all available fields (for manual inspection): +// X-Goog-FieldMask: * // -// Field mask of route durations, distances, element status, condition, and -// element indices (an example production setup): -// X-Goog-FieldMask: originIndex,destinationIndex,status,condition,distanceMeters,duration +// Field mask of route durations, distances, element status, condition, and +// element indices (an example production setup): +// X-Goog-FieldMask: originIndex,destinationIndex,status,condition,distanceMeters,duration // // It is critical that you include status in your field mask as otherwise // all messages will appear to be OK. Google discourages the use of the // wildcard (*) response field mask, because: // -// Selecting only the fields that you need helps our server save computation -// cycles, allowing us to return the result to you with a lower latency. +// Selecting only the fields that you need helps our server save computation +// cycles, allowing us to return the result to you with a lower latency. // -// Selecting only the fields that you need in your production job ensures -// stable latency performance. We might add more response fields in the -// future, and those new fields might require extra computation time. If you -// select all fields, or if you select all fields at the top level, then you -// might experience performance degradation because any new field we add will -// be automatically included in the response. +// Selecting only the fields that you need in your production job ensures +// stable latency performance. We might add more response fields in the +// future, and those new fields might require extra computation time. If you +// select all fields, or if you select all fields at the top level, then you +// might experience performance degradation because any new field we add will +// be automatically included in the response. // -// Selecting only the fields that you need results in a smaller response -// size, and thus higher network throughput. +// Selecting only the fields that you need results in a smaller response +// size, and thus higher network throughput. func (c *routesRESTClient) ComputeRouteMatrix(ctx context.Context, req *routingpb.ComputeRouteMatrixRequest, opts ...gax.CallOption) (routingpb.Routes_ComputeRouteMatrixClient, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/maps/routing/apiv2/routingpb/fallback_info.pb.go b/maps/routing/apiv2/routingpb/fallback_info.pb.go index 722ece9fd383..1da9b68b936f 100755 --- a/maps/routing/apiv2/routingpb/fallback_info.pb.go +++ b/maps/routing/apiv2/routingpb/fallback_info.pb.go @@ -21,10 +21,11 @@ package routingpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/maps/routing/apiv2/routingpb/geocoding_results.pb.go b/maps/routing/apiv2/routingpb/geocoding_results.pb.go index 88862dd6104d..bac88ab84c35 100755 --- a/maps/routing/apiv2/routingpb/geocoding_results.pb.go +++ b/maps/routing/apiv2/routingpb/geocoding_results.pb.go @@ -21,11 +21,12 @@ package routingpb import ( + reflect "reflect" + sync "sync" + status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/localized_time.pb.go b/maps/routing/apiv2/routingpb/localized_time.pb.go index 124abaf449f2..c68406e78b5b 100755 --- a/maps/routing/apiv2/routingpb/localized_time.pb.go +++ b/maps/routing/apiv2/routingpb/localized_time.pb.go @@ -21,11 +21,12 @@ package routingpb import ( + reflect "reflect" + sync "sync" + localized_text "google.golang.org/genproto/googleapis/type/localized_text" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/location.pb.go b/maps/routing/apiv2/routingpb/location.pb.go index ab49794b9bf4..3f5e00f2b60d 100755 --- a/maps/routing/apiv2/routingpb/location.pb.go +++ b/maps/routing/apiv2/routingpb/location.pb.go @@ -21,12 +21,13 @@ package routingpb import ( + reflect "reflect" + sync "sync" + latlng "google.golang.org/genproto/googleapis/type/latlng" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/maneuver.pb.go b/maps/routing/apiv2/routingpb/maneuver.pb.go index eb41e4ecba43..2488179f3f5b 100755 --- a/maps/routing/apiv2/routingpb/maneuver.pb.go +++ b/maps/routing/apiv2/routingpb/maneuver.pb.go @@ -21,10 +21,11 @@ package routingpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/maps/routing/apiv2/routingpb/navigation_instruction.pb.go b/maps/routing/apiv2/routingpb/navigation_instruction.pb.go index e26db9605b65..f5c7356d6f99 100755 --- a/maps/routing/apiv2/routingpb/navigation_instruction.pb.go +++ b/maps/routing/apiv2/routingpb/navigation_instruction.pb.go @@ -21,10 +21,11 @@ package routingpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/maps/routing/apiv2/routingpb/polyline.pb.go b/maps/routing/apiv2/routingpb/polyline.pb.go index d05a7869abe8..7d219c1af6e4 100755 --- a/maps/routing/apiv2/routingpb/polyline.pb.go +++ b/maps/routing/apiv2/routingpb/polyline.pb.go @@ -21,11 +21,12 @@ package routingpb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/route.pb.go b/maps/routing/apiv2/routingpb/route.pb.go index 841f8f06e142..2e22cbfceec0 100755 --- a/maps/routing/apiv2/routingpb/route.pb.go +++ b/maps/routing/apiv2/routingpb/route.pb.go @@ -21,6 +21,9 @@ package routingpb import ( + reflect "reflect" + sync "sync" + viewport "google.golang.org/genproto/googleapis/geo/type/viewport" localized_text "google.golang.org/genproto/googleapis/type/localized_text" money "google.golang.org/genproto/googleapis/type/money" @@ -28,8 +31,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/route_label.pb.go b/maps/routing/apiv2/routingpb/route_label.pb.go index a2a86e405809..355e921a61fb 100755 --- a/maps/routing/apiv2/routingpb/route_label.pb.go +++ b/maps/routing/apiv2/routingpb/route_label.pb.go @@ -21,10 +21,11 @@ package routingpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/maps/routing/apiv2/routingpb/route_modifiers.pb.go b/maps/routing/apiv2/routingpb/route_modifiers.pb.go index 9a70f00f9d72..29aed2adb146 100755 --- a/maps/routing/apiv2/routingpb/route_modifiers.pb.go +++ b/maps/routing/apiv2/routingpb/route_modifiers.pb.go @@ -21,10 +21,11 @@ package routingpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/maps/routing/apiv2/routingpb/route_travel_mode.pb.go b/maps/routing/apiv2/routingpb/route_travel_mode.pb.go index 7e2c089d2890..04c45ace51e6 100755 --- a/maps/routing/apiv2/routingpb/route_travel_mode.pb.go +++ b/maps/routing/apiv2/routingpb/route_travel_mode.pb.go @@ -21,10 +21,11 @@ package routingpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/maps/routing/apiv2/routingpb/routes_service.pb.go b/maps/routing/apiv2/routingpb/routes_service.pb.go index 51138123d4f6..8b6725aa7c17 100755 --- a/maps/routing/apiv2/routingpb/routes_service.pb.go +++ b/maps/routing/apiv2/routingpb/routes_service.pb.go @@ -22,6 +22,9 @@ package routingpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" localized_text "google.golang.org/genproto/googleapis/type/localized_text" @@ -32,8 +35,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/routing_preference.pb.go b/maps/routing/apiv2/routingpb/routing_preference.pb.go index c545ef6391ca..ef739a0bddbd 100755 --- a/maps/routing/apiv2/routingpb/routing_preference.pb.go +++ b/maps/routing/apiv2/routingpb/routing_preference.pb.go @@ -21,10 +21,11 @@ package routingpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/maps/routing/apiv2/routingpb/speed_reading_interval.pb.go b/maps/routing/apiv2/routingpb/speed_reading_interval.pb.go index 93f4137ab0d4..8fd32b59fc09 100755 --- a/maps/routing/apiv2/routingpb/speed_reading_interval.pb.go +++ b/maps/routing/apiv2/routingpb/speed_reading_interval.pb.go @@ -21,10 +21,11 @@ package routingpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/maps/routing/apiv2/routingpb/toll_info.pb.go b/maps/routing/apiv2/routingpb/toll_info.pb.go index 42bb0fae3eb2..7b1281e8157c 100755 --- a/maps/routing/apiv2/routingpb/toll_info.pb.go +++ b/maps/routing/apiv2/routingpb/toll_info.pb.go @@ -21,11 +21,12 @@ package routingpb import ( + reflect "reflect" + sync "sync" + money "google.golang.org/genproto/googleapis/type/money" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/toll_passes.pb.go b/maps/routing/apiv2/routingpb/toll_passes.pb.go index 503797ea92d3..ff576582f86e 100755 --- a/maps/routing/apiv2/routingpb/toll_passes.pb.go +++ b/maps/routing/apiv2/routingpb/toll_passes.pb.go @@ -21,10 +21,11 @@ package routingpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/maps/routing/apiv2/routingpb/traffic_model.pb.go b/maps/routing/apiv2/routingpb/traffic_model.pb.go index fd6a4ad92fe4..c9c31c373567 100755 --- a/maps/routing/apiv2/routingpb/traffic_model.pb.go +++ b/maps/routing/apiv2/routingpb/traffic_model.pb.go @@ -21,10 +21,11 @@ package routingpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/maps/routing/apiv2/routingpb/transit.pb.go b/maps/routing/apiv2/routingpb/transit.pb.go index fb14e9580d76..4a2363b4b794 100755 --- a/maps/routing/apiv2/routingpb/transit.pb.go +++ b/maps/routing/apiv2/routingpb/transit.pb.go @@ -21,11 +21,12 @@ package routingpb import ( + reflect "reflect" + sync "sync" + localized_text "google.golang.org/genproto/googleapis/type/localized_text" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/maps/routing/apiv2/routingpb/transit_preferences.pb.go b/maps/routing/apiv2/routingpb/transit_preferences.pb.go index a36fc12f344b..b6f530261f35 100755 --- a/maps/routing/apiv2/routingpb/transit_preferences.pb.go +++ b/maps/routing/apiv2/routingpb/transit_preferences.pb.go @@ -21,10 +21,11 @@ package routingpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/maps/routing/apiv2/routingpb/units.pb.go b/maps/routing/apiv2/routingpb/units.pb.go index 71e9b13d0a46..b61739d12247 100755 --- a/maps/routing/apiv2/routingpb/units.pb.go +++ b/maps/routing/apiv2/routingpb/units.pb.go @@ -21,10 +21,11 @@ package routingpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/maps/routing/apiv2/routingpb/vehicle_emission_type.pb.go b/maps/routing/apiv2/routingpb/vehicle_emission_type.pb.go index 35cf91e1c705..b750c910b09a 100755 --- a/maps/routing/apiv2/routingpb/vehicle_emission_type.pb.go +++ b/maps/routing/apiv2/routingpb/vehicle_emission_type.pb.go @@ -21,10 +21,11 @@ package routingpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/maps/routing/apiv2/routingpb/vehicle_info.pb.go b/maps/routing/apiv2/routingpb/vehicle_info.pb.go index db192ba8e850..c27e799c7312 100755 --- a/maps/routing/apiv2/routingpb/vehicle_info.pb.go +++ b/maps/routing/apiv2/routingpb/vehicle_info.pb.go @@ -21,10 +21,11 @@ package routingpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/maps/routing/apiv2/routingpb/waypoint.pb.go b/maps/routing/apiv2/routingpb/waypoint.pb.go index 9c79407c151c..a3b1a3e143b3 100755 --- a/maps/routing/apiv2/routingpb/waypoint.pb.go +++ b/maps/routing/apiv2/routingpb/waypoint.pb.go @@ -21,10 +21,11 @@ package routingpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/mediatranslation/apiv1beta1/auxiliary.go b/mediatranslation/apiv1beta1/auxiliary.go index 6982eee92820..13a92c66f36c 100755 --- a/mediatranslation/apiv1beta1/auxiliary.go +++ b/mediatranslation/apiv1beta1/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package mediatranslation - -import () diff --git a/mediatranslation/apiv1beta1/doc.go b/mediatranslation/apiv1beta1/doc.go index 74d2e9d62a93..e94b3fc654f7 100755 --- a/mediatranslation/apiv1beta1/doc.go +++ b/mediatranslation/apiv1beta1/doc.go @@ -17,82 +17,83 @@ // Package mediatranslation is an auto-generated package for the // Media Translation API. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := mediatranslation.NewSpeechTranslationClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := mediatranslation.NewSpeechTranslationClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := mediatranslation.NewSpeechTranslationClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// stream, err := c.StreamingTranslateSpeech(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// go func() { -// reqs := []*mediatranslationpb.StreamingTranslateSpeechRequest{ -// // TODO: Create requests. -// } -// for _, req := range reqs { -// if err := stream.Send(req); err != nil { -// // TODO: Handle error. -// } -// } -// stream.CloseSend() -// }() -// for { -// resp, err := stream.Recv() -// if err == io.EOF { -// break -// } -// if err != nil { -// // TODO: handle error. -// } -// // TODO: Use resp. -// _ = resp -// } -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := mediatranslation.NewSpeechTranslationClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// stream, err := c.StreamingTranslateSpeech(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// go func() { +// reqs := []*mediatranslationpb.StreamingTranslateSpeechRequest{ +// // TODO: Create requests. +// } +// for _, req := range reqs { +// if err := stream.Send(req); err != nil { +// // TODO: Handle error. +// } +// } +// stream.CloseSend() +// }() +// for { +// resp, err := stream.Recv() +// if err == io.EOF { +// break +// } +// if err != nil { +// // TODO: handle error. +// } +// // TODO: Use resp. +// _ = resp +// } +// +// # Use of Context // // The ctx passed to NewSpeechTranslationClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/mediatranslation/apiv1beta1/mediatranslationpb/media_translation.pb.go b/mediatranslation/apiv1beta1/mediatranslationpb/media_translation.pb.go index 2ea965d78c4d..b84569e9a8f8 100755 --- a/mediatranslation/apiv1beta1/mediatranslationpb/media_translation.pb.go +++ b/mediatranslation/apiv1beta1/mediatranslationpb/media_translation.pb.go @@ -22,6 +22,9 @@ package mediatranslationpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -29,8 +32,6 @@ import ( status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/memcache/apiv1/cloud_memcache_client.go b/memcache/apiv1/cloud_memcache_client.go index 8ce7245ed991..388299f46bb8 100755 --- a/memcache/apiv1/cloud_memcache_client.go +++ b/memcache/apiv1/cloud_memcache_client.go @@ -181,19 +181,19 @@ type internalCloudMemcacheClient interface { // for Memcached API and defines the following resource model for managing // Memorystore Memcached (also called Memcached below) instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Memcached instances, named: -// /instances/* +// Each location has a collection of Memcached instances, named: +// /instances/* // -// As such, Memcached instances are resources of the form: -// /projects/{project_id}/locations/{location_id}/instances/{instance_id} +// As such, Memcached instances are resources of the form: +// /projects/{project_id}/locations/{location_id}/instances/{instance_id} // // Note that location_id must be a GCP region; for example: // -// projects/my-memcached-project/locations/us-central1/instances/my-memcached +// projects/my-memcached-project/locations/us-central1/instances/my-memcached type CloudMemcacheClient struct { // The internal transport-dependent client. internalClient internalCloudMemcacheClient @@ -375,19 +375,19 @@ type cloudMemcacheGRPCClient struct { // for Memcached API and defines the following resource model for managing // Memorystore Memcached (also called Memcached below) instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Memcached instances, named: -// /instances/* +// Each location has a collection of Memcached instances, named: +// /instances/* // -// As such, Memcached instances are resources of the form: -// /projects/{project_id}/locations/{location_id}/instances/{instance_id} +// As such, Memcached instances are resources of the form: +// /projects/{project_id}/locations/{location_id}/instances/{instance_id} // // Note that location_id must be a GCP region; for example: // -// projects/my-memcached-project/locations/us-central1/instances/my-memcached +// projects/my-memcached-project/locations/us-central1/instances/my-memcached func NewCloudMemcacheClient(ctx context.Context, opts ...option.ClientOption) (*CloudMemcacheClient, error) { clientOpts := defaultCloudMemcacheGRPCClientOptions() if newCloudMemcacheClientHook != nil { @@ -480,19 +480,19 @@ type cloudMemcacheRESTClient struct { // for Memcached API and defines the following resource model for managing // Memorystore Memcached (also called Memcached below) instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Memcached instances, named: -// /instances/* +// Each location has a collection of Memcached instances, named: +// /instances/* // -// As such, Memcached instances are resources of the form: -// /projects/{project_id}/locations/{location_id}/instances/{instance_id} +// As such, Memcached instances are resources of the form: +// /projects/{project_id}/locations/{location_id}/instances/{instance_id} // // Note that location_id must be a GCP region; for example: // -// projects/my-memcached-project/locations/us-central1/instances/my-memcached +// projects/my-memcached-project/locations/us-central1/instances/my-memcached func NewCloudMemcacheRESTClient(ctx context.Context, opts ...option.ClientOption) (*CloudMemcacheClient, error) { clientOpts := append(defaultCloudMemcacheRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/memcache/apiv1/doc.go b/memcache/apiv1/doc.go index 166d8fa44044..5cdf15fdf245 100755 --- a/memcache/apiv1/doc.go +++ b/memcache/apiv1/doc.go @@ -20,70 +20,71 @@ // Google Cloud Memorystore for Memcached API is used for creating and // managing Memcached instances in GCP. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := memcache.NewCloudMemcacheClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := memcache.NewCloudMemcacheClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := memcache.NewCloudMemcacheClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &memcachepb.ApplyParametersRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/memcache/apiv1/memcachepb#ApplyParametersRequest. -// } -// op, err := c.ApplyParameters(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := memcache.NewCloudMemcacheClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &memcachepb.ApplyParametersRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/memcache/apiv1/memcachepb#ApplyParametersRequest. +// } +// op, err := c.ApplyParameters(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewCloudMemcacheClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/memcache/apiv1/memcachepb/cloud_memcache.pb.go b/memcache/apiv1/memcachepb/cloud_memcache.pb.go index 915d96f930c3..8d89b5ba56f7 100755 --- a/memcache/apiv1/memcachepb/cloud_memcache.pb.go +++ b/memcache/apiv1/memcachepb/cloud_memcache.pb.go @@ -21,8 +21,11 @@ package memcachepb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" timeofday "google.golang.org/genproto/googleapis/type/timeofday" @@ -34,8 +37,6 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/memcache/apiv1beta2/cloud_memcache_client.go b/memcache/apiv1beta2/cloud_memcache_client.go index bc8caac7d3be..445cf990e8bc 100755 --- a/memcache/apiv1beta2/cloud_memcache_client.go +++ b/memcache/apiv1beta2/cloud_memcache_client.go @@ -190,19 +190,19 @@ type internalCloudMemcacheClient interface { // for Memcached API and defines the following resource model for managing // Memorystore Memcached (also called Memcached below) instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Memcached instances, named: -// /instances/* +// Each location has a collection of Memcached instances, named: +// /instances/* // -// As such, Memcached instances are resources of the form: -// /projects/{project_id}/locations/{location_id}/instances/{instance_id} +// As such, Memcached instances are resources of the form: +// /projects/{project_id}/locations/{location_id}/instances/{instance_id} // // Note that location_id must be a GCP region; for example: // -// projects/my-memcached-project/locations/us-central1/instances/my-memcached +// projects/my-memcached-project/locations/us-central1/instances/my-memcached type CloudMemcacheClient struct { // The internal transport-dependent client. internalClient internalCloudMemcacheClient @@ -395,19 +395,19 @@ type cloudMemcacheGRPCClient struct { // for Memcached API and defines the following resource model for managing // Memorystore Memcached (also called Memcached below) instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Memcached instances, named: -// /instances/* +// Each location has a collection of Memcached instances, named: +// /instances/* // -// As such, Memcached instances are resources of the form: -// /projects/{project_id}/locations/{location_id}/instances/{instance_id} +// As such, Memcached instances are resources of the form: +// /projects/{project_id}/locations/{location_id}/instances/{instance_id} // // Note that location_id must be a GCP region; for example: // -// projects/my-memcached-project/locations/us-central1/instances/my-memcached +// projects/my-memcached-project/locations/us-central1/instances/my-memcached func NewCloudMemcacheClient(ctx context.Context, opts ...option.ClientOption) (*CloudMemcacheClient, error) { clientOpts := defaultCloudMemcacheGRPCClientOptions() if newCloudMemcacheClientHook != nil { @@ -500,19 +500,19 @@ type cloudMemcacheRESTClient struct { // for Memcached API and defines the following resource model for managing // Memorystore Memcached (also called Memcached below) instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Memcached instances, named: -// /instances/* +// Each location has a collection of Memcached instances, named: +// /instances/* // -// As such, Memcached instances are resources of the form: -// /projects/{project_id}/locations/{location_id}/instances/{instance_id} +// As such, Memcached instances are resources of the form: +// /projects/{project_id}/locations/{location_id}/instances/{instance_id} // // Note that location_id must be a GCP region; for example: // -// projects/my-memcached-project/locations/us-central1/instances/my-memcached +// projects/my-memcached-project/locations/us-central1/instances/my-memcached func NewCloudMemcacheRESTClient(ctx context.Context, opts ...option.ClientOption) (*CloudMemcacheClient, error) { clientOpts := append(defaultCloudMemcacheRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/memcache/apiv1beta2/doc.go b/memcache/apiv1beta2/doc.go index e052f27d60dc..3ec3698949d8 100755 --- a/memcache/apiv1beta2/doc.go +++ b/memcache/apiv1beta2/doc.go @@ -20,72 +20,73 @@ // Google Cloud Memorystore for Memcached API is used for creating and // managing Memcached instances in GCP. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := memcache.NewCloudMemcacheClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := memcache.NewCloudMemcacheClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := memcache.NewCloudMemcacheClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &memcachepb.ApplyParametersRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/memcache/apiv1beta2/memcachepb#ApplyParametersRequest. -// } -// op, err := c.ApplyParameters(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := memcache.NewCloudMemcacheClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &memcachepb.ApplyParametersRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/memcache/apiv1beta2/memcachepb#ApplyParametersRequest. +// } +// op, err := c.ApplyParameters(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewCloudMemcacheClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/memcache/apiv1beta2/memcachepb/cloud_memcache.pb.go b/memcache/apiv1beta2/memcachepb/cloud_memcache.pb.go index 602b55154b14..842b6734f359 100755 --- a/memcache/apiv1beta2/memcachepb/cloud_memcache.pb.go +++ b/memcache/apiv1beta2/memcachepb/cloud_memcache.pb.go @@ -21,8 +21,11 @@ package memcachepb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" timeofday "google.golang.org/genproto/googleapis/type/timeofday" @@ -34,8 +37,6 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/metastore/apiv1/dataproc_metastore_client.go b/metastore/apiv1/dataproc_metastore_client.go index 6ee37224c474..b27c24864583 100755 --- a/metastore/apiv1/dataproc_metastore_client.go +++ b/metastore/apiv1/dataproc_metastore_client.go @@ -437,15 +437,15 @@ type internalDataprocMetastoreClient interface { // // The Dataproc Metastore API defines the following resource model: // -// The service works with a collection of Google Cloud projects, named: -// /projects/* +// The service works with a collection of Google Cloud projects, named: +// /projects/* // -// Each project has a collection of available locations, named: /locations/* -// (a location must refer to a Google Cloud region) +// Each project has a collection of available locations, named: /locations/* +// (a location must refer to a Google Cloud region) // -// Each location has a collection of services, named: /services/* +// Each location has a collection of services, named: /services/* // -// Dataproc Metastore services are resources with names of the form: +// Dataproc Metastore services are resources with names of the form: // // /projects/{project_number}/locations/{location_id}/services/{service_id}. type DataprocMetastoreClient struct { @@ -746,15 +746,15 @@ type dataprocMetastoreGRPCClient struct { // // The Dataproc Metastore API defines the following resource model: // -// The service works with a collection of Google Cloud projects, named: -// /projects/* +// The service works with a collection of Google Cloud projects, named: +// /projects/* // -// Each project has a collection of available locations, named: /locations/* -// (a location must refer to a Google Cloud region) +// Each project has a collection of available locations, named: /locations/* +// (a location must refer to a Google Cloud region) // -// Each location has a collection of services, named: /services/* +// Each location has a collection of services, named: /services/* // -// Dataproc Metastore services are resources with names of the form: +// Dataproc Metastore services are resources with names of the form: // // /projects/{project_number}/locations/{location_id}/services/{service_id}. func NewDataprocMetastoreClient(ctx context.Context, opts ...option.ClientOption) (*DataprocMetastoreClient, error) { @@ -853,15 +853,15 @@ type dataprocMetastoreRESTClient struct { // // The Dataproc Metastore API defines the following resource model: // -// The service works with a collection of Google Cloud projects, named: -// /projects/* +// The service works with a collection of Google Cloud projects, named: +// /projects/* // -// Each project has a collection of available locations, named: /locations/* -// (a location must refer to a Google Cloud region) +// Each project has a collection of available locations, named: /locations/* +// (a location must refer to a Google Cloud region) // -// Each location has a collection of services, named: /services/* +// Each location has a collection of services, named: /services/* // -// Dataproc Metastore services are resources with names of the form: +// Dataproc Metastore services are resources with names of the form: // // /projects/{project_number}/locations/{location_id}/services/{service_id}. func NewDataprocMetastoreRESTClient(ctx context.Context, opts ...option.ClientOption) (*DataprocMetastoreClient, error) { diff --git a/metastore/apiv1/dataproc_metastore_federation_client.go b/metastore/apiv1/dataproc_metastore_federation_client.go index 087e660c0073..5e263c45ed50 100755 --- a/metastore/apiv1/dataproc_metastore_federation_client.go +++ b/metastore/apiv1/dataproc_metastore_federation_client.go @@ -148,15 +148,15 @@ type internalDataprocMetastoreFederationClient interface { // // The Dataproc Metastore Federation API defines the following resource model: // -// The service works with a collection of Google Cloud projects. +// The service works with a collection of Google Cloud projects. // -// Each project has a collection of available locations. +// Each project has a collection of available locations. // -// Each location has a collection of federations. +// Each location has a collection of federations. // -// Dataproc Metastore Federations are resources with names of the -// form: -// projects/{project_number}/locations/{location_id}/federations/{federation_id}. +// Dataproc Metastore Federations are resources with names of the +// form: +// projects/{project_number}/locations/{location_id}/federations/{federation_id}. type DataprocMetastoreFederationClient struct { // The internal transport-dependent client. internalClient internalDataprocMetastoreFederationClient @@ -331,15 +331,15 @@ type dataprocMetastoreFederationGRPCClient struct { // // The Dataproc Metastore Federation API defines the following resource model: // -// The service works with a collection of Google Cloud projects. +// The service works with a collection of Google Cloud projects. // -// Each project has a collection of available locations. +// Each project has a collection of available locations. // -// Each location has a collection of federations. +// Each location has a collection of federations. // -// Dataproc Metastore Federations are resources with names of the -// form: -// projects/{project_number}/locations/{location_id}/federations/{federation_id}. +// Dataproc Metastore Federations are resources with names of the +// form: +// projects/{project_number}/locations/{location_id}/federations/{federation_id}. func NewDataprocMetastoreFederationClient(ctx context.Context, opts ...option.ClientOption) (*DataprocMetastoreFederationClient, error) { clientOpts := defaultDataprocMetastoreFederationGRPCClientOptions() if newDataprocMetastoreFederationClientHook != nil { @@ -435,15 +435,15 @@ type dataprocMetastoreFederationRESTClient struct { // // The Dataproc Metastore Federation API defines the following resource model: // -// The service works with a collection of Google Cloud projects. +// The service works with a collection of Google Cloud projects. // -// Each project has a collection of available locations. +// Each project has a collection of available locations. // -// Each location has a collection of federations. +// Each location has a collection of federations. // -// Dataproc Metastore Federations are resources with names of the -// form: -// projects/{project_number}/locations/{location_id}/federations/{federation_id}. +// Dataproc Metastore Federations are resources with names of the +// form: +// projects/{project_number}/locations/{location_id}/federations/{federation_id}. func NewDataprocMetastoreFederationRESTClient(ctx context.Context, opts ...option.ClientOption) (*DataprocMetastoreFederationClient, error) { clientOpts := append(defaultDataprocMetastoreFederationRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/metastore/apiv1/doc.go b/metastore/apiv1/doc.go index 34b7cbeb1059..872b347de975 100755 --- a/metastore/apiv1/doc.go +++ b/metastore/apiv1/doc.go @@ -20,70 +20,71 @@ // The Dataproc Metastore API is used to manage the lifecycle and // configuration of metastore services. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := metastore.NewDataprocMetastoreClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := metastore.NewDataprocMetastoreClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := metastore.NewDataprocMetastoreClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &metastorepb.AlterMetadataResourceLocationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/metastore/apiv1/metastorepb#AlterMetadataResourceLocationRequest. -// } -// op, err := c.AlterMetadataResourceLocation(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := metastore.NewDataprocMetastoreClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &metastorepb.AlterMetadataResourceLocationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/metastore/apiv1/metastorepb#AlterMetadataResourceLocationRequest. +// } +// op, err := c.AlterMetadataResourceLocation(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewDataprocMetastoreClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/metastore/apiv1/metastorepb/metastore.pb.go b/metastore/apiv1/metastorepb/metastore.pb.go index de4432958e2f..329cc7e725a8 100755 --- a/metastore/apiv1/metastorepb/metastore.pb.go +++ b/metastore/apiv1/metastorepb/metastore.pb.go @@ -21,8 +21,11 @@ package metastorepb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" grpc "google.golang.org/grpc" @@ -34,8 +37,6 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/metastore/apiv1/metastorepb/metastore_federation.pb.go b/metastore/apiv1/metastorepb/metastore_federation.pb.go index fe23c8d07efc..8b7cd85d6dce 100755 --- a/metastore/apiv1/metastorepb/metastore_federation.pb.go +++ b/metastore/apiv1/metastorepb/metastore_federation.pb.go @@ -21,8 +21,11 @@ package metastorepb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/metastore/apiv1alpha/dataproc_metastore_client.go b/metastore/apiv1alpha/dataproc_metastore_client.go index e0edda61224e..01927c83b467 100755 --- a/metastore/apiv1alpha/dataproc_metastore_client.go +++ b/metastore/apiv1alpha/dataproc_metastore_client.go @@ -462,15 +462,15 @@ type internalDataprocMetastoreClient interface { // // The Dataproc Metastore API defines the following resource model: // -// The service works with a collection of Google Cloud projects, named: -// /projects/* +// The service works with a collection of Google Cloud projects, named: +// /projects/* // -// Each project has a collection of available locations, named: /locations/* -// (a location must refer to a Google Cloud region) +// Each project has a collection of available locations, named: /locations/* +// (a location must refer to a Google Cloud region) // -// Each location has a collection of services, named: /services/* +// Each location has a collection of services, named: /services/* // -// Dataproc Metastore services are resources with names of the form: +// Dataproc Metastore services are resources with names of the form: // // /projects/{project_number}/locations/{location_id}/services/{service_id}. type DataprocMetastoreClient struct { @@ -776,15 +776,15 @@ type dataprocMetastoreGRPCClient struct { // // The Dataproc Metastore API defines the following resource model: // -// The service works with a collection of Google Cloud projects, named: -// /projects/* +// The service works with a collection of Google Cloud projects, named: +// /projects/* // -// Each project has a collection of available locations, named: /locations/* -// (a location must refer to a Google Cloud region) +// Each project has a collection of available locations, named: /locations/* +// (a location must refer to a Google Cloud region) // -// Each location has a collection of services, named: /services/* +// Each location has a collection of services, named: /services/* // -// Dataproc Metastore services are resources with names of the form: +// Dataproc Metastore services are resources with names of the form: // // /projects/{project_number}/locations/{location_id}/services/{service_id}. func NewDataprocMetastoreClient(ctx context.Context, opts ...option.ClientOption) (*DataprocMetastoreClient, error) { @@ -883,15 +883,15 @@ type dataprocMetastoreRESTClient struct { // // The Dataproc Metastore API defines the following resource model: // -// The service works with a collection of Google Cloud projects, named: -// /projects/* +// The service works with a collection of Google Cloud projects, named: +// /projects/* // -// Each project has a collection of available locations, named: /locations/* -// (a location must refer to a Google Cloud region) +// Each project has a collection of available locations, named: /locations/* +// (a location must refer to a Google Cloud region) // -// Each location has a collection of services, named: /services/* +// Each location has a collection of services, named: /services/* // -// Dataproc Metastore services are resources with names of the form: +// Dataproc Metastore services are resources with names of the form: // // /projects/{project_number}/locations/{location_id}/services/{service_id}. func NewDataprocMetastoreRESTClient(ctx context.Context, opts ...option.ClientOption) (*DataprocMetastoreClient, error) { diff --git a/metastore/apiv1alpha/dataproc_metastore_federation_client.go b/metastore/apiv1alpha/dataproc_metastore_federation_client.go index 6393d76468b2..29bbcc66e544 100755 --- a/metastore/apiv1alpha/dataproc_metastore_federation_client.go +++ b/metastore/apiv1alpha/dataproc_metastore_federation_client.go @@ -148,15 +148,15 @@ type internalDataprocMetastoreFederationClient interface { // // The Dataproc Metastore Federation API defines the following resource model: // -// The service works with a collection of Google Cloud projects. +// The service works with a collection of Google Cloud projects. // -// Each project has a collection of available locations. +// Each project has a collection of available locations. // -// Each location has a collection of federations. +// Each location has a collection of federations. // -// Dataproc Metastore Federations are resources with names of the -// form: -// projects/{project_number}/locations/{location_id}/federations/{federation_id}. +// Dataproc Metastore Federations are resources with names of the +// form: +// projects/{project_number}/locations/{location_id}/federations/{federation_id}. type DataprocMetastoreFederationClient struct { // The internal transport-dependent client. internalClient internalDataprocMetastoreFederationClient @@ -331,15 +331,15 @@ type dataprocMetastoreFederationGRPCClient struct { // // The Dataproc Metastore Federation API defines the following resource model: // -// The service works with a collection of Google Cloud projects. +// The service works with a collection of Google Cloud projects. // -// Each project has a collection of available locations. +// Each project has a collection of available locations. // -// Each location has a collection of federations. +// Each location has a collection of federations. // -// Dataproc Metastore Federations are resources with names of the -// form: -// projects/{project_number}/locations/{location_id}/federations/{federation_id}. +// Dataproc Metastore Federations are resources with names of the +// form: +// projects/{project_number}/locations/{location_id}/federations/{federation_id}. func NewDataprocMetastoreFederationClient(ctx context.Context, opts ...option.ClientOption) (*DataprocMetastoreFederationClient, error) { clientOpts := defaultDataprocMetastoreFederationGRPCClientOptions() if newDataprocMetastoreFederationClientHook != nil { @@ -435,15 +435,15 @@ type dataprocMetastoreFederationRESTClient struct { // // The Dataproc Metastore Federation API defines the following resource model: // -// The service works with a collection of Google Cloud projects. +// The service works with a collection of Google Cloud projects. // -// Each project has a collection of available locations. +// Each project has a collection of available locations. // -// Each location has a collection of federations. +// Each location has a collection of federations. // -// Dataproc Metastore Federations are resources with names of the -// form: -// projects/{project_number}/locations/{location_id}/federations/{federation_id}. +// Dataproc Metastore Federations are resources with names of the +// form: +// projects/{project_number}/locations/{location_id}/federations/{federation_id}. func NewDataprocMetastoreFederationRESTClient(ctx context.Context, opts ...option.ClientOption) (*DataprocMetastoreFederationClient, error) { clientOpts := append(defaultDataprocMetastoreFederationRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/metastore/apiv1alpha/doc.go b/metastore/apiv1alpha/doc.go index 609781e075eb..6f61ffa76dd1 100755 --- a/metastore/apiv1alpha/doc.go +++ b/metastore/apiv1alpha/doc.go @@ -20,72 +20,73 @@ // The Dataproc Metastore API is used to manage the lifecycle and // configuration of metastore services. // -// NOTE: This package is in alpha. It is not stable, and is likely to change. +// NOTE: This package is in alpha. It is not stable, and is likely to change. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := metastore.NewDataprocMetastoreClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := metastore.NewDataprocMetastoreClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := metastore.NewDataprocMetastoreClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &metastorepb.AlterMetadataResourceLocationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/metastore/apiv1alpha/metastorepb#AlterMetadataResourceLocationRequest. -// } -// op, err := c.AlterMetadataResourceLocation(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := metastore.NewDataprocMetastoreClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &metastorepb.AlterMetadataResourceLocationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/metastore/apiv1alpha/metastorepb#AlterMetadataResourceLocationRequest. +// } +// op, err := c.AlterMetadataResourceLocation(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewDataprocMetastoreClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/metastore/apiv1alpha/metastorepb/metastore.pb.go b/metastore/apiv1alpha/metastorepb/metastore.pb.go index 812ec9d17273..809f446ff909 100755 --- a/metastore/apiv1alpha/metastorepb/metastore.pb.go +++ b/metastore/apiv1alpha/metastorepb/metastore.pb.go @@ -21,8 +21,11 @@ package metastorepb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" grpc "google.golang.org/grpc" @@ -34,8 +37,6 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/metastore/apiv1alpha/metastorepb/metastore_federation.pb.go b/metastore/apiv1alpha/metastorepb/metastore_federation.pb.go index 92ce90dc1fbb..72bd816998b1 100755 --- a/metastore/apiv1alpha/metastorepb/metastore_federation.pb.go +++ b/metastore/apiv1alpha/metastorepb/metastore_federation.pb.go @@ -21,8 +21,11 @@ package metastorepb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/metastore/apiv1beta/dataproc_metastore_client.go b/metastore/apiv1beta/dataproc_metastore_client.go index 0598ba466a96..7bba4ba429ae 100755 --- a/metastore/apiv1beta/dataproc_metastore_client.go +++ b/metastore/apiv1beta/dataproc_metastore_client.go @@ -462,15 +462,15 @@ type internalDataprocMetastoreClient interface { // // The Dataproc Metastore API defines the following resource model: // -// The service works with a collection of Google Cloud projects, named: -// /projects/* +// The service works with a collection of Google Cloud projects, named: +// /projects/* // -// Each project has a collection of available locations, named: /locations/* -// (a location must refer to a Google Cloud region) +// Each project has a collection of available locations, named: /locations/* +// (a location must refer to a Google Cloud region) // -// Each location has a collection of services, named: /services/* +// Each location has a collection of services, named: /services/* // -// Dataproc Metastore services are resources with names of the form: +// Dataproc Metastore services are resources with names of the form: // // /projects/{project_number}/locations/{location_id}/services/{service_id}. type DataprocMetastoreClient struct { @@ -776,15 +776,15 @@ type dataprocMetastoreGRPCClient struct { // // The Dataproc Metastore API defines the following resource model: // -// The service works with a collection of Google Cloud projects, named: -// /projects/* +// The service works with a collection of Google Cloud projects, named: +// /projects/* // -// Each project has a collection of available locations, named: /locations/* -// (a location must refer to a Google Cloud region) +// Each project has a collection of available locations, named: /locations/* +// (a location must refer to a Google Cloud region) // -// Each location has a collection of services, named: /services/* +// Each location has a collection of services, named: /services/* // -// Dataproc Metastore services are resources with names of the form: +// Dataproc Metastore services are resources with names of the form: // // /projects/{project_number}/locations/{location_id}/services/{service_id}. func NewDataprocMetastoreClient(ctx context.Context, opts ...option.ClientOption) (*DataprocMetastoreClient, error) { @@ -883,15 +883,15 @@ type dataprocMetastoreRESTClient struct { // // The Dataproc Metastore API defines the following resource model: // -// The service works with a collection of Google Cloud projects, named: -// /projects/* +// The service works with a collection of Google Cloud projects, named: +// /projects/* // -// Each project has a collection of available locations, named: /locations/* -// (a location must refer to a Google Cloud region) +// Each project has a collection of available locations, named: /locations/* +// (a location must refer to a Google Cloud region) // -// Each location has a collection of services, named: /services/* +// Each location has a collection of services, named: /services/* // -// Dataproc Metastore services are resources with names of the form: +// Dataproc Metastore services are resources with names of the form: // // /projects/{project_number}/locations/{location_id}/services/{service_id}. func NewDataprocMetastoreRESTClient(ctx context.Context, opts ...option.ClientOption) (*DataprocMetastoreClient, error) { diff --git a/metastore/apiv1beta/dataproc_metastore_federation_client.go b/metastore/apiv1beta/dataproc_metastore_federation_client.go index fd02a0954133..346c6c915bdb 100755 --- a/metastore/apiv1beta/dataproc_metastore_federation_client.go +++ b/metastore/apiv1beta/dataproc_metastore_federation_client.go @@ -148,15 +148,15 @@ type internalDataprocMetastoreFederationClient interface { // // The Dataproc Metastore Federation API defines the following resource model: // -// The service works with a collection of Google Cloud projects. +// The service works with a collection of Google Cloud projects. // -// Each project has a collection of available locations. +// Each project has a collection of available locations. // -// Each location has a collection of federations. +// Each location has a collection of federations. // -// Dataproc Metastore Federations are resources with names of the -// form: -// projects/{project_number}/locations/{location_id}/federations/{federation_id}. +// Dataproc Metastore Federations are resources with names of the +// form: +// projects/{project_number}/locations/{location_id}/federations/{federation_id}. type DataprocMetastoreFederationClient struct { // The internal transport-dependent client. internalClient internalDataprocMetastoreFederationClient @@ -331,15 +331,15 @@ type dataprocMetastoreFederationGRPCClient struct { // // The Dataproc Metastore Federation API defines the following resource model: // -// The service works with a collection of Google Cloud projects. +// The service works with a collection of Google Cloud projects. // -// Each project has a collection of available locations. +// Each project has a collection of available locations. // -// Each location has a collection of federations. +// Each location has a collection of federations. // -// Dataproc Metastore Federations are resources with names of the -// form: -// projects/{project_number}/locations/{location_id}/federations/{federation_id}. +// Dataproc Metastore Federations are resources with names of the +// form: +// projects/{project_number}/locations/{location_id}/federations/{federation_id}. func NewDataprocMetastoreFederationClient(ctx context.Context, opts ...option.ClientOption) (*DataprocMetastoreFederationClient, error) { clientOpts := defaultDataprocMetastoreFederationGRPCClientOptions() if newDataprocMetastoreFederationClientHook != nil { @@ -435,15 +435,15 @@ type dataprocMetastoreFederationRESTClient struct { // // The Dataproc Metastore Federation API defines the following resource model: // -// The service works with a collection of Google Cloud projects. +// The service works with a collection of Google Cloud projects. // -// Each project has a collection of available locations. +// Each project has a collection of available locations. // -// Each location has a collection of federations. +// Each location has a collection of federations. // -// Dataproc Metastore Federations are resources with names of the -// form: -// projects/{project_number}/locations/{location_id}/federations/{federation_id}. +// Dataproc Metastore Federations are resources with names of the +// form: +// projects/{project_number}/locations/{location_id}/federations/{federation_id}. func NewDataprocMetastoreFederationRESTClient(ctx context.Context, opts ...option.ClientOption) (*DataprocMetastoreFederationClient, error) { clientOpts := append(defaultDataprocMetastoreFederationRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/metastore/apiv1beta/doc.go b/metastore/apiv1beta/doc.go index 9a61b2d29a87..6461a354cd45 100755 --- a/metastore/apiv1beta/doc.go +++ b/metastore/apiv1beta/doc.go @@ -20,72 +20,73 @@ // The Dataproc Metastore API is used to manage the lifecycle and // configuration of metastore services. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := metastore.NewDataprocMetastoreClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := metastore.NewDataprocMetastoreClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := metastore.NewDataprocMetastoreClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &metastorepb.AlterMetadataResourceLocationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/metastore/apiv1beta/metastorepb#AlterMetadataResourceLocationRequest. -// } -// op, err := c.AlterMetadataResourceLocation(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := metastore.NewDataprocMetastoreClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &metastorepb.AlterMetadataResourceLocationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/metastore/apiv1beta/metastorepb#AlterMetadataResourceLocationRequest. +// } +// op, err := c.AlterMetadataResourceLocation(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewDataprocMetastoreClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/metastore/apiv1beta/metastorepb/metastore.pb.go b/metastore/apiv1beta/metastorepb/metastore.pb.go index 398d919addbd..ec8df0256e02 100755 --- a/metastore/apiv1beta/metastorepb/metastore.pb.go +++ b/metastore/apiv1beta/metastorepb/metastore.pb.go @@ -21,8 +21,11 @@ package metastorepb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" grpc "google.golang.org/grpc" @@ -34,8 +37,6 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/metastore/apiv1beta/metastorepb/metastore_federation.pb.go b/metastore/apiv1beta/metastorepb/metastore_federation.pb.go index 029ffd12ea9b..2889f46c0169 100755 --- a/metastore/apiv1beta/metastorepb/metastore_federation.pb.go +++ b/metastore/apiv1beta/metastorepb/metastore_federation.pb.go @@ -21,8 +21,11 @@ package metastorepb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/migrationcenter/apiv1/doc.go b/migrationcenter/apiv1/doc.go index b1da2938e461..5e61c5fd3f08 100755 --- a/migrationcenter/apiv1/doc.go +++ b/migrationcenter/apiv1/doc.go @@ -20,72 +20,73 @@ // A unified platform that helps you accelerate your end-to-end cloud journey // from your current on-premises or cloud environments to Google Cloud. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := migrationcenter.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := migrationcenter.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := migrationcenter.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &migrationcenterpb.AddAssetsToGroupRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#AddAssetsToGroupRequest. -// } -// op, err := c.AddAssetsToGroup(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := migrationcenter.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &migrationcenterpb.AddAssetsToGroupRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#AddAssetsToGroupRequest. +// } +// op, err := c.AddAssetsToGroup(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/migrationcenter/apiv1/migrationcenterpb/migrationcenter.pb.go b/migrationcenter/apiv1/migrationcenterpb/migrationcenter.pb.go index e9fe183ea869..b152eb3153a5 100755 --- a/migrationcenter/apiv1/migrationcenterpb/migrationcenter.pb.go +++ b/migrationcenter/apiv1/migrationcenterpb/migrationcenter.pb.go @@ -21,8 +21,11 @@ package migrationcenterpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" money "google.golang.org/genproto/googleapis/type/money" @@ -34,8 +37,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/doc.go b/monitoring/apiv3/v2/doc.go index 7e092a34eaf5..50d7edfc45fe 100755 --- a/monitoring/apiv3/v2/doc.go +++ b/monitoring/apiv3/v2/doc.go @@ -19,65 +19,66 @@ // // Manages your Cloud Monitoring data and configurations. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := monitoring.NewAlertPolicyClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := monitoring.NewAlertPolicyClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := monitoring.NewAlertPolicyClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &monitoringpb.CreateAlertPolicyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/monitoring/apiv3/v2/monitoringpb#CreateAlertPolicyRequest. -// } -// resp, err := c.CreateAlertPolicy(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := monitoring.NewAlertPolicyClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &monitoringpb.CreateAlertPolicyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/monitoring/apiv3/v2/monitoringpb#CreateAlertPolicyRequest. +// } +// resp, err := c.CreateAlertPolicy(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewAlertPolicyClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/monitoring/apiv3/v2/monitoringpb/alert.pb.go b/monitoring/apiv3/v2/monitoringpb/alert.pb.go index 1766e9b0b038..673a47cf9122 100755 --- a/monitoring/apiv3/v2/monitoringpb/alert.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/alert.pb.go @@ -21,14 +21,15 @@ package monitoringpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( @@ -167,7 +168,6 @@ func (AlertPolicy_Condition_EvaluationMissingData) EnumDescriptor() ([]byte, []i // considered to be "unhealthy" and the ways to notify people or services about // this state. For an overview of alert policies, see // [Introduction to Alerting](https://cloud.google.com/monitoring/alerts/). -// type AlertPolicy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/monitoring/apiv3/v2/monitoringpb/alert_service.pb.go b/monitoring/apiv3/v2/monitoringpb/alert_service.pb.go index 68fe5066fe05..5045498c8076 100755 --- a/monitoring/apiv3/v2/monitoringpb/alert_service.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/alert_service.pb.go @@ -22,6 +22,9 @@ package monitoringpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/common.pb.go b/monitoring/apiv3/v2/monitoringpb/common.pb.go index f3ad4779f0bc..739509158f22 100755 --- a/monitoring/apiv3/v2/monitoringpb/common.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/common.pb.go @@ -21,13 +21,14 @@ package monitoringpb import ( + reflect "reflect" + sync "sync" + distribution "google.golang.org/genproto/googleapis/api/distribution" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -671,32 +672,32 @@ func (*TypedValue_DistributionValue) isTypedValue_Value() {} // A closed time interval. It extends from the start time to the end time, and includes both: `[startTime, endTime]`. Valid time intervals depend on the [`MetricKind`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors#MetricKind) of the metric value. The end time must not be earlier than the start time. When writing data points, the start time must not be more than 25 hours in the past and the end time must not be more than five minutes in the future. // -// * For `GAUGE` metrics, the `startTime` value is technically optional; if -// no value is specified, the start time defaults to the value of the -// end time, and the interval represents a single point in time. If both -// start and end times are specified, they must be identical. Such an -// interval is valid only for `GAUGE` metrics, which are point-in-time -// measurements. The end time of a new interval must be at least a -// millisecond after the end time of the previous interval. +// - For `GAUGE` metrics, the `startTime` value is technically optional; if +// no value is specified, the start time defaults to the value of the +// end time, and the interval represents a single point in time. If both +// start and end times are specified, they must be identical. Such an +// interval is valid only for `GAUGE` metrics, which are point-in-time +// measurements. The end time of a new interval must be at least a +// millisecond after the end time of the previous interval. // -// * For `DELTA` metrics, the start time and end time must specify a -// non-zero interval, with subsequent points specifying contiguous and -// non-overlapping intervals. For `DELTA` metrics, the start time of -// the next interval must be at least a millisecond after the end time -// of the previous interval. +// - For `DELTA` metrics, the start time and end time must specify a +// non-zero interval, with subsequent points specifying contiguous and +// non-overlapping intervals. For `DELTA` metrics, the start time of +// the next interval must be at least a millisecond after the end time +// of the previous interval. // -// * For `CUMULATIVE` metrics, the start time and end time must specify a -// non-zero interval, with subsequent points specifying the same -// start time and increasing end times, until an event resets the -// cumulative value to zero and sets a new start time for the following -// points. The new start time must be at least a millisecond after the -// end time of the previous interval. +// - For `CUMULATIVE` metrics, the start time and end time must specify a +// non-zero interval, with subsequent points specifying the same +// start time and increasing end times, until an event resets the +// cumulative value to zero and sets a new start time for the following +// points. The new start time must be at least a millisecond after the +// end time of the previous interval. // -// * The start time of a new interval must be at least a millisecond after the -// end time of the previous interval because intervals are closed. If the -// start time of a new interval is the same as the end time of the previous -// interval, then data written at the new start time could overwrite data -// written at the previous end time. +// - The start time of a new interval must be at least a millisecond after the +// end time of the previous interval because intervals are closed. If the +// start time of a new interval is the same as the end time of the previous +// interval, then data written at the new start time could overwrite data +// written at the previous end time. type TimeInterval struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/monitoring/apiv3/v2/monitoringpb/dropped_labels.pb.go b/monitoring/apiv3/v2/monitoringpb/dropped_labels.pb.go index 495021a4f0a3..ecfd38d17da7 100755 --- a/monitoring/apiv3/v2/monitoringpb/dropped_labels.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/dropped_labels.pb.go @@ -21,10 +21,11 @@ package monitoringpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/group.pb.go b/monitoring/apiv3/v2/monitoringpb/group.pb.go index fac4f9fe16df..c36317ada256 100755 --- a/monitoring/apiv3/v2/monitoringpb/group.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/group.pb.go @@ -21,11 +21,12 @@ package monitoringpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/group_service.pb.go b/monitoring/apiv3/v2/monitoringpb/group_service.pb.go index c54043f01649..74e4b4e6f44f 100755 --- a/monitoring/apiv3/v2/monitoringpb/group_service.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/group_service.pb.go @@ -22,6 +22,9 @@ package monitoringpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" grpc "google.golang.org/grpc" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" - sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/metric.pb.go b/monitoring/apiv3/v2/monitoringpb/metric.pb.go index d278b9d36428..2c0759951ffb 100755 --- a/monitoring/apiv3/v2/monitoringpb/metric.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/metric.pb.go @@ -21,13 +21,14 @@ package monitoringpb import ( + reflect "reflect" + sync "sync" + label "google.golang.org/genproto/googleapis/api/label" metric "google.golang.org/genproto/googleapis/api/metric" monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( @@ -521,19 +522,19 @@ func (x *QueryError) GetMessage() string { // // For example, suppose the request field `text` contains: // -// text: "The quick brown fox jumps over the lazy dog." +// text: "The quick brown fox jumps over the lazy dog." // // Then the locator: // -// source: "text" -// start_position { -// line: 1 -// column: 17 -// } -// end_position { -// line: 1 -// column: 19 -// } +// source: "text" +// start_position { +// line: 1 +// column: 17 +// } +// end_position { +// line: 1 +// column: 19 +// } // // refers to the part of the text: "fox". type TextLocator struct { diff --git a/monitoring/apiv3/v2/monitoringpb/metric_service.pb.go b/monitoring/apiv3/v2/monitoringpb/metric_service.pb.go index 9d094388b03c..61c57cc7fe69 100755 --- a/monitoring/apiv3/v2/monitoringpb/metric_service.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/metric_service.pb.go @@ -22,6 +22,9 @@ package monitoringpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" metric "google.golang.org/genproto/googleapis/api/metric" monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" @@ -32,8 +35,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" - sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/mutation_record.pb.go b/monitoring/apiv3/v2/monitoringpb/mutation_record.pb.go index c57b5f92a6b6..3515c01688bc 100755 --- a/monitoring/apiv3/v2/monitoringpb/mutation_record.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/mutation_record.pb.go @@ -21,11 +21,12 @@ package monitoringpb 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" - reflect "reflect" - sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/notification.pb.go b/monitoring/apiv3/v2/monitoringpb/notification.pb.go index 133502ce88a4..0e9ed407b8e1 100755 --- a/monitoring/apiv3/v2/monitoringpb/notification.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/notification.pb.go @@ -21,14 +21,15 @@ package monitoringpb import ( + reflect "reflect" + sync "sync" + api "google.golang.org/genproto/googleapis/api" _ "google.golang.org/genproto/googleapis/api/annotations" label "google.golang.org/genproto/googleapis/api/label" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/notification_service.pb.go b/monitoring/apiv3/v2/monitoringpb/notification_service.pb.go index 31f7786765e0..1de075344768 100755 --- a/monitoring/apiv3/v2/monitoringpb/notification_service.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/notification_service.pb.go @@ -22,6 +22,9 @@ package monitoringpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/query_service.pb.go b/monitoring/apiv3/v2/monitoringpb/query_service.pb.go index fee38181d50d..0b21998dc069 100755 --- a/monitoring/apiv3/v2/monitoringpb/query_service.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/query_service.pb.go @@ -22,13 +22,14 @@ package monitoringpb import ( context "context" + reflect "reflect" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/service.pb.go b/monitoring/apiv3/v2/monitoringpb/service.pb.go index e56c4ba48346..2a521a84ff1b 100755 --- a/monitoring/apiv3/v2/monitoringpb/service.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/service.pb.go @@ -21,13 +21,14 @@ package monitoringpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" calendarperiod "google.golang.org/genproto/googleapis/type/calendarperiod" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/service_service.pb.go b/monitoring/apiv3/v2/monitoringpb/service_service.pb.go index 1eb00c289e60..15da64f3d2a9 100755 --- a/monitoring/apiv3/v2/monitoringpb/service_service.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/service_service.pb.go @@ -22,6 +22,9 @@ package monitoringpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/snooze.pb.go b/monitoring/apiv3/v2/monitoringpb/snooze.pb.go index fb546e858b2b..39e5d08f310d 100755 --- a/monitoring/apiv3/v2/monitoringpb/snooze.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/snooze.pb.go @@ -21,11 +21,12 @@ package monitoringpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/snooze_service.pb.go b/monitoring/apiv3/v2/monitoringpb/snooze_service.pb.go index b489a61c4be7..82e491b81fdb 100755 --- a/monitoring/apiv3/v2/monitoringpb/snooze_service.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/snooze_service.pb.go @@ -22,6 +22,9 @@ package monitoringpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( @@ -320,11 +321,11 @@ func (x *GetSnoozeRequest) GetName() string { // What fields can be updated depends on the start time and end time of the // `Snooze`. // -// * end time is in the past: These `Snooze`s are considered +// - end time is in the past: These `Snooze`s are considered // read-only and cannot be updated. -// * start time is in the past and end time is in the future: `display_name` +// - start time is in the past and end time is in the future: `display_name` // and `interval.end_time` can be updated. -// * start time is in the future: `display_name`, `interval.start_time` and +// - start time is in the future: `display_name`, `interval.start_time` and // `interval.end_time` can be updated. type UpdateSnoozeRequest struct { state protoimpl.MessageState diff --git a/monitoring/apiv3/v2/monitoringpb/span_context.pb.go b/monitoring/apiv3/v2/monitoringpb/span_context.pb.go index 4b8a341237d1..9327a5c057dd 100755 --- a/monitoring/apiv3/v2/monitoringpb/span_context.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/span_context.pb.go @@ -21,10 +21,11 @@ package monitoringpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( @@ -40,7 +41,7 @@ const ( // // It contains the name of a span with format: // -// projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID] +// projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID] type SpanContext struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/monitoring/apiv3/v2/monitoringpb/uptime.pb.go b/monitoring/apiv3/v2/monitoringpb/uptime.pb.go index 7719d4675e5c..8a8991464a70 100755 --- a/monitoring/apiv3/v2/monitoringpb/uptime.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/uptime.pb.go @@ -21,13 +21,14 @@ package monitoringpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/monitoring/apiv3/v2/monitoringpb/uptime_service.pb.go b/monitoring/apiv3/v2/monitoringpb/uptime_service.pb.go index 342d60082081..c4a664777708 100755 --- a/monitoring/apiv3/v2/monitoringpb/uptime_service.pb.go +++ b/monitoring/apiv3/v2/monitoringpb/uptime_service.pb.go @@ -22,6 +22,9 @@ package monitoringpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/alertchart.pb.go b/monitoring/dashboard/apiv1/dashboardpb/alertchart.pb.go index 7b35db61aea0..ed8832442753 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/alertchart.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/alertchart.pb.go @@ -21,11 +21,12 @@ package dashboardpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/collapsible_group.pb.go b/monitoring/dashboard/apiv1/dashboardpb/collapsible_group.pb.go index 3ea2ea7a957c..ed8d0e60dbcb 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/collapsible_group.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/collapsible_group.pb.go @@ -21,10 +21,11 @@ package dashboardpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/common.pb.go b/monitoring/dashboard/apiv1/dashboardpb/common.pb.go index 8e4c3b1740d5..f27ba4dcf3a4 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/common.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/common.pb.go @@ -21,11 +21,12 @@ package dashboardpb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/dashboard.pb.go b/monitoring/dashboard/apiv1/dashboardpb/dashboard.pb.go index c5f5730e5834..1500733edb83 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/dashboard.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/dashboard.pb.go @@ -21,11 +21,12 @@ package dashboardpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/dashboard_filter.pb.go b/monitoring/dashboard/apiv1/dashboardpb/dashboard_filter.pb.go index d132ab19a171..fffea7611b76 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/dashboard_filter.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/dashboard_filter.pb.go @@ -21,11 +21,12 @@ package dashboardpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/dashboards_service.pb.go b/monitoring/dashboard/apiv1/dashboardpb/dashboards_service.pb.go index add7bbe4d744..aa572e3b9e9c 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/dashboards_service.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/dashboards_service.pb.go @@ -22,6 +22,9 @@ package dashboardpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" - sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/drilldowns.pb.go b/monitoring/dashboard/apiv1/dashboardpb/drilldowns.pb.go index 606ab1054d35..d8d70c3a7bdf 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/drilldowns.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/drilldowns.pb.go @@ -21,9 +21,10 @@ package dashboardpb import ( + reflect "reflect" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/layouts.pb.go b/monitoring/dashboard/apiv1/dashboardpb/layouts.pb.go index ba0a7343f10f..a3a823125482 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/layouts.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/layouts.pb.go @@ -21,10 +21,11 @@ package dashboardpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/logs_panel.pb.go b/monitoring/dashboard/apiv1/dashboardpb/logs_panel.pb.go index 8310d2924e83..f6ae985f275a 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/logs_panel.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/logs_panel.pb.go @@ -21,10 +21,11 @@ package dashboardpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/metrics.pb.go b/monitoring/dashboard/apiv1/dashboardpb/metrics.pb.go index 8daffc1c09d5..d308f963c46b 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/metrics.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/metrics.pb.go @@ -21,11 +21,12 @@ package dashboardpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/scorecard.pb.go b/monitoring/dashboard/apiv1/dashboardpb/scorecard.pb.go index cafc7c351bd1..6dedfc1c4c55 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/scorecard.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/scorecard.pb.go @@ -21,12 +21,13 @@ package dashboardpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/service.pb.go b/monitoring/dashboard/apiv1/dashboardpb/service.pb.go index 7f39f35929e1..478aae4fbdc4 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/service.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/service.pb.go @@ -21,9 +21,10 @@ package dashboardpb import ( + reflect "reflect" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/table.pb.go b/monitoring/dashboard/apiv1/dashboardpb/table.pb.go index 3fccd0759ef8..ad0b0ffb9194 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/table.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/table.pb.go @@ -21,12 +21,13 @@ package dashboardpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/table_display_options.pb.go b/monitoring/dashboard/apiv1/dashboardpb/table_display_options.pb.go index fca3ad7db05b..cad7740f58a4 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/table_display_options.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/table_display_options.pb.go @@ -21,11 +21,12 @@ package dashboardpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/text.pb.go b/monitoring/dashboard/apiv1/dashboardpb/text.pb.go index a5064cba198b..c2c062cbef74 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/text.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/text.pb.go @@ -21,10 +21,11 @@ package dashboardpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/widget.pb.go b/monitoring/dashboard/apiv1/dashboardpb/widget.pb.go index e64eb78cdb35..3468726bbda7 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/widget.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/widget.pb.go @@ -21,12 +21,13 @@ package dashboardpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" - sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/dashboardpb/xychart.pb.go b/monitoring/dashboard/apiv1/dashboardpb/xychart.pb.go index c6d26f5c17d7..100ca30d21ca 100755 --- a/monitoring/dashboard/apiv1/dashboardpb/xychart.pb.go +++ b/monitoring/dashboard/apiv1/dashboardpb/xychart.pb.go @@ -21,12 +21,13 @@ package dashboardpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/monitoring/dashboard/apiv1/doc.go b/monitoring/dashboard/apiv1/doc.go index d268b9e013a7..0111e8746fed 100755 --- a/monitoring/dashboard/apiv1/doc.go +++ b/monitoring/dashboard/apiv1/doc.go @@ -19,65 +19,66 @@ // // Manages your Cloud Monitoring data and configurations. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dashboard.NewDashboardsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dashboard.NewDashboardsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := dashboard.NewDashboardsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &dashboardpb.CreateDashboardRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb#CreateDashboardRequest. -// } -// resp, err := c.CreateDashboard(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := dashboard.NewDashboardsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &dashboardpb.CreateDashboardRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb#CreateDashboardRequest. +// } +// resp, err := c.CreateDashboard(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewDashboardsClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/monitoring/metricsscope/apiv1/doc.go b/monitoring/metricsscope/apiv1/doc.go index 23d6eacea9a1..dd243db3d29e 100755 --- a/monitoring/metricsscope/apiv1/doc.go +++ b/monitoring/metricsscope/apiv1/doc.go @@ -24,70 +24,71 @@ // concepts found in the table entries, read the Cloud Monitoring // documentation (at https://cloud.google.com/monitoring/docs). // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := metricsscope.NewMetricsScopesClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := metricsscope.NewMetricsScopesClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := metricsscope.NewMetricsScopesClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &metricsscopepb.CreateMonitoredProjectRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/monitoring/metricsscope/apiv1/metricsscopepb#CreateMonitoredProjectRequest. -// } -// op, err := c.CreateMonitoredProject(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := metricsscope.NewMetricsScopesClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &metricsscopepb.CreateMonitoredProjectRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/monitoring/metricsscope/apiv1/metricsscopepb#CreateMonitoredProjectRequest. +// } +// op, err := c.CreateMonitoredProject(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewMetricsScopesClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/monitoring/metricsscope/apiv1/metricsscopepb/metrics_scope.pb.go b/monitoring/metricsscope/apiv1/metricsscopepb/metrics_scope.pb.go index f3cbc6566c62..8447b88a4195 100755 --- a/monitoring/metricsscope/apiv1/metricsscopepb/metrics_scope.pb.go +++ b/monitoring/metricsscope/apiv1/metricsscopepb/metrics_scope.pb.go @@ -21,12 +21,13 @@ package metricsscopepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/monitoring/metricsscope/apiv1/metricsscopepb/metrics_scopes.pb.go b/monitoring/metricsscope/apiv1/metricsscopepb/metrics_scopes.pb.go index c0f546789ca5..73c3b4828337 100755 --- a/monitoring/metricsscope/apiv1/metricsscopepb/metrics_scopes.pb.go +++ b/monitoring/metricsscope/apiv1/metricsscopepb/metrics_scopes.pb.go @@ -21,8 +21,11 @@ package metricsscopepb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/netapp/apiv1/doc.go b/netapp/apiv1/doc.go index 9ae95d602a34..04acaf6151d2 100755 --- a/netapp/apiv1/doc.go +++ b/netapp/apiv1/doc.go @@ -21,72 +21,73 @@ // service that provides advanced data management capabilities and highly // scalable performance with global availability. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := netapp.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := netapp.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := netapp.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &netapppb.CreateActiveDirectoryRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/netapp/apiv1/netapppb#CreateActiveDirectoryRequest. -// } -// op, err := c.CreateActiveDirectory(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := netapp.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &netapppb.CreateActiveDirectoryRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/netapp/apiv1/netapppb#CreateActiveDirectoryRequest. +// } +// op, err := c.CreateActiveDirectory(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/netapp/apiv1/netapppb/active_directory.pb.go b/netapp/apiv1/netapppb/active_directory.pb.go index 1a442688c5bb..a496bf82744e 100755 --- a/netapp/apiv1/netapppb/active_directory.pb.go +++ b/netapp/apiv1/netapppb/active_directory.pb.go @@ -21,13 +21,14 @@ package netapppb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/netapp/apiv1/netapppb/cloud_netapp_service.pb.go b/netapp/apiv1/netapppb/cloud_netapp_service.pb.go index 176b3df4948e..e564dda02b7d 100755 --- a/netapp/apiv1/netapppb/cloud_netapp_service.pb.go +++ b/netapp/apiv1/netapppb/cloud_netapp_service.pb.go @@ -21,8 +21,11 @@ package netapppb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/netapp/apiv1/netapppb/common.pb.go b/netapp/apiv1/netapppb/common.pb.go index f5602310f7eb..053802591a87 100755 --- a/netapp/apiv1/netapppb/common.pb.go +++ b/netapp/apiv1/netapppb/common.pb.go @@ -21,10 +21,11 @@ package netapppb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/netapp/apiv1/netapppb/kms.pb.go b/netapp/apiv1/netapppb/kms.pb.go index c10d80f2f99c..838851df40a4 100755 --- a/netapp/apiv1/netapppb/kms.pb.go +++ b/netapp/apiv1/netapppb/kms.pb.go @@ -21,13 +21,14 @@ package netapppb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/netapp/apiv1/netapppb/replication.pb.go b/netapp/apiv1/netapppb/replication.pb.go index fc2f162a7b92..5cc031ef04b5 100755 --- a/netapp/apiv1/netapppb/replication.pb.go +++ b/netapp/apiv1/netapppb/replication.pb.go @@ -21,14 +21,15 @@ package netapppb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/netapp/apiv1/netapppb/snapshot.pb.go b/netapp/apiv1/netapppb/snapshot.pb.go index b2453cdf434e..ff60275a9564 100755 --- a/netapp/apiv1/netapppb/snapshot.pb.go +++ b/netapp/apiv1/netapppb/snapshot.pb.go @@ -21,13 +21,14 @@ package netapppb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/netapp/apiv1/netapppb/storage_pool.pb.go b/netapp/apiv1/netapppb/storage_pool.pb.go index feaf926d0f0b..dc97a3cc04b1 100755 --- a/netapp/apiv1/netapppb/storage_pool.pb.go +++ b/netapp/apiv1/netapppb/storage_pool.pb.go @@ -21,13 +21,14 @@ package netapppb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/netapp/apiv1/netapppb/volume.pb.go b/netapp/apiv1/netapppb/volume.pb.go index 0bdefa6460cc..fb94c9c48f0f 100755 --- a/netapp/apiv1/netapppb/volume.pb.go +++ b/netapp/apiv1/netapppb/volume.pb.go @@ -21,13 +21,14 @@ package netapppb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/networkconnectivity/apiv1/doc.go b/networkconnectivity/apiv1/doc.go index bde2417c9d5d..20f6d7e6dc3c 100755 --- a/networkconnectivity/apiv1/doc.go +++ b/networkconnectivity/apiv1/doc.go @@ -19,70 +19,71 @@ // // This API enables connectivity with and between Google Cloud resources. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := networkconnectivity.NewHubClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := networkconnectivity.NewHubClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := networkconnectivity.NewHubClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &networkconnectivitypb.AcceptHubSpokeRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/networkconnectivity/apiv1/networkconnectivitypb#AcceptHubSpokeRequest. -// } -// op, err := c.AcceptHubSpoke(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := networkconnectivity.NewHubClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &networkconnectivitypb.AcceptHubSpokeRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/networkconnectivity/apiv1/networkconnectivitypb#AcceptHubSpokeRequest. +// } +// op, err := c.AcceptHubSpoke(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewHubClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/networkconnectivity/apiv1/networkconnectivitypb/common.pb.go b/networkconnectivity/apiv1/networkconnectivitypb/common.pb.go index fe50d521446a..546362208468 100755 --- a/networkconnectivity/apiv1/networkconnectivitypb/common.pb.go +++ b/networkconnectivity/apiv1/networkconnectivitypb/common.pb.go @@ -21,12 +21,13 @@ package networkconnectivitypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/networkconnectivity/apiv1/networkconnectivitypb/hub.pb.go b/networkconnectivity/apiv1/networkconnectivitypb/hub.pb.go index 47449ab1f3b2..acd4dd6dde70 100755 --- a/networkconnectivity/apiv1/networkconnectivitypb/hub.pb.go +++ b/networkconnectivity/apiv1/networkconnectivitypb/hub.pb.go @@ -21,8 +21,11 @@ package networkconnectivitypb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -1657,7 +1658,6 @@ func (x *DeleteHubRequest) GetRequestId() string { // The request for // [HubService.ListHubSpokes][google.cloud.networkconnectivity.v1.HubService.ListHubSpokes]. -// type ListHubSpokesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/networkconnectivity/apiv1/networkconnectivitypb/policy_based_routing.pb.go b/networkconnectivity/apiv1/networkconnectivitypb/policy_based_routing.pb.go index 08422f698adc..7ff8b2777a03 100755 --- a/networkconnectivity/apiv1/networkconnectivitypb/policy_based_routing.pb.go +++ b/networkconnectivity/apiv1/networkconnectivitypb/policy_based_routing.pb.go @@ -21,8 +21,11 @@ package networkconnectivitypb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/networkconnectivity/apiv1alpha1/doc.go b/networkconnectivity/apiv1alpha1/doc.go index 299a6e91eb4b..097a79823e99 100755 --- a/networkconnectivity/apiv1alpha1/doc.go +++ b/networkconnectivity/apiv1alpha1/doc.go @@ -20,72 +20,73 @@ // The Network Connectivity API will be home to various services which // provide information pertaining to network connectivity. // -// NOTE: This package is in alpha. It is not stable, and is likely to change. +// NOTE: This package is in alpha. It is not stable, and is likely to change. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := networkconnectivity.NewHubClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := networkconnectivity.NewHubClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := networkconnectivity.NewHubClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &networkconnectivitypb.CreateHubRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/networkconnectivity/apiv1alpha1/networkconnectivitypb#CreateHubRequest. -// } -// op, err := c.CreateHub(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := networkconnectivity.NewHubClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &networkconnectivitypb.CreateHubRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/networkconnectivity/apiv1alpha1/networkconnectivitypb#CreateHubRequest. +// } +// op, err := c.CreateHub(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewHubClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/networkconnectivity/apiv1alpha1/networkconnectivitypb/common.pb.go b/networkconnectivity/apiv1alpha1/networkconnectivitypb/common.pb.go index c72c84425520..a4d64e5e5884 100755 --- a/networkconnectivity/apiv1alpha1/networkconnectivitypb/common.pb.go +++ b/networkconnectivity/apiv1alpha1/networkconnectivitypb/common.pb.go @@ -21,12 +21,13 @@ package networkconnectivitypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/networkconnectivity/apiv1alpha1/networkconnectivitypb/hub.pb.go b/networkconnectivity/apiv1alpha1/networkconnectivitypb/hub.pb.go index e6f6e2c212e6..949f04679f8a 100755 --- a/networkconnectivity/apiv1alpha1/networkconnectivitypb/hub.pb.go +++ b/networkconnectivity/apiv1alpha1/networkconnectivitypb/hub.pb.go @@ -21,8 +21,11 @@ package networkconnectivitypb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/networkmanagement/apiv1/doc.go b/networkmanagement/apiv1/doc.go index 3aafaa47445b..8ca0801208a4 100755 --- a/networkmanagement/apiv1/doc.go +++ b/networkmanagement/apiv1/doc.go @@ -20,70 +20,71 @@ // The Network Management API provides a collection of network performance // monitoring and diagnostic capabilities. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := networkmanagement.NewReachabilityClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := networkmanagement.NewReachabilityClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := networkmanagement.NewReachabilityClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &networkmanagementpb.CreateConnectivityTestRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb#CreateConnectivityTestRequest. -// } -// op, err := c.CreateConnectivityTest(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := networkmanagement.NewReachabilityClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &networkmanagementpb.CreateConnectivityTestRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb#CreateConnectivityTestRequest. +// } +// op, err := c.CreateConnectivityTest(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewReachabilityClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/networkmanagement/apiv1/networkmanagementpb/connectivity_test.pb.go b/networkmanagement/apiv1/networkmanagementpb/connectivity_test.pb.go index f88244d86eb5..f095e4fb7c2c 100755 --- a/networkmanagement/apiv1/networkmanagementpb/connectivity_test.pb.go +++ b/networkmanagement/apiv1/networkmanagementpb/connectivity_test.pb.go @@ -21,13 +21,14 @@ package networkmanagementpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/networkmanagement/apiv1/networkmanagementpb/reachability.pb.go b/networkmanagement/apiv1/networkmanagementpb/reachability.pb.go index 67484813671e..e679d7c25e32 100755 --- a/networkmanagement/apiv1/networkmanagementpb/reachability.pb.go +++ b/networkmanagement/apiv1/networkmanagementpb/reachability.pb.go @@ -21,8 +21,11 @@ package networkmanagementpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/networkmanagement/apiv1/networkmanagementpb/trace.pb.go b/networkmanagement/apiv1/networkmanagementpb/trace.pb.go index 7eb524c9a04c..601d6b9a2f55 100755 --- a/networkmanagement/apiv1/networkmanagementpb/trace.pb.go +++ b/networkmanagement/apiv1/networkmanagementpb/trace.pb.go @@ -21,10 +21,11 @@ package networkmanagementpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( @@ -1458,14 +1459,17 @@ func (DropInfo_Cause) EnumDescriptor() ([]byte, []int) { // Trace represents one simulated packet forwarding path. // -// * Each trace contains multiple ordered steps. -// * Each step is in a particular state with associated configuration. -// * State is categorized as final or non-final states. -// * Each final state has a reason associated. -// * Each trace must end with a final state (the last step). +// - Each trace contains multiple ordered steps. +// - Each step is in a particular state with associated configuration. +// - State is categorized as final or non-final states. +// - Each final state has a reason associated. +// - Each trace must end with a final state (the last step). +// // ``` -// |---------------------Trace----------------------| -// Step1(State) Step2(State) --- StepN(State(final)) +// +// |---------------------Trace----------------------| +// Step1(State) Step2(State) --- StepN(State(final)) +// // ``` type Trace struct { state protoimpl.MessageState diff --git a/networksecurity/apiv1beta1/doc.go b/networksecurity/apiv1beta1/doc.go index 7dd8860e3d18..6797d2458713 100755 --- a/networksecurity/apiv1beta1/doc.go +++ b/networksecurity/apiv1beta1/doc.go @@ -17,72 +17,73 @@ // Package networksecurity is an auto-generated package for the // Network Security API. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := networksecurity.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := networksecurity.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := networksecurity.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &networksecuritypb.CreateAuthorizationPolicyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/networksecurity/apiv1beta1/networksecuritypb#CreateAuthorizationPolicyRequest. -// } -// op, err := c.CreateAuthorizationPolicy(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := networksecurity.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &networksecuritypb.CreateAuthorizationPolicyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/networksecurity/apiv1beta1/networksecuritypb#CreateAuthorizationPolicyRequest. +// } +// op, err := c.CreateAuthorizationPolicy(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/networksecurity/apiv1beta1/networksecuritypb/authorization_policy.pb.go b/networksecurity/apiv1beta1/networksecuritypb/authorization_policy.pb.go index 2911d6492937..9bae1c964a5e 100755 --- a/networksecurity/apiv1beta1/networksecuritypb/authorization_policy.pb.go +++ b/networksecurity/apiv1beta1/networksecuritypb/authorization_policy.pb.go @@ -21,13 +21,14 @@ package networksecuritypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/networksecurity/apiv1beta1/networksecuritypb/client_tls_policy.pb.go b/networksecurity/apiv1beta1/networksecuritypb/client_tls_policy.pb.go index e96c226f0eed..7c6a097dd76f 100755 --- a/networksecurity/apiv1beta1/networksecuritypb/client_tls_policy.pb.go +++ b/networksecurity/apiv1beta1/networksecuritypb/client_tls_policy.pb.go @@ -21,13 +21,14 @@ package networksecuritypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/networksecurity/apiv1beta1/networksecuritypb/common.pb.go b/networksecurity/apiv1beta1/networksecuritypb/common.pb.go index 05115e2f4278..50db1f08c8c7 100755 --- a/networksecurity/apiv1beta1/networksecuritypb/common.pb.go +++ b/networksecurity/apiv1beta1/networksecuritypb/common.pb.go @@ -21,12 +21,13 @@ package networksecuritypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/networksecurity/apiv1beta1/networksecuritypb/network_security.pb.go b/networksecurity/apiv1beta1/networksecuritypb/network_security.pb.go index 27de50f1bb0d..43679cb9fe7d 100755 --- a/networksecurity/apiv1beta1/networksecuritypb/network_security.pb.go +++ b/networksecurity/apiv1beta1/networksecuritypb/network_security.pb.go @@ -21,15 +21,16 @@ package networksecuritypb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" ) const ( diff --git a/networksecurity/apiv1beta1/networksecuritypb/server_tls_policy.pb.go b/networksecurity/apiv1beta1/networksecuritypb/server_tls_policy.pb.go index 74e6f91d1080..6fb95836e5a0 100755 --- a/networksecurity/apiv1beta1/networksecuritypb/server_tls_policy.pb.go +++ b/networksecurity/apiv1beta1/networksecuritypb/server_tls_policy.pb.go @@ -21,13 +21,14 @@ package networksecuritypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/networksecurity/apiv1beta1/networksecuritypb/tls.pb.go b/networksecurity/apiv1beta1/networksecuritypb/tls.pb.go index 8e5889456104..f2bca9dc51ea 100755 --- a/networksecurity/apiv1beta1/networksecuritypb/tls.pb.go +++ b/networksecurity/apiv1beta1/networksecuritypb/tls.pb.go @@ -21,11 +21,12 @@ package networksecuritypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/notebooks/apiv1/doc.go b/notebooks/apiv1/doc.go index a1e9a84e4f7b..4aff25d429a7 100755 --- a/notebooks/apiv1/doc.go +++ b/notebooks/apiv1/doc.go @@ -19,70 +19,71 @@ // // Notebooks API is used to manage notebook resources in Google Cloud. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := notebooks.NewManagedNotebookClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := notebooks.NewManagedNotebookClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := notebooks.NewManagedNotebookClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := ¬ebookspb.CreateRuntimeRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/notebooks/apiv1/notebookspb#CreateRuntimeRequest. -// } -// op, err := c.CreateRuntime(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := notebooks.NewManagedNotebookClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := ¬ebookspb.CreateRuntimeRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/notebooks/apiv1/notebookspb#CreateRuntimeRequest. +// } +// op, err := c.CreateRuntime(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewManagedNotebookClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/notebooks/apiv1/notebookspb/diagnostic_config.pb.go b/notebooks/apiv1/notebookspb/diagnostic_config.pb.go index 030b124d0e5b..f5d8b87bf74b 100755 --- a/notebooks/apiv1/notebookspb/diagnostic_config.pb.go +++ b/notebooks/apiv1/notebookspb/diagnostic_config.pb.go @@ -21,11 +21,12 @@ package notebookspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/notebooks/apiv1/notebookspb/environment.pb.go b/notebooks/apiv1/notebookspb/environment.pb.go index bd21a9db0280..6e7a2c441f6f 100755 --- a/notebooks/apiv1/notebookspb/environment.pb.go +++ b/notebooks/apiv1/notebookspb/environment.pb.go @@ -21,12 +21,13 @@ package notebookspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/notebooks/apiv1/notebookspb/event.pb.go b/notebooks/apiv1/notebookspb/event.pb.go index bdacaffa2e80..e808f7b373ce 100755 --- a/notebooks/apiv1/notebookspb/event.pb.go +++ b/notebooks/apiv1/notebookspb/event.pb.go @@ -21,12 +21,13 @@ package notebookspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/notebooks/apiv1/notebookspb/execution.pb.go b/notebooks/apiv1/notebookspb/execution.pb.go index 1d4ba4353498..e7b9fb527c52 100755 --- a/notebooks/apiv1/notebookspb/execution.pb.go +++ b/notebooks/apiv1/notebookspb/execution.pb.go @@ -21,12 +21,13 @@ package notebookspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/notebooks/apiv1/notebookspb/instance.pb.go b/notebooks/apiv1/notebookspb/instance.pb.go index 109a91f962c4..43972fb26c88 100755 --- a/notebooks/apiv1/notebookspb/instance.pb.go +++ b/notebooks/apiv1/notebookspb/instance.pb.go @@ -21,12 +21,13 @@ package notebookspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/notebooks/apiv1/notebookspb/instance_config.pb.go b/notebooks/apiv1/notebookspb/instance_config.pb.go index 2b009dc680f8..03d9f3a4d947 100755 --- a/notebooks/apiv1/notebookspb/instance_config.pb.go +++ b/notebooks/apiv1/notebookspb/instance_config.pb.go @@ -21,10 +21,11 @@ package notebookspb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/notebooks/apiv1/notebookspb/managed_service.pb.go b/notebooks/apiv1/notebookspb/managed_service.pb.go index ced45cb8dae0..2739f90b4d2a 100755 --- a/notebooks/apiv1/notebookspb/managed_service.pb.go +++ b/notebooks/apiv1/notebookspb/managed_service.pb.go @@ -21,8 +21,11 @@ package notebookspb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -623,7 +624,8 @@ func (x *ResetRuntimeRequest) GetRequestId() string { // Request for upgrading a Managed Notebook Runtime to the latest version. // option (google.api.message_visibility).restriction = -// "TRUSTED_TESTER,SPECIAL_TESTER"; +// +// "TRUSTED_TESTER,SPECIAL_TESTER"; type UpgradeRuntimeRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/notebooks/apiv1/notebookspb/runtime.pb.go b/notebooks/apiv1/notebookspb/runtime.pb.go index 1c65cd0821d1..2c0d098a3f57 100755 --- a/notebooks/apiv1/notebookspb/runtime.pb.go +++ b/notebooks/apiv1/notebookspb/runtime.pb.go @@ -21,12 +21,13 @@ package notebookspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/notebooks/apiv1/notebookspb/schedule.pb.go b/notebooks/apiv1/notebookspb/schedule.pb.go index af98b43799e4..a5c0b1f57092 100755 --- a/notebooks/apiv1/notebookspb/schedule.pb.go +++ b/notebooks/apiv1/notebookspb/schedule.pb.go @@ -21,12 +21,13 @@ package notebookspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/notebooks/apiv1/notebookspb/service.pb.go b/notebooks/apiv1/notebookspb/service.pb.go index 97bcb74902e7..7bba7b75efcf 100755 --- a/notebooks/apiv1/notebookspb/service.pb.go +++ b/notebooks/apiv1/notebookspb/service.pb.go @@ -21,8 +21,11 @@ package notebookspb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/notebooks/apiv1beta1/doc.go b/notebooks/apiv1beta1/doc.go index 3b567271827b..7246d132fd8c 100755 --- a/notebooks/apiv1beta1/doc.go +++ b/notebooks/apiv1beta1/doc.go @@ -19,72 +19,73 @@ // // Notebooks API is used to manage notebook resources in Google Cloud. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := notebooks.NewNotebookClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := notebooks.NewNotebookClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := notebooks.NewNotebookClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := ¬ebookspb.CreateEnvironmentRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/notebooks/apiv1beta1/notebookspb#CreateEnvironmentRequest. -// } -// op, err := c.CreateEnvironment(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := notebooks.NewNotebookClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := ¬ebookspb.CreateEnvironmentRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/notebooks/apiv1beta1/notebookspb#CreateEnvironmentRequest. +// } +// op, err := c.CreateEnvironment(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewNotebookClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/notebooks/apiv1beta1/notebookspb/environment.pb.go b/notebooks/apiv1beta1/notebookspb/environment.pb.go index 92facc78a7ed..47a5bc4a6b29 100755 --- a/notebooks/apiv1beta1/notebookspb/environment.pb.go +++ b/notebooks/apiv1beta1/notebookspb/environment.pb.go @@ -21,12 +21,13 @@ package notebookspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/notebooks/apiv1beta1/notebookspb/instance.pb.go b/notebooks/apiv1beta1/notebookspb/instance.pb.go index 97b4d5e8251b..9cc3d5811ab1 100755 --- a/notebooks/apiv1beta1/notebookspb/instance.pb.go +++ b/notebooks/apiv1beta1/notebookspb/instance.pb.go @@ -21,12 +21,13 @@ package notebookspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/notebooks/apiv1beta1/notebookspb/service.pb.go b/notebooks/apiv1beta1/notebookspb/service.pb.go index ea5b152ff530..48866a685c7c 100755 --- a/notebooks/apiv1beta1/notebookspb/service.pb.go +++ b/notebooks/apiv1beta1/notebookspb/service.pb.go @@ -21,8 +21,11 @@ package notebookspb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/notebooks/apiv2/doc.go b/notebooks/apiv2/doc.go index 888eb4205130..13eee700598a 100755 --- a/notebooks/apiv2/doc.go +++ b/notebooks/apiv2/doc.go @@ -19,65 +19,66 @@ // // Notebooks API is used to manage notebook resources in Google Cloud. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := notebooks.NewNotebookClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := notebooks.NewNotebookClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := notebooks.NewNotebookClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := ¬ebookspb.CheckInstanceUpgradabilityRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/notebooks/apiv2/notebookspb#CheckInstanceUpgradabilityRequest. -// } -// resp, err := c.CheckInstanceUpgradability(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := notebooks.NewNotebookClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := ¬ebookspb.CheckInstanceUpgradabilityRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/notebooks/apiv2/notebookspb#CheckInstanceUpgradabilityRequest. +// } +// resp, err := c.CheckInstanceUpgradability(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewNotebookClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/notebooks/apiv2/notebookspb/diagnostic_config.pb.go b/notebooks/apiv2/notebookspb/diagnostic_config.pb.go index ba8a62da655a..a7cb88d5eabb 100755 --- a/notebooks/apiv2/notebookspb/diagnostic_config.pb.go +++ b/notebooks/apiv2/notebookspb/diagnostic_config.pb.go @@ -21,11 +21,12 @@ package notebookspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/notebooks/apiv2/notebookspb/event.pb.go b/notebooks/apiv2/notebookspb/event.pb.go index d05cbb80beaf..762f11ca819d 100755 --- a/notebooks/apiv2/notebookspb/event.pb.go +++ b/notebooks/apiv2/notebookspb/event.pb.go @@ -21,12 +21,13 @@ package notebookspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/notebooks/apiv2/notebookspb/gce_setup.pb.go b/notebooks/apiv2/notebookspb/gce_setup.pb.go index 231d7e8884fe..b568fb4e6f70 100755 --- a/notebooks/apiv2/notebookspb/gce_setup.pb.go +++ b/notebooks/apiv2/notebookspb/gce_setup.pb.go @@ -21,11 +21,12 @@ package notebookspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/notebooks/apiv2/notebookspb/instance.pb.go b/notebooks/apiv2/notebookspb/instance.pb.go index 463c1f585a2c..c8912c838a8b 100755 --- a/notebooks/apiv2/notebookspb/instance.pb.go +++ b/notebooks/apiv2/notebookspb/instance.pb.go @@ -21,12 +21,13 @@ package notebookspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/notebooks/apiv2/notebookspb/service.pb.go b/notebooks/apiv2/notebookspb/service.pb.go index 6fd64e8ea145..ced2d8d7fa69 100755 --- a/notebooks/apiv2/notebookspb/service.pb.go +++ b/notebooks/apiv2/notebookspb/service.pb.go @@ -21,8 +21,11 @@ package notebookspb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/optimization/apiv1/doc.go b/optimization/apiv1/doc.go index e9c16e371d6e..7e8d87792419 100755 --- a/optimization/apiv1/doc.go +++ b/optimization/apiv1/doc.go @@ -21,70 +21,71 @@ // optimization use cases starting with optimal route planning for vehicle // fleets. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := optimization.NewFleetRoutingClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := optimization.NewFleetRoutingClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := optimization.NewFleetRoutingClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &optimizationpb.BatchOptimizeToursRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/optimization/apiv1/optimizationpb#BatchOptimizeToursRequest. -// } -// op, err := c.BatchOptimizeTours(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := optimization.NewFleetRoutingClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &optimizationpb.BatchOptimizeToursRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/optimization/apiv1/optimizationpb#BatchOptimizeToursRequest. +// } +// op, err := c.BatchOptimizeTours(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewFleetRoutingClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/optimization/apiv1/fleet_routing_client.go b/optimization/apiv1/fleet_routing_client.go index c664b4b05225..b2927a8ef131 100755 --- a/optimization/apiv1/fleet_routing_client.go +++ b/optimization/apiv1/fleet_routing_client.go @@ -138,29 +138,29 @@ type internalFleetRoutingClient interface { // // Validity of certain types of fields: // -// google.protobuf.Timestamp +// google.protobuf.Timestamp // -// Times are in Unix time: seconds since 1970-01-01T00:00:00+00:00. +// Times are in Unix time: seconds since 1970-01-01T00:00:00+00:00. // -// seconds must be in [0, 253402300799], -// i.e. in [1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00]. +// seconds must be in [0, 253402300799], +// i.e. in [1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00]. // -// nanos must be unset or set to 0. +// nanos must be unset or set to 0. // -// google.protobuf.Duration +// google.protobuf.Duration // -// seconds must be in [0, 253402300799], -// i.e. in [1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00]. +// seconds must be in [0, 253402300799], +// i.e. in [1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00]. // -// nanos must be unset or set to 0. +// nanos must be unset or set to 0. // -// google.type.LatLng +// google.type.LatLng // -// latitude must be in [-90.0, 90.0]. +// latitude must be in [-90.0, 90.0]. // -// longitude must be in [-180.0, 180.0]. +// longitude must be in [-180.0, 180.0]. // -// at least one of latitude and longitude must be non-zero. +// at least one of latitude and longitude must be non-zero. type FleetRoutingClient struct { // The internal transport-dependent client. internalClient internalFleetRoutingClient @@ -271,29 +271,29 @@ type fleetRoutingGRPCClient struct { // // Validity of certain types of fields: // -// google.protobuf.Timestamp +// google.protobuf.Timestamp // -// Times are in Unix time: seconds since 1970-01-01T00:00:00+00:00. +// Times are in Unix time: seconds since 1970-01-01T00:00:00+00:00. // -// seconds must be in [0, 253402300799], -// i.e. in [1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00]. +// seconds must be in [0, 253402300799], +// i.e. in [1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00]. // -// nanos must be unset or set to 0. +// nanos must be unset or set to 0. // -// google.protobuf.Duration +// google.protobuf.Duration // -// seconds must be in [0, 253402300799], -// i.e. in [1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00]. +// seconds must be in [0, 253402300799], +// i.e. in [1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00]. // -// nanos must be unset or set to 0. +// nanos must be unset or set to 0. // -// google.type.LatLng +// google.type.LatLng // -// latitude must be in [-90.0, 90.0]. +// latitude must be in [-90.0, 90.0]. // -// longitude must be in [-180.0, 180.0]. +// longitude must be in [-180.0, 180.0]. // -// at least one of latitude and longitude must be non-zero. +// at least one of latitude and longitude must be non-zero. func NewFleetRoutingClient(ctx context.Context, opts ...option.ClientOption) (*FleetRoutingClient, error) { clientOpts := defaultFleetRoutingGRPCClientOptions() if newFleetRoutingClientHook != nil { @@ -383,29 +383,29 @@ type fleetRoutingRESTClient struct { // // Validity of certain types of fields: // -// google.protobuf.Timestamp +// google.protobuf.Timestamp // -// Times are in Unix time: seconds since 1970-01-01T00:00:00+00:00. +// Times are in Unix time: seconds since 1970-01-01T00:00:00+00:00. // -// seconds must be in [0, 253402300799], -// i.e. in [1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00]. +// seconds must be in [0, 253402300799], +// i.e. in [1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00]. // -// nanos must be unset or set to 0. +// nanos must be unset or set to 0. // -// google.protobuf.Duration +// google.protobuf.Duration // -// seconds must be in [0, 253402300799], -// i.e. in [1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00]. +// seconds must be in [0, 253402300799], +// i.e. in [1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00]. // -// nanos must be unset or set to 0. +// nanos must be unset or set to 0. // -// google.type.LatLng +// google.type.LatLng // -// latitude must be in [-90.0, 90.0]. +// latitude must be in [-90.0, 90.0]. // -// longitude must be in [-180.0, 180.0]. +// longitude must be in [-180.0, 180.0]. // -// at least one of latitude and longitude must be non-zero. +// at least one of latitude and longitude must be non-zero. func NewFleetRoutingRESTClient(ctx context.Context, opts ...option.ClientOption) (*FleetRoutingClient, error) { clientOpts := append(defaultFleetRoutingRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/optimization/apiv1/optimizationpb/async_model.pb.go b/optimization/apiv1/optimizationpb/async_model.pb.go index 72dcfb42ab54..9c770f1da6c2 100755 --- a/optimization/apiv1/optimizationpb/async_model.pb.go +++ b/optimization/apiv1/optimizationpb/async_model.pb.go @@ -21,12 +21,13 @@ package optimizationpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/optimization/apiv1/optimizationpb/fleet_routing.pb.go b/optimization/apiv1/optimizationpb/fleet_routing.pb.go index 7466a31a3b2f..fce14b5f96f3 100755 --- a/optimization/apiv1/optimizationpb/fleet_routing.pb.go +++ b/optimization/apiv1/optimizationpb/fleet_routing.pb.go @@ -21,8 +21,11 @@ package optimizationpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" grpc "google.golang.org/grpc" @@ -32,8 +35,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -1156,10 +1157,10 @@ func (*BatchOptimizeToursResponse) Descriptor() ([]byte, []int) { // A shipment model contains a set of shipments which must be performed by a // set of vehicles, while minimizing the overall cost, which is the sum of: // -// * the cost of routing the vehicles (sum of cost per total time, cost per -// travel time, and fixed cost over all vehicles). -// * the unperformed shipment penalties. -// * the cost of the global duration of the shipments +// - the cost of routing the vehicles (sum of cost per total time, cost per +// travel time, and fixed cost over all vehicles). +// - the unperformed shipment penalties. +// - the cost of the global duration of the shipments type ShipmentModel struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2403,8 +2404,10 @@ func (x *Vehicle) GetEndLoadIntervals() []*CapacityQuantityInterval { // [ShipmentModel.global_end_time][google.cloud.optimization.v1.ShipmentModel.global_end_time]) // and should respect: // ``` -// 0 <= `start_time` <= `soft_start_time` <= `end_time` and -// 0 <= `start_time` <= `soft_end_time` <= `end_time`. +// +// 0 <= `start_time` <= `soft_start_time` <= `end_time` and +// 0 <= `start_time` <= `soft_end_time` <= `end_time`. +// // ``` type TimeWindow struct { state protoimpl.MessageState @@ -3052,12 +3055,12 @@ func (x *Location) GetHeading() int32 { // is a contiguous period of time during which the vehicle remains idle at its // current position and cannot perform any visit. A break may occur: // -// * during the travel between two visits (which includes the time right -// before or right after a visit, but not in the middle of a visit), in -// which case it extends the corresponding transit time between the visits, -// * or before the vehicle start (the vehicle may not start in the middle of -// a break), in which case it does not affect the vehicle start time. -// * or after the vehicle end (ditto, with the vehicle end time). +// - during the travel between two visits (which includes the time right +// before or right after a visit, but not in the middle of a visit), in +// which case it extends the corresponding transit time between the visits, +// - or before the vehicle start (the vehicle may not start in the middle of +// a break), in which case it does not affect the vehicle start time. +// - or after the vehicle end (ditto, with the vehicle end time). type BreakRule struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -3119,85 +3122,97 @@ func (x *BreakRule) GetFrequencyConstraints() []*BreakRule_FrequencyConstraint { // A vehicle's route can be decomposed, along the time axis, like this (we // assume there are n visits): // ``` -// | | | | | T[2], | | | -// | Transition | Visit #0 | | | V[2], | | | -// | #0 | aka | T[1] | V[1] | ... | V[n-1] | T[n] | -// | aka T[0] | V[0] | | | V[n-2],| | | -// | | | | | T[n-1] | | | -// ^ ^ ^ ^ ^ ^ ^ ^ +// +// | | | | | T[2], | | | +// | Transition | Visit #0 | | | V[2], | | | +// | #0 | aka | T[1] | V[1] | ... | V[n-1] | T[n] | +// | aka T[0] | V[0] | | | V[n-2],| | | +// | | | | | T[n-1] | | | +// ^ ^ ^ ^ ^ ^ ^ ^ +// // vehicle V[0].start V[0].end V[1]. V[1]. V[n]. V[n]. vehicle -// start (arrival) (departure) start end start end end +// +// start (arrival) (departure) start end start end end +// // ``` // Note that we make a difference between: // -// * "punctual events", such as the vehicle start and end and each visit's start -// and end (aka arrival and departure). They happen at a given second. -// * "time intervals", such as the visits themselves, and the transition between -// visits. Though time intervals can sometimes have zero duration, i.e. start -// and end at the same second, they often have a positive duration. +// - "punctual events", such as the vehicle start and end and each visit's start +// and end (aka arrival and departure). They happen at a given second. +// - "time intervals", such as the visits themselves, and the transition between +// visits. Though time intervals can sometimes have zero duration, i.e. start +// and end at the same second, they often have a positive duration. // // Invariants: // -// * If there are n visits, there are n+1 transitions. -// * A visit is always surrounded by a transition before it (same index) and a -// transition after it (index + 1). -// * The vehicle start is always followed by transition #0. -// * The vehicle end is always preceded by transition #n. +// - If there are n visits, there are n+1 transitions. +// - A visit is always surrounded by a transition before it (same index) and a +// transition after it (index + 1). +// - The vehicle start is always followed by transition #0. +// - The vehicle end is always preceded by transition #n. // // Zooming in, here is what happens during a `Transition` and a `Visit`: // ``` // ---+-------------------------------------+-----------------------------+--> -// | TRANSITION[i] | VISIT[i] | -// | | | -// | * TRAVEL: the vehicle moves from | PERFORM the visit: | -// | VISIT[i-1].departure_location to | | -// | VISIT[i].arrival_location, which | * Spend some time: | -// | takes a given travel duration | the "visit duration". | -// | and distance | | -// | | * Load or unload | -// | * BREAKS: the driver may have | some quantities from the | -// | breaks (e.g. lunch break). | vehicle: the "demand". | -// | | | -// | * WAIT: the driver/vehicle does | | -// | nothing. This can happen for | | -// | many reasons, for example when | | -// | the vehicle reaches the next | | -// | event's destination before the | | -// | start of its time window | | -// | | | -// | * DELAY: *right before* the next | | -// | arrival. E.g. the vehicle and/or | | -// | driver spends time unloading. | | -// | | | +// +// | TRANSITION[i] | VISIT[i] | +// | | | +// | * TRAVEL: the vehicle moves from | PERFORM the visit: | +// | VISIT[i-1].departure_location to | | +// | VISIT[i].arrival_location, which | * Spend some time: | +// | takes a given travel duration | the "visit duration". | +// | and distance | | +// | | * Load or unload | +// | * BREAKS: the driver may have | some quantities from the | +// | breaks (e.g. lunch break). | vehicle: the "demand". | +// | | | +// | * WAIT: the driver/vehicle does | | +// | nothing. This can happen for | | +// | many reasons, for example when | | +// | the vehicle reaches the next | | +// | event's destination before the | | +// | start of its time window | | +// | | | +// | * DELAY: *right before* the next | | +// | arrival. E.g. the vehicle and/or | | +// | driver spends time unloading. | | +// | | | +// // ---+-------------------------------------+-----------------------------+--> -// ^ ^ ^ +// +// ^ ^ ^ +// // V[i-1].end V[i].start V[i].end // ``` // Lastly, here is how the TRAVEL, BREAKS, DELAY and WAIT can be arranged // during a transition. // -// * They don't overlap. -// * The DELAY is unique and *must* be a contiguous period of time right -// before the next visit (or vehicle end). Thus, it suffice to know the -// delay duration to know its start and end time. -// * The BREAKS are contiguous, non-overlapping periods of time. The -// response specifies the start time and duration of each break. -// * TRAVEL and WAIT are "preemptable": they can be interrupted several times -// during this transition. Clients can assume that travel happens "as soon as -// possible" and that "wait" fills the remaining time. +// - They don't overlap. +// - The DELAY is unique and *must* be a contiguous period of time right +// before the next visit (or vehicle end). Thus, it suffice to know the +// delay duration to know its start and end time. +// - The BREAKS are contiguous, non-overlapping periods of time. The +// response specifies the start time and duration of each break. +// - TRAVEL and WAIT are "preemptable": they can be interrupted several times +// during this transition. Clients can assume that travel happens "as soon as +// possible" and that "wait" fills the remaining time. // // A (complex) example: // ``` -// TRANSITION[i] +// +// TRANSITION[i] +// // --++-----+-----------------------------------------------------------++--> -// || | | | | | | || -// || T | B | T | | B | | D || -// || r | r | r | W | r | W | e || -// || a | e | a | a | e | a | l || -// || v | a | v | i | a | i | a || -// || e | k | e | t | k | t | y || -// || l | | l | | | | || -// || | | | | | | || +// +// || | | | | | | || +// || T | B | T | | B | | D || +// || r | r | r | W | r | W | e || +// || a | e | a | a | e | a | l || +// || v | a | v | i | a | i | a || +// || e | k | e | t | k | t | y || +// || l | | l | | | | || +// || | | | | | | || +// // --++-----------------------------------------------------------------++--> // ``` type ShipmentRoute struct { @@ -4484,12 +4499,12 @@ func (x *ShipmentModel_PrecedenceRule) GetOffsetDuration() *durationpb.Duration // remains idle at its current position and cannot perform any visit. A break // may occur: // -// * during the travel between two visits (which includes the time right -// before or right after a visit, but not in the middle of a visit), in -// which case it extends the corresponding transit time between the visits -// * before the vehicle start (the vehicle may not start in the middle of -// a break), in which case it does not affect the vehicle start time. -// * after the vehicle end (ditto, with the vehicle end time). +// - during the travel between two visits (which includes the time right +// before or right after a visit, but not in the middle of a visit), in +// which case it extends the corresponding transit time between the visits +// - before the vehicle start (the vehicle may not start in the middle of +// a break), in which case it does not affect the vehicle start time. +// - after the vehicle end (ditto, with the vehicle end time). // // Deprecated: Marked as deprecated in google/cloud/optimization/v1/fleet_routing.proto. type ShipmentModel_BreakRule struct { @@ -4689,10 +4704,12 @@ func (x *ShipmentModel_BreakRule_BreakRequest) GetMinDuration() *durationpb.Dura // must be at least one break of at least one hour", that example would // translate to the following `FrequencyConstraint`: // ``` -// { -// min_break_duration { seconds: 3600 } # 1 hour. -// max_inter_break_duration { seconds: 39600 } # 11 hours (12 - 1 = 11). -// } +// +// { +// min_break_duration { seconds: 3600 } # 1 hour. +// max_inter_break_duration { seconds: 39600 } # 11 hours (12 - 1 = 11). +// } +// // ``` // // The timing and duration of the breaks in the solution will respect all @@ -4702,18 +4719,20 @@ func (x *ShipmentModel_BreakRule_BreakRequest) GetMinDuration() *durationpb.Dura // A `FrequencyConstraint` may in practice apply to non-consecutive breaks. // For example, the following schedule honors the "1h every 12h" example: // ``` -// 04:00 vehicle start -// .. performing travel and visits .. -// 09:00 1 hour break -// 10:00 end of the break -// .. performing travel and visits .. -// 12:00 20-min lunch break -// 12:20 end of the break -// .. performing travel and visits .. -// 21:00 1 hour break -// 22:00 end of the break -// .. performing travel and visits .. -// 23:59 vehicle end +// +// 04:00 vehicle start +// .. performing travel and visits .. +// 09:00 1 hour break +// 10:00 end of the break +// .. performing travel and visits .. +// 12:00 20-min lunch break +// 12:20 end of the break +// .. performing travel and visits .. +// 21:00 1 hour break +// 22:00 end of the break +// .. performing travel and visits .. +// 23:59 vehicle end +// // ``` type ShipmentModel_BreakRule_FrequencyConstraint struct { state protoimpl.MessageState @@ -5386,10 +5405,12 @@ func (x *BreakRule_BreakRequest) GetMinDuration() *durationpb.Duration { // must be at least one break of at least one hour", that example would // translate to the following `FrequencyConstraint`: // ``` -// { -// min_break_duration { seconds: 3600 } # 1 hour. -// max_inter_break_duration { seconds: 39600 } # 11 hours (12 - 1 = 11). -// } +// +// { +// min_break_duration { seconds: 3600 } # 1 hour. +// max_inter_break_duration { seconds: 39600 } # 11 hours (12 - 1 = 11). +// } +// // ``` // // The timing and duration of the breaks in the solution will respect all @@ -5399,18 +5420,20 @@ func (x *BreakRule_BreakRequest) GetMinDuration() *durationpb.Duration { // A `FrequencyConstraint` may in practice apply to non-consecutive breaks. // For example, the following schedule honors the "1h every 12h" example: // ``` -// 04:00 vehicle start -// .. performing travel and visits .. -// 09:00 1 hour break -// 10:00 end of the break -// .. performing travel and visits .. -// 12:00 20-min lunch break -// 12:20 end of the break -// .. performing travel and visits .. -// 21:00 1 hour break -// 22:00 end of the break -// .. performing travel and visits .. -// 23:59 vehicle end +// +// 04:00 vehicle start +// .. performing travel and visits .. +// 09:00 1 hour break +// 10:00 end of the break +// .. performing travel and visits .. +// 12:00 20-min lunch break +// 12:20 end of the break +// .. performing travel and visits .. +// 21:00 1 hour break +// 22:00 end of the break +// .. performing travel and visits .. +// 23:59 vehicle end +// // ``` type BreakRule_FrequencyConstraint struct { state protoimpl.MessageState @@ -6172,20 +6195,24 @@ func (x *ShipmentRoute_TravelStep) GetRoutePolyline() *ShipmentRoute_EncodedPoly // i.e. where all fields are the same except for `example_vehicle_index`. // Example: // ``` -// reasons { -// code: DEMAND_EXCEEDS_VEHICLE_CAPACITY -// example_vehicle_index: 1 -// example_exceeded_capacity_type: "Apples" -// } -// reasons { -// code: DEMAND_EXCEEDS_VEHICLE_CAPACITY -// example_vehicle_index: 3 -// example_exceeded_capacity_type: "Pears" -// } -// reasons { -// code: CANNOT_BE_PERFORMED_WITHIN_VEHICLE_DISTANCE_LIMIT -// example_vehicle_index: 1 -// } +// +// reasons { +// code: DEMAND_EXCEEDS_VEHICLE_CAPACITY +// example_vehicle_index: 1 +// example_exceeded_capacity_type: "Apples" +// } +// +// reasons { +// code: DEMAND_EXCEEDS_VEHICLE_CAPACITY +// example_vehicle_index: 3 +// example_exceeded_capacity_type: "Pears" +// } +// +// reasons { +// code: CANNOT_BE_PERFORMED_WITHIN_VEHICLE_DISTANCE_LIMIT +// example_vehicle_index: 1 +// } +// // ``` // The skipped shipment is incompatible with all vehicles. The reasons may // be different for all vehicles but at least one vehicle's "Apples" @@ -6342,17 +6369,18 @@ func (x *InjectedSolutionConstraint_ConstraintRelaxation) GetVehicleIndices() [] // `relaxations(i).level` specifies the constraint relaxation level applied // to a visit #j that satisfies: // -// * `route.visits(j).start_time >= relaxations(i).threshold_time` AND -// * `j + 1 >= relaxations(i).threshold_visit_count` +// - `route.visits(j).start_time >= relaxations(i).threshold_time` AND +// - `j + 1 >= relaxations(i).threshold_visit_count` // // Similarly, the vehicle start is relaxed to `relaxations(i).level` if it // satisfies: // -// * `vehicle_start_time >= relaxations(i).threshold_time` AND -// * `relaxations(i).threshold_visit_count == 0` +// - `vehicle_start_time >= relaxations(i).threshold_time` AND +// - `relaxations(i).threshold_visit_count == 0` +// // and the vehicle end is relaxed to `relaxations(i).level` if it satisfies: -// * `vehicle_end_time >= relaxations(i).threshold_time` AND -// * `route.visits_size() + 1 >= relaxations(i).threshold_visit_count` +// - `vehicle_end_time >= relaxations(i).threshold_time` AND +// - `route.visits_size() + 1 >= relaxations(i).threshold_visit_count` // // To apply a relaxation level if a visit meets the `threshold_visit_count` // OR the `threshold_time` add two `relaxations` with the same `level`: diff --git a/orchestration/airflow/service/apiv1/doc.go b/orchestration/airflow/service/apiv1/doc.go index d8b966317dae..a5e578e90340 100755 --- a/orchestration/airflow/service/apiv1/doc.go +++ b/orchestration/airflow/service/apiv1/doc.go @@ -19,70 +19,71 @@ // // Manages Apache Airflow environments on Google Cloud Platform. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := service.NewEnvironmentsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := service.NewEnvironmentsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := service.NewEnvironmentsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &servicepb.CreateEnvironmentRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb#CreateEnvironmentRequest. -// } -// op, err := c.CreateEnvironment(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := service.NewEnvironmentsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &servicepb.CreateEnvironmentRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb#CreateEnvironmentRequest. +// } +// op, err := c.CreateEnvironment(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewEnvironmentsClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/orchestration/airflow/service/apiv1/servicepb/environments.pb.go b/orchestration/airflow/service/apiv1/servicepb/environments.pb.go index 787332dfeb75..957dd20473f2 100755 --- a/orchestration/airflow/service/apiv1/servicepb/environments.pb.go +++ b/orchestration/airflow/service/apiv1/servicepb/environments.pb.go @@ -21,8 +21,11 @@ package servicepb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -2186,11 +2187,13 @@ func (x *EncryptionConfig) GetKmsKeyName() string { // The following example: // // ``` -// { -// "startTime":"2019-08-01T01:00:00Z" -// "endTime":"2019-08-01T07:00:00Z" -// "recurrence":"FREQ=WEEKLY;BYDAY=TU,WE" -// } +// +// { +// "startTime":"2019-08-01T01:00:00Z" +// "endTime":"2019-08-01T07:00:00Z" +// "recurrence":"FREQ=WEEKLY;BYDAY=TU,WE" +// } +// // ``` // // would define a maintenance window between 01 and 07 hours UTC during diff --git a/orchestration/airflow/service/apiv1/servicepb/image_versions.pb.go b/orchestration/airflow/service/apiv1/servicepb/image_versions.pb.go index b45dc54b3d67..8ca29eb192d6 100755 --- a/orchestration/airflow/service/apiv1/servicepb/image_versions.pb.go +++ b/orchestration/airflow/service/apiv1/servicepb/image_versions.pb.go @@ -22,6 +22,9 @@ package servicepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" grpc "google.golang.org/grpc" @@ -29,8 +32,6 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/orchestration/airflow/service/apiv1/servicepb/operations.pb.go b/orchestration/airflow/service/apiv1/servicepb/operations.pb.go index a2714527a75b..1c015b41a443 100755 --- a/orchestration/airflow/service/apiv1/servicepb/operations.pb.go +++ b/orchestration/airflow/service/apiv1/servicepb/operations.pb.go @@ -21,11 +21,12 @@ package servicepb 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" - reflect "reflect" - sync "sync" ) const ( diff --git a/orgpolicy/apiv1/orgpolicypb/orgpolicy.pb.go b/orgpolicy/apiv1/orgpolicypb/orgpolicy.pb.go index 8a00ef2f62b8..8b4d438c42a3 100755 --- a/orgpolicy/apiv1/orgpolicypb/orgpolicy.pb.go +++ b/orgpolicy/apiv1/orgpolicypb/orgpolicy.pb.go @@ -22,11 +22,12 @@ package orgpolicypb 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" - reflect "reflect" - sync "sync" ) const ( @@ -278,9 +279,10 @@ func (*Policy_RestoreDefault_) isPolicy_PolicyType() {} // if the value contains a ":". Values prefixed with "is:" are treated the // same as values with no prefix. // Ancestry subtrees must be in one of the following formats: -// - "projects/", e.g. "projects/tokyo-rain-123" -// - "folders/", e.g. "folders/1234" -// - "organizations/", e.g. "organizations/1234" +// - "projects/", e.g. "projects/tokyo-rain-123" +// - "folders/", e.g. "folders/1234" +// - "organizations/", e.g. "organizations/1234" +// // The `supports_under` field of the associated `Constraint` defines whether // ancestry prefixes can be used. You can set `allowed_values` and // `denied_values` in the same `Policy` if `all_values` is diff --git a/orgpolicy/apiv2/doc.go b/orgpolicy/apiv2/doc.go index b818c48cbf49..d6cec7fb4eb0 100755 --- a/orgpolicy/apiv2/doc.go +++ b/orgpolicy/apiv2/doc.go @@ -20,65 +20,66 @@ // The Organization Policy API allows users to configure governance rules on // their Google Cloud resources across the resource hierarchy. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := orgpolicy.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := orgpolicy.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := orgpolicy.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &orgpolicypb.CreatePolicyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/orgpolicy/apiv2/orgpolicypb#CreatePolicyRequest. -// } -// resp, err := c.CreatePolicy(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := orgpolicy.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &orgpolicypb.CreatePolicyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/orgpolicy/apiv2/orgpolicypb#CreatePolicyRequest. +// } +// resp, err := c.CreatePolicy(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/orgpolicy/apiv2/orgpolicypb/constraint.pb.go b/orgpolicy/apiv2/orgpolicypb/constraint.pb.go index 590cc68962cf..3c3722ffd203 100755 --- a/orgpolicy/apiv2/orgpolicypb/constraint.pb.go +++ b/orgpolicy/apiv2/orgpolicypb/constraint.pb.go @@ -21,12 +21,13 @@ package orgpolicypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/orgpolicy/apiv2/orgpolicypb/orgpolicy.pb.go b/orgpolicy/apiv2/orgpolicypb/orgpolicy.pb.go index 1d71edf1ae82..8f7789cbe4e5 100755 --- a/orgpolicy/apiv2/orgpolicypb/orgpolicy.pb.go +++ b/orgpolicy/apiv2/orgpolicypb/orgpolicy.pb.go @@ -22,6 +22,9 @@ package orgpolicypb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" expr "google.golang.org/genproto/googleapis/type/expr" grpc "google.golang.org/grpc" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -1012,9 +1013,10 @@ func (*PolicySpec_PolicyRule_Enforce) isPolicySpec_PolicyRule_Kind() {} // if the value contains a ":". Values prefixed with "is:" are treated the // same as values with no prefix. // Ancestry subtrees must be in one of the following formats: -// - "projects/", e.g. "projects/tokyo-rain-123" -// - "folders/", e.g. "folders/1234" -// - "organizations/", e.g. "organizations/1234" +// - "projects/", e.g. "projects/tokyo-rain-123" +// - "folders/", e.g. "folders/1234" +// - "organizations/", e.g. "organizations/1234" +// // The `supports_under` field of the associated `Constraint` defines // whether ancestry prefixes can be used. type PolicySpec_PolicyRule_StringValues struct { diff --git a/osconfig/agentendpoint/apiv1/agentendpointpb/agentendpoint.pb.go b/osconfig/agentendpoint/apiv1/agentendpointpb/agentendpoint.pb.go index 5ea098aa65b7..4965690c6579 100755 --- a/osconfig/agentendpoint/apiv1/agentendpointpb/agentendpoint.pb.go +++ b/osconfig/agentendpoint/apiv1/agentendpointpb/agentendpoint.pb.go @@ -22,14 +22,15 @@ package agentendpointpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/osconfig/agentendpoint/apiv1/agentendpointpb/config_common.pb.go b/osconfig/agentendpoint/apiv1/agentendpointpb/config_common.pb.go index 66e88020f525..2300386f98b0 100755 --- a/osconfig/agentendpoint/apiv1/agentendpointpb/config_common.pb.go +++ b/osconfig/agentendpoint/apiv1/agentendpointpb/config_common.pb.go @@ -21,10 +21,11 @@ package agentendpointpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/osconfig/agentendpoint/apiv1/agentendpointpb/inventory.pb.go b/osconfig/agentendpoint/apiv1/agentendpointpb/inventory.pb.go index b77af1ff4035..677a1e5bf379 100755 --- a/osconfig/agentendpoint/apiv1/agentendpointpb/inventory.pb.go +++ b/osconfig/agentendpoint/apiv1/agentendpointpb/inventory.pb.go @@ -21,12 +21,13 @@ package agentendpointpb import ( + reflect "reflect" + sync "sync" + date "google.golang.org/genproto/googleapis/type/date" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/osconfig/agentendpoint/apiv1/agentendpointpb/os_policy.pb.go b/osconfig/agentendpoint/apiv1/agentendpointpb/os_policy.pb.go index 4da1a1837d32..5886456ff8bf 100755 --- a/osconfig/agentendpoint/apiv1/agentendpointpb/os_policy.pb.go +++ b/osconfig/agentendpoint/apiv1/agentendpointpb/os_policy.pb.go @@ -21,11 +21,12 @@ package agentendpointpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/osconfig/agentendpoint/apiv1/agentendpointpb/patch_jobs.pb.go b/osconfig/agentendpoint/apiv1/agentendpointpb/patch_jobs.pb.go index 15615f33c407..871e0d955b18 100755 --- a/osconfig/agentendpoint/apiv1/agentendpointpb/patch_jobs.pb.go +++ b/osconfig/agentendpoint/apiv1/agentendpointpb/patch_jobs.pb.go @@ -21,10 +21,11 @@ package agentendpointpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/osconfig/agentendpoint/apiv1/agentendpointpb/tasks.pb.go b/osconfig/agentendpoint/apiv1/agentendpointpb/tasks.pb.go index a155909b9e7d..33f908f4e4a3 100755 --- a/osconfig/agentendpoint/apiv1/agentendpointpb/tasks.pb.go +++ b/osconfig/agentendpoint/apiv1/agentendpointpb/tasks.pb.go @@ -21,11 +21,12 @@ package agentendpointpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/osconfig/agentendpoint/apiv1/auxiliary.go b/osconfig/agentendpoint/apiv1/auxiliary.go index ddf58e36ee21..bffd2dc17d8d 100755 --- a/osconfig/agentendpoint/apiv1/auxiliary.go +++ b/osconfig/agentendpoint/apiv1/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package agentendpoint - -import () diff --git a/osconfig/agentendpoint/apiv1/doc.go b/osconfig/agentendpoint/apiv1/doc.go index 1c8586040aa2..9517499b8b97 100755 --- a/osconfig/agentendpoint/apiv1/doc.go +++ b/osconfig/agentendpoint/apiv1/doc.go @@ -20,42 +20,43 @@ // OS management tools that can be used for patch management, patch // compliance, and configuration management on VM instances. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := agentendpoint.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := agentendpoint.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// Use of Context +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/osconfig/agentendpoint/apiv1beta/agentendpointpb/agentendpoint.pb.go b/osconfig/agentendpoint/apiv1beta/agentendpointpb/agentendpoint.pb.go index 557282c9a5fe..be3a6f01bb39 100755 --- a/osconfig/agentendpoint/apiv1beta/agentendpointpb/agentendpoint.pb.go +++ b/osconfig/agentendpoint/apiv1beta/agentendpointpb/agentendpoint.pb.go @@ -22,14 +22,15 @@ package agentendpointpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/osconfig/agentendpoint/apiv1beta/agentendpointpb/guest_policies.pb.go b/osconfig/agentendpoint/apiv1beta/agentendpointpb/guest_policies.pb.go index ef00bffbb66c..fbb4d1224510 100755 --- a/osconfig/agentendpoint/apiv1beta/agentendpointpb/guest_policies.pb.go +++ b/osconfig/agentendpoint/apiv1beta/agentendpointpb/guest_policies.pb.go @@ -21,11 +21,12 @@ package agentendpointpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( @@ -339,7 +340,6 @@ func (SoftwareRecipe_Step_RunScript_Interpreter) EnumDescriptor() ([]byte, []int // The agent on the VM instance uses the system package manager to apply the // config. // -// // These are the commands that the agent uses to install or remove // packages. // @@ -870,14 +870,14 @@ func (*PackageRepository_Goo) isPackageRepository_Repository() {} // Additionally, recipes support executing a script (either defined in a file or // directly in this api) in bash, sh, cmd, and powershell. // -// Updating a software recipe +// # Updating a software recipe // // If a recipe is assigned to an instance and there is a recipe with the same // name but a lower version already installed and the assigned state // of the recipe is `INSTALLED_KEEP_UPDATED`, then the recipe is updated to // the new version. // -// Script Working Directories +// # Script Working Directories // // Each script or execution step is run in its own temporary directory which // is deleted after completing the step. diff --git a/osconfig/agentendpoint/apiv1beta/agentendpointpb/patch_jobs.pb.go b/osconfig/agentendpoint/apiv1beta/agentendpointpb/patch_jobs.pb.go index 87ed45a64150..35947baa6772 100755 --- a/osconfig/agentendpoint/apiv1beta/agentendpointpb/patch_jobs.pb.go +++ b/osconfig/agentendpoint/apiv1beta/agentendpointpb/patch_jobs.pb.go @@ -21,10 +21,11 @@ package agentendpointpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/osconfig/agentendpoint/apiv1beta/agentendpointpb/tasks.pb.go b/osconfig/agentendpoint/apiv1beta/agentendpointpb/tasks.pb.go index 2db54d27b45e..2db6ea64e464 100755 --- a/osconfig/agentendpoint/apiv1beta/agentendpointpb/tasks.pb.go +++ b/osconfig/agentendpoint/apiv1beta/agentendpointpb/tasks.pb.go @@ -21,11 +21,12 @@ package agentendpointpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/osconfig/agentendpoint/apiv1beta/auxiliary.go b/osconfig/agentendpoint/apiv1beta/auxiliary.go index ddf58e36ee21..bffd2dc17d8d 100755 --- a/osconfig/agentendpoint/apiv1beta/auxiliary.go +++ b/osconfig/agentendpoint/apiv1beta/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package agentendpoint - -import () diff --git a/osconfig/agentendpoint/apiv1beta/doc.go b/osconfig/agentendpoint/apiv1beta/doc.go index 684f9047936f..acda149452bd 100755 --- a/osconfig/agentendpoint/apiv1beta/doc.go +++ b/osconfig/agentendpoint/apiv1beta/doc.go @@ -20,67 +20,68 @@ // OS management tools that can be used for patch management, patch // compliance, and configuration management on VM instances. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := agentendpoint.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := agentendpoint.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := agentendpoint.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &agentendpointpb.LookupEffectiveGuestPolicyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb#LookupEffectiveGuestPolicyRequest. -// } -// resp, err := c.LookupEffectiveGuestPolicy(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := agentendpoint.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &agentendpointpb.LookupEffectiveGuestPolicyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb#LookupEffectiveGuestPolicyRequest. +// } +// resp, err := c.LookupEffectiveGuestPolicy(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/osconfig/apiv1/doc.go b/osconfig/apiv1/doc.go index ced72d6c5115..07b02ba4fc91 100755 --- a/osconfig/apiv1/doc.go +++ b/osconfig/apiv1/doc.go @@ -20,65 +20,66 @@ // OS management tools that can be used for patch management, patch // compliance, and configuration management on VM instances. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := osconfig.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := osconfig.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := osconfig.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &osconfigpb.CancelPatchJobRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/osconfig/apiv1/osconfigpb#CancelPatchJobRequest. -// } -// resp, err := c.CancelPatchJob(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := osconfig.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &osconfigpb.CancelPatchJobRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/osconfig/apiv1/osconfigpb#CancelPatchJobRequest. +// } +// resp, err := c.CancelPatchJob(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/osconfig/apiv1/os_config_client.go b/osconfig/apiv1/os_config_client.go index bb6396be0ace..8489fbc6714a 100755 --- a/osconfig/apiv1/os_config_client.go +++ b/osconfig/apiv1/os_config_client.go @@ -378,7 +378,7 @@ type internalClient interface { // Client is a client for interacting with OS Config API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// OS Config API +// # OS Config API // // The OS Config service is a server-side component that you can use to // manage package installations and patch jobs for virtual machine instances. @@ -497,7 +497,7 @@ type gRPCClient struct { // NewClient creates a new os config service client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// OS Config API +// # OS Config API // // The OS Config service is a server-side component that you can use to // manage package installations and patch jobs for virtual machine instances. @@ -569,7 +569,7 @@ type restClient struct { // NewRESTClient creates a new os config service rest client. // -// OS Config API +// # OS Config API // // The OS Config service is a server-side component that you can use to // manage package installations and patch jobs for virtual machine instances. diff --git a/osconfig/apiv1/os_config_zonal_client.go b/osconfig/apiv1/os_config_zonal_client.go index 0a514d04ffcb..ce32c979c531 100755 --- a/osconfig/apiv1/os_config_zonal_client.go +++ b/osconfig/apiv1/os_config_zonal_client.go @@ -384,7 +384,7 @@ type internalOsConfigZonalClient interface { // OsConfigZonalClient is a client for interacting with OS Config API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// Zonal OS Config API +// # Zonal OS Config API // // The OS Config service is the server-side component that allows users to // manage package installations and patch jobs for Compute Engine VM instances. @@ -564,7 +564,7 @@ type osConfigZonalGRPCClient struct { // NewOsConfigZonalClient creates a new os config zonal service client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// Zonal OS Config API +// # Zonal OS Config API // // The OS Config service is the server-side component that allows users to // manage package installations and patch jobs for Compute Engine VM instances. @@ -652,7 +652,7 @@ type osConfigZonalRESTClient struct { // NewOsConfigZonalRESTClient creates a new os config zonal service rest client. // -// Zonal OS Config API +// # Zonal OS Config API // // The OS Config service is the server-side component that allows users to // manage package installations and patch jobs for Compute Engine VM instances. diff --git a/osconfig/apiv1/osconfigpb/inventory.pb.go b/osconfig/apiv1/osconfigpb/inventory.pb.go index 5276c1c12533..d8a71531657a 100755 --- a/osconfig/apiv1/osconfigpb/inventory.pb.go +++ b/osconfig/apiv1/osconfigpb/inventory.pb.go @@ -21,13 +21,14 @@ package osconfigpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/osconfig/apiv1/osconfigpb/os_policy.pb.go b/osconfig/apiv1/osconfigpb/os_policy.pb.go index 4eec7b174cf8..a652e90fb8e1 100755 --- a/osconfig/apiv1/osconfigpb/os_policy.pb.go +++ b/osconfig/apiv1/osconfigpb/os_policy.pb.go @@ -21,11 +21,12 @@ package osconfigpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/osconfig/apiv1/osconfigpb/os_policy_assignment_reports.pb.go b/osconfig/apiv1/osconfigpb/os_policy_assignment_reports.pb.go index 184c62daa909..eba32452b0e2 100755 --- a/osconfig/apiv1/osconfigpb/os_policy_assignment_reports.pb.go +++ b/osconfig/apiv1/osconfigpb/os_policy_assignment_reports.pb.go @@ -21,12 +21,13 @@ package osconfigpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/osconfig/apiv1/osconfigpb/os_policy_assignments.pb.go b/osconfig/apiv1/osconfigpb/os_policy_assignments.pb.go index bcf89db6e8bd..20c7f63c5966 100755 --- a/osconfig/apiv1/osconfigpb/os_policy_assignments.pb.go +++ b/osconfig/apiv1/osconfigpb/os_policy_assignments.pb.go @@ -21,14 +21,15 @@ package osconfigpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -988,14 +989,14 @@ func (x *DeleteOSPolicyAssignmentRequest) GetName() string { } // Message representing label set. -// * A label is a key value pair set for a VM. -// * A LabelSet is a set of labels. -// * Labels within a LabelSet are ANDed. In other words, a LabelSet is -// applicable for a VM only if it matches all the labels in the -// LabelSet. -// * Example: A LabelSet with 2 labels: `env=prod` and `type=webserver` will -// only be applicable for those VMs with both labels -// present. +// - A label is a key value pair set for a VM. +// - A LabelSet is a set of labels. +// - Labels within a LabelSet are ANDed. In other words, a LabelSet is +// applicable for a VM only if it matches all the labels in the +// LabelSet. +// - Example: A LabelSet with 2 labels: `env=prod` and `type=webserver` will +// only be applicable for those VMs with both labels +// present. type OSPolicyAssignment_LabelSet struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/osconfig/apiv1/osconfigpb/osconfig_common.pb.go b/osconfig/apiv1/osconfigpb/osconfig_common.pb.go index 116acc69db38..479652346096 100755 --- a/osconfig/apiv1/osconfigpb/osconfig_common.pb.go +++ b/osconfig/apiv1/osconfigpb/osconfig_common.pb.go @@ -21,10 +21,11 @@ package osconfigpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/osconfig/apiv1/osconfigpb/osconfig_service.pb.go b/osconfig/apiv1/osconfigpb/osconfig_service.pb.go index f0fa510be5cf..f3e5a3be459e 100755 --- a/osconfig/apiv1/osconfigpb/osconfig_service.pb.go +++ b/osconfig/apiv1/osconfigpb/osconfig_service.pb.go @@ -22,6 +22,8 @@ package osconfigpb import ( context "context" + reflect "reflect" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,7 +31,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" ) const ( diff --git a/osconfig/apiv1/osconfigpb/osconfig_zonal_service.pb.go b/osconfig/apiv1/osconfigpb/osconfig_zonal_service.pb.go index bc18b9c71a4d..5c036739c3da 100755 --- a/osconfig/apiv1/osconfigpb/osconfig_zonal_service.pb.go +++ b/osconfig/apiv1/osconfigpb/osconfig_zonal_service.pb.go @@ -21,15 +21,16 @@ package osconfigpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" ) const ( diff --git a/osconfig/apiv1/osconfigpb/patch_deployments.pb.go b/osconfig/apiv1/osconfigpb/patch_deployments.pb.go index c276d72e5301..f21e1a396df0 100755 --- a/osconfig/apiv1/osconfigpb/patch_deployments.pb.go +++ b/osconfig/apiv1/osconfigpb/patch_deployments.pb.go @@ -21,6 +21,9 @@ package osconfigpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" datetime "google.golang.org/genproto/googleapis/type/datetime" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" @@ -30,8 +33,6 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/osconfig/apiv1/osconfigpb/patch_jobs.pb.go b/osconfig/apiv1/osconfigpb/patch_jobs.pb.go index a1883297153f..24c223b719f8 100755 --- a/osconfig/apiv1/osconfigpb/patch_jobs.pb.go +++ b/osconfig/apiv1/osconfigpb/patch_jobs.pb.go @@ -21,13 +21,14 @@ package osconfigpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/osconfig/apiv1/osconfigpb/vulnerability.pb.go b/osconfig/apiv1/osconfigpb/vulnerability.pb.go index c13aa22e37ce..97abe3912c33 100755 --- a/osconfig/apiv1/osconfigpb/vulnerability.pb.go +++ b/osconfig/apiv1/osconfigpb/vulnerability.pb.go @@ -21,12 +21,13 @@ package osconfigpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/osconfig/apiv1alpha/doc.go b/osconfig/apiv1alpha/doc.go index 89bc135c12b1..5325526fa3ae 100755 --- a/osconfig/apiv1alpha/doc.go +++ b/osconfig/apiv1alpha/doc.go @@ -20,72 +20,73 @@ // OS management tools that can be used for patch management, patch // compliance, and configuration management on VM instances. // -// NOTE: This package is in alpha. It is not stable, and is likely to change. +// NOTE: This package is in alpha. It is not stable, and is likely to change. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := osconfig.NewOsConfigZonalClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := osconfig.NewOsConfigZonalClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := osconfig.NewOsConfigZonalClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &osconfigpb.CreateOSPolicyAssignmentRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/osconfig/apiv1alpha/osconfigpb#CreateOSPolicyAssignmentRequest. -// } -// op, err := c.CreateOSPolicyAssignment(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := osconfig.NewOsConfigZonalClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &osconfigpb.CreateOSPolicyAssignmentRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/osconfig/apiv1alpha/osconfigpb#CreateOSPolicyAssignmentRequest. +// } +// op, err := c.CreateOSPolicyAssignment(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewOsConfigZonalClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/osconfig/apiv1alpha/os_config_zonal_client.go b/osconfig/apiv1alpha/os_config_zonal_client.go index 75a25796a2bd..3171cc302146 100755 --- a/osconfig/apiv1alpha/os_config_zonal_client.go +++ b/osconfig/apiv1alpha/os_config_zonal_client.go @@ -434,7 +434,7 @@ type internalOsConfigZonalClient interface { // OsConfigZonalClient is a client for interacting with OS Config API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// Zonal OS Config API +// # Zonal OS Config API // // The OS Config service is the server-side component that allows users to // manage package installations and patch jobs for Compute Engine VM instances. @@ -630,7 +630,7 @@ type osConfigZonalGRPCClient struct { // NewOsConfigZonalClient creates a new os config zonal service client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// Zonal OS Config API +// # Zonal OS Config API // // The OS Config service is the server-side component that allows users to // manage package installations and patch jobs for Compute Engine VM instances. @@ -718,7 +718,7 @@ type osConfigZonalRESTClient struct { // NewOsConfigZonalRESTClient creates a new os config zonal service rest client. // -// Zonal OS Config API +// # Zonal OS Config API // // The OS Config service is the server-side component that allows users to // manage package installations and patch jobs for Compute Engine VM instances. diff --git a/osconfig/apiv1alpha/osconfigpb/config_common.pb.go b/osconfig/apiv1alpha/osconfigpb/config_common.pb.go index e5c302c7876d..43ffcdda4bf5 100755 --- a/osconfig/apiv1alpha/osconfigpb/config_common.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/config_common.pb.go @@ -21,10 +21,11 @@ package osconfigpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/osconfig/apiv1alpha/osconfigpb/instance_os_policies_compliance.pb.go b/osconfig/apiv1alpha/osconfigpb/instance_os_policies_compliance.pb.go index 9fcdf6de0e58..2ff517c708d5 100755 --- a/osconfig/apiv1alpha/osconfigpb/instance_os_policies_compliance.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/instance_os_policies_compliance.pb.go @@ -21,12 +21,13 @@ package osconfigpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/osconfig/apiv1alpha/osconfigpb/inventory.pb.go b/osconfig/apiv1alpha/osconfigpb/inventory.pb.go index 95fccdb10f56..20e6d44d0d5d 100755 --- a/osconfig/apiv1alpha/osconfigpb/inventory.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/inventory.pb.go @@ -21,13 +21,14 @@ package osconfigpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/osconfig/apiv1alpha/osconfigpb/os_policy.pb.go b/osconfig/apiv1alpha/osconfigpb/os_policy.pb.go index 2a3a6fff246f..2c8f19457d6c 100755 --- a/osconfig/apiv1alpha/osconfigpb/os_policy.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/os_policy.pb.go @@ -21,11 +21,12 @@ package osconfigpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/osconfig/apiv1alpha/osconfigpb/os_policy_assignment_reports.pb.go b/osconfig/apiv1alpha/osconfigpb/os_policy_assignment_reports.pb.go index a5e94c101a58..b84c8b9db24d 100755 --- a/osconfig/apiv1alpha/osconfigpb/os_policy_assignment_reports.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/os_policy_assignment_reports.pb.go @@ -21,12 +21,13 @@ package osconfigpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/osconfig/apiv1alpha/osconfigpb/os_policy_assignments.pb.go b/osconfig/apiv1alpha/osconfigpb/os_policy_assignments.pb.go index 4a54640fb6ea..97295c98d09f 100755 --- a/osconfig/apiv1alpha/osconfigpb/os_policy_assignments.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/os_policy_assignments.pb.go @@ -21,14 +21,15 @@ package osconfigpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -986,14 +987,14 @@ func (x *DeleteOSPolicyAssignmentRequest) GetName() string { } // Message representing label set. -// * A label is a key value pair set for a VM. -// * A LabelSet is a set of labels. -// * Labels within a LabelSet are ANDed. In other words, a LabelSet is -// applicable for a VM only if it matches all the labels in the -// LabelSet. -// * Example: A LabelSet with 2 labels: `env=prod` and `type=webserver` will -// only be applicable for those VMs with both labels -// present. +// - A label is a key value pair set for a VM. +// - A LabelSet is a set of labels. +// - Labels within a LabelSet are ANDed. In other words, a LabelSet is +// applicable for a VM only if it matches all the labels in the +// LabelSet. +// - Example: A LabelSet with 2 labels: `env=prod` and `type=webserver` will +// only be applicable for those VMs with both labels +// present. type OSPolicyAssignment_LabelSet struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/osconfig/apiv1alpha/osconfigpb/osconfig_common.pb.go b/osconfig/apiv1alpha/osconfigpb/osconfig_common.pb.go index 54c3e1c097ba..c375922649f9 100755 --- a/osconfig/apiv1alpha/osconfigpb/osconfig_common.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/osconfig_common.pb.go @@ -21,10 +21,11 @@ package osconfigpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/osconfig/apiv1alpha/osconfigpb/osconfig_zonal_service.pb.go b/osconfig/apiv1alpha/osconfigpb/osconfig_zonal_service.pb.go index 5e54694969ac..1f78faed790e 100755 --- a/osconfig/apiv1alpha/osconfigpb/osconfig_zonal_service.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/osconfig_zonal_service.pb.go @@ -21,15 +21,16 @@ package osconfigpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" ) const ( diff --git a/osconfig/apiv1alpha/osconfigpb/vulnerability.pb.go b/osconfig/apiv1alpha/osconfigpb/vulnerability.pb.go index 30da0439ee09..5b7d25aa616d 100755 --- a/osconfig/apiv1alpha/osconfigpb/vulnerability.pb.go +++ b/osconfig/apiv1alpha/osconfigpb/vulnerability.pb.go @@ -21,12 +21,13 @@ package osconfigpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/osconfig/apiv1beta/doc.go b/osconfig/apiv1beta/doc.go index 25fd01d3c0c4..6292c244c721 100755 --- a/osconfig/apiv1beta/doc.go +++ b/osconfig/apiv1beta/doc.go @@ -20,67 +20,68 @@ // OS management tools that can be used for patch management, patch // compliance, and configuration management on VM instances. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := osconfig.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := osconfig.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := osconfig.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &osconfigpb.CancelPatchJobRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/osconfig/apiv1beta/osconfigpb#CancelPatchJobRequest. -// } -// resp, err := c.CancelPatchJob(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := osconfig.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &osconfigpb.CancelPatchJobRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/osconfig/apiv1beta/osconfigpb#CancelPatchJobRequest. +// } +// resp, err := c.CancelPatchJob(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/osconfig/apiv1beta/os_config_client.go b/osconfig/apiv1beta/os_config_client.go index 11f01bbda028..b8de83ac329d 100755 --- a/osconfig/apiv1beta/os_config_client.go +++ b/osconfig/apiv1beta/os_config_client.go @@ -528,7 +528,7 @@ type internalClient interface { // Client is a client for interacting with OS Config API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// OS Config API +// # OS Config API // // The OS Config service is a server-side component that you can use to // manage package installations and patch jobs for virtual machine instances. @@ -678,7 +678,7 @@ type gRPCClient struct { // NewClient creates a new os config service client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// OS Config API +// # OS Config API // // The OS Config service is a server-side component that you can use to // manage package installations and patch jobs for virtual machine instances. @@ -750,7 +750,7 @@ type restClient struct { // NewRESTClient creates a new os config service rest client. // -// OS Config API +// # OS Config API // // The OS Config service is a server-side component that you can use to // manage package installations and patch jobs for virtual machine instances. diff --git a/osconfig/apiv1beta/osconfigpb/guest_policies.pb.go b/osconfig/apiv1beta/osconfigpb/guest_policies.pb.go index 45431e04f9e8..5ca9e5369553 100755 --- a/osconfig/apiv1beta/osconfigpb/guest_policies.pb.go +++ b/osconfig/apiv1beta/osconfigpb/guest_policies.pb.go @@ -21,13 +21,14 @@ package osconfigpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -594,7 +595,6 @@ func (x *Assignment) GetOsTypes() []*Assignment_OsType { // The agent on the VM instance uses the system package manager to apply the // config. // -// // These are the commands that the agent uses to install or remove // packages. // @@ -1125,14 +1125,14 @@ func (*PackageRepository_Goo) isPackageRepository_Repository() {} // Additionally, recipes support executing a script (either defined in a file or // directly in this api) in bash, sh, cmd, and powershell. // -// Updating a software recipe +// # Updating a software recipe // // If a recipe is assigned to an instance and there is a recipe with the same // name but a lower version already installed and the assigned state // of the recipe is `UPDATED`, then the recipe is updated to // the new version. // -// Script Working Directories +// # Script Working Directories // // Each script or execution step is run in its own temporary directory which // is deleted after completing the step. diff --git a/osconfig/apiv1beta/osconfigpb/osconfig_common.pb.go b/osconfig/apiv1beta/osconfigpb/osconfig_common.pb.go index 51937e216644..47af36812269 100755 --- a/osconfig/apiv1beta/osconfigpb/osconfig_common.pb.go +++ b/osconfig/apiv1beta/osconfigpb/osconfig_common.pb.go @@ -21,10 +21,11 @@ package osconfigpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/osconfig/apiv1beta/osconfigpb/osconfig_service.pb.go b/osconfig/apiv1beta/osconfigpb/osconfig_service.pb.go index 742c9a407d5e..8b5c67a517bb 100755 --- a/osconfig/apiv1beta/osconfigpb/osconfig_service.pb.go +++ b/osconfig/apiv1beta/osconfigpb/osconfig_service.pb.go @@ -22,6 +22,8 @@ package osconfigpb import ( context "context" + reflect "reflect" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,7 +31,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" ) const ( diff --git a/osconfig/apiv1beta/osconfigpb/patch_deployments.pb.go b/osconfig/apiv1beta/osconfigpb/patch_deployments.pb.go index 1b95e03a8464..c643c2bdf7dd 100755 --- a/osconfig/apiv1beta/osconfigpb/patch_deployments.pb.go +++ b/osconfig/apiv1beta/osconfigpb/patch_deployments.pb.go @@ -21,6 +21,9 @@ package osconfigpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" datetime "google.golang.org/genproto/googleapis/type/datetime" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" @@ -30,8 +33,6 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/osconfig/apiv1beta/osconfigpb/patch_jobs.pb.go b/osconfig/apiv1beta/osconfigpb/patch_jobs.pb.go index 598ef9d8f477..1b53f0b97ccb 100755 --- a/osconfig/apiv1beta/osconfigpb/patch_jobs.pb.go +++ b/osconfig/apiv1beta/osconfigpb/patch_jobs.pb.go @@ -21,13 +21,14 @@ package osconfigpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/oslogin/apiv1/auxiliary.go b/oslogin/apiv1/auxiliary.go index b1fc1017c802..005bb926a097 100755 --- a/oslogin/apiv1/auxiliary.go +++ b/oslogin/apiv1/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package oslogin - -import () diff --git a/oslogin/apiv1/doc.go b/oslogin/apiv1/doc.go index c816baee9242..278ce0bba3cc 100755 --- a/oslogin/apiv1/doc.go +++ b/oslogin/apiv1/doc.go @@ -20,65 +20,66 @@ // You can use OS Login to manage access to your VM instances using IAM // roles. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := oslogin.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := oslogin.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := oslogin.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &osloginpb.CreateSshPublicKeyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/oslogin/apiv1/osloginpb#CreateSshPublicKeyRequest. -// } -// resp, err := c.CreateSshPublicKey(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := oslogin.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &osloginpb.CreateSshPublicKeyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/oslogin/apiv1/osloginpb#CreateSshPublicKeyRequest. +// } +// resp, err := c.CreateSshPublicKey(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/oslogin/apiv1/os_login_client.go b/oslogin/apiv1/os_login_client.go index c4cc1cfcbeed..70243f652041 100755 --- a/oslogin/apiv1/os_login_client.go +++ b/oslogin/apiv1/os_login_client.go @@ -243,7 +243,7 @@ type internalClient interface { // Client is a client for interacting with Cloud OS Login API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// Cloud OS Login API +// # Cloud OS Login API // // The Cloud OS Login API allows you to manage users and their associated SSH // public keys for logging into virtual machines on Google Cloud Platform. @@ -337,7 +337,7 @@ type gRPCClient struct { // NewClient creates a new os login service client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// Cloud OS Login API +// # Cloud OS Login API // // The Cloud OS Login API allows you to manage users and their associated SSH // public keys for logging into virtual machines on Google Cloud Platform. @@ -409,7 +409,7 @@ type restClient struct { // NewRESTClient creates a new os login service rest client. // -// Cloud OS Login API +// # Cloud OS Login API // // The Cloud OS Login API allows you to manage users and their associated SSH // public keys for logging into virtual machines on Google Cloud Platform. diff --git a/oslogin/apiv1/osloginpb/oslogin.pb.go b/oslogin/apiv1/osloginpb/oslogin.pb.go index d69f99b6d8c8..eb909892a0c5 100755 --- a/oslogin/apiv1/osloginpb/oslogin.pb.go +++ b/oslogin/apiv1/osloginpb/oslogin.pb.go @@ -21,8 +21,11 @@ package osloginpb import ( - commonpb "cloud.google.com/go/oslogin/common/commonpb" context "context" + reflect "reflect" + sync "sync" + + commonpb "cloud.google.com/go/oslogin/common/commonpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/oslogin/apiv1beta/auxiliary.go b/oslogin/apiv1beta/auxiliary.go index b1fc1017c802..005bb926a097 100755 --- a/oslogin/apiv1beta/auxiliary.go +++ b/oslogin/apiv1beta/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package oslogin - -import () diff --git a/oslogin/apiv1beta/doc.go b/oslogin/apiv1beta/doc.go index d4c6b0fa959f..fc99b0294e81 100755 --- a/oslogin/apiv1beta/doc.go +++ b/oslogin/apiv1beta/doc.go @@ -20,67 +20,68 @@ // You can use OS Login to manage access to your VM instances using IAM // roles. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := oslogin.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := oslogin.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := oslogin.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &osloginpb.CreateSshPublicKeyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/oslogin/apiv1beta/osloginpb#CreateSshPublicKeyRequest. -// } -// resp, err := c.CreateSshPublicKey(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := oslogin.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &osloginpb.CreateSshPublicKeyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/oslogin/apiv1beta/osloginpb#CreateSshPublicKeyRequest. +// } +// resp, err := c.CreateSshPublicKey(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/oslogin/apiv1beta/os_login_client.go b/oslogin/apiv1beta/os_login_client.go index c0af05902351..e39f97d0e177 100755 --- a/oslogin/apiv1beta/os_login_client.go +++ b/oslogin/apiv1beta/os_login_client.go @@ -247,7 +247,7 @@ type internalClient interface { // Client is a client for interacting with Cloud OS Login API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// Cloud OS Login API +// # Cloud OS Login API // // The Cloud OS Login API allows you to manage users and their associated SSH // public keys for logging into virtual machines on Google Cloud Platform. @@ -346,7 +346,7 @@ type gRPCClient struct { // NewClient creates a new os login service client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// Cloud OS Login API +// # Cloud OS Login API // // The Cloud OS Login API allows you to manage users and their associated SSH // public keys for logging into virtual machines on Google Cloud Platform. @@ -418,7 +418,7 @@ type restClient struct { // NewRESTClient creates a new os login service rest client. // -// Cloud OS Login API +// # Cloud OS Login API // // The Cloud OS Login API allows you to manage users and their associated SSH // public keys for logging into virtual machines on Google Cloud Platform. diff --git a/oslogin/apiv1beta/osloginpb/oslogin.pb.go b/oslogin/apiv1beta/osloginpb/oslogin.pb.go index b25bec02af96..f251433afc13 100755 --- a/oslogin/apiv1beta/osloginpb/oslogin.pb.go +++ b/oslogin/apiv1beta/osloginpb/oslogin.pb.go @@ -21,8 +21,11 @@ package osloginpb import ( - commonpb "cloud.google.com/go/oslogin/common/commonpb" context "context" + reflect "reflect" + sync "sync" + + commonpb "cloud.google.com/go/oslogin/common/commonpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/oslogin/common/commonpb/common.pb.go b/oslogin/common/commonpb/common.pb.go index 80024d317044..0de3a7391df9 100755 --- a/oslogin/common/commonpb/common.pb.go +++ b/oslogin/common/commonpb/common.pb.go @@ -21,11 +21,12 @@ package commonpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/phishingprotection/apiv1beta1/auxiliary.go b/phishingprotection/apiv1beta1/auxiliary.go index ebf4c74d1be3..b8aea1745cbf 100755 --- a/phishingprotection/apiv1beta1/auxiliary.go +++ b/phishingprotection/apiv1beta1/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package phishingprotection - -import () diff --git a/phishingprotection/apiv1beta1/doc.go b/phishingprotection/apiv1beta1/doc.go index 45b261c28650..d9c41bafbeec 100755 --- a/phishingprotection/apiv1beta1/doc.go +++ b/phishingprotection/apiv1beta1/doc.go @@ -17,67 +17,68 @@ // Package phishingprotection is an auto-generated package for the // Phishing Protection API. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := phishingprotection.NewPhishingProtectionServiceV1Beta1Client(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := phishingprotection.NewPhishingProtectionServiceV1Beta1Client(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := phishingprotection.NewPhishingProtectionServiceV1Beta1Client(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &phishingprotectionpb.ReportPhishingRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/phishingprotection/apiv1beta1/phishingprotectionpb#ReportPhishingRequest. -// } -// resp, err := c.ReportPhishing(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := phishingprotection.NewPhishingProtectionServiceV1Beta1Client(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &phishingprotectionpb.ReportPhishingRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/phishingprotection/apiv1beta1/phishingprotectionpb#ReportPhishingRequest. +// } +// resp, err := c.ReportPhishing(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewPhishingProtectionServiceV1Beta1Client is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/phishingprotection/apiv1beta1/phishingprotectionpb/phishingprotection.pb.go b/phishingprotection/apiv1beta1/phishingprotectionpb/phishingprotection.pb.go index ec09caaa1ea7..305a4d7f621d 100755 --- a/phishingprotection/apiv1beta1/phishingprotectionpb/phishingprotection.pb.go +++ b/phishingprotection/apiv1beta1/phishingprotectionpb/phishingprotection.pb.go @@ -23,14 +23,15 @@ package phishingprotectionpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/policysimulator/apiv1/doc.go b/policysimulator/apiv1/doc.go index b583373c0f28..51cd02ab753d 100755 --- a/policysimulator/apiv1/doc.go +++ b/policysimulator/apiv1/doc.go @@ -25,70 +25,71 @@ // and compares those results to determine how your members’ access might // change under the proposed policy. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := policysimulator.NewSimulatorClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := policysimulator.NewSimulatorClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := policysimulator.NewSimulatorClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &policysimulatorpb.CreateReplayRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/policysimulator/apiv1/policysimulatorpb#CreateReplayRequest. -// } -// op, err := c.CreateReplay(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := policysimulator.NewSimulatorClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &policysimulatorpb.CreateReplayRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/policysimulator/apiv1/policysimulatorpb#CreateReplayRequest. +// } +// op, err := c.CreateReplay(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewSimulatorClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/policysimulator/apiv1/policysimulatorpb/explanations.pb.go b/policysimulator/apiv1/policysimulatorpb/explanations.pb.go index 15fb3f3f4763..ed8be544481a 100755 --- a/policysimulator/apiv1/policysimulatorpb/explanations.pb.go +++ b/policysimulator/apiv1/policysimulatorpb/explanations.pb.go @@ -21,13 +21,14 @@ package policysimulatorpb import ( + reflect "reflect" + sync "sync" + iampb "cloud.google.com/go/iam/apiv1/iampb" _ "google.golang.org/genproto/googleapis/api/annotations" expr "google.golang.org/genproto/googleapis/type/expr" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/policysimulator/apiv1/policysimulatorpb/simulator.pb.go b/policysimulator/apiv1/policysimulatorpb/simulator.pb.go index 6fb2b0b433c1..e4fc48317fa2 100755 --- a/policysimulator/apiv1/policysimulatorpb/simulator.pb.go +++ b/policysimulator/apiv1/policysimulatorpb/simulator.pb.go @@ -21,9 +21,12 @@ package policysimulatorpb import ( + context "context" + reflect "reflect" + sync "sync" + iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" - context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" date "google.golang.org/genproto/googleapis/type/date" @@ -33,8 +36,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/policytroubleshooter/apiv1/auxiliary.go b/policytroubleshooter/apiv1/auxiliary.go index 2dbb1342d72a..c36b8ab72bfc 100755 --- a/policytroubleshooter/apiv1/auxiliary.go +++ b/policytroubleshooter/apiv1/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package policytroubleshooter - -import () diff --git a/policytroubleshooter/apiv1/doc.go b/policytroubleshooter/apiv1/doc.go index 66d47a911ac1..5a105b582b04 100755 --- a/policytroubleshooter/apiv1/doc.go +++ b/policytroubleshooter/apiv1/doc.go @@ -17,65 +17,66 @@ // Package policytroubleshooter is an auto-generated package for the // Policy Troubleshooter API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := policytroubleshooter.NewIamCheckerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := policytroubleshooter.NewIamCheckerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := policytroubleshooter.NewIamCheckerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &policytroubleshooterpb.TroubleshootIamPolicyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/policytroubleshooter/apiv1/policytroubleshooterpb#TroubleshootIamPolicyRequest. -// } -// resp, err := c.TroubleshootIamPolicy(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := policytroubleshooter.NewIamCheckerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &policytroubleshooterpb.TroubleshootIamPolicyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/policytroubleshooter/apiv1/policytroubleshooterpb#TroubleshootIamPolicyRequest. +// } +// resp, err := c.TroubleshootIamPolicy(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewIamCheckerClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/policytroubleshooter/apiv1/policytroubleshooterpb/checker.pb.go b/policytroubleshooter/apiv1/policytroubleshooterpb/checker.pb.go index 38f7e2f58e90..02443c7543a6 100755 --- a/policytroubleshooter/apiv1/policytroubleshooterpb/checker.pb.go +++ b/policytroubleshooter/apiv1/policytroubleshooterpb/checker.pb.go @@ -22,6 +22,9 @@ package policytroubleshooterpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -29,8 +32,6 @@ import ( status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/policytroubleshooter/apiv1/policytroubleshooterpb/explanations.pb.go b/policytroubleshooter/apiv1/policytroubleshooterpb/explanations.pb.go index d42dac14bd21..ed29c0196100 100755 --- a/policytroubleshooter/apiv1/policytroubleshooterpb/explanations.pb.go +++ b/policytroubleshooter/apiv1/policytroubleshooterpb/explanations.pb.go @@ -21,13 +21,14 @@ package policytroubleshooterpb import ( + reflect "reflect" + sync "sync" + iampb "cloud.google.com/go/iam/apiv1/iampb" _ "google.golang.org/genproto/googleapis/api/annotations" expr "google.golang.org/genproto/googleapis/type/expr" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/policytroubleshooter/iam/apiv3/auxiliary.go b/policytroubleshooter/iam/apiv3/auxiliary.go index c52ee3e8ba81..788f307f7089 100755 --- a/policytroubleshooter/iam/apiv3/auxiliary.go +++ b/policytroubleshooter/iam/apiv3/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package iam - -import () diff --git a/policytroubleshooter/iam/apiv3/doc.go b/policytroubleshooter/iam/apiv3/doc.go index a50c3bcfe8f2..00f437ef283e 100755 --- a/policytroubleshooter/iam/apiv3/doc.go +++ b/policytroubleshooter/iam/apiv3/doc.go @@ -17,65 +17,66 @@ // Package iam is an auto-generated package for the // Policy Troubleshooter API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := iam.NewPolicyTroubleshooterClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := iam.NewPolicyTroubleshooterClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := iam.NewPolicyTroubleshooterClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &iampb.TroubleshootIamPolicyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/policytroubleshooter/iam/apiv3/iampb#TroubleshootIamPolicyRequest. -// } -// resp, err := c.TroubleshootIamPolicy(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := iam.NewPolicyTroubleshooterClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &iampb.TroubleshootIamPolicyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/policytroubleshooter/iam/apiv3/iampb#TroubleshootIamPolicyRequest. +// } +// resp, err := c.TroubleshootIamPolicy(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewPolicyTroubleshooterClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/policytroubleshooter/iam/apiv3/iampb/troubleshooter.pb.go b/policytroubleshooter/iam/apiv3/iampb/troubleshooter.pb.go index 238a306ec917..0c276e6dcf49 100755 --- a/policytroubleshooter/iam/apiv3/iampb/troubleshooter.pb.go +++ b/policytroubleshooter/iam/apiv3/iampb/troubleshooter.pb.go @@ -21,9 +21,12 @@ package iampb import ( + context "context" + reflect "reflect" + sync "sync" + iampb "cloud.google.com/go/iam/apiv1/iampb" iampb1 "cloud.google.com/go/iam/apiv2/iampb" - context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" expr "google.golang.org/genproto/googleapis/type/expr" @@ -34,8 +37,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/privatecatalog/apiv1beta1/doc.go b/privatecatalog/apiv1beta1/doc.go index fadfcf0954c6..d6411409731f 100755 --- a/privatecatalog/apiv1beta1/doc.go +++ b/privatecatalog/apiv1beta1/doc.go @@ -20,73 +20,74 @@ // Enable cloud users to discover private catalogs and products in their // organizations. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := privatecatalog.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := privatecatalog.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := privatecatalog.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &privatecatalogpb.SearchCatalogsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/privatecatalog/apiv1beta1/privatecatalogpb#SearchCatalogsRequest. -// } -// it := c.SearchCatalogs(ctx, req) -// for { -// resp, err := it.Next() -// if err == iterator.Done { -// break -// } -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// } -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := privatecatalog.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &privatecatalogpb.SearchCatalogsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/privatecatalog/apiv1beta1/privatecatalogpb#SearchCatalogsRequest. +// } +// it := c.SearchCatalogs(ctx, req) +// for { +// resp, err := it.Next() +// if err == iterator.Done { +// break +// } +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// } +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/privatecatalog/apiv1beta1/privatecatalogpb/private_catalog.pb.go b/privatecatalog/apiv1beta1/privatecatalogpb/private_catalog.pb.go index a7406093e1bc..2ca247c53fd6 100755 --- a/privatecatalog/apiv1beta1/privatecatalogpb/private_catalog.pb.go +++ b/privatecatalog/apiv1beta1/privatecatalogpb/private_catalog.pb.go @@ -21,8 +21,11 @@ package privatecatalogpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/pubsub/apiv1/doc.go b/pubsub/apiv1/doc.go index 5146f9d8da22..b4d360c418a1 100755 --- a/pubsub/apiv1/doc.go +++ b/pubsub/apiv1/doc.go @@ -20,65 +20,66 @@ // Provides reliable, many-to-many, asynchronous messaging between // applications. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := pubsub.NewSchemaClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := pubsub.NewSchemaClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := pubsub.NewSchemaClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &pubsubpb.CommitSchemaRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/pubsub/apiv1/pubsubpb#CommitSchemaRequest. -// } -// resp, err := c.CommitSchema(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := pubsub.NewSchemaClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &pubsubpb.CommitSchemaRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/pubsub/apiv1/pubsubpb#CommitSchemaRequest. +// } +// resp, err := c.CommitSchema(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewSchemaClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/pubsub/apiv1/pubsubpb/pubsub.pb.go b/pubsub/apiv1/pubsubpb/pubsub.pb.go index 2bbd3d44edc6..c5bac0cd88b5 100755 --- a/pubsub/apiv1/pubsubpb/pubsub.pb.go +++ b/pubsub/apiv1/pubsubpb/pubsub.pb.go @@ -22,6 +22,9 @@ package pubsubpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/pubsub/apiv1/pubsubpb/schema.pb.go b/pubsub/apiv1/pubsubpb/schema.pb.go index be335ed690d9..871d30f005f9 100755 --- a/pubsub/apiv1/pubsubpb/schema.pb.go +++ b/pubsub/apiv1/pubsubpb/schema.pb.go @@ -22,6 +22,9 @@ package pubsubpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/pubsublite/apiv1/doc.go b/pubsublite/apiv1/doc.go index dbf4e71c380d..7733a2678166 100755 --- a/pubsublite/apiv1/doc.go +++ b/pubsublite/apiv1/doc.go @@ -17,65 +17,66 @@ // Package pubsublite is an auto-generated package for the // Pub/Sub Lite API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := pubsublite.NewAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := pubsublite.NewAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := pubsublite.NewAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &pubsublitepb.CreateReservationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/pubsublite/apiv1/pubsublitepb#CreateReservationRequest. -// } -// resp, err := c.CreateReservation(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := pubsublite.NewAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &pubsublitepb.CreateReservationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/pubsublite/apiv1/pubsublitepb#CreateReservationRequest. +// } +// resp, err := c.CreateReservation(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewAdminClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/pubsublite/apiv1/pubsublitepb/admin.pb.go b/pubsublite/apiv1/pubsublitepb/admin.pb.go index d584a1870cc3..a3f38590b5cb 100755 --- a/pubsublite/apiv1/pubsublitepb/admin.pb.go +++ b/pubsublite/apiv1/pubsublitepb/admin.pb.go @@ -21,8 +21,11 @@ package pubsublitepb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/pubsublite/apiv1/pubsublitepb/common.pb.go b/pubsublite/apiv1/pubsublitepb/common.pb.go index 6b1606beca6d..894bc6000cb5 100755 --- a/pubsublite/apiv1/pubsublitepb/common.pb.go +++ b/pubsublite/apiv1/pubsublitepb/common.pb.go @@ -21,13 +21,14 @@ package pubsublitepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/pubsublite/apiv1/pubsublitepb/cursor.pb.go b/pubsublite/apiv1/pubsublitepb/cursor.pb.go index f1f213c361b8..cb2349e58ac7 100755 --- a/pubsublite/apiv1/pubsublitepb/cursor.pb.go +++ b/pubsublite/apiv1/pubsublitepb/cursor.pb.go @@ -22,14 +22,15 @@ package pubsublitepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/pubsublite/apiv1/pubsublitepb/publisher.pb.go b/pubsublite/apiv1/pubsublitepb/publisher.pb.go index 78037a88341a..522340a7dcfa 100755 --- a/pubsublite/apiv1/pubsublitepb/publisher.pb.go +++ b/pubsublite/apiv1/pubsublitepb/publisher.pb.go @@ -22,14 +22,15 @@ package pubsublitepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/pubsublite/apiv1/pubsublitepb/subscriber.pb.go b/pubsublite/apiv1/pubsublitepb/subscriber.pb.go index 067c7a49b588..bf5e02030f05 100755 --- a/pubsublite/apiv1/pubsublitepb/subscriber.pb.go +++ b/pubsublite/apiv1/pubsublitepb/subscriber.pb.go @@ -22,14 +22,15 @@ package pubsublitepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( @@ -516,10 +517,10 @@ func (*SubscribeRequest_FlowControl) isSubscribeRequest_Request() {} // Response containing a list of messages. Upon delivering a MessageResponse to // the client, the server: -// * Updates the stream's delivery cursor to one greater than the cursor of the -// last message in the list. -// * Subtracts the total number of bytes and messages from the tokens available -// to the server. +// - Updates the stream's delivery cursor to one greater than the cursor of the +// last message in the list. +// - Subtracts the total number of bytes and messages from the tokens available +// to the server. type MessageResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/pubsublite/apiv1/pubsublitepb/topic_stats.pb.go b/pubsublite/apiv1/pubsublitepb/topic_stats.pb.go index c9018754ccc5..a46c08307189 100755 --- a/pubsublite/apiv1/pubsublitepb/topic_stats.pb.go +++ b/pubsublite/apiv1/pubsublitepb/topic_stats.pb.go @@ -22,6 +22,9 @@ package pubsublitepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/rapidmigrationassessment/apiv1/doc.go b/rapidmigrationassessment/apiv1/doc.go index f168bfae2ef0..c870d3dd6bd3 100755 --- a/rapidmigrationassessment/apiv1/doc.go +++ b/rapidmigrationassessment/apiv1/doc.go @@ -20,70 +20,71 @@ // The Rapid Migration Assessment service is our first-party migration // assessment and planning tool. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := rapidmigrationassessment.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := rapidmigrationassessment.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := rapidmigrationassessment.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &rapidmigrationassessmentpb.CreateAnnotationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb#CreateAnnotationRequest. -// } -// op, err := c.CreateAnnotation(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := rapidmigrationassessment.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &rapidmigrationassessmentpb.CreateAnnotationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb#CreateAnnotationRequest. +// } +// op, err := c.CreateAnnotation(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb/api_entities.pb.go b/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb/api_entities.pb.go index bb19b68dddf3..8d4bf7b2ca73 100755 --- a/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb/api_entities.pb.go +++ b/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb/api_entities.pb.go @@ -21,12 +21,13 @@ package rapidmigrationassessmentpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb/rapidmigrationassessment.pb.go b/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb/rapidmigrationassessment.pb.go index b19f0cf107c8..da786ec8f640 100755 --- a/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb/rapidmigrationassessment.pb.go +++ b/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb/rapidmigrationassessment.pb.go @@ -21,8 +21,11 @@ package rapidmigrationassessmentpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/recaptchaenterprise/apiv1/doc.go b/recaptchaenterprise/apiv1/doc.go index a862f9b736bc..9b2ba086b711 100755 --- a/recaptchaenterprise/apiv1/doc.go +++ b/recaptchaenterprise/apiv1/doc.go @@ -20,65 +20,66 @@ // Help protect your website from fraudulent activity, spam, and abuse // without creating friction. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := recaptchaenterprise.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := recaptchaenterprise.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := recaptchaenterprise.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &recaptchaenterprisepb.AnnotateAssessmentRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/recaptchaenterprise/v2/apiv1/recaptchaenterprisepb#AnnotateAssessmentRequest. -// } -// resp, err := c.AnnotateAssessment(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := recaptchaenterprise.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &recaptchaenterprisepb.AnnotateAssessmentRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/recaptchaenterprise/v2/apiv1/recaptchaenterprisepb#AnnotateAssessmentRequest. +// } +// resp, err := c.AnnotateAssessment(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/recaptchaenterprise/apiv1/recaptchaenterprisepb/recaptchaenterprise.pb.go b/recaptchaenterprise/apiv1/recaptchaenterprisepb/recaptchaenterprise.pb.go index 962e22c7aaba..3f88e4dad3a8 100755 --- a/recaptchaenterprise/apiv1/recaptchaenterprisepb/recaptchaenterprise.pb.go +++ b/recaptchaenterprise/apiv1/recaptchaenterprisepb/recaptchaenterprise.pb.go @@ -22,6 +22,9 @@ package recaptchaenterprisepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/recaptchaenterprise/apiv1beta1/auxiliary.go b/recaptchaenterprise/apiv1beta1/auxiliary.go index 52918170d470..92a86451578c 100755 --- a/recaptchaenterprise/apiv1beta1/auxiliary.go +++ b/recaptchaenterprise/apiv1beta1/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package recaptchaenterprise - -import () diff --git a/recaptchaenterprise/apiv1beta1/doc.go b/recaptchaenterprise/apiv1beta1/doc.go index 1c9e5ed4154a..33a1b041d22e 100755 --- a/recaptchaenterprise/apiv1beta1/doc.go +++ b/recaptchaenterprise/apiv1beta1/doc.go @@ -20,67 +20,68 @@ // Help protect your website from fraudulent activity, spam, and abuse // without creating friction. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := recaptchaenterprise.NewRecaptchaEnterpriseServiceV1Beta1Client(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := recaptchaenterprise.NewRecaptchaEnterpriseServiceV1Beta1Client(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := recaptchaenterprise.NewRecaptchaEnterpriseServiceV1Beta1Client(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &recaptchaenterprisepb.AnnotateAssessmentRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb#AnnotateAssessmentRequest. -// } -// resp, err := c.AnnotateAssessment(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := recaptchaenterprise.NewRecaptchaEnterpriseServiceV1Beta1Client(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &recaptchaenterprisepb.AnnotateAssessmentRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb#AnnotateAssessmentRequest. +// } +// resp, err := c.AnnotateAssessment(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewRecaptchaEnterpriseServiceV1Beta1Client is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/recaptchaenterprise/apiv1beta1/recaptchaenterprisepb/recaptchaenterprise.pb.go b/recaptchaenterprise/apiv1beta1/recaptchaenterprisepb/recaptchaenterprise.pb.go index 02b06a65dac2..0a40c66d6058 100755 --- a/recaptchaenterprise/apiv1beta1/recaptchaenterprisepb/recaptchaenterprise.pb.go +++ b/recaptchaenterprise/apiv1beta1/recaptchaenterprisepb/recaptchaenterprise.pb.go @@ -22,6 +22,9 @@ package recaptchaenterprisepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/recommendationengine/apiv1beta1/doc.go b/recommendationengine/apiv1beta1/doc.go index d3c2394579a5..54cd49b0a2f1 100755 --- a/recommendationengine/apiv1beta1/doc.go +++ b/recommendationengine/apiv1beta1/doc.go @@ -21,67 +21,68 @@ // personalized recommendation systems without requiring a high level of // expertise in machine learning, recommendation system, or Google Cloud. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := recommendationengine.NewCatalogClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := recommendationengine.NewCatalogClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := recommendationengine.NewCatalogClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &recommendationenginepb.CreateCatalogItemRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb#CreateCatalogItemRequest. -// } -// resp, err := c.CreateCatalogItem(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := recommendationengine.NewCatalogClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &recommendationenginepb.CreateCatalogItemRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb#CreateCatalogItemRequest. +// } +// resp, err := c.CreateCatalogItem(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewCatalogClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/catalog.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/catalog.pb.go index cbecd7c691ca..0e7af35ceae5 100755 --- a/recommendationengine/apiv1beta1/recommendationenginepb/catalog.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/catalog.pb.go @@ -21,11 +21,12 @@ package recommendationenginepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/catalog_service.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/catalog_service.pb.go index dcce27086d93..bdeb4c2252f9 100755 --- a/recommendationengine/apiv1beta1/recommendationenginepb/catalog_service.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/catalog_service.pb.go @@ -21,8 +21,11 @@ package recommendationenginepb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/common.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/common.pb.go index f1ef9abf4cfc..b6a42685a02b 100755 --- a/recommendationengine/apiv1beta1/recommendationenginepb/common.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/common.pb.go @@ -21,10 +21,11 @@ package recommendationenginepb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/import.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/import.pb.go index 326e7643ec1b..53773d4edd6b 100755 --- a/recommendationengine/apiv1beta1/recommendationenginepb/import.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/import.pb.go @@ -21,13 +21,14 @@ package recommendationenginepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/prediction_apikey_registry_service.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/prediction_apikey_registry_service.pb.go index 4b36c39fcdcc..9c8b65c4621b 100755 --- a/recommendationengine/apiv1beta1/recommendationenginepb/prediction_apikey_registry_service.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/prediction_apikey_registry_service.pb.go @@ -22,6 +22,9 @@ package recommendationenginepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" - sync "sync" ) const ( diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/prediction_service.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/prediction_service.pb.go index f85571a83a99..415033501bca 100755 --- a/recommendationengine/apiv1beta1/recommendationenginepb/prediction_service.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/prediction_service.pb.go @@ -22,6 +22,9 @@ package recommendationenginepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/recommendationengine_resources.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/recommendationengine_resources.pb.go index 5d4b26116870..16207f50f77d 100755 --- a/recommendationengine/apiv1beta1/recommendationenginepb/recommendationengine_resources.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/recommendationengine_resources.pb.go @@ -23,10 +23,11 @@ package recommendationenginepb import ( + reflect "reflect" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" ) const ( diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/user_event.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/user_event.pb.go index 3cfd07c177af..0773de1ad1fa 100755 --- a/recommendationengine/apiv1beta1/recommendationenginepb/user_event.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/user_event.pb.go @@ -21,12 +21,13 @@ package recommendationenginepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/recommendationengine/apiv1beta1/recommendationenginepb/user_event_service.pb.go b/recommendationengine/apiv1beta1/recommendationenginepb/user_event_service.pb.go index 306d4a05e4f8..7a6a35c0f27a 100755 --- a/recommendationengine/apiv1beta1/recommendationenginepb/user_event_service.pb.go +++ b/recommendationengine/apiv1beta1/recommendationenginepb/user_event_service.pb.go @@ -21,8 +21,11 @@ package recommendationenginepb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -31,8 +34,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/recommender/apiv1/doc.go b/recommender/apiv1/doc.go index 90c4598d47a3..79d139efcb3c 100755 --- a/recommender/apiv1/doc.go +++ b/recommender/apiv1/doc.go @@ -17,65 +17,66 @@ // Package recommender is an auto-generated package for the // Recommender API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := recommender.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := recommender.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := recommender.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &recommenderpb.GetInsightRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/recommender/apiv1/recommenderpb#GetInsightRequest. -// } -// resp, err := c.GetInsight(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := recommender.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &recommenderpb.GetInsightRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/recommender/apiv1/recommenderpb#GetInsightRequest. +// } +// resp, err := c.GetInsight(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/recommender/apiv1/recommenderpb/insight.pb.go b/recommender/apiv1/recommenderpb/insight.pb.go index 9dcf69aa1393..2aba57407074 100755 --- a/recommender/apiv1/recommenderpb/insight.pb.go +++ b/recommender/apiv1/recommenderpb/insight.pb.go @@ -21,14 +21,15 @@ package recommenderpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/recommender/apiv1/recommenderpb/insight_type_config.pb.go b/recommender/apiv1/recommenderpb/insight_type_config.pb.go index dc63dbba3ad3..50d77a05956c 100755 --- a/recommender/apiv1/recommenderpb/insight_type_config.pb.go +++ b/recommender/apiv1/recommenderpb/insight_type_config.pb.go @@ -21,13 +21,14 @@ package recommenderpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/recommender/apiv1/recommenderpb/recommendation.pb.go b/recommender/apiv1/recommenderpb/recommendation.pb.go index faadc4f0997a..e634aa656e18 100755 --- a/recommender/apiv1/recommenderpb/recommendation.pb.go +++ b/recommender/apiv1/recommenderpb/recommendation.pb.go @@ -21,6 +21,9 @@ package recommenderpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" money "google.golang.org/genproto/googleapis/type/money" protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -28,8 +31,6 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -586,11 +587,12 @@ func (x *OperationGroup) GetOperations() []*Operation { // Contains an operation for a resource loosely based on the JSON-PATCH format // with support for: // -// * Custom filters for describing partial array patch. -// * Extended path values for describing nested arrays. -// * Custom fields for describing the resource for which the operation is being -// described. -// * Allows extension to custom operations not natively supported by RFC6902. +// - Custom filters for describing partial array patch. +// - Extended path values for describing nested arrays. +// - Custom fields for describing the resource for which the operation is being +// described. +// - Allows extension to custom operations not natively supported by RFC6902. +// // See https://tools.ietf.org/html/rfc6902 for details on the original RFC. type Operation struct { state protoimpl.MessageState diff --git a/recommender/apiv1/recommenderpb/recommender_config.pb.go b/recommender/apiv1/recommenderpb/recommender_config.pb.go index 8f72b8a8af30..dce6ccdccbf9 100755 --- a/recommender/apiv1/recommenderpb/recommender_config.pb.go +++ b/recommender/apiv1/recommenderpb/recommender_config.pb.go @@ -21,13 +21,14 @@ package recommenderpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/recommender/apiv1/recommenderpb/recommender_service.pb.go b/recommender/apiv1/recommenderpb/recommender_service.pb.go index a3905123bb41..bc66a1c253df 100755 --- a/recommender/apiv1/recommenderpb/recommender_service.pb.go +++ b/recommender/apiv1/recommenderpb/recommender_service.pb.go @@ -22,6 +22,9 @@ package recommenderpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/recommender/apiv1beta1/doc.go b/recommender/apiv1beta1/doc.go index ada3adc16622..be904c90810b 100755 --- a/recommender/apiv1beta1/doc.go +++ b/recommender/apiv1beta1/doc.go @@ -17,67 +17,68 @@ // Package recommender is an auto-generated package for the // Recommender API. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := recommender.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := recommender.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := recommender.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &recommenderpb.GetInsightRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/recommender/apiv1beta1/recommenderpb#GetInsightRequest. -// } -// resp, err := c.GetInsight(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := recommender.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &recommenderpb.GetInsightRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/recommender/apiv1beta1/recommenderpb#GetInsightRequest. +// } +// resp, err := c.GetInsight(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/recommender/apiv1beta1/recommenderpb/insight.pb.go b/recommender/apiv1beta1/recommenderpb/insight.pb.go index b0b5a4e57368..4136b0c25b20 100755 --- a/recommender/apiv1beta1/recommenderpb/insight.pb.go +++ b/recommender/apiv1beta1/recommenderpb/insight.pb.go @@ -21,14 +21,15 @@ package recommenderpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/recommender/apiv1beta1/recommenderpb/insight_type_config.pb.go b/recommender/apiv1beta1/recommenderpb/insight_type_config.pb.go index ec368abcd661..77621cfa22ea 100755 --- a/recommender/apiv1beta1/recommenderpb/insight_type_config.pb.go +++ b/recommender/apiv1beta1/recommenderpb/insight_type_config.pb.go @@ -21,13 +21,14 @@ package recommenderpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/recommender/apiv1beta1/recommenderpb/recommendation.pb.go b/recommender/apiv1beta1/recommenderpb/recommendation.pb.go index 67f7a3d323da..e2a9b7487c90 100755 --- a/recommender/apiv1beta1/recommenderpb/recommendation.pb.go +++ b/recommender/apiv1beta1/recommenderpb/recommendation.pb.go @@ -21,6 +21,9 @@ package recommenderpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" money "google.golang.org/genproto/googleapis/type/money" protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -28,8 +31,6 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -524,11 +525,12 @@ func (x *OperationGroup) GetOperations() []*Operation { // Contains an operation for a resource loosely based on the JSON-PATCH format // with support for: // -// * Custom filters for describing partial array patch. -// * Extended path values for describing nested arrays. -// * Custom fields for describing the resource for which the operation is being -// described. -// * Allows extension to custom operations not natively supported by RFC6902. +// - Custom filters for describing partial array patch. +// - Extended path values for describing nested arrays. +// - Custom fields for describing the resource for which the operation is being +// described. +// - Allows extension to custom operations not natively supported by RFC6902. +// // See https://tools.ietf.org/html/rfc6902 for details on the original RFC. type Operation struct { state protoimpl.MessageState diff --git a/recommender/apiv1beta1/recommenderpb/recommender_config.pb.go b/recommender/apiv1beta1/recommenderpb/recommender_config.pb.go index 1365d918f534..63692faecde4 100755 --- a/recommender/apiv1beta1/recommenderpb/recommender_config.pb.go +++ b/recommender/apiv1beta1/recommenderpb/recommender_config.pb.go @@ -21,13 +21,14 @@ package recommenderpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/recommender/apiv1beta1/recommenderpb/recommender_service.pb.go b/recommender/apiv1beta1/recommenderpb/recommender_service.pb.go index c72b7d169464..7fedb822bb3d 100755 --- a/recommender/apiv1beta1/recommenderpb/recommender_service.pb.go +++ b/recommender/apiv1beta1/recommenderpb/recommender_service.pb.go @@ -22,6 +22,9 @@ package recommenderpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/redis/apiv1/cloud_redis_client.go b/redis/apiv1/cloud_redis_client.go index 04c30278c27b..0dcfa56e612f 100755 --- a/redis/apiv1/cloud_redis_client.go +++ b/redis/apiv1/cloud_redis_client.go @@ -201,26 +201,26 @@ type internalCloudRedisClient interface { // CloudRedisClient is a client for interacting with Google Cloud Memorystore for Redis API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// Configures and manages Cloud Memorystore for Redis instances +// # Configures and manages Cloud Memorystore for Redis instances // -// Google Cloud Memorystore for Redis v1 +// # Google Cloud Memorystore for Redis v1 // // The redis.googleapis.com service implements the Google Cloud Memorystore // for Redis API and defines the following resource model for managing Redis // instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Redis instances, named: /instances/* +// Each location has a collection of Redis instances, named: /instances/* // -// As such, Redis instances are resources of the form: -// /projects/{project_id}/locations/{location_id}/instances/{instance_id} +// As such, Redis instances are resources of the form: +// /projects/{project_id}/locations/{location_id}/instances/{instance_id} // // Note that location_id must be referring to a GCP region; for example: // -// projects/redpepper-1290/locations/us-central1/instances/my-redis +// projects/redpepper-1290/locations/us-central1/instances/my-redis type CloudRedisClient struct { // The internal transport-dependent client. internalClient internalCloudRedisClient @@ -262,7 +262,7 @@ func (c *CloudRedisClient) Connection() *grpc.ClientConn { // // The location should have the following format: // -// projects/{project_id}/locations/{location_id} +// projects/{project_id}/locations/{location_id} // // If location_id is specified as - (wildcard), then all regions // available to the project are queried, and the results are aggregated. @@ -460,26 +460,26 @@ type cloudRedisGRPCClient struct { // NewCloudRedisClient creates a new cloud redis client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// Configures and manages Cloud Memorystore for Redis instances +// # Configures and manages Cloud Memorystore for Redis instances // -// Google Cloud Memorystore for Redis v1 +// # Google Cloud Memorystore for Redis v1 // // The redis.googleapis.com service implements the Google Cloud Memorystore // for Redis API and defines the following resource model for managing Redis // instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Redis instances, named: /instances/* +// Each location has a collection of Redis instances, named: /instances/* // -// As such, Redis instances are resources of the form: -// /projects/{project_id}/locations/{location_id}/instances/{instance_id} +// As such, Redis instances are resources of the form: +// /projects/{project_id}/locations/{location_id}/instances/{instance_id} // // Note that location_id must be referring to a GCP region; for example: // -// projects/redpepper-1290/locations/us-central1/instances/my-redis +// projects/redpepper-1290/locations/us-central1/instances/my-redis func NewCloudRedisClient(ctx context.Context, opts ...option.ClientOption) (*CloudRedisClient, error) { clientOpts := defaultCloudRedisGRPCClientOptions() if newCloudRedisClientHook != nil { @@ -566,26 +566,26 @@ type cloudRedisRESTClient struct { // NewCloudRedisRESTClient creates a new cloud redis rest client. // -// Configures and manages Cloud Memorystore for Redis instances +// # Configures and manages Cloud Memorystore for Redis instances // -// Google Cloud Memorystore for Redis v1 +// # Google Cloud Memorystore for Redis v1 // // The redis.googleapis.com service implements the Google Cloud Memorystore // for Redis API and defines the following resource model for managing Redis // instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Redis instances, named: /instances/* +// Each location has a collection of Redis instances, named: /instances/* // -// As such, Redis instances are resources of the form: -// /projects/{project_id}/locations/{location_id}/instances/{instance_id} +// As such, Redis instances are resources of the form: +// /projects/{project_id}/locations/{location_id}/instances/{instance_id} // // Note that location_id must be referring to a GCP region; for example: // -// projects/redpepper-1290/locations/us-central1/instances/my-redis +// projects/redpepper-1290/locations/us-central1/instances/my-redis func NewCloudRedisRESTClient(ctx context.Context, opts ...option.ClientOption) (*CloudRedisClient, error) { clientOpts := append(defaultCloudRedisRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) @@ -1049,7 +1049,7 @@ func (c *cloudRedisGRPCClient) ListOperations(ctx context.Context, req *longrunn // // The location should have the following format: // -// projects/{project_id}/locations/{location_id} +// projects/{project_id}/locations/{location_id} // // If location_id is specified as - (wildcard), then all regions // available to the project are queried, and the results are aggregated. diff --git a/redis/apiv1/doc.go b/redis/apiv1/doc.go index 6f13c322285a..2033710a5025 100755 --- a/redis/apiv1/doc.go +++ b/redis/apiv1/doc.go @@ -19,70 +19,71 @@ // // Creates and manages Redis instances on the Google Cloud Platform. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := redis.NewCloudRedisClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := redis.NewCloudRedisClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := redis.NewCloudRedisClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &redispb.CreateInstanceRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/redis/apiv1/redispb#CreateInstanceRequest. -// } -// op, err := c.CreateInstance(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := redis.NewCloudRedisClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &redispb.CreateInstanceRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/redis/apiv1/redispb#CreateInstanceRequest. +// } +// op, err := c.CreateInstance(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewCloudRedisClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/redis/apiv1/redispb/cloud_redis.pb.go b/redis/apiv1/redispb/cloud_redis.pb.go index b66734f1573d..c35a415c1de5 100755 --- a/redis/apiv1/redispb/cloud_redis.pb.go +++ b/redis/apiv1/redispb/cloud_redis.pb.go @@ -21,8 +21,11 @@ package redispb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" timeofday "google.golang.org/genproto/googleapis/type/timeofday" @@ -35,8 +38,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/redis/apiv1beta1/cloud_redis_client.go b/redis/apiv1beta1/cloud_redis_client.go index 2b88b6794dd1..21d651337711 100755 --- a/redis/apiv1beta1/cloud_redis_client.go +++ b/redis/apiv1beta1/cloud_redis_client.go @@ -172,26 +172,26 @@ type internalCloudRedisClient interface { // CloudRedisClient is a client for interacting with Google Cloud Memorystore for Redis API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// Configures and manages Cloud Memorystore for Redis instances +// # Configures and manages Cloud Memorystore for Redis instances // -// Google Cloud Memorystore for Redis v1beta1 +// # Google Cloud Memorystore for Redis v1beta1 // // The redis.googleapis.com service implements the Google Cloud Memorystore // for Redis API and defines the following resource model for managing Redis // instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Redis instances, named: /instances/* +// Each location has a collection of Redis instances, named: /instances/* // -// As such, Redis instances are resources of the form: -// /projects/{project_id}/locations/{location_id}/instances/{instance_id} +// As such, Redis instances are resources of the form: +// /projects/{project_id}/locations/{location_id}/instances/{instance_id} // // Note that location_id must be referring to a GCP region; for example: // -// projects/redpepper-1290/locations/us-central1/instances/my-redis +// projects/redpepper-1290/locations/us-central1/instances/my-redis type CloudRedisClient struct { // The internal transport-dependent client. internalClient internalCloudRedisClient @@ -233,7 +233,7 @@ func (c *CloudRedisClient) Connection() *grpc.ClientConn { // // The location should have the following format: // -// projects/{project_id}/locations/{location_id} +// projects/{project_id}/locations/{location_id} // // If location_id is specified as - (wildcard), then all regions // available to the project are queried, and the results are aggregated. @@ -397,26 +397,26 @@ type cloudRedisGRPCClient struct { // NewCloudRedisClient creates a new cloud redis client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// Configures and manages Cloud Memorystore for Redis instances +// # Configures and manages Cloud Memorystore for Redis instances // -// Google Cloud Memorystore for Redis v1beta1 +// # Google Cloud Memorystore for Redis v1beta1 // // The redis.googleapis.com service implements the Google Cloud Memorystore // for Redis API and defines the following resource model for managing Redis // instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Redis instances, named: /instances/* +// Each location has a collection of Redis instances, named: /instances/* // -// As such, Redis instances are resources of the form: -// /projects/{project_id}/locations/{location_id}/instances/{instance_id} +// As such, Redis instances are resources of the form: +// /projects/{project_id}/locations/{location_id}/instances/{instance_id} // // Note that location_id must be referring to a GCP region; for example: // -// projects/redpepper-1290/locations/us-central1/instances/my-redis +// projects/redpepper-1290/locations/us-central1/instances/my-redis func NewCloudRedisClient(ctx context.Context, opts ...option.ClientOption) (*CloudRedisClient, error) { clientOpts := defaultCloudRedisGRPCClientOptions() if newCloudRedisClientHook != nil { @@ -501,26 +501,26 @@ type cloudRedisRESTClient struct { // NewCloudRedisRESTClient creates a new cloud redis rest client. // -// Configures and manages Cloud Memorystore for Redis instances +// # Configures and manages Cloud Memorystore for Redis instances // -// Google Cloud Memorystore for Redis v1beta1 +// # Google Cloud Memorystore for Redis v1beta1 // // The redis.googleapis.com service implements the Google Cloud Memorystore // for Redis API and defines the following resource model for managing Redis // instances: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Redis instances, named: /instances/* +// Each location has a collection of Redis instances, named: /instances/* // -// As such, Redis instances are resources of the form: -// /projects/{project_id}/locations/{location_id}/instances/{instance_id} +// As such, Redis instances are resources of the form: +// /projects/{project_id}/locations/{location_id}/instances/{instance_id} // // Note that location_id must be referring to a GCP region; for example: // -// projects/redpepper-1290/locations/us-central1/instances/my-redis +// projects/redpepper-1290/locations/us-central1/instances/my-redis func NewCloudRedisRESTClient(ctx context.Context, opts ...option.ClientOption) (*CloudRedisClient, error) { clientOpts := append(defaultCloudRedisRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) @@ -828,7 +828,7 @@ func (c *cloudRedisGRPCClient) RescheduleMaintenance(ctx context.Context, req *r // // The location should have the following format: // -// projects/{project_id}/locations/{location_id} +// projects/{project_id}/locations/{location_id} // // If location_id is specified as - (wildcard), then all regions // available to the project are queried, and the results are aggregated. diff --git a/redis/apiv1beta1/doc.go b/redis/apiv1beta1/doc.go index 6e47971e3d79..0c2688c1cc9b 100755 --- a/redis/apiv1beta1/doc.go +++ b/redis/apiv1beta1/doc.go @@ -19,72 +19,73 @@ // // Creates and manages Redis instances on the Google Cloud Platform. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := redis.NewCloudRedisClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := redis.NewCloudRedisClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := redis.NewCloudRedisClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &redispb.CreateInstanceRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/redis/apiv1beta1/redispb#CreateInstanceRequest. -// } -// op, err := c.CreateInstance(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := redis.NewCloudRedisClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &redispb.CreateInstanceRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/redis/apiv1beta1/redispb#CreateInstanceRequest. +// } +// op, err := c.CreateInstance(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewCloudRedisClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/redis/apiv1beta1/redispb/cloud_redis.pb.go b/redis/apiv1beta1/redispb/cloud_redis.pb.go index 8d84c8de4f98..a15446217366 100755 --- a/redis/apiv1beta1/redispb/cloud_redis.pb.go +++ b/redis/apiv1beta1/redispb/cloud_redis.pb.go @@ -21,8 +21,11 @@ package redispb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" timeofday "google.golang.org/genproto/googleapis/type/timeofday" @@ -34,8 +37,6 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/redis/cluster/apiv1/cloud_redis_cluster_client.go b/redis/cluster/apiv1/cloud_redis_cluster_client.go index fb1b0795418b..0c69906cd7e1 100755 --- a/redis/cluster/apiv1/cloud_redis_cluster_client.go +++ b/redis/cluster/apiv1/cloud_redis_cluster_client.go @@ -148,36 +148,36 @@ type internalCloudRedisClusterClient interface { // CloudRedisClusterClient is a client for interacting with Google Cloud Memorystore for Redis API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// Configures and manages Cloud Memorystore for Redis clusters +// # Configures and manages Cloud Memorystore for Redis clusters // -// Google Cloud Memorystore for Redis Cluster +// # Google Cloud Memorystore for Redis Cluster // // The redis.googleapis.com service implements the Google Cloud Memorystore // for Redis API and defines the following resource model for managing Redis // clusters: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Redis clusters, named: /clusters/* +// Each location has a collection of Redis clusters, named: /clusters/* // -// As such, Redis clusters are resources of the form: -// /projects/{project_id}/locations/{location_id}/clusters/{instance_id} +// As such, Redis clusters are resources of the form: +// /projects/{project_id}/locations/{location_id}/clusters/{instance_id} // // Note that location_id must be a GCP region; for example: // -// projects/redpepper-1290/locations/us-central1/clusters/my-redis +// projects/redpepper-1290/locations/us-central1/clusters/my-redis // // We use API version selector for Flex APIs // -// The versioning strategy is release-based versioning +// The versioning strategy is release-based versioning // -// Our backend CLH only deals with the superset version (called v1main) +// Our backend CLH only deals with the superset version (called v1main) // -// Existing backend for Redis Gen1 and MRR is not touched. +// Existing backend for Redis Gen1 and MRR is not touched. // -// More details in go/redis-flex-api-versioning +// More details in go/redis-flex-api-versioning type CloudRedisClusterClient struct { // The internal transport-dependent client. internalClient internalCloudRedisClusterClient @@ -219,7 +219,7 @@ func (c *CloudRedisClusterClient) Connection() *grpc.ClientConn { // // The location should have the following format: // -// projects/{project_id}/locations/{location_id} +// projects/{project_id}/locations/{location_id} // // If location_id is specified as - (wildcard), then all regions // available to the project are queried, and the results are aggregated. @@ -336,36 +336,36 @@ type cloudRedisClusterGRPCClient struct { // NewCloudRedisClusterClient creates a new cloud redis cluster client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// Configures and manages Cloud Memorystore for Redis clusters +// # Configures and manages Cloud Memorystore for Redis clusters // -// Google Cloud Memorystore for Redis Cluster +// # Google Cloud Memorystore for Redis Cluster // // The redis.googleapis.com service implements the Google Cloud Memorystore // for Redis API and defines the following resource model for managing Redis // clusters: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Redis clusters, named: /clusters/* +// Each location has a collection of Redis clusters, named: /clusters/* // -// As such, Redis clusters are resources of the form: -// /projects/{project_id}/locations/{location_id}/clusters/{instance_id} +// As such, Redis clusters are resources of the form: +// /projects/{project_id}/locations/{location_id}/clusters/{instance_id} // // Note that location_id must be a GCP region; for example: // -// projects/redpepper-1290/locations/us-central1/clusters/my-redis +// projects/redpepper-1290/locations/us-central1/clusters/my-redis // // We use API version selector for Flex APIs // -// The versioning strategy is release-based versioning +// The versioning strategy is release-based versioning // -// Our backend CLH only deals with the superset version (called v1main) +// Our backend CLH only deals with the superset version (called v1main) // -// Existing backend for Redis Gen1 and MRR is not touched. +// Existing backend for Redis Gen1 and MRR is not touched. // -// More details in go/redis-flex-api-versioning +// More details in go/redis-flex-api-versioning func NewCloudRedisClusterClient(ctx context.Context, opts ...option.ClientOption) (*CloudRedisClusterClient, error) { clientOpts := defaultCloudRedisClusterGRPCClientOptions() if newCloudRedisClusterClientHook != nil { @@ -452,36 +452,36 @@ type cloudRedisClusterRESTClient struct { // NewCloudRedisClusterRESTClient creates a new cloud redis cluster rest client. // -// Configures and manages Cloud Memorystore for Redis clusters +// # Configures and manages Cloud Memorystore for Redis clusters // -// Google Cloud Memorystore for Redis Cluster +// # Google Cloud Memorystore for Redis Cluster // // The redis.googleapis.com service implements the Google Cloud Memorystore // for Redis API and defines the following resource model for managing Redis // clusters: // -// The service works with a collection of cloud projects, named: /projects/* +// The service works with a collection of cloud projects, named: /projects/* // -// Each project has a collection of available locations, named: /locations/* +// Each project has a collection of available locations, named: /locations/* // -// Each location has a collection of Redis clusters, named: /clusters/* +// Each location has a collection of Redis clusters, named: /clusters/* // -// As such, Redis clusters are resources of the form: -// /projects/{project_id}/locations/{location_id}/clusters/{instance_id} +// As such, Redis clusters are resources of the form: +// /projects/{project_id}/locations/{location_id}/clusters/{instance_id} // // Note that location_id must be a GCP region; for example: // -// projects/redpepper-1290/locations/us-central1/clusters/my-redis +// projects/redpepper-1290/locations/us-central1/clusters/my-redis // // We use API version selector for Flex APIs // -// The versioning strategy is release-based versioning +// The versioning strategy is release-based versioning // -// Our backend CLH only deals with the superset version (called v1main) +// Our backend CLH only deals with the superset version (called v1main) // -// Existing backend for Redis Gen1 and MRR is not touched. +// Existing backend for Redis Gen1 and MRR is not touched. // -// More details in go/redis-flex-api-versioning +// More details in go/redis-flex-api-versioning func NewCloudRedisClusterRESTClient(ctx context.Context, opts ...option.ClientOption) (*CloudRedisClusterClient, error) { clientOpts := append(defaultCloudRedisClusterRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) @@ -827,7 +827,7 @@ func (c *cloudRedisClusterGRPCClient) ListOperations(ctx context.Context, req *l // // The location should have the following format: // -// projects/{project_id}/locations/{location_id} +// projects/{project_id}/locations/{location_id} // // If location_id is specified as - (wildcard), then all regions // available to the project are queried, and the results are aggregated. diff --git a/redis/cluster/apiv1/clusterpb/cloud_redis_cluster.pb.go b/redis/cluster/apiv1/clusterpb/cloud_redis_cluster.pb.go index 06e36796630e..55dae8d1b741 100755 --- a/redis/cluster/apiv1/clusterpb/cloud_redis_cluster.pb.go +++ b/redis/cluster/apiv1/clusterpb/cloud_redis_cluster.pb.go @@ -21,8 +21,11 @@ package clusterpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,8 +36,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/redis/cluster/apiv1/doc.go b/redis/cluster/apiv1/doc.go index 2f5e1aa37ec0..a64262c3a60a 100755 --- a/redis/cluster/apiv1/doc.go +++ b/redis/cluster/apiv1/doc.go @@ -19,72 +19,73 @@ // // Creates and manages Redis instances on the Google Cloud Platform. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cluster.NewCloudRedisClusterClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cluster.NewCloudRedisClusterClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := cluster.NewCloudRedisClusterClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &clusterpb.CreateClusterRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/redis/cluster/apiv1/clusterpb#CreateClusterRequest. -// } -// op, err := c.CreateCluster(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := cluster.NewCloudRedisClusterClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &clusterpb.CreateClusterRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/redis/cluster/apiv1/clusterpb#CreateClusterRequest. +// } +// op, err := c.CreateCluster(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewCloudRedisClusterClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/resourcemanager/apiv2/doc.go b/resourcemanager/apiv2/doc.go index f7d16afdf811..3341a7584a5d 100755 --- a/resourcemanager/apiv2/doc.go +++ b/resourcemanager/apiv2/doc.go @@ -20,70 +20,71 @@ // Creates, reads, and updates metadata for Google Cloud Platform resource // containers. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := resourcemanager.NewFoldersClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := resourcemanager.NewFoldersClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := resourcemanager.NewFoldersClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &resourcemanagerpb.CreateFolderRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/resourcemanager/apiv2/resourcemanagerpb#CreateFolderRequest. -// } -// op, err := c.CreateFolder(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := resourcemanager.NewFoldersClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &resourcemanagerpb.CreateFolderRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/resourcemanager/apiv2/resourcemanagerpb#CreateFolderRequest. +// } +// op, err := c.CreateFolder(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewFoldersClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/resourcemanager/apiv2/folders_client.go b/resourcemanager/apiv2/folders_client.go index 15df433bc0e7..11b34a0ad777 100755 --- a/resourcemanager/apiv2/folders_client.go +++ b/resourcemanager/apiv2/folders_client.go @@ -204,16 +204,16 @@ func (c *FoldersClient) GetFolder(ctx context.Context, req *resourcemanagerpb.Ge // In order to succeed, the addition of this new Folder must not violate // the Folder naming, height or fanout constraints. // -// The Folder’s display_name must be distinct from all other Folder’s that -// share its parent. +// The Folder’s display_name must be distinct from all other Folder’s that +// share its parent. // -// The addition of the Folder must not cause the active Folder hierarchy -// to exceed a height of 4. Note, the full active + deleted Folder hierarchy -// is allowed to reach a height of 8; this provides additional headroom when -// moving folders that contain deleted folders. +// The addition of the Folder must not cause the active Folder hierarchy +// to exceed a height of 4. Note, the full active + deleted Folder hierarchy +// is allowed to reach a height of 8; this provides additional headroom when +// moving folders that contain deleted folders. // -// The addition of the Folder must not cause the total number of Folders -// under its parent to exceed 100. +// The addition of the Folder must not cause the total number of Folders +// under its parent to exceed 100. // // If the operation fails due to a folder constraint violation, some errors // may be returned by the CreateFolder request, with status code @@ -1024,16 +1024,16 @@ func (c *foldersRESTClient) GetFolder(ctx context.Context, req *resourcemanagerp // In order to succeed, the addition of this new Folder must not violate // the Folder naming, height or fanout constraints. // -// The Folder’s display_name must be distinct from all other Folder’s that -// share its parent. +// The Folder’s display_name must be distinct from all other Folder’s that +// share its parent. // -// The addition of the Folder must not cause the active Folder hierarchy -// to exceed a height of 4. Note, the full active + deleted Folder hierarchy -// is allowed to reach a height of 8; this provides additional headroom when -// moving folders that contain deleted folders. +// The addition of the Folder must not cause the active Folder hierarchy +// to exceed a height of 4. Note, the full active + deleted Folder hierarchy +// is allowed to reach a height of 8; this provides additional headroom when +// moving folders that contain deleted folders. // -// The addition of the Folder must not cause the total number of Folders -// under its parent to exceed 100. +// The addition of the Folder must not cause the total number of Folders +// under its parent to exceed 100. // // If the operation fails due to a folder constraint violation, some errors // may be returned by the CreateFolder request, with status code diff --git a/resourcemanager/apiv2/resourcemanagerpb/folders.pb.go b/resourcemanager/apiv2/resourcemanagerpb/folders.pb.go index 055ca9dc83e3..f688b5bc920d 100755 --- a/resourcemanager/apiv2/resourcemanagerpb/folders.pb.go +++ b/resourcemanager/apiv2/resourcemanagerpb/folders.pb.go @@ -22,9 +22,12 @@ package resourcemanagerpb import ( + context "context" + reflect "reflect" + sync "sync" + iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" - context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,8 +36,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/resourcemanager/apiv3/doc.go b/resourcemanager/apiv3/doc.go index e75ba20d6849..d69f102ec052 100755 --- a/resourcemanager/apiv3/doc.go +++ b/resourcemanager/apiv3/doc.go @@ -20,70 +20,71 @@ // Creates, reads, and updates metadata for Google Cloud Platform resource // containers. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := resourcemanager.NewFoldersClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := resourcemanager.NewFoldersClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := resourcemanager.NewFoldersClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &resourcemanagerpb.CreateFolderRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/resourcemanager/apiv3/resourcemanagerpb#CreateFolderRequest. -// } -// op, err := c.CreateFolder(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := resourcemanager.NewFoldersClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &resourcemanagerpb.CreateFolderRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/resourcemanager/apiv3/resourcemanagerpb#CreateFolderRequest. +// } +// op, err := c.CreateFolder(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewFoldersClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/resourcemanager/apiv3/folders_client.go b/resourcemanager/apiv3/folders_client.go index d576db16aeba..c13154cd8cc2 100755 --- a/resourcemanager/apiv3/folders_client.go +++ b/resourcemanager/apiv3/folders_client.go @@ -304,16 +304,16 @@ func (c *FoldersClient) SearchFolders(ctx context.Context, req *resourcemanagerp // In order to succeed, the addition of this new folder must not violate // the folder naming, height, or fanout constraints. // -// The folder’s display_name must be distinct from all other folders that -// share its parent. +// The folder’s display_name must be distinct from all other folders that +// share its parent. // -// The addition of the folder must not cause the active folder hierarchy -// to exceed a height of 10. Note, the full active + deleted folder hierarchy -// is allowed to reach a height of 20; this provides additional headroom when -// moving folders that contain deleted folders. +// The addition of the folder must not cause the active folder hierarchy +// to exceed a height of 10. Note, the full active + deleted folder hierarchy +// is allowed to reach a height of 20; this provides additional headroom when +// moving folders that contain deleted folders. // -// The addition of the folder must not cause the total number of folders -// under its parent to exceed 300. +// The addition of the folder must not cause the total number of folders +// under its parent to exceed 300. // // If the operation fails due to a folder constraint violation, some errors // may be returned by the CreateFolder request, with status code @@ -1182,16 +1182,16 @@ func (c *foldersRESTClient) SearchFolders(ctx context.Context, req *resourcemana // In order to succeed, the addition of this new folder must not violate // the folder naming, height, or fanout constraints. // -// The folder’s display_name must be distinct from all other folders that -// share its parent. +// The folder’s display_name must be distinct from all other folders that +// share its parent. // -// The addition of the folder must not cause the active folder hierarchy -// to exceed a height of 10. Note, the full active + deleted folder hierarchy -// is allowed to reach a height of 20; this provides additional headroom when -// moving folders that contain deleted folders. +// The addition of the folder must not cause the active folder hierarchy +// to exceed a height of 10. Note, the full active + deleted folder hierarchy +// is allowed to reach a height of 20; this provides additional headroom when +// moving folders that contain deleted folders. // -// The addition of the folder must not cause the total number of folders -// under its parent to exceed 300. +// The addition of the folder must not cause the total number of folders +// under its parent to exceed 300. // // If the operation fails due to a folder constraint violation, some errors // may be returned by the CreateFolder request, with status code diff --git a/resourcemanager/apiv3/projects_client.go b/resourcemanager/apiv3/projects_client.go index 75d0f29f7742..38d750414f23 100755 --- a/resourcemanager/apiv3/projects_client.go +++ b/resourcemanager/apiv3/projects_client.go @@ -432,35 +432,35 @@ func (c *ProjectsClient) GetIamPolicy(ctx context.Context, req *iampb.GetIamPoli // // The following constraints apply when using setIamPolicy(): // -// Project does not support allUsers and allAuthenticatedUsers as -// members in a Binding of a Policy. +// Project does not support allUsers and allAuthenticatedUsers as +// members in a Binding of a Policy. // -// The owner role can be granted to a user, serviceAccount, or a group -// that is part of an organization. For example, -// group@myownpersonaldomain.com (at mailto:group@myownpersonaldomain.com) could be added as an owner to a project in -// the myownpersonaldomain.com (at http://myownpersonaldomain.com) organization, but not the examplepetstore.com (at http://examplepetstore.com) -// organization. +// The owner role can be granted to a user, serviceAccount, or a group +// that is part of an organization. For example, +// group@myownpersonaldomain.com (at mailto:group@myownpersonaldomain.com) could be added as an owner to a project in +// the myownpersonaldomain.com (at http://myownpersonaldomain.com) organization, but not the examplepetstore.com (at http://examplepetstore.com) +// organization. // -// Service accounts can be made owners of a project directly -// without any restrictions. However, to be added as an owner, a user must be -// invited using the Cloud Platform console and must accept the invitation. +// Service accounts can be made owners of a project directly +// without any restrictions. However, to be added as an owner, a user must be +// invited using the Cloud Platform console and must accept the invitation. // -// A user cannot be granted the owner role using setIamPolicy(). The user -// must be granted the owner role using the Cloud Platform Console and must -// explicitly accept the invitation. +// A user cannot be granted the owner role using setIamPolicy(). The user +// must be granted the owner role using the Cloud Platform Console and must +// explicitly accept the invitation. // -// Invitations to grant the owner role cannot be sent using -// setIamPolicy(); -// they must be sent only using the Cloud Platform Console. +// Invitations to grant the owner role cannot be sent using +// setIamPolicy(); +// they must be sent only using the Cloud Platform Console. // -// If the project is not part of an organization, there must be at least -// one owner who has accepted the Terms of Service (ToS) agreement in the -// policy. Calling setIamPolicy() to remove the last ToS-accepted owner -// from the policy will fail. This restriction also applies to legacy -// projects that no longer have owners who have accepted the ToS. Edits to -// IAM policies will be rejected until the lack of a ToS-accepting owner is -// rectified. If the project is part of an organization, you can remove all -// owners, potentially making the organization inaccessible. +// If the project is not part of an organization, there must be at least +// one owner who has accepted the Terms of Service (ToS) agreement in the +// policy. Calling setIamPolicy() to remove the last ToS-accepted owner +// from the policy will fail. This restriction also applies to legacy +// projects that no longer have owners who have accepted the ToS. Edits to +// IAM policies will be rejected until the lack of a ToS-accepting owner is +// rectified. If the project is part of an organization, you can remove all +// owners, potentially making the organization inaccessible. func (c *ProjectsClient) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { return c.internalClient.SetIamPolicy(ctx, req, opts...) } @@ -1678,35 +1678,35 @@ func (c *projectsRESTClient) GetIamPolicy(ctx context.Context, req *iampb.GetIam // // The following constraints apply when using setIamPolicy(): // -// Project does not support allUsers and allAuthenticatedUsers as -// members in a Binding of a Policy. +// Project does not support allUsers and allAuthenticatedUsers as +// members in a Binding of a Policy. // -// The owner role can be granted to a user, serviceAccount, or a group -// that is part of an organization. For example, -// group@myownpersonaldomain.com (at mailto:group@myownpersonaldomain.com) could be added as an owner to a project in -// the myownpersonaldomain.com (at http://myownpersonaldomain.com) organization, but not the examplepetstore.com (at http://examplepetstore.com) -// organization. +// The owner role can be granted to a user, serviceAccount, or a group +// that is part of an organization. For example, +// group@myownpersonaldomain.com (at mailto:group@myownpersonaldomain.com) could be added as an owner to a project in +// the myownpersonaldomain.com (at http://myownpersonaldomain.com) organization, but not the examplepetstore.com (at http://examplepetstore.com) +// organization. // -// Service accounts can be made owners of a project directly -// without any restrictions. However, to be added as an owner, a user must be -// invited using the Cloud Platform console and must accept the invitation. +// Service accounts can be made owners of a project directly +// without any restrictions. However, to be added as an owner, a user must be +// invited using the Cloud Platform console and must accept the invitation. // -// A user cannot be granted the owner role using setIamPolicy(). The user -// must be granted the owner role using the Cloud Platform Console and must -// explicitly accept the invitation. +// A user cannot be granted the owner role using setIamPolicy(). The user +// must be granted the owner role using the Cloud Platform Console and must +// explicitly accept the invitation. // -// Invitations to grant the owner role cannot be sent using -// setIamPolicy(); -// they must be sent only using the Cloud Platform Console. +// Invitations to grant the owner role cannot be sent using +// setIamPolicy(); +// they must be sent only using the Cloud Platform Console. // -// If the project is not part of an organization, there must be at least -// one owner who has accepted the Terms of Service (ToS) agreement in the -// policy. Calling setIamPolicy() to remove the last ToS-accepted owner -// from the policy will fail. This restriction also applies to legacy -// projects that no longer have owners who have accepted the ToS. Edits to -// IAM policies will be rejected until the lack of a ToS-accepting owner is -// rectified. If the project is part of an organization, you can remove all -// owners, potentially making the organization inaccessible. +// If the project is not part of an organization, there must be at least +// one owner who has accepted the Terms of Service (ToS) agreement in the +// policy. Calling setIamPolicy() to remove the last ToS-accepted owner +// from the policy will fail. This restriction also applies to legacy +// projects that no longer have owners who have accepted the ToS. Edits to +// IAM policies will be rejected until the lack of a ToS-accepting owner is +// rectified. If the project is part of an organization, you can remove all +// owners, potentially making the organization inaccessible. func (c *projectsRESTClient) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/resourcemanager/apiv3/resourcemanagerpb/folders.pb.go b/resourcemanager/apiv3/resourcemanagerpb/folders.pb.go index 874a504d60f9..86cd3d7b71d7 100755 --- a/resourcemanager/apiv3/resourcemanagerpb/folders.pb.go +++ b/resourcemanager/apiv3/resourcemanagerpb/folders.pb.go @@ -21,9 +21,12 @@ package resourcemanagerpb import ( + context "context" + reflect "reflect" + sync "sync" + iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" - context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/resourcemanager/apiv3/resourcemanagerpb/organizations.pb.go b/resourcemanager/apiv3/resourcemanagerpb/organizations.pb.go index 8d9bd047ddd1..cab091f71887 100755 --- a/resourcemanager/apiv3/resourcemanagerpb/organizations.pb.go +++ b/resourcemanager/apiv3/resourcemanagerpb/organizations.pb.go @@ -21,8 +21,11 @@ package resourcemanagerpb import ( - iampb "cloud.google.com/go/iam/apiv1/iampb" context "context" + reflect "reflect" + sync "sync" + + iampb "cloud.google.com/go/iam/apiv1/iampb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/resourcemanager/apiv3/resourcemanagerpb/projects.pb.go b/resourcemanager/apiv3/resourcemanagerpb/projects.pb.go index a842974e4673..aad105f93af4 100755 --- a/resourcemanager/apiv3/resourcemanagerpb/projects.pb.go +++ b/resourcemanager/apiv3/resourcemanagerpb/projects.pb.go @@ -21,9 +21,12 @@ package resourcemanagerpb import ( + context "context" + reflect "reflect" + sync "sync" + iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" - context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/resourcemanager/apiv3/resourcemanagerpb/tag_bindings.pb.go b/resourcemanager/apiv3/resourcemanagerpb/tag_bindings.pb.go index 7524cdab9f51..6ff1a0a3965f 100755 --- a/resourcemanager/apiv3/resourcemanagerpb/tag_bindings.pb.go +++ b/resourcemanager/apiv3/resourcemanagerpb/tag_bindings.pb.go @@ -21,8 +21,11 @@ package resourcemanagerpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" - sync "sync" ) const ( diff --git a/resourcemanager/apiv3/resourcemanagerpb/tag_holds.pb.go b/resourcemanager/apiv3/resourcemanagerpb/tag_holds.pb.go index ac00f5e68baa..fd922c759d24 100755 --- a/resourcemanager/apiv3/resourcemanagerpb/tag_holds.pb.go +++ b/resourcemanager/apiv3/resourcemanagerpb/tag_holds.pb.go @@ -21,8 +21,11 @@ package resourcemanagerpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/resourcemanager/apiv3/resourcemanagerpb/tag_keys.pb.go b/resourcemanager/apiv3/resourcemanagerpb/tag_keys.pb.go index 6a585991b24e..4a08262cbc40 100755 --- a/resourcemanager/apiv3/resourcemanagerpb/tag_keys.pb.go +++ b/resourcemanager/apiv3/resourcemanagerpb/tag_keys.pb.go @@ -21,9 +21,12 @@ package resourcemanagerpb import ( + context "context" + reflect "reflect" + sync "sync" + iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" - context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/resourcemanager/apiv3/resourcemanagerpb/tag_values.pb.go b/resourcemanager/apiv3/resourcemanagerpb/tag_values.pb.go index fe1162e1ba9c..0aa01bb0f75a 100755 --- a/resourcemanager/apiv3/resourcemanagerpb/tag_values.pb.go +++ b/resourcemanager/apiv3/resourcemanagerpb/tag_values.pb.go @@ -21,9 +21,12 @@ package resourcemanagerpb import ( + context "context" + reflect "reflect" + sync "sync" + iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" - context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/resourcesettings/apiv1/doc.go b/resourcesettings/apiv1/doc.go index 8c7211f89830..4537b8aa088b 100755 --- a/resourcesettings/apiv1/doc.go +++ b/resourcesettings/apiv1/doc.go @@ -21,65 +21,66 @@ // of their GCP resources (e.g., VM, firewall, Project, etc.) across the // Cloud Resource Hierarchy. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := resourcesettings.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := resourcesettings.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := resourcesettings.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &resourcesettingspb.GetSettingRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/resourcesettings/apiv1/resourcesettingspb#GetSettingRequest. -// } -// resp, err := c.GetSetting(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := resourcesettings.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &resourcesettingspb.GetSettingRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/resourcesettings/apiv1/resourcesettingspb#GetSettingRequest. +// } +// resp, err := c.GetSetting(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/resourcesettings/apiv1/resourcesettingspb/resource_settings.pb.go b/resourcesettings/apiv1/resourcesettingspb/resource_settings.pb.go index 7ab6bd4f28fe..15a8d31365a4 100755 --- a/resourcesettings/apiv1/resourcesettingspb/resource_settings.pb.go +++ b/resourcesettings/apiv1/resourcesettingspb/resource_settings.pb.go @@ -22,14 +22,15 @@ package resourcesettingspb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2/catalog_client.go b/retail/apiv2/catalog_client.go index 35571fc8a76c..ecab7c856f8c 100755 --- a/retail/apiv2/catalog_client.go +++ b/retail/apiv2/catalog_client.go @@ -322,13 +322,13 @@ func (c *CatalogClient) UpdateCatalog(ctx context.Context, req *retailpb.UpdateC // // More specifically: // -// PredictionService will only return product IDs from branch {newBranch}. +// PredictionService will only return product IDs from branch {newBranch}. // -// SearchService will only return product IDs from branch {newBranch} -// (if branch is not explicitly set). +// SearchService will only return product IDs from branch {newBranch} +// (if branch is not explicitly set). // -// UserEventService will only join events with products from branch -// {newBranch}. +// UserEventService will only join events with products from branch +// {newBranch}. func (c *CatalogClient) SetDefaultBranch(ctx context.Context, req *retailpb.SetDefaultBranchRequest, opts ...gax.CallOption) error { return c.internalClient.SetDefaultBranch(ctx, req, opts...) } diff --git a/retail/apiv2/doc.go b/retail/apiv2/doc.go index df818829c1e9..5c2358f02485 100755 --- a/retail/apiv2/doc.go +++ b/retail/apiv2/doc.go @@ -21,65 +21,66 @@ // recommendation systems without requiring a high level of expertise in // machine learning, recommendation system, or Google Cloud. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := retail.NewCatalogClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := retail.NewCatalogClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := retail.NewCatalogClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &retailpb.AddCatalogAttributeRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/retail/apiv2/retailpb#AddCatalogAttributeRequest. -// } -// resp, err := c.AddCatalogAttribute(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := retail.NewCatalogClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &retailpb.AddCatalogAttributeRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/retail/apiv2/retailpb#AddCatalogAttributeRequest. +// } +// resp, err := c.AddCatalogAttribute(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewCatalogClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/retail/apiv2/model_client.go b/retail/apiv2/model_client.go index 602f40a9cbc3..af5543a23271 100755 --- a/retail/apiv2/model_client.go +++ b/retail/apiv2/model_client.go @@ -218,13 +218,13 @@ type internalModelClient interface { // // This service allows you to do the following: // -// Initiate training of a model. +// Initiate training of a model. // -// Pause training of an existing model. +// Pause training of an existing model. // -// List all the available models along with their metadata. +// List all the available models along with their metadata. // -// Control their tuning schedule. +// Control their tuning schedule. type ModelClient struct { // The internal transport-dependent client. internalClient internalModelClient @@ -361,13 +361,13 @@ type modelGRPCClient struct { // // This service allows you to do the following: // -// Initiate training of a model. +// Initiate training of a model. // -// Pause training of an existing model. +// Pause training of an existing model. // -// List all the available models along with their metadata. +// List all the available models along with their metadata. // -// Control their tuning schedule. +// Control their tuning schedule. func NewModelClient(ctx context.Context, opts ...option.ClientOption) (*ModelClient, error) { clientOpts := defaultModelGRPCClientOptions() if newModelClientHook != nil { diff --git a/retail/apiv2/retailpb/catalog.pb.go b/retail/apiv2/retailpb/catalog.pb.go index 7e0c7e3bcdc2..8b2d8e52e634 100755 --- a/retail/apiv2/retailpb/catalog.pb.go +++ b/retail/apiv2/retailpb/catalog.pb.go @@ -21,11 +21,12 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/catalog_service.pb.go b/retail/apiv2/retailpb/catalog_service.pb.go index 3a73c9e0c4ec..0f705fbf15fa 100755 --- a/retail/apiv2/retailpb/catalog_service.pb.go +++ b/retail/apiv2/retailpb/catalog_service.pb.go @@ -22,6 +22,9 @@ package retailpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/common.pb.go b/retail/apiv2/retailpb/common.pb.go index 28fcd9f41cb2..47288983a57c 100755 --- a/retail/apiv2/retailpb/common.pb.go +++ b/retail/apiv2/retailpb/common.pb.go @@ -21,12 +21,13 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -1798,11 +1799,12 @@ func (x *Rule_BoostAction) GetProductsFilter() string { // * Rule Condition: // - No -// [Condition.query_terms][google.cloud.retail.v2.Condition.query_terms] -// provided is a global match. +// [Condition.query_terms][google.cloud.retail.v2.Condition.query_terms] +// provided is a global match. // - 1 or more -// [Condition.query_terms][google.cloud.retail.v2.Condition.query_terms] -// provided are combined with OR operator. +// [Condition.query_terms][google.cloud.retail.v2.Condition.query_terms] +// provided are combined with OR operator. +// // * Action Input: The request query and filter that are applied to the // retrieved products, in addition to any filters already provided with the // SearchRequest. The AND operator is used to combine the query's existing @@ -1875,7 +1877,8 @@ func (x *Rule_FilterAction) GetFilter() string { // // * Rule Condition: // - Must specify -// [Condition.query_terms][google.cloud.retail.v2.Condition.query_terms]. +// [Condition.query_terms][google.cloud.retail.v2.Condition.query_terms]. +// // * Action Input: Request Query // * Action Result: Redirects shopper to provided uri. type Rule_RedirectAction struct { @@ -1929,8 +1932,8 @@ func (x *Rule_RedirectAction) GetRedirectUri() string { // Creates a set of terms that will be treated as synonyms of each other. // Example: synonyms of "sneakers" and "shoes": // -// * "sneakers" will use a synonym of "shoes". -// * "shoes" will use a synonym of "sneakers". +// - "sneakers" will use a synonym of "shoes". +// - "shoes" will use a synonym of "sneakers". type Rule_TwowaySynonymsAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/retail/apiv2/retailpb/completion_service.pb.go b/retail/apiv2/retailpb/completion_service.pb.go index 6b40e78a2977..f67d784e55df 100755 --- a/retail/apiv2/retailpb/completion_service.pb.go +++ b/retail/apiv2/retailpb/completion_service.pb.go @@ -21,16 +21,17 @@ package retailpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/control.pb.go b/retail/apiv2/retailpb/control.pb.go index 18d5cad117b3..ab8bf2861494 100755 --- a/retail/apiv2/retailpb/control.pb.go +++ b/retail/apiv2/retailpb/control.pb.go @@ -21,11 +21,12 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/control_service.pb.go b/retail/apiv2/retailpb/control_service.pb.go index a727e524d4e4..9013da6d4128 100755 --- a/retail/apiv2/retailpb/control_service.pb.go +++ b/retail/apiv2/retailpb/control_service.pb.go @@ -22,6 +22,9 @@ package retailpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/import_config.pb.go b/retail/apiv2/retailpb/import_config.pb.go index d85bc7b39d6b..f1b353b85895 100755 --- a/retail/apiv2/retailpb/import_config.pb.go +++ b/retail/apiv2/retailpb/import_config.pb.go @@ -21,6 +21,9 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" date "google.golang.org/genproto/googleapis/type/date" @@ -28,8 +31,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/model.pb.go b/retail/apiv2/retailpb/model.pb.go index 4aca5435245a..5f99f0347b2e 100755 --- a/retail/apiv2/retailpb/model.pb.go +++ b/retail/apiv2/retailpb/model.pb.go @@ -21,12 +21,13 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/model_service.pb.go b/retail/apiv2/retailpb/model_service.pb.go index 89523505e051..33b3a4f88c62 100755 --- a/retail/apiv2/retailpb/model_service.pb.go +++ b/retail/apiv2/retailpb/model_service.pb.go @@ -21,8 +21,11 @@ package retailpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/prediction_service.pb.go b/retail/apiv2/retailpb/prediction_service.pb.go index c03df8507d2d..3b35c93a7942 100755 --- a/retail/apiv2/retailpb/prediction_service.pb.go +++ b/retail/apiv2/retailpb/prediction_service.pb.go @@ -22,6 +22,9 @@ package retailpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/product.pb.go b/retail/apiv2/retailpb/product.pb.go index 43d8f1b6b699..5f4a91a97c5c 100755 --- a/retail/apiv2/retailpb/product.pb.go +++ b/retail/apiv2/retailpb/product.pb.go @@ -21,6 +21,9 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -28,8 +31,6 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/product_service.pb.go b/retail/apiv2/retailpb/product_service.pb.go index 8801db578a03..b918d2114448 100755 --- a/retail/apiv2/retailpb/product_service.pb.go +++ b/retail/apiv2/retailpb/product_service.pb.go @@ -21,8 +21,11 @@ package retailpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/promotion.pb.go b/retail/apiv2/retailpb/promotion.pb.go index ed6cde8932f2..f3d9fcb0c2ba 100755 --- a/retail/apiv2/retailpb/promotion.pb.go +++ b/retail/apiv2/retailpb/promotion.pb.go @@ -21,10 +21,11 @@ package retailpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/retail/apiv2/retailpb/purge_config.pb.go b/retail/apiv2/retailpb/purge_config.pb.go index 17e850260e5e..759995ddcedb 100755 --- a/retail/apiv2/retailpb/purge_config.pb.go +++ b/retail/apiv2/retailpb/purge_config.pb.go @@ -21,11 +21,12 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/search_service.pb.go b/retail/apiv2/retailpb/search_service.pb.go index 5dd684af4b90..6754302f2a25 100755 --- a/retail/apiv2/retailpb/search_service.pb.go +++ b/retail/apiv2/retailpb/search_service.pb.go @@ -22,6 +22,9 @@ package retailpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/serving_config.pb.go b/retail/apiv2/retailpb/serving_config.pb.go index 10972235518e..fd40ea7b3505 100755 --- a/retail/apiv2/retailpb/serving_config.pb.go +++ b/retail/apiv2/retailpb/serving_config.pb.go @@ -21,11 +21,12 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/serving_config_service.pb.go b/retail/apiv2/retailpb/serving_config_service.pb.go index a488b6cf89e0..23883b4082ca 100755 --- a/retail/apiv2/retailpb/serving_config_service.pb.go +++ b/retail/apiv2/retailpb/serving_config_service.pb.go @@ -22,6 +22,9 @@ package retailpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/user_event.pb.go b/retail/apiv2/retailpb/user_event.pb.go index 97d7560df1f5..dbc7743daee8 100755 --- a/retail/apiv2/retailpb/user_event.pb.go +++ b/retail/apiv2/retailpb/user_event.pb.go @@ -21,13 +21,14 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2/retailpb/user_event_service.pb.go b/retail/apiv2/retailpb/user_event_service.pb.go index cb8f2f74fad2..fc6bc81fee56 100755 --- a/retail/apiv2/retailpb/user_event_service.pb.go +++ b/retail/apiv2/retailpb/user_event_service.pb.go @@ -21,8 +21,11 @@ package retailpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -30,8 +33,6 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2alpha/catalog_client.go b/retail/apiv2alpha/catalog_client.go index 45c9415c6f99..3671a36922ff 100755 --- a/retail/apiv2alpha/catalog_client.go +++ b/retail/apiv2alpha/catalog_client.go @@ -505,13 +505,13 @@ func (c *CatalogClient) UpdateCatalog(ctx context.Context, req *retailpb.UpdateC // // More specifically: // -// PredictionService will only return product IDs from branch {newBranch}. +// PredictionService will only return product IDs from branch {newBranch}. // -// SearchService will only return product IDs from branch {newBranch} -// (if branch is not explicitly set). +// SearchService will only return product IDs from branch {newBranch} +// (if branch is not explicitly set). // -// UserEventService will only join events with products from branch -// {newBranch}. +// UserEventService will only join events with products from branch +// {newBranch}. func (c *CatalogClient) SetDefaultBranch(ctx context.Context, req *retailpb.SetDefaultBranchRequest, opts ...gax.CallOption) error { return c.internalClient.SetDefaultBranch(ctx, req, opts...) } @@ -1240,13 +1240,13 @@ func (c *catalogRESTClient) UpdateCatalog(ctx context.Context, req *retailpb.Upd // // More specifically: // -// PredictionService will only return product IDs from branch {newBranch}. +// PredictionService will only return product IDs from branch {newBranch}. // -// SearchService will only return product IDs from branch {newBranch} -// (if branch is not explicitly set). +// SearchService will only return product IDs from branch {newBranch} +// (if branch is not explicitly set). // -// UserEventService will only join events with products from branch -// {newBranch}. +// UserEventService will only join events with products from branch +// {newBranch}. func (c *catalogRESTClient) SetDefaultBranch(ctx context.Context, req *retailpb.SetDefaultBranchRequest, opts ...gax.CallOption) error { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/retail/apiv2alpha/doc.go b/retail/apiv2alpha/doc.go index 7af6164233cd..bd962eb33efb 100755 --- a/retail/apiv2alpha/doc.go +++ b/retail/apiv2alpha/doc.go @@ -21,67 +21,68 @@ // recommendation systems without requiring a high level of expertise in // machine learning, recommendation system, or Google Cloud. // -// NOTE: This package is in alpha. It is not stable, and is likely to change. +// NOTE: This package is in alpha. It is not stable, and is likely to change. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := retail.NewCatalogClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := retail.NewCatalogClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := retail.NewCatalogClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &retailpb.AddCatalogAttributeRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/retail/apiv2alpha/retailpb#AddCatalogAttributeRequest. -// } -// resp, err := c.AddCatalogAttribute(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := retail.NewCatalogClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &retailpb.AddCatalogAttributeRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/retail/apiv2alpha/retailpb#AddCatalogAttributeRequest. +// } +// resp, err := c.AddCatalogAttribute(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewCatalogClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/retail/apiv2alpha/model_client.go b/retail/apiv2alpha/model_client.go index 38c12525d164..1d6e46f13cc9 100755 --- a/retail/apiv2alpha/model_client.go +++ b/retail/apiv2alpha/model_client.go @@ -338,13 +338,13 @@ type internalModelClient interface { // // This service allows you to do the following: // -// Initiate training of a model. +// Initiate training of a model. // -// Pause training of an existing model. +// Pause training of an existing model. // -// List all the available models along with their metadata. +// List all the available models along with their metadata. // -// Control their tuning schedule. +// Control their tuning schedule. type ModelClient struct { // The internal transport-dependent client. internalClient internalModelClient @@ -481,13 +481,13 @@ type modelGRPCClient struct { // // This service allows you to do the following: // -// Initiate training of a model. +// Initiate training of a model. // -// Pause training of an existing model. +// Pause training of an existing model. // -// List all the available models along with their metadata. +// List all the available models along with their metadata. // -// Control their tuning schedule. +// Control their tuning schedule. func NewModelClient(ctx context.Context, opts ...option.ClientOption) (*ModelClient, error) { clientOpts := defaultModelGRPCClientOptions() if newModelClientHook != nil { @@ -581,13 +581,13 @@ type modelRESTClient struct { // // This service allows you to do the following: // -// Initiate training of a model. +// Initiate training of a model. // -// Pause training of an existing model. +// Pause training of an existing model. // -// List all the available models along with their metadata. +// List all the available models along with their metadata. // -// Control their tuning schedule. +// Control their tuning schedule. func NewModelRESTClient(ctx context.Context, opts ...option.ClientOption) (*ModelClient, error) { clientOpts := append(defaultModelRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/retail/apiv2alpha/retailpb/catalog.pb.go b/retail/apiv2alpha/retailpb/catalog.pb.go index c7c9074a0bc2..de7ed64bcefd 100755 --- a/retail/apiv2alpha/retailpb/catalog.pb.go +++ b/retail/apiv2alpha/retailpb/catalog.pb.go @@ -21,11 +21,12 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/catalog_service.pb.go b/retail/apiv2alpha/retailpb/catalog_service.pb.go index 8cccfd3f7a45..b63982ab825d 100755 --- a/retail/apiv2alpha/retailpb/catalog_service.pb.go +++ b/retail/apiv2alpha/retailpb/catalog_service.pb.go @@ -22,6 +22,9 @@ package retailpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/common.pb.go b/retail/apiv2alpha/retailpb/common.pb.go index 1efc0a4619f3..3c47735ca011 100755 --- a/retail/apiv2alpha/retailpb/common.pb.go +++ b/retail/apiv2alpha/retailpb/common.pb.go @@ -21,12 +21,13 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -1807,11 +1808,12 @@ func (x *Rule_BoostAction) GetProductsFilter() string { // * Rule Condition: // - No -// [Condition.query_terms][google.cloud.retail.v2alpha.Condition.query_terms] -// provided is a global match. +// [Condition.query_terms][google.cloud.retail.v2alpha.Condition.query_terms] +// provided is a global match. // - 1 or more -// [Condition.query_terms][google.cloud.retail.v2alpha.Condition.query_terms] -// provided are combined with OR operator. +// [Condition.query_terms][google.cloud.retail.v2alpha.Condition.query_terms] +// provided are combined with OR operator. +// // * Action Input: The request query and filter that are applied to the // retrieved products, in addition to any filters already provided with the // SearchRequest. The AND operator is used to combine the query's existing @@ -1885,7 +1887,8 @@ func (x *Rule_FilterAction) GetFilter() string { // // * Rule Condition: // - Must specify -// [Condition.query_terms][google.cloud.retail.v2alpha.Condition.query_terms]. +// [Condition.query_terms][google.cloud.retail.v2alpha.Condition.query_terms]. +// // * Action Input: Request Query // * Action Result: Redirects shopper to provided uri. type Rule_RedirectAction struct { @@ -1939,8 +1942,8 @@ func (x *Rule_RedirectAction) GetRedirectUri() string { // Creates a set of terms that will be treated as synonyms of each other. // Example: synonyms of "sneakers" and "shoes": // -// * "sneakers" will use a synonym of "shoes". -// * "shoes" will use a synonym of "sneakers". +// - "sneakers" will use a synonym of "shoes". +// - "shoes" will use a synonym of "sneakers". type Rule_TwowaySynonymsAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/retail/apiv2alpha/retailpb/completion_service.pb.go b/retail/apiv2alpha/retailpb/completion_service.pb.go index f9ba80ae8008..81d9c54fd93e 100755 --- a/retail/apiv2alpha/retailpb/completion_service.pb.go +++ b/retail/apiv2alpha/retailpb/completion_service.pb.go @@ -21,16 +21,17 @@ package retailpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/control.pb.go b/retail/apiv2alpha/retailpb/control.pb.go index f9dad30a48e2..6e5d1a1bf22f 100755 --- a/retail/apiv2alpha/retailpb/control.pb.go +++ b/retail/apiv2alpha/retailpb/control.pb.go @@ -21,11 +21,12 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/control_service.pb.go b/retail/apiv2alpha/retailpb/control_service.pb.go index cd8d62f67f1c..b3ca72b10659 100755 --- a/retail/apiv2alpha/retailpb/control_service.pb.go +++ b/retail/apiv2alpha/retailpb/control_service.pb.go @@ -22,6 +22,9 @@ package retailpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/export_config.pb.go b/retail/apiv2alpha/retailpb/export_config.pb.go index 3f346edd83c8..6bcd49a24733 100755 --- a/retail/apiv2alpha/retailpb/export_config.pb.go +++ b/retail/apiv2alpha/retailpb/export_config.pb.go @@ -21,13 +21,14 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/import_config.pb.go b/retail/apiv2alpha/retailpb/import_config.pb.go index c1cd3bf310a3..5c1e5a0be6a3 100755 --- a/retail/apiv2alpha/retailpb/import_config.pb.go +++ b/retail/apiv2alpha/retailpb/import_config.pb.go @@ -21,6 +21,9 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" date "google.golang.org/genproto/googleapis/type/date" @@ -28,8 +31,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/merchant_center_account_link.pb.go b/retail/apiv2alpha/retailpb/merchant_center_account_link.pb.go index d2fd96558030..1a1fae422b90 100755 --- a/retail/apiv2alpha/retailpb/merchant_center_account_link.pb.go +++ b/retail/apiv2alpha/retailpb/merchant_center_account_link.pb.go @@ -21,12 +21,13 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/merchant_center_account_link_service.pb.go b/retail/apiv2alpha/retailpb/merchant_center_account_link_service.pb.go index 19c573d9c7de..212d4da823a4 100755 --- a/retail/apiv2alpha/retailpb/merchant_center_account_link_service.pb.go +++ b/retail/apiv2alpha/retailpb/merchant_center_account_link_service.pb.go @@ -21,8 +21,11 @@ package retailpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/model.pb.go b/retail/apiv2alpha/retailpb/model.pb.go index 8cada4c67e6c..d7e0828eb928 100755 --- a/retail/apiv2alpha/retailpb/model.pb.go +++ b/retail/apiv2alpha/retailpb/model.pb.go @@ -21,12 +21,13 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/model_service.pb.go b/retail/apiv2alpha/retailpb/model_service.pb.go index 81de23e9f25e..3e905185b137 100755 --- a/retail/apiv2alpha/retailpb/model_service.pb.go +++ b/retail/apiv2alpha/retailpb/model_service.pb.go @@ -21,8 +21,11 @@ package retailpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/prediction_service.pb.go b/retail/apiv2alpha/retailpb/prediction_service.pb.go index 8d81e2120724..b0d6a63ff66a 100755 --- a/retail/apiv2alpha/retailpb/prediction_service.pb.go +++ b/retail/apiv2alpha/retailpb/prediction_service.pb.go @@ -22,6 +22,9 @@ package retailpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/product.pb.go b/retail/apiv2alpha/retailpb/product.pb.go index c9bc3694cf7c..3142ad7ab53e 100755 --- a/retail/apiv2alpha/retailpb/product.pb.go +++ b/retail/apiv2alpha/retailpb/product.pb.go @@ -21,6 +21,9 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -28,8 +31,6 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/product_service.pb.go b/retail/apiv2alpha/retailpb/product_service.pb.go index 621086e62686..fcecdd149ff1 100755 --- a/retail/apiv2alpha/retailpb/product_service.pb.go +++ b/retail/apiv2alpha/retailpb/product_service.pb.go @@ -21,8 +21,11 @@ package retailpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/promotion.pb.go b/retail/apiv2alpha/retailpb/promotion.pb.go index e9601c40ac1e..97d014358bc6 100755 --- a/retail/apiv2alpha/retailpb/promotion.pb.go +++ b/retail/apiv2alpha/retailpb/promotion.pb.go @@ -21,10 +21,11 @@ package retailpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/retail/apiv2alpha/retailpb/purge_config.pb.go b/retail/apiv2alpha/retailpb/purge_config.pb.go index 2fc2482e2e72..2d675c6b5922 100755 --- a/retail/apiv2alpha/retailpb/purge_config.pb.go +++ b/retail/apiv2alpha/retailpb/purge_config.pb.go @@ -21,12 +21,13 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/search_service.pb.go b/retail/apiv2alpha/retailpb/search_service.pb.go index 550f82387352..7f72729d5605 100755 --- a/retail/apiv2alpha/retailpb/search_service.pb.go +++ b/retail/apiv2alpha/retailpb/search_service.pb.go @@ -22,6 +22,9 @@ package retailpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/serving_config.pb.go b/retail/apiv2alpha/retailpb/serving_config.pb.go index 9248b2e42487..355d9e88c673 100755 --- a/retail/apiv2alpha/retailpb/serving_config.pb.go +++ b/retail/apiv2alpha/retailpb/serving_config.pb.go @@ -21,11 +21,12 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/serving_config_service.pb.go b/retail/apiv2alpha/retailpb/serving_config_service.pb.go index 1110ae597b27..d64f1c98979a 100755 --- a/retail/apiv2alpha/retailpb/serving_config_service.pb.go +++ b/retail/apiv2alpha/retailpb/serving_config_service.pb.go @@ -22,6 +22,9 @@ package retailpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/user_event.pb.go b/retail/apiv2alpha/retailpb/user_event.pb.go index d1de837ff2a4..583cb06c4418 100755 --- a/retail/apiv2alpha/retailpb/user_event.pb.go +++ b/retail/apiv2alpha/retailpb/user_event.pb.go @@ -21,13 +21,14 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2alpha/retailpb/user_event_service.pb.go b/retail/apiv2alpha/retailpb/user_event_service.pb.go index a75e8dda20a0..c7b7a3c38795 100755 --- a/retail/apiv2alpha/retailpb/user_event_service.pb.go +++ b/retail/apiv2alpha/retailpb/user_event_service.pb.go @@ -21,8 +21,11 @@ package retailpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -30,8 +33,6 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2beta/catalog_client.go b/retail/apiv2beta/catalog_client.go index 968143bfe057..7e2f0365986f 100755 --- a/retail/apiv2beta/catalog_client.go +++ b/retail/apiv2beta/catalog_client.go @@ -505,13 +505,13 @@ func (c *CatalogClient) UpdateCatalog(ctx context.Context, req *retailpb.UpdateC // // More specifically: // -// PredictionService will only return product IDs from branch {newBranch}. +// PredictionService will only return product IDs from branch {newBranch}. // -// SearchService will only return product IDs from branch {newBranch} -// (if branch is not explicitly set). +// SearchService will only return product IDs from branch {newBranch} +// (if branch is not explicitly set). // -// UserEventService will only join events with products from branch -// {newBranch}. +// UserEventService will only join events with products from branch +// {newBranch}. func (c *CatalogClient) SetDefaultBranch(ctx context.Context, req *retailpb.SetDefaultBranchRequest, opts ...gax.CallOption) error { return c.internalClient.SetDefaultBranch(ctx, req, opts...) } @@ -1240,13 +1240,13 @@ func (c *catalogRESTClient) UpdateCatalog(ctx context.Context, req *retailpb.Upd // // More specifically: // -// PredictionService will only return product IDs from branch {newBranch}. +// PredictionService will only return product IDs from branch {newBranch}. // -// SearchService will only return product IDs from branch {newBranch} -// (if branch is not explicitly set). +// SearchService will only return product IDs from branch {newBranch} +// (if branch is not explicitly set). // -// UserEventService will only join events with products from branch -// {newBranch}. +// UserEventService will only join events with products from branch +// {newBranch}. func (c *catalogRESTClient) SetDefaultBranch(ctx context.Context, req *retailpb.SetDefaultBranchRequest, opts ...gax.CallOption) error { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) diff --git a/retail/apiv2beta/doc.go b/retail/apiv2beta/doc.go index bd065b60a15e..3cc70874a4f7 100755 --- a/retail/apiv2beta/doc.go +++ b/retail/apiv2beta/doc.go @@ -21,67 +21,68 @@ // recommendation systems without requiring a high level of expertise in // machine learning, recommendation system, or Google Cloud. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := retail.NewCatalogClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := retail.NewCatalogClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := retail.NewCatalogClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &retailpb.AddCatalogAttributeRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/retail/apiv2beta/retailpb#AddCatalogAttributeRequest. -// } -// resp, err := c.AddCatalogAttribute(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := retail.NewCatalogClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &retailpb.AddCatalogAttributeRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/retail/apiv2beta/retailpb#AddCatalogAttributeRequest. +// } +// resp, err := c.AddCatalogAttribute(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewCatalogClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/retail/apiv2beta/model_client.go b/retail/apiv2beta/model_client.go index 0a20aa821faf..6ee51661870d 100755 --- a/retail/apiv2beta/model_client.go +++ b/retail/apiv2beta/model_client.go @@ -154,13 +154,13 @@ type internalModelClient interface { // // This service allows you to do the following: // -// Initiate training of a model. +// Initiate training of a model. // -// Pause training of an existing model. +// Pause training of an existing model. // -// List all the available models along with their metadata. +// List all the available models along with their metadata. // -// Control their tuning schedule. +// Control their tuning schedule. type ModelClient struct { // The internal transport-dependent client. internalClient internalModelClient @@ -297,13 +297,13 @@ type modelGRPCClient struct { // // This service allows you to do the following: // -// Initiate training of a model. +// Initiate training of a model. // -// Pause training of an existing model. +// Pause training of an existing model. // -// List all the available models along with their metadata. +// List all the available models along with their metadata. // -// Control their tuning schedule. +// Control their tuning schedule. func NewModelClient(ctx context.Context, opts ...option.ClientOption) (*ModelClient, error) { clientOpts := defaultModelGRPCClientOptions() if newModelClientHook != nil { @@ -397,13 +397,13 @@ type modelRESTClient struct { // // This service allows you to do the following: // -// Initiate training of a model. +// Initiate training of a model. // -// Pause training of an existing model. +// Pause training of an existing model. // -// List all the available models along with their metadata. +// List all the available models along with their metadata. // -// Control their tuning schedule. +// Control their tuning schedule. func NewModelRESTClient(ctx context.Context, opts ...option.ClientOption) (*ModelClient, error) { clientOpts := append(defaultModelRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/retail/apiv2beta/retailpb/catalog.pb.go b/retail/apiv2beta/retailpb/catalog.pb.go index 5d498b15daf1..4947e10a527b 100755 --- a/retail/apiv2beta/retailpb/catalog.pb.go +++ b/retail/apiv2beta/retailpb/catalog.pb.go @@ -21,11 +21,12 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/catalog_service.pb.go b/retail/apiv2beta/retailpb/catalog_service.pb.go index 344879b31980..b612aea81944 100755 --- a/retail/apiv2beta/retailpb/catalog_service.pb.go +++ b/retail/apiv2beta/retailpb/catalog_service.pb.go @@ -22,6 +22,9 @@ package retailpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/common.pb.go b/retail/apiv2beta/retailpb/common.pb.go index effcbe7e2775..050e1f264339 100755 --- a/retail/apiv2beta/retailpb/common.pb.go +++ b/retail/apiv2beta/retailpb/common.pb.go @@ -21,12 +21,13 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -1806,11 +1807,12 @@ func (x *Rule_BoostAction) GetProductsFilter() string { // * Rule Condition: // - No -// [Condition.query_terms][google.cloud.retail.v2beta.Condition.query_terms] -// provided is a global match. +// [Condition.query_terms][google.cloud.retail.v2beta.Condition.query_terms] +// provided is a global match. // - 1 or more -// [Condition.query_terms][google.cloud.retail.v2beta.Condition.query_terms] -// provided are combined with OR operator. +// [Condition.query_terms][google.cloud.retail.v2beta.Condition.query_terms] +// provided are combined with OR operator. +// // * Action Input: The request query and filter that are applied to the // retrieved products, in addition to any filters already provided with the // SearchRequest. The AND operator is used to combine the query's existing @@ -1884,7 +1886,8 @@ func (x *Rule_FilterAction) GetFilter() string { // // * Rule Condition: // - Must specify -// [Condition.query_terms][google.cloud.retail.v2beta.Condition.query_terms]. +// [Condition.query_terms][google.cloud.retail.v2beta.Condition.query_terms]. +// // * Action Input: Request Query // * Action Result: Redirects shopper to provided uri. type Rule_RedirectAction struct { @@ -1938,8 +1941,8 @@ func (x *Rule_RedirectAction) GetRedirectUri() string { // Creates a set of terms that will be treated as synonyms of each other. // Example: synonyms of "sneakers" and "shoes": // -// * "sneakers" will use a synonym of "shoes". -// * "shoes" will use a synonym of "sneakers". +// - "sneakers" will use a synonym of "shoes". +// - "shoes" will use a synonym of "sneakers". type Rule_TwowaySynonymsAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/retail/apiv2beta/retailpb/completion_service.pb.go b/retail/apiv2beta/retailpb/completion_service.pb.go index ebc046a7d9fb..3062c941ff93 100755 --- a/retail/apiv2beta/retailpb/completion_service.pb.go +++ b/retail/apiv2beta/retailpb/completion_service.pb.go @@ -21,16 +21,17 @@ package retailpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/control.pb.go b/retail/apiv2beta/retailpb/control.pb.go index ee81d0aaa4ac..4f4ea0e8a5cf 100755 --- a/retail/apiv2beta/retailpb/control.pb.go +++ b/retail/apiv2beta/retailpb/control.pb.go @@ -21,11 +21,12 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/control_service.pb.go b/retail/apiv2beta/retailpb/control_service.pb.go index a9d090f94e4a..05bd7fb282f7 100755 --- a/retail/apiv2beta/retailpb/control_service.pb.go +++ b/retail/apiv2beta/retailpb/control_service.pb.go @@ -22,6 +22,9 @@ package retailpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/export_config.pb.go b/retail/apiv2beta/retailpb/export_config.pb.go index 4baf29d2a9cf..30a4603ef8f9 100755 --- a/retail/apiv2beta/retailpb/export_config.pb.go +++ b/retail/apiv2beta/retailpb/export_config.pb.go @@ -21,13 +21,14 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/import_config.pb.go b/retail/apiv2beta/retailpb/import_config.pb.go index a2ab1ab98233..f3caf45a8dbe 100755 --- a/retail/apiv2beta/retailpb/import_config.pb.go +++ b/retail/apiv2beta/retailpb/import_config.pb.go @@ -21,6 +21,9 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" date "google.golang.org/genproto/googleapis/type/date" @@ -28,8 +31,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/model.pb.go b/retail/apiv2beta/retailpb/model.pb.go index 946b28e0a8c9..775a0e3a3295 100755 --- a/retail/apiv2beta/retailpb/model.pb.go +++ b/retail/apiv2beta/retailpb/model.pb.go @@ -21,12 +21,13 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/model_service.pb.go b/retail/apiv2beta/retailpb/model_service.pb.go index 05622c7cee9e..b6324816ed0d 100755 --- a/retail/apiv2beta/retailpb/model_service.pb.go +++ b/retail/apiv2beta/retailpb/model_service.pb.go @@ -21,8 +21,11 @@ package retailpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/prediction_service.pb.go b/retail/apiv2beta/retailpb/prediction_service.pb.go index 69652aab690c..4146b1de4493 100755 --- a/retail/apiv2beta/retailpb/prediction_service.pb.go +++ b/retail/apiv2beta/retailpb/prediction_service.pb.go @@ -22,6 +22,9 @@ package retailpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/product.pb.go b/retail/apiv2beta/retailpb/product.pb.go index 6780cbde3bd6..d0ef5dbf7a02 100755 --- a/retail/apiv2beta/retailpb/product.pb.go +++ b/retail/apiv2beta/retailpb/product.pb.go @@ -21,6 +21,9 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -28,8 +31,6 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/product_service.pb.go b/retail/apiv2beta/retailpb/product_service.pb.go index 1e8f6591e716..35e57c415cd2 100755 --- a/retail/apiv2beta/retailpb/product_service.pb.go +++ b/retail/apiv2beta/retailpb/product_service.pb.go @@ -21,8 +21,11 @@ package retailpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/promotion.pb.go b/retail/apiv2beta/retailpb/promotion.pb.go index f6faddb0c7dd..8dfbbe4e1d0c 100755 --- a/retail/apiv2beta/retailpb/promotion.pb.go +++ b/retail/apiv2beta/retailpb/promotion.pb.go @@ -21,10 +21,11 @@ package retailpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/retail/apiv2beta/retailpb/purge_config.pb.go b/retail/apiv2beta/retailpb/purge_config.pb.go index 68716c678ee8..648b9226b9ff 100755 --- a/retail/apiv2beta/retailpb/purge_config.pb.go +++ b/retail/apiv2beta/retailpb/purge_config.pb.go @@ -21,11 +21,12 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/search_service.pb.go b/retail/apiv2beta/retailpb/search_service.pb.go index e081e97544d6..78a8068570a0 100755 --- a/retail/apiv2beta/retailpb/search_service.pb.go +++ b/retail/apiv2beta/retailpb/search_service.pb.go @@ -22,6 +22,9 @@ package retailpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/serving_config.pb.go b/retail/apiv2beta/retailpb/serving_config.pb.go index cc977ab4ede4..488548cf983b 100755 --- a/retail/apiv2beta/retailpb/serving_config.pb.go +++ b/retail/apiv2beta/retailpb/serving_config.pb.go @@ -21,11 +21,12 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/serving_config_service.pb.go b/retail/apiv2beta/retailpb/serving_config_service.pb.go index 489b1c36c725..b7e49e85e747 100755 --- a/retail/apiv2beta/retailpb/serving_config_service.pb.go +++ b/retail/apiv2beta/retailpb/serving_config_service.pb.go @@ -22,6 +22,9 @@ package retailpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/user_event.pb.go b/retail/apiv2beta/retailpb/user_event.pb.go index e04ea26c0753..f8b91390f021 100755 --- a/retail/apiv2beta/retailpb/user_event.pb.go +++ b/retail/apiv2beta/retailpb/user_event.pb.go @@ -21,13 +21,14 @@ package retailpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/retail/apiv2beta/retailpb/user_event_service.pb.go b/retail/apiv2beta/retailpb/user_event_service.pb.go index b1b910598d09..07ac0fa5b5f6 100755 --- a/retail/apiv2beta/retailpb/user_event_service.pb.go +++ b/retail/apiv2beta/retailpb/user_event_service.pb.go @@ -21,8 +21,11 @@ package retailpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" httpbody "google.golang.org/genproto/googleapis/api/httpbody" grpc "google.golang.org/grpc" @@ -30,8 +33,6 @@ import ( status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/run/apiv2/doc.go b/run/apiv2/doc.go index 025979d1a6e9..67d4191e920f 100755 --- a/run/apiv2/doc.go +++ b/run/apiv2/doc.go @@ -23,70 +23,71 @@ // API standards, as described in https://google.aip.dev/ (at // https://google.aip.dev/). // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := run.NewExecutionsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := run.NewExecutionsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := run.NewExecutionsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &runpb.CancelExecutionRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/run/apiv2/runpb#CancelExecutionRequest. -// } -// op, err := c.CancelExecution(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := run.NewExecutionsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &runpb.CancelExecutionRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/run/apiv2/runpb#CancelExecutionRequest. +// } +// op, err := c.CancelExecution(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewExecutionsClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/run/apiv2/runpb/condition.pb.go b/run/apiv2/runpb/condition.pb.go index 46dbc78e3026..c0695161c535 100755 --- a/run/apiv2/runpb/condition.pb.go +++ b/run/apiv2/runpb/condition.pb.go @@ -21,11 +21,12 @@ package runpb 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" - reflect "reflect" - sync "sync" ) const ( diff --git a/run/apiv2/runpb/execution.pb.go b/run/apiv2/runpb/execution.pb.go index 68e4a2269f8d..e9475a4951e9 100755 --- a/run/apiv2/runpb/execution.pb.go +++ b/run/apiv2/runpb/execution.pb.go @@ -21,8 +21,11 @@ package runpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" api "google.golang.org/genproto/googleapis/api" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" @@ -31,8 +34,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/run/apiv2/runpb/execution_template.pb.go b/run/apiv2/runpb/execution_template.pb.go index 703ec939a8ed..d28b3b55c20a 100755 --- a/run/apiv2/runpb/execution_template.pb.go +++ b/run/apiv2/runpb/execution_template.pb.go @@ -21,11 +21,12 @@ package runpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/run/apiv2/runpb/job.pb.go b/run/apiv2/runpb/job.pb.go index cb96e5d1772e..c6bc4581fa82 100755 --- a/run/apiv2/runpb/job.pb.go +++ b/run/apiv2/runpb/job.pb.go @@ -21,9 +21,12 @@ package runpb import ( + context "context" + reflect "reflect" + sync "sync" + iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" - context "context" api "google.golang.org/genproto/googleapis/api" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" @@ -33,8 +36,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/run/apiv2/runpb/k8s.min.pb.go b/run/apiv2/runpb/k8s.min.pb.go index 4ead647d84ce..5483369eb3d0 100755 --- a/run/apiv2/runpb/k8s.min.pb.go +++ b/run/apiv2/runpb/k8s.min.pb.go @@ -21,11 +21,12 @@ package runpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/run/apiv2/runpb/revision.pb.go b/run/apiv2/runpb/revision.pb.go index 427778ca87b8..1fa28083fc60 100755 --- a/run/apiv2/runpb/revision.pb.go +++ b/run/apiv2/runpb/revision.pb.go @@ -21,8 +21,11 @@ package runpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" api "google.golang.org/genproto/googleapis/api" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" @@ -32,8 +35,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/run/apiv2/runpb/revision_template.pb.go b/run/apiv2/runpb/revision_template.pb.go index f149224d629f..46658af32abe 100755 --- a/run/apiv2/runpb/revision_template.pb.go +++ b/run/apiv2/runpb/revision_template.pb.go @@ -21,12 +21,13 @@ package runpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/run/apiv2/runpb/service.pb.go b/run/apiv2/runpb/service.pb.go index f6a3d40cafc0..746c884c8f1c 100755 --- a/run/apiv2/runpb/service.pb.go +++ b/run/apiv2/runpb/service.pb.go @@ -21,9 +21,12 @@ package runpb import ( + context "context" + reflect "reflect" + sync "sync" + iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" - context "context" api "google.golang.org/genproto/googleapis/api" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" @@ -32,8 +35,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/run/apiv2/runpb/task.pb.go b/run/apiv2/runpb/task.pb.go index 1bce0aa22e12..9b047fa7eb54 100755 --- a/run/apiv2/runpb/task.pb.go +++ b/run/apiv2/runpb/task.pb.go @@ -22,6 +22,9 @@ package runpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/run/apiv2/runpb/task_template.pb.go b/run/apiv2/runpb/task_template.pb.go index 72d95d6da16a..e52ed79baf94 100755 --- a/run/apiv2/runpb/task_template.pb.go +++ b/run/apiv2/runpb/task_template.pb.go @@ -21,12 +21,13 @@ package runpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/run/apiv2/runpb/traffic_target.pb.go b/run/apiv2/runpb/traffic_target.pb.go index d6d632912bfb..d1a13eda8279 100755 --- a/run/apiv2/runpb/traffic_target.pb.go +++ b/run/apiv2/runpb/traffic_target.pb.go @@ -21,11 +21,12 @@ package runpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/run/apiv2/runpb/vendor_settings.pb.go b/run/apiv2/runpb/vendor_settings.pb.go index 6ac88a1c197b..37b4b7d467e6 100755 --- a/run/apiv2/runpb/vendor_settings.pb.go +++ b/run/apiv2/runpb/vendor_settings.pb.go @@ -21,11 +21,12 @@ package runpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/scheduler/apiv1/doc.go b/scheduler/apiv1/doc.go index 828dfb7ea02e..ecda9292fe6e 100755 --- a/scheduler/apiv1/doc.go +++ b/scheduler/apiv1/doc.go @@ -19,65 +19,66 @@ // // Creates and manages jobs run on a regular recurring schedule. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := scheduler.NewCloudSchedulerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := scheduler.NewCloudSchedulerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := scheduler.NewCloudSchedulerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &schedulerpb.CreateJobRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/scheduler/apiv1/schedulerpb#CreateJobRequest. -// } -// resp, err := c.CreateJob(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := scheduler.NewCloudSchedulerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &schedulerpb.CreateJobRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/scheduler/apiv1/schedulerpb#CreateJobRequest. +// } +// resp, err := c.CreateJob(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewCloudSchedulerClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/scheduler/apiv1/schedulerpb/cloudscheduler.pb.go b/scheduler/apiv1/schedulerpb/cloudscheduler.pb.go index 2472d558b8ca..31fbacfe41cd 100755 --- a/scheduler/apiv1/schedulerpb/cloudscheduler.pb.go +++ b/scheduler/apiv1/schedulerpb/cloudscheduler.pb.go @@ -22,6 +22,9 @@ package schedulerpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/scheduler/apiv1/schedulerpb/job.pb.go b/scheduler/apiv1/schedulerpb/job.pb.go index 34e7c7a94e26..9a0dff04d090 100755 --- a/scheduler/apiv1/schedulerpb/job.pb.go +++ b/scheduler/apiv1/schedulerpb/job.pb.go @@ -21,14 +21,15 @@ package schedulerpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/scheduler/apiv1/schedulerpb/target.pb.go b/scheduler/apiv1/schedulerpb/target.pb.go index abf76060e720..b9e93cf83b15 100755 --- a/scheduler/apiv1/schedulerpb/target.pb.go +++ b/scheduler/apiv1/schedulerpb/target.pb.go @@ -21,11 +21,12 @@ package schedulerpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/scheduler/apiv1beta1/doc.go b/scheduler/apiv1beta1/doc.go index 808b47b18714..ebeb35d868b4 100755 --- a/scheduler/apiv1beta1/doc.go +++ b/scheduler/apiv1beta1/doc.go @@ -19,67 +19,68 @@ // // Creates and manages jobs run on a regular recurring schedule. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := scheduler.NewCloudSchedulerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := scheduler.NewCloudSchedulerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := scheduler.NewCloudSchedulerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &schedulerpb.CreateJobRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/scheduler/apiv1beta1/schedulerpb#CreateJobRequest. -// } -// resp, err := c.CreateJob(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := scheduler.NewCloudSchedulerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &schedulerpb.CreateJobRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/scheduler/apiv1beta1/schedulerpb#CreateJobRequest. +// } +// resp, err := c.CreateJob(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewCloudSchedulerClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/scheduler/apiv1beta1/schedulerpb/cloudscheduler.pb.go b/scheduler/apiv1beta1/schedulerpb/cloudscheduler.pb.go index b7c363212f6d..2fd4620758d2 100755 --- a/scheduler/apiv1beta1/schedulerpb/cloudscheduler.pb.go +++ b/scheduler/apiv1beta1/schedulerpb/cloudscheduler.pb.go @@ -22,6 +22,9 @@ package schedulerpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/scheduler/apiv1beta1/schedulerpb/job.pb.go b/scheduler/apiv1beta1/schedulerpb/job.pb.go index 105c79a82ca5..b600fab202d1 100755 --- a/scheduler/apiv1beta1/schedulerpb/job.pb.go +++ b/scheduler/apiv1beta1/schedulerpb/job.pb.go @@ -21,14 +21,15 @@ package schedulerpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/scheduler/apiv1beta1/schedulerpb/target.pb.go b/scheduler/apiv1beta1/schedulerpb/target.pb.go index 65b32e0ddc4e..e98d3bd758a6 100755 --- a/scheduler/apiv1beta1/schedulerpb/target.pb.go +++ b/scheduler/apiv1beta1/schedulerpb/target.pb.go @@ -21,11 +21,12 @@ package schedulerpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/secretmanager/apiv1/doc.go b/secretmanager/apiv1/doc.go index 06dd98e5a4d1..86305897e02c 100755 --- a/secretmanager/apiv1/doc.go +++ b/secretmanager/apiv1/doc.go @@ -20,65 +20,66 @@ // Stores sensitive data such as API keys, passwords, and certificates. // Provides convenience while improving security. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := secretmanager.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := secretmanager.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := secretmanager.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &secretmanagerpb.AccessSecretVersionRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/secretmanager/apiv1/secretmanagerpb#AccessSecretVersionRequest. -// } -// resp, err := c.AccessSecretVersion(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := secretmanager.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &secretmanagerpb.AccessSecretVersionRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/secretmanager/apiv1/secretmanagerpb#AccessSecretVersionRequest. +// } +// resp, err := c.AccessSecretVersion(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/secretmanager/apiv1/secret_manager_client.go b/secretmanager/apiv1/secret_manager_client.go index 6a69409d5264..73dc83a82c57 100755 --- a/secretmanager/apiv1/secret_manager_client.go +++ b/secretmanager/apiv1/secret_manager_client.go @@ -218,14 +218,14 @@ type internalClient interface { // Client is a client for interacting with Secret Manager API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// Secret Manager Service +// # Secret Manager Service // // Manages secrets and operations using those secrets. Implements a REST // model with the following objects: // -// Secret +// Secret // -// SecretVersion +// SecretVersion type Client struct { // The internal transport-dependent client. internalClient internalClient @@ -381,14 +381,14 @@ type gRPCClient struct { // NewClient creates a new secret manager service client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// Secret Manager Service +// # Secret Manager Service // // Manages secrets and operations using those secrets. Implements a REST // model with the following objects: // -// Secret +// Secret // -// SecretVersion +// SecretVersion func NewClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { clientOpts := defaultGRPCClientOptions() if newClientHook != nil { @@ -457,14 +457,14 @@ type restClient struct { // NewRESTClient creates a new secret manager service rest client. // -// Secret Manager Service +// # Secret Manager Service // // Manages secrets and operations using those secrets. Implements a REST // model with the following objects: // -// Secret +// Secret // -// SecretVersion +// SecretVersion func NewRESTClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { clientOpts := append(defaultRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/secretmanager/apiv1/secretmanagerpb/resources.pb.go b/secretmanager/apiv1/secretmanagerpb/resources.pb.go index cd4e792ff41e..05e828237503 100755 --- a/secretmanager/apiv1/secretmanagerpb/resources.pb.go +++ b/secretmanager/apiv1/secretmanagerpb/resources.pb.go @@ -21,13 +21,14 @@ package secretmanagerpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/secretmanager/apiv1/secretmanagerpb/service.pb.go b/secretmanager/apiv1/secretmanagerpb/service.pb.go index 2838135ef7e1..ac0cf8128eae 100755 --- a/secretmanager/apiv1/secretmanagerpb/service.pb.go +++ b/secretmanager/apiv1/secretmanagerpb/service.pb.go @@ -21,8 +21,11 @@ package secretmanagerpb import ( - iampb "cloud.google.com/go/iam/apiv1/iampb" context "context" + reflect "reflect" + sync "sync" + + iampb "cloud.google.com/go/iam/apiv1/iampb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/securesourcemanager/apiv1/doc.go b/securesourcemanager/apiv1/doc.go index b592402cdc7a..ff9c36ac4700 100755 --- a/securesourcemanager/apiv1/doc.go +++ b/securesourcemanager/apiv1/doc.go @@ -20,72 +20,73 @@ // Regionally deployed, single-tenant managed source code repository hosted // on Google Cloud. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := securesourcemanager.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := securesourcemanager.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := securesourcemanager.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &securesourcemanagerpb.CreateInstanceRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/securesourcemanager/apiv1/securesourcemanagerpb#CreateInstanceRequest. -// } -// op, err := c.CreateInstance(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := securesourcemanager.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &securesourcemanagerpb.CreateInstanceRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/securesourcemanager/apiv1/securesourcemanagerpb#CreateInstanceRequest. +// } +// op, err := c.CreateInstance(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/securesourcemanager/apiv1/secure_source_manager_client.go b/securesourcemanager/apiv1/secure_source_manager_client.go index 3e1ee306d1b1..4a8f1311e1ba 100755 --- a/securesourcemanager/apiv1/secure_source_manager_client.go +++ b/securesourcemanager/apiv1/secure_source_manager_client.go @@ -272,7 +272,7 @@ type internalClient interface { // Client is a client for interacting with Secure Source Manager API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// Secure Source Manager API +// # Secure Source Manager API // // Access Secure Source Manager instances, resources, and repositories. // @@ -499,7 +499,7 @@ type gRPCClient struct { // NewClient creates a new secure source manager client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// Secure Source Manager API +// # Secure Source Manager API // // Access Secure Source Manager instances, resources, and repositories. // @@ -602,7 +602,7 @@ type restClient struct { // NewRESTClient creates a new secure source manager rest client. // -// Secure Source Manager API +// # Secure Source Manager API // // Access Secure Source Manager instances, resources, and repositories. // diff --git a/securesourcemanager/apiv1/securesourcemanagerpb/secure_source_manager.pb.go b/securesourcemanager/apiv1/securesourcemanagerpb/secure_source_manager.pb.go index 92ac33fd15fd..ef3456141a67 100755 --- a/securesourcemanager/apiv1/securesourcemanagerpb/secure_source_manager.pb.go +++ b/securesourcemanager/apiv1/securesourcemanagerpb/secure_source_manager.pb.go @@ -21,9 +21,12 @@ package securesourcemanagerpb import ( + context "context" + reflect "reflect" + sync "sync" + iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" - context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/security/privateca/apiv1/doc.go b/security/privateca/apiv1/doc.go index f92e2c4d9f42..4109d0334273 100755 --- a/security/privateca/apiv1/doc.go +++ b/security/privateca/apiv1/doc.go @@ -22,70 +22,71 @@ // private certificate authorities (CAs) while staying in control of your // private keys. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := privateca.NewCertificateAuthorityClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := privateca.NewCertificateAuthorityClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := privateca.NewCertificateAuthorityClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &privatecapb.ActivateCertificateAuthorityRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/security/privateca/apiv1/privatecapb#ActivateCertificateAuthorityRequest. -// } -// op, err := c.ActivateCertificateAuthority(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := privateca.NewCertificateAuthorityClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &privatecapb.ActivateCertificateAuthorityRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/security/privateca/apiv1/privatecapb#ActivateCertificateAuthorityRequest. +// } +// op, err := c.ActivateCertificateAuthority(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewCertificateAuthorityClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/security/privateca/apiv1/privatecapb/resources.pb.go b/security/privateca/apiv1/privatecapb/resources.pb.go index eb780f7fb97e..205b30c3c2dc 100755 --- a/security/privateca/apiv1/privatecapb/resources.pb.go +++ b/security/privateca/apiv1/privatecapb/resources.pb.go @@ -21,14 +21,15 @@ package privatecapb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" expr "google.golang.org/genproto/googleapis/type/expr" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/security/privateca/apiv1/privatecapb/service.pb.go b/security/privateca/apiv1/privatecapb/service.pb.go index 8db793f934ac..8097d19e201a 100755 --- a/security/privateca/apiv1/privatecapb/service.pb.go +++ b/security/privateca/apiv1/privatecapb/service.pb.go @@ -21,8 +21,11 @@ package privatecapb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/security/publicca/apiv1beta1/auxiliary.go b/security/publicca/apiv1beta1/auxiliary.go index 9b25f2c4c416..54c1b9535dfe 100755 --- a/security/publicca/apiv1beta1/auxiliary.go +++ b/security/publicca/apiv1beta1/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package publicca - -import () diff --git a/security/publicca/apiv1beta1/doc.go b/security/publicca/apiv1beta1/doc.go index 9535bc18c59d..0408b4ab63b3 100755 --- a/security/publicca/apiv1beta1/doc.go +++ b/security/publicca/apiv1beta1/doc.go @@ -21,67 +21,68 @@ // external account binding keys associated with Google Trust Services’ // publicly trusted certificate authority. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := publicca.NewPublicCertificateAuthorityClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := publicca.NewPublicCertificateAuthorityClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := publicca.NewPublicCertificateAuthorityClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &publiccapb.CreateExternalAccountKeyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/security/publicca/apiv1beta1/publiccapb#CreateExternalAccountKeyRequest. -// } -// resp, err := c.CreateExternalAccountKey(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := publicca.NewPublicCertificateAuthorityClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &publiccapb.CreateExternalAccountKeyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/security/publicca/apiv1beta1/publiccapb#CreateExternalAccountKeyRequest. +// } +// resp, err := c.CreateExternalAccountKey(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewPublicCertificateAuthorityClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/security/publicca/apiv1beta1/publiccapb/resources.pb.go b/security/publicca/apiv1beta1/publiccapb/resources.pb.go index 7661b8322f68..6a4c278f8c10 100755 --- a/security/publicca/apiv1beta1/publiccapb/resources.pb.go +++ b/security/publicca/apiv1beta1/publiccapb/resources.pb.go @@ -21,11 +21,12 @@ package publiccapb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/security/publicca/apiv1beta1/publiccapb/service.pb.go b/security/publicca/apiv1beta1/publiccapb/service.pb.go index de7cd899b364..b8c1db6159c4 100755 --- a/security/publicca/apiv1beta1/publiccapb/service.pb.go +++ b/security/publicca/apiv1beta1/publiccapb/service.pb.go @@ -22,14 +22,15 @@ package publiccapb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1/doc.go b/securitycenter/apiv1/doc.go index 0ffec4109c67..10547822b858 100755 --- a/securitycenter/apiv1/doc.go +++ b/securitycenter/apiv1/doc.go @@ -20,70 +20,71 @@ // Security Command Center API provides access to temporal views of assets // and findings within an organization. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := securitycenter.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := securitycenter.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := securitycenter.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &securitycenterpb.BulkMuteFindingsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/securitycenter/apiv1/securitycenterpb#BulkMuteFindingsRequest. -// } -// op, err := c.BulkMuteFindings(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := securitycenter.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &securitycenterpb.BulkMuteFindingsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/securitycenter/apiv1/securitycenterpb#BulkMuteFindingsRequest. +// } +// op, err := c.BulkMuteFindings(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/securitycenter/apiv1/securitycenterpb/access.pb.go b/securitycenter/apiv1/securitycenterpb/access.pb.go index 648a8f46000a..5fab4b8c36fe 100755 --- a/securitycenter/apiv1/securitycenterpb/access.pb.go +++ b/securitycenter/apiv1/securitycenterpb/access.pb.go @@ -21,10 +21,11 @@ package securitycenterpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/asset.pb.go b/securitycenter/apiv1/securitycenterpb/asset.pb.go index 257b28d911bf..671ce470850d 100755 --- a/securitycenter/apiv1/securitycenterpb/asset.pb.go +++ b/securitycenter/apiv1/securitycenterpb/asset.pb.go @@ -21,13 +21,14 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/bigquery_export.pb.go b/securitycenter/apiv1/securitycenterpb/bigquery_export.pb.go index 285ed6013333..8171d4924d30 100755 --- a/securitycenter/apiv1/securitycenterpb/bigquery_export.pb.go +++ b/securitycenter/apiv1/securitycenterpb/bigquery_export.pb.go @@ -21,12 +21,13 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/cloud_dlp_data_profile.pb.go b/securitycenter/apiv1/securitycenterpb/cloud_dlp_data_profile.pb.go index 03cfe5f2af39..8e69d5e8db04 100755 --- a/securitycenter/apiv1/securitycenterpb/cloud_dlp_data_profile.pb.go +++ b/securitycenter/apiv1/securitycenterpb/cloud_dlp_data_profile.pb.go @@ -21,11 +21,12 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/cloud_dlp_inspection.pb.go b/securitycenter/apiv1/securitycenterpb/cloud_dlp_inspection.pb.go index 1e852b394b11..010c6052a417 100755 --- a/securitycenter/apiv1/securitycenterpb/cloud_dlp_inspection.pb.go +++ b/securitycenter/apiv1/securitycenterpb/cloud_dlp_inspection.pb.go @@ -21,11 +21,12 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/compliance.pb.go b/securitycenter/apiv1/securitycenterpb/compliance.pb.go index adc392b90171..eae85ad5912d 100755 --- a/securitycenter/apiv1/securitycenterpb/compliance.pb.go +++ b/securitycenter/apiv1/securitycenterpb/compliance.pb.go @@ -21,10 +21,11 @@ package securitycenterpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/connection.pb.go b/securitycenter/apiv1/securitycenterpb/connection.pb.go index d6c0ecda2716..cb38f8c165ca 100755 --- a/securitycenter/apiv1/securitycenterpb/connection.pb.go +++ b/securitycenter/apiv1/securitycenterpb/connection.pb.go @@ -21,10 +21,11 @@ package securitycenterpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/contact_details.pb.go b/securitycenter/apiv1/securitycenterpb/contact_details.pb.go index 08b22ae8d366..2e90cb65f937 100755 --- a/securitycenter/apiv1/securitycenterpb/contact_details.pb.go +++ b/securitycenter/apiv1/securitycenterpb/contact_details.pb.go @@ -21,10 +21,11 @@ package securitycenterpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/container.pb.go b/securitycenter/apiv1/securitycenterpb/container.pb.go index 20d451b4f0ab..e7fb3ff0a15c 100755 --- a/securitycenter/apiv1/securitycenterpb/container.pb.go +++ b/securitycenter/apiv1/securitycenterpb/container.pb.go @@ -21,10 +21,11 @@ package securitycenterpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/database.pb.go b/securitycenter/apiv1/securitycenterpb/database.pb.go index 87cf189665ce..fd16e3cb4242 100755 --- a/securitycenter/apiv1/securitycenterpb/database.pb.go +++ b/securitycenter/apiv1/securitycenterpb/database.pb.go @@ -21,10 +21,11 @@ package securitycenterpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/effective_security_health_analytics_custom_module.pb.go b/securitycenter/apiv1/securitycenterpb/effective_security_health_analytics_custom_module.pb.go index bfd239c36947..b87bb5a0c5be 100755 --- a/securitycenter/apiv1/securitycenterpb/effective_security_health_analytics_custom_module.pb.go +++ b/securitycenter/apiv1/securitycenterpb/effective_security_health_analytics_custom_module.pb.go @@ -21,11 +21,12 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/exfiltration.pb.go b/securitycenter/apiv1/securitycenterpb/exfiltration.pb.go index 658bfa0f8849..37ba54fe8e16 100755 --- a/securitycenter/apiv1/securitycenterpb/exfiltration.pb.go +++ b/securitycenter/apiv1/securitycenterpb/exfiltration.pb.go @@ -21,10 +21,11 @@ package securitycenterpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/external_system.pb.go b/securitycenter/apiv1/securitycenterpb/external_system.pb.go index 632a7f6f644b..082c8f4d97d9 100755 --- a/securitycenter/apiv1/securitycenterpb/external_system.pb.go +++ b/securitycenter/apiv1/securitycenterpb/external_system.pb.go @@ -21,12 +21,13 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/file.pb.go b/securitycenter/apiv1/securitycenterpb/file.pb.go index 571b9d5643d4..04ec06fcea12 100755 --- a/securitycenter/apiv1/securitycenterpb/file.pb.go +++ b/securitycenter/apiv1/securitycenterpb/file.pb.go @@ -21,10 +21,11 @@ package securitycenterpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/finding.pb.go b/securitycenter/apiv1/securitycenterpb/finding.pb.go index 37bb33924dce..94a1a90a19b3 100755 --- a/securitycenter/apiv1/securitycenterpb/finding.pb.go +++ b/securitycenter/apiv1/securitycenterpb/finding.pb.go @@ -21,13 +21,14 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/folder.pb.go b/securitycenter/apiv1/securitycenterpb/folder.pb.go index f11cac2abc2f..c1502d73e7ff 100755 --- a/securitycenter/apiv1/securitycenterpb/folder.pb.go +++ b/securitycenter/apiv1/securitycenterpb/folder.pb.go @@ -21,10 +21,11 @@ package securitycenterpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/iam_binding.pb.go b/securitycenter/apiv1/securitycenterpb/iam_binding.pb.go index ac09daffe0e6..ec73be65433d 100755 --- a/securitycenter/apiv1/securitycenterpb/iam_binding.pb.go +++ b/securitycenter/apiv1/securitycenterpb/iam_binding.pb.go @@ -21,10 +21,11 @@ package securitycenterpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/indicator.pb.go b/securitycenter/apiv1/securitycenterpb/indicator.pb.go index 6f95c2f9678e..ae67aee28e29 100755 --- a/securitycenter/apiv1/securitycenterpb/indicator.pb.go +++ b/securitycenter/apiv1/securitycenterpb/indicator.pb.go @@ -21,10 +21,11 @@ package securitycenterpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/kernel_rootkit.pb.go b/securitycenter/apiv1/securitycenterpb/kernel_rootkit.pb.go index bf7ca334d793..b8362f8f98fb 100755 --- a/securitycenter/apiv1/securitycenterpb/kernel_rootkit.pb.go +++ b/securitycenter/apiv1/securitycenterpb/kernel_rootkit.pb.go @@ -21,10 +21,11 @@ package securitycenterpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/kubernetes.pb.go b/securitycenter/apiv1/securitycenterpb/kubernetes.pb.go index 7f9f7a3f6ffd..e75ff7dd2dd9 100755 --- a/securitycenter/apiv1/securitycenterpb/kubernetes.pb.go +++ b/securitycenter/apiv1/securitycenterpb/kubernetes.pb.go @@ -21,10 +21,11 @@ package securitycenterpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/label.pb.go b/securitycenter/apiv1/securitycenterpb/label.pb.go index 8fcb49f08675..17d09af4dea0 100755 --- a/securitycenter/apiv1/securitycenterpb/label.pb.go +++ b/securitycenter/apiv1/securitycenterpb/label.pb.go @@ -21,10 +21,11 @@ package securitycenterpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/mitre_attack.pb.go b/securitycenter/apiv1/securitycenterpb/mitre_attack.pb.go index e9bff8b94393..cf7608ce8764 100755 --- a/securitycenter/apiv1/securitycenterpb/mitre_attack.pb.go +++ b/securitycenter/apiv1/securitycenterpb/mitre_attack.pb.go @@ -21,10 +21,11 @@ package securitycenterpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/mute_config.pb.go b/securitycenter/apiv1/securitycenterpb/mute_config.pb.go index 450bb462f5d0..a2f88bfb349b 100755 --- a/securitycenter/apiv1/securitycenterpb/mute_config.pb.go +++ b/securitycenter/apiv1/securitycenterpb/mute_config.pb.go @@ -21,12 +21,13 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/notification_config.pb.go b/securitycenter/apiv1/securitycenterpb/notification_config.pb.go index 8b9c8f0fe1da..8904870e389d 100755 --- a/securitycenter/apiv1/securitycenterpb/notification_config.pb.go +++ b/securitycenter/apiv1/securitycenterpb/notification_config.pb.go @@ -21,11 +21,12 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/notification_message.pb.go b/securitycenter/apiv1/securitycenterpb/notification_message.pb.go index 9d2a204c75be..a3e6e6999e6a 100755 --- a/securitycenter/apiv1/securitycenterpb/notification_message.pb.go +++ b/securitycenter/apiv1/securitycenterpb/notification_message.pb.go @@ -21,10 +21,11 @@ package securitycenterpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/organization_settings.pb.go b/securitycenter/apiv1/securitycenterpb/organization_settings.pb.go index cbfd825dd97e..c73854ec00fc 100755 --- a/securitycenter/apiv1/securitycenterpb/organization_settings.pb.go +++ b/securitycenter/apiv1/securitycenterpb/organization_settings.pb.go @@ -21,11 +21,12 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/process.pb.go b/securitycenter/apiv1/securitycenterpb/process.pb.go index f5def7b557f2..e73eab1578c6 100755 --- a/securitycenter/apiv1/securitycenterpb/process.pb.go +++ b/securitycenter/apiv1/securitycenterpb/process.pb.go @@ -21,10 +21,11 @@ package securitycenterpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/resource.pb.go b/securitycenter/apiv1/securitycenterpb/resource.pb.go index 8e73cd4571b0..2875a3292f3d 100755 --- a/securitycenter/apiv1/securitycenterpb/resource.pb.go +++ b/securitycenter/apiv1/securitycenterpb/resource.pb.go @@ -21,11 +21,12 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/run_asset_discovery_response.pb.go b/securitycenter/apiv1/securitycenterpb/run_asset_discovery_response.pb.go index 4eb7699c696c..52763d63e251 100755 --- a/securitycenter/apiv1/securitycenterpb/run_asset_discovery_response.pb.go +++ b/securitycenter/apiv1/securitycenterpb/run_asset_discovery_response.pb.go @@ -21,11 +21,12 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/security_health_analytics_custom_config.pb.go b/securitycenter/apiv1/securitycenterpb/security_health_analytics_custom_config.pb.go index c25b3d0c60ba..76daa6d7881e 100755 --- a/securitycenter/apiv1/securitycenterpb/security_health_analytics_custom_config.pb.go +++ b/securitycenter/apiv1/securitycenterpb/security_health_analytics_custom_config.pb.go @@ -21,11 +21,12 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + expr "google.golang.org/genproto/googleapis/type/expr" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/security_health_analytics_custom_module.pb.go b/securitycenter/apiv1/securitycenterpb/security_health_analytics_custom_module.pb.go index 07b648f8ca00..e95fcb73f883 100755 --- a/securitycenter/apiv1/securitycenterpb/security_health_analytics_custom_module.pb.go +++ b/securitycenter/apiv1/securitycenterpb/security_health_analytics_custom_module.pb.go @@ -21,12 +21,13 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/security_marks.pb.go b/securitycenter/apiv1/securitycenterpb/security_marks.pb.go index 6efa4f33d8ab..b34c611d11c3 100755 --- a/securitycenter/apiv1/securitycenterpb/security_marks.pb.go +++ b/securitycenter/apiv1/securitycenterpb/security_marks.pb.go @@ -21,11 +21,12 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/securitycenter_service.pb.go b/securitycenter/apiv1/securitycenterpb/securitycenter_service.pb.go index 23b93dc85b5a..aa651a8ad779 100755 --- a/securitycenter/apiv1/securitycenterpb/securitycenter_service.pb.go +++ b/securitycenter/apiv1/securitycenterpb/securitycenter_service.pb.go @@ -21,9 +21,12 @@ package securitycenterpb import ( + context "context" + reflect "reflect" + sync "sync" + iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" - context "context" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -36,8 +39,6 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/source.pb.go b/securitycenter/apiv1/securitycenterpb/source.pb.go index 7e66a2d34487..6bbb92b93c4c 100755 --- a/securitycenter/apiv1/securitycenterpb/source.pb.go +++ b/securitycenter/apiv1/securitycenterpb/source.pb.go @@ -21,11 +21,12 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1/securitycenterpb/vulnerability.pb.go b/securitycenter/apiv1/securitycenterpb/vulnerability.pb.go index b22a62ed038d..6ce808c8d0dd 100755 --- a/securitycenter/apiv1/securitycenterpb/vulnerability.pb.go +++ b/securitycenter/apiv1/securitycenterpb/vulnerability.pb.go @@ -21,10 +21,11 @@ package securitycenterpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/securitycenter/apiv1beta1/doc.go b/securitycenter/apiv1beta1/doc.go index 6e3905043965..35f32b5cbacb 100755 --- a/securitycenter/apiv1beta1/doc.go +++ b/securitycenter/apiv1beta1/doc.go @@ -20,67 +20,68 @@ // Security Command Center API provides access to temporal views of assets // and findings within an organization. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := securitycenter.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := securitycenter.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := securitycenter.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &securitycenterpb.CreateFindingRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/securitycenter/apiv1beta1/securitycenterpb#CreateFindingRequest. -// } -// resp, err := c.CreateFinding(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := securitycenter.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &securitycenterpb.CreateFindingRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/securitycenter/apiv1beta1/securitycenterpb#CreateFindingRequest. +// } +// resp, err := c.CreateFinding(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/securitycenter/apiv1beta1/securitycenterpb/asset.pb.go b/securitycenter/apiv1beta1/securitycenterpb/asset.pb.go index 4f2218592d2b..cb2e0d2f1e78 100755 --- a/securitycenter/apiv1beta1/securitycenterpb/asset.pb.go +++ b/securitycenter/apiv1beta1/securitycenterpb/asset.pb.go @@ -21,13 +21,14 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1beta1/securitycenterpb/finding.pb.go b/securitycenter/apiv1beta1/securitycenterpb/finding.pb.go index 49316ac52fdd..c81b6447e56e 100755 --- a/securitycenter/apiv1beta1/securitycenterpb/finding.pb.go +++ b/securitycenter/apiv1beta1/securitycenterpb/finding.pb.go @@ -21,13 +21,14 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1beta1/securitycenterpb/organization_settings.pb.go b/securitycenter/apiv1beta1/securitycenterpb/organization_settings.pb.go index d7869dc9feff..691fba19dc83 100755 --- a/securitycenter/apiv1beta1/securitycenterpb/organization_settings.pb.go +++ b/securitycenter/apiv1beta1/securitycenterpb/organization_settings.pb.go @@ -21,11 +21,12 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1beta1/securitycenterpb/run_asset_discovery_response.pb.go b/securitycenter/apiv1beta1/securitycenterpb/run_asset_discovery_response.pb.go index 782ffdc0be47..c771723b339b 100755 --- a/securitycenter/apiv1beta1/securitycenterpb/run_asset_discovery_response.pb.go +++ b/securitycenter/apiv1beta1/securitycenterpb/run_asset_discovery_response.pb.go @@ -21,11 +21,12 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1beta1/securitycenterpb/security_marks.pb.go b/securitycenter/apiv1beta1/securitycenterpb/security_marks.pb.go index 83c010551b2a..797b49b6c92f 100755 --- a/securitycenter/apiv1beta1/securitycenterpb/security_marks.pb.go +++ b/securitycenter/apiv1beta1/securitycenterpb/security_marks.pb.go @@ -21,11 +21,12 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1beta1/securitycenterpb/securitycenter_service.pb.go b/securitycenter/apiv1beta1/securitycenterpb/securitycenter_service.pb.go index 0c7ba347dceb..1631094027e3 100755 --- a/securitycenter/apiv1beta1/securitycenterpb/securitycenter_service.pb.go +++ b/securitycenter/apiv1beta1/securitycenterpb/securitycenter_service.pb.go @@ -21,9 +21,12 @@ package securitycenterpb import ( + context "context" + reflect "reflect" + sync "sync" + iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" - context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -34,8 +37,6 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1beta1/securitycenterpb/source.pb.go b/securitycenter/apiv1beta1/securitycenterpb/source.pb.go index 62725fee72f0..63f789d5341d 100755 --- a/securitycenter/apiv1beta1/securitycenterpb/source.pb.go +++ b/securitycenter/apiv1beta1/securitycenterpb/source.pb.go @@ -21,11 +21,12 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/doc.go b/securitycenter/apiv1p1beta1/doc.go index a06119541d30..c7d4662ab12f 100755 --- a/securitycenter/apiv1p1beta1/doc.go +++ b/securitycenter/apiv1p1beta1/doc.go @@ -20,67 +20,68 @@ // Security Command Center API provides access to temporal views of assets // and findings within an organization. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := securitycenter.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := securitycenter.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := securitycenter.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &securitycenterpb.CreateFindingRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb#CreateFindingRequest. -// } -// resp, err := c.CreateFinding(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := securitycenter.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &securitycenterpb.CreateFindingRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb#CreateFindingRequest. +// } +// resp, err := c.CreateFinding(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/asset.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/asset.pb.go index d796dc0997d5..c708d039b831 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/asset.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/asset.pb.go @@ -21,13 +21,14 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/finding.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/finding.pb.go index dd9285fb2f5c..6a952a5cc894 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/finding.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/finding.pb.go @@ -21,13 +21,14 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/folder.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/folder.pb.go index 37944cc09428..1751eac9e888 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/folder.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/folder.pb.go @@ -21,10 +21,11 @@ package securitycenterpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/notification_config.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/notification_config.pb.go index 45a70678276d..dc7ac50d967b 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/notification_config.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/notification_config.pb.go @@ -21,11 +21,12 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/notification_message.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/notification_message.pb.go index c2ace0456365..fcc0d6fabd69 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/notification_message.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/notification_message.pb.go @@ -21,10 +21,11 @@ package securitycenterpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/organization_settings.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/organization_settings.pb.go index a1f7fa3ef277..1f4f8928d63a 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/organization_settings.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/organization_settings.pb.go @@ -21,11 +21,12 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/resource.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/resource.pb.go index aa42d1b44e8f..72ee26a917d8 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/resource.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/resource.pb.go @@ -21,11 +21,12 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/run_asset_discovery_response.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/run_asset_discovery_response.pb.go index b25e8f17c6a9..a5f7970a02a6 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/run_asset_discovery_response.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/run_asset_discovery_response.pb.go @@ -21,11 +21,12 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/security_marks.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/security_marks.pb.go index e09f08f5d89c..35f6634a02eb 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/security_marks.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/security_marks.pb.go @@ -21,11 +21,12 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/securitycenter_service.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/securitycenter_service.pb.go index 74cadbbd080d..d1d343e9ca4c 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/securitycenter_service.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/securitycenter_service.pb.go @@ -21,9 +21,12 @@ package securitycenterpb import ( + context "context" + reflect "reflect" + sync "sync" + iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" - context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -35,8 +38,6 @@ import ( fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/apiv1p1beta1/securitycenterpb/source.pb.go b/securitycenter/apiv1p1beta1/securitycenterpb/source.pb.go index a5bf5477f871..7cad8c47890d 100755 --- a/securitycenter/apiv1p1beta1/securitycenterpb/source.pb.go +++ b/securitycenter/apiv1p1beta1/securitycenterpb/source.pb.go @@ -21,11 +21,12 @@ package securitycenterpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/settings/apiv1beta1/doc.go b/securitycenter/settings/apiv1beta1/doc.go index c9fdfee55d1c..59bf864f9057 100755 --- a/securitycenter/settings/apiv1beta1/doc.go +++ b/securitycenter/settings/apiv1beta1/doc.go @@ -20,67 +20,68 @@ // Cloud Security Command Center Settings API provides functionality to // retrieve and update configurations. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := settings.NewSecurityCenterSettingsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := settings.NewSecurityCenterSettingsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := settings.NewSecurityCenterSettingsClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &settingspb.BatchCalculateEffectiveSettingsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/securitycenter/settings/apiv1beta1/settingspb#BatchCalculateEffectiveSettingsRequest. -// } -// resp, err := c.BatchCalculateEffectiveSettings(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := settings.NewSecurityCenterSettingsClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &settingspb.BatchCalculateEffectiveSettingsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/securitycenter/settings/apiv1beta1/settingspb#BatchCalculateEffectiveSettingsRequest. +// } +// resp, err := c.BatchCalculateEffectiveSettings(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewSecurityCenterSettingsClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/securitycenter/settings/apiv1beta1/security_center_settings_client.go b/securitycenter/settings/apiv1beta1/security_center_settings_client.go index 30c16f7de32f..8b05b1cad5af 100755 --- a/securitycenter/settings/apiv1beta1/security_center_settings_client.go +++ b/securitycenter/settings/apiv1beta1/security_center_settings_client.go @@ -511,16 +511,16 @@ func (c *SecurityCenterSettingsClient) BatchGetSettings(ctx context.Context, req // Settings resources in the GCP resource hierarchy, and calculates the // effective settings on that resource by applying the following rules: // -// Settings provided closer to the target resource take precedence over -// those further away (e.g. folder will override organization level -// settings). +// Settings provided closer to the target resource take precedence over +// those further away (e.g. folder will override organization level +// settings). // -// Product defaults can be overridden at org, folder, project, and cluster -// levels. +// Product defaults can be overridden at org, folder, project, and cluster +// levels. // -// Detectors will be filtered out if they belong to a billing tier the -// customer -// has not configured. +// Detectors will be filtered out if they belong to a billing tier the +// customer +// has not configured. func (c *SecurityCenterSettingsClient) CalculateEffectiveSettings(ctx context.Context, req *settingspb.CalculateEffectiveSettingsRequest, opts ...gax.CallOption) (*settingspb.Settings, error) { return c.internalClient.CalculateEffectiveSettings(ctx, req, opts...) } @@ -1304,16 +1304,16 @@ func (c *securityCenterSettingsRESTClient) BatchGetSettings(ctx context.Context, // Settings resources in the GCP resource hierarchy, and calculates the // effective settings on that resource by applying the following rules: // -// Settings provided closer to the target resource take precedence over -// those further away (e.g. folder will override organization level -// settings). +// Settings provided closer to the target resource take precedence over +// those further away (e.g. folder will override organization level +// settings). // -// Product defaults can be overridden at org, folder, project, and cluster -// levels. +// Product defaults can be overridden at org, folder, project, and cluster +// levels. // -// Detectors will be filtered out if they belong to a billing tier the -// customer -// has not configured. +// Detectors will be filtered out if they belong to a billing tier the +// customer +// has not configured. func (c *securityCenterSettingsRESTClient) CalculateEffectiveSettings(ctx context.Context, req *settingspb.CalculateEffectiveSettingsRequest, opts ...gax.CallOption) (*settingspb.Settings, error) { baseUrl, err := url.Parse(c.endpoint) if err != nil { diff --git a/securitycenter/settings/apiv1beta1/settingspb/billing_settings.pb.go b/securitycenter/settings/apiv1beta1/settingspb/billing_settings.pb.go index 4ddd8d62eb13..42efa2ec01c2 100755 --- a/securitycenter/settings/apiv1beta1/settingspb/billing_settings.pb.go +++ b/securitycenter/settings/apiv1beta1/settingspb/billing_settings.pb.go @@ -21,12 +21,13 @@ package settingspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/settings/apiv1beta1/settingspb/component_settings.pb.go b/securitycenter/settings/apiv1beta1/settingspb/component_settings.pb.go index e56e35c224d4..10a70958ec84 100755 --- a/securitycenter/settings/apiv1beta1/settingspb/component_settings.pb.go +++ b/securitycenter/settings/apiv1beta1/settingspb/component_settings.pb.go @@ -21,12 +21,13 @@ package settingspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/settings/apiv1beta1/settingspb/detector.pb.go b/securitycenter/settings/apiv1beta1/settingspb/detector.pb.go index 24aa6e1793f8..7f65701bd7f8 100755 --- a/securitycenter/settings/apiv1beta1/settingspb/detector.pb.go +++ b/securitycenter/settings/apiv1beta1/settingspb/detector.pb.go @@ -21,11 +21,12 @@ package settingspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/settings/apiv1beta1/settingspb/securitycenter_settings_service.pb.go b/securitycenter/settings/apiv1beta1/settingspb/securitycenter_settings_service.pb.go index 28b2b2ad88c6..0ffface13516 100755 --- a/securitycenter/settings/apiv1beta1/settingspb/securitycenter_settings_service.pb.go +++ b/securitycenter/settings/apiv1beta1/settingspb/securitycenter_settings_service.pb.go @@ -22,6 +22,9 @@ package settingspb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/settings/apiv1beta1/settingspb/settings.pb.go b/securitycenter/settings/apiv1beta1/settingspb/settings.pb.go index b3523d2de94a..208783c659e4 100755 --- a/securitycenter/settings/apiv1beta1/settingspb/settings.pb.go +++ b/securitycenter/settings/apiv1beta1/settingspb/settings.pb.go @@ -21,12 +21,13 @@ package settingspb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/securitycenter/settings/apiv1beta1/settingspb/sink_settings.pb.go b/securitycenter/settings/apiv1beta1/settingspb/sink_settings.pb.go index c947c4ca6e05..010d1967905b 100755 --- a/securitycenter/settings/apiv1beta1/settingspb/sink_settings.pb.go +++ b/securitycenter/settings/apiv1beta1/settingspb/sink_settings.pb.go @@ -21,10 +21,11 @@ package settingspb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/servicecontrol/apiv1/auxiliary.go b/servicecontrol/apiv1/auxiliary.go index b350ee7bbf75..194d7d2f37cb 100755 --- a/servicecontrol/apiv1/auxiliary.go +++ b/servicecontrol/apiv1/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package servicecontrol - -import () diff --git a/servicecontrol/apiv1/doc.go b/servicecontrol/apiv1/doc.go index daa22c223f62..7e05f0cd35a5 100755 --- a/servicecontrol/apiv1/doc.go +++ b/servicecontrol/apiv1/doc.go @@ -20,65 +20,66 @@ // Provides admission control and telemetry reporting for services integrated // with Service Infrastructure. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := servicecontrol.NewQuotaControllerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := servicecontrol.NewQuotaControllerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := servicecontrol.NewQuotaControllerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &servicecontrolpb.AllocateQuotaRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb#AllocateQuotaRequest. -// } -// resp, err := c.AllocateQuota(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := servicecontrol.NewQuotaControllerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &servicecontrolpb.AllocateQuotaRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb#AllocateQuotaRequest. +// } +// resp, err := c.AllocateQuota(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewQuotaControllerClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/servicecontrol/apiv1/servicecontrolpb/check_error.pb.go b/servicecontrol/apiv1/servicecontrolpb/check_error.pb.go index dd5751a5c9fa..3c2cfcd72526 100755 --- a/servicecontrol/apiv1/servicecontrolpb/check_error.pb.go +++ b/servicecontrol/apiv1/servicecontrolpb/check_error.pb.go @@ -21,11 +21,12 @@ package servicecontrolpb import ( + reflect "reflect" + sync "sync" + status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/servicecontrol/apiv1/servicecontrolpb/distribution.pb.go b/servicecontrol/apiv1/servicecontrolpb/distribution.pb.go index 9f6191ad2369..79871427ba90 100755 --- a/servicecontrol/apiv1/servicecontrolpb/distribution.pb.go +++ b/servicecontrol/apiv1/servicecontrolpb/distribution.pb.go @@ -21,11 +21,12 @@ package servicecontrolpb import ( + reflect "reflect" + sync "sync" + distribution "google.golang.org/genproto/googleapis/api/distribution" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/servicecontrol/apiv1/servicecontrolpb/http_request.pb.go b/servicecontrol/apiv1/servicecontrolpb/http_request.pb.go index a06020d89b41..50629dc4a539 100755 --- a/servicecontrol/apiv1/servicecontrolpb/http_request.pb.go +++ b/servicecontrol/apiv1/servicecontrolpb/http_request.pb.go @@ -21,11 +21,12 @@ package servicecontrolpb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/servicecontrol/apiv1/servicecontrolpb/log_entry.pb.go b/servicecontrol/apiv1/servicecontrolpb/log_entry.pb.go index 86bb483f8277..bb1cd09a83c8 100755 --- a/servicecontrol/apiv1/servicecontrolpb/log_entry.pb.go +++ b/servicecontrol/apiv1/servicecontrolpb/log_entry.pb.go @@ -21,14 +21,15 @@ package servicecontrolpb import ( + reflect "reflect" + sync "sync" + _type "google.golang.org/genproto/googleapis/logging/type" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/servicecontrol/apiv1/servicecontrolpb/metric_value.pb.go b/servicecontrol/apiv1/servicecontrolpb/metric_value.pb.go index 030112df15a6..679f1057aecc 100755 --- a/servicecontrol/apiv1/servicecontrolpb/metric_value.pb.go +++ b/servicecontrol/apiv1/servicecontrolpb/metric_value.pb.go @@ -21,11 +21,12 @@ package servicecontrolpb 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" - reflect "reflect" - sync "sync" ) const ( diff --git a/servicecontrol/apiv1/servicecontrolpb/operation.pb.go b/servicecontrol/apiv1/servicecontrolpb/operation.pb.go index 89fa9192b436..b62ba48453ef 100755 --- a/servicecontrol/apiv1/servicecontrolpb/operation.pb.go +++ b/servicecontrol/apiv1/servicecontrolpb/operation.pb.go @@ -21,12 +21,13 @@ package servicecontrolpb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/servicecontrol/apiv1/servicecontrolpb/quota_controller.pb.go b/servicecontrol/apiv1/servicecontrolpb/quota_controller.pb.go index 6c70179cf8b6..caf468d6d724 100755 --- a/servicecontrol/apiv1/servicecontrolpb/quota_controller.pb.go +++ b/servicecontrol/apiv1/servicecontrolpb/quota_controller.pb.go @@ -22,6 +22,9 @@ package servicecontrolpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -29,8 +32,6 @@ import ( status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/servicecontrol/apiv1/servicecontrolpb/service_controller.pb.go b/servicecontrol/apiv1/servicecontrolpb/service_controller.pb.go index b74e1d90e920..a6f519d9720d 100755 --- a/servicecontrol/apiv1/servicecontrolpb/service_controller.pb.go +++ b/servicecontrol/apiv1/servicecontrolpb/service_controller.pb.go @@ -22,6 +22,9 @@ package servicecontrolpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -29,8 +32,6 @@ import ( status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/servicedirectory/apiv1/doc.go b/servicedirectory/apiv1/doc.go index bd22d4fc9f5b..173bdb19bdf1 100755 --- a/servicedirectory/apiv1/doc.go +++ b/servicedirectory/apiv1/doc.go @@ -20,65 +20,66 @@ // Service Directory is a platform for discovering, publishing, and // connecting services. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := servicedirectory.NewLookupClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := servicedirectory.NewLookupClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := servicedirectory.NewLookupClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &servicedirectorypb.ResolveServiceRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/servicedirectory/apiv1/servicedirectorypb#ResolveServiceRequest. -// } -// resp, err := c.ResolveService(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := servicedirectory.NewLookupClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &servicedirectorypb.ResolveServiceRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/servicedirectory/apiv1/servicedirectorypb#ResolveServiceRequest. +// } +// resp, err := c.ResolveService(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewLookupClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/servicedirectory/apiv1/registration_client.go b/servicedirectory/apiv1/registration_client.go index d50dc67dc6f1..4bf5e761639b 100755 --- a/servicedirectory/apiv1/registration_client.go +++ b/servicedirectory/apiv1/registration_client.go @@ -577,18 +577,18 @@ type internalRegistrationClient interface { // Service Directory API for registering services. It defines the following // resource model: // -// The API has a collection of -// Namespace -// resources, named projects/*/locations/*/namespaces/*. +// The API has a collection of +// Namespace +// resources, named projects/*/locations/*/namespaces/*. // -// Each Namespace has a collection of -// Service resources, named -// projects/*/locations/*/namespaces/*/services/*. +// Each Namespace has a collection of +// Service resources, named +// projects/*/locations/*/namespaces/*/services/*. // -// Each Service has a collection of -// Endpoint -// resources, named -// projects/*/locations/*/namespaces/*/services/*/endpoints/*. +// Each Service has a collection of +// Endpoint +// resources, named +// projects/*/locations/*/namespaces/*/services/*/endpoints/*. type RegistrationClient struct { // The internal transport-dependent client. internalClient internalRegistrationClient @@ -747,18 +747,18 @@ type registrationGRPCClient struct { // Service Directory API for registering services. It defines the following // resource model: // -// The API has a collection of -// Namespace -// resources, named projects/*/locations/*/namespaces/*. +// The API has a collection of +// Namespace +// resources, named projects/*/locations/*/namespaces/*. // -// Each Namespace has a collection of -// Service resources, named -// projects/*/locations/*/namespaces/*/services/*. +// Each Namespace has a collection of +// Service resources, named +// projects/*/locations/*/namespaces/*/services/*. // -// Each Service has a collection of -// Endpoint -// resources, named -// projects/*/locations/*/namespaces/*/services/*/endpoints/*. +// Each Service has a collection of +// Endpoint +// resources, named +// projects/*/locations/*/namespaces/*/services/*/endpoints/*. func NewRegistrationClient(ctx context.Context, opts ...option.ClientOption) (*RegistrationClient, error) { clientOpts := defaultRegistrationGRPCClientOptions() if newRegistrationClientHook != nil { @@ -831,18 +831,18 @@ type registrationRESTClient struct { // Service Directory API for registering services. It defines the following // resource model: // -// The API has a collection of -// Namespace -// resources, named projects/*/locations/*/namespaces/*. +// The API has a collection of +// Namespace +// resources, named projects/*/locations/*/namespaces/*. // -// Each Namespace has a collection of -// Service resources, named -// projects/*/locations/*/namespaces/*/services/*. +// Each Namespace has a collection of +// Service resources, named +// projects/*/locations/*/namespaces/*/services/*. // -// Each Service has a collection of -// Endpoint -// resources, named -// projects/*/locations/*/namespaces/*/services/*/endpoints/*. +// Each Service has a collection of +// Endpoint +// resources, named +// projects/*/locations/*/namespaces/*/services/*/endpoints/*. func NewRegistrationRESTClient(ctx context.Context, opts ...option.ClientOption) (*RegistrationClient, error) { clientOpts := append(defaultRegistrationRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/servicedirectory/apiv1/servicedirectorypb/endpoint.pb.go b/servicedirectory/apiv1/servicedirectorypb/endpoint.pb.go index d7fa25fac58c..7471862556c4 100755 --- a/servicedirectory/apiv1/servicedirectorypb/endpoint.pb.go +++ b/servicedirectory/apiv1/servicedirectorypb/endpoint.pb.go @@ -21,11 +21,12 @@ package servicedirectorypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/servicedirectory/apiv1/servicedirectorypb/lookup_service.pb.go b/servicedirectory/apiv1/servicedirectorypb/lookup_service.pb.go index c15568a16c5f..e0fe110cde89 100755 --- a/servicedirectory/apiv1/servicedirectorypb/lookup_service.pb.go +++ b/servicedirectory/apiv1/servicedirectorypb/lookup_service.pb.go @@ -22,14 +22,15 @@ package servicedirectorypb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/servicedirectory/apiv1/servicedirectorypb/namespace.pb.go b/servicedirectory/apiv1/servicedirectorypb/namespace.pb.go index f95667e29eff..c2a139767f68 100755 --- a/servicedirectory/apiv1/servicedirectorypb/namespace.pb.go +++ b/servicedirectory/apiv1/servicedirectorypb/namespace.pb.go @@ -21,11 +21,12 @@ package servicedirectorypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/servicedirectory/apiv1/servicedirectorypb/registration_service.pb.go b/servicedirectory/apiv1/servicedirectorypb/registration_service.pb.go index 031ae88ef9b6..d844f6165140 100755 --- a/servicedirectory/apiv1/servicedirectorypb/registration_service.pb.go +++ b/servicedirectory/apiv1/servicedirectorypb/registration_service.pb.go @@ -21,8 +21,11 @@ package servicedirectorypb import ( - iampb "cloud.google.com/go/iam/apiv1/iampb" context "context" + reflect "reflect" + sync "sync" + + iampb "cloud.google.com/go/iam/apiv1/iampb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/servicedirectory/apiv1/servicedirectorypb/service.pb.go b/servicedirectory/apiv1/servicedirectorypb/service.pb.go index 334224899f1b..039680e9e20f 100755 --- a/servicedirectory/apiv1/servicedirectorypb/service.pb.go +++ b/servicedirectory/apiv1/servicedirectorypb/service.pb.go @@ -21,11 +21,12 @@ package servicedirectorypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/servicedirectory/apiv1beta1/doc.go b/servicedirectory/apiv1beta1/doc.go index 92cdd69f54bb..0f9ddef49b3f 100755 --- a/servicedirectory/apiv1beta1/doc.go +++ b/servicedirectory/apiv1beta1/doc.go @@ -20,67 +20,68 @@ // Service Directory is a platform for discovering, publishing, and // connecting services. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := servicedirectory.NewLookupClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := servicedirectory.NewLookupClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := servicedirectory.NewLookupClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &servicedirectorypb.ResolveServiceRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/servicedirectory/apiv1beta1/servicedirectorypb#ResolveServiceRequest. -// } -// resp, err := c.ResolveService(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := servicedirectory.NewLookupClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &servicedirectorypb.ResolveServiceRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/servicedirectory/apiv1beta1/servicedirectorypb#ResolveServiceRequest. +// } +// resp, err := c.ResolveService(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewLookupClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/servicedirectory/apiv1beta1/registration_client.go b/servicedirectory/apiv1beta1/registration_client.go index 27ba34591671..147ae79cde37 100755 --- a/servicedirectory/apiv1beta1/registration_client.go +++ b/servicedirectory/apiv1beta1/registration_client.go @@ -577,18 +577,18 @@ type internalRegistrationClient interface { // Service Directory API for registering services. It defines the following // resource model: // -// The API has a collection of -// Namespace -// resources, named projects/*/locations/*/namespaces/*. +// The API has a collection of +// Namespace +// resources, named projects/*/locations/*/namespaces/*. // -// Each Namespace has a collection of -// Service resources, named -// projects/*/locations/*/namespaces/*/services/*. +// Each Namespace has a collection of +// Service resources, named +// projects/*/locations/*/namespaces/*/services/*. // -// Each Service has a collection of -// Endpoint -// resources, named -// projects/*/locations/*/namespaces/*/services/*/endpoints/*. +// Each Service has a collection of +// Endpoint +// resources, named +// projects/*/locations/*/namespaces/*/services/*/endpoints/*. type RegistrationClient struct { // The internal transport-dependent client. internalClient internalRegistrationClient @@ -748,18 +748,18 @@ type registrationGRPCClient struct { // Service Directory API for registering services. It defines the following // resource model: // -// The API has a collection of -// Namespace -// resources, named projects/*/locations/*/namespaces/*. +// The API has a collection of +// Namespace +// resources, named projects/*/locations/*/namespaces/*. // -// Each Namespace has a collection of -// Service resources, named -// projects/*/locations/*/namespaces/*/services/*. +// Each Namespace has a collection of +// Service resources, named +// projects/*/locations/*/namespaces/*/services/*. // -// Each Service has a collection of -// Endpoint -// resources, named -// projects/*/locations/*/namespaces/*/services/*/endpoints/*. +// Each Service has a collection of +// Endpoint +// resources, named +// projects/*/locations/*/namespaces/*/services/*/endpoints/*. func NewRegistrationClient(ctx context.Context, opts ...option.ClientOption) (*RegistrationClient, error) { clientOpts := defaultRegistrationGRPCClientOptions() if newRegistrationClientHook != nil { @@ -832,18 +832,18 @@ type registrationRESTClient struct { // Service Directory API for registering services. It defines the following // resource model: // -// The API has a collection of -// Namespace -// resources, named projects/*/locations/*/namespaces/*. +// The API has a collection of +// Namespace +// resources, named projects/*/locations/*/namespaces/*. // -// Each Namespace has a collection of -// Service resources, named -// projects/*/locations/*/namespaces/*/services/*. +// Each Namespace has a collection of +// Service resources, named +// projects/*/locations/*/namespaces/*/services/*. // -// Each Service has a collection of -// Endpoint -// resources, named -// projects/*/locations/*/namespaces/*/services/*/endpoints/*. +// Each Service has a collection of +// Endpoint +// resources, named +// projects/*/locations/*/namespaces/*/services/*/endpoints/*. func NewRegistrationRESTClient(ctx context.Context, opts ...option.ClientOption) (*RegistrationClient, error) { clientOpts := append(defaultRegistrationRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) diff --git a/servicedirectory/apiv1beta1/servicedirectorypb/endpoint.pb.go b/servicedirectory/apiv1beta1/servicedirectorypb/endpoint.pb.go index 98ca46e684a4..7c0033f92294 100755 --- a/servicedirectory/apiv1beta1/servicedirectorypb/endpoint.pb.go +++ b/servicedirectory/apiv1beta1/servicedirectorypb/endpoint.pb.go @@ -21,12 +21,13 @@ package servicedirectorypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/servicedirectory/apiv1beta1/servicedirectorypb/lookup_service.pb.go b/servicedirectory/apiv1beta1/servicedirectorypb/lookup_service.pb.go index 9350b80cfb35..6ce442964e91 100755 --- a/servicedirectory/apiv1beta1/servicedirectorypb/lookup_service.pb.go +++ b/servicedirectory/apiv1beta1/servicedirectorypb/lookup_service.pb.go @@ -22,14 +22,15 @@ package servicedirectorypb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/servicedirectory/apiv1beta1/servicedirectorypb/namespace.pb.go b/servicedirectory/apiv1beta1/servicedirectorypb/namespace.pb.go index 361461725051..a7f219b0beb8 100755 --- a/servicedirectory/apiv1beta1/servicedirectorypb/namespace.pb.go +++ b/servicedirectory/apiv1beta1/servicedirectorypb/namespace.pb.go @@ -21,12 +21,13 @@ package servicedirectorypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/servicedirectory/apiv1beta1/servicedirectorypb/registration_service.pb.go b/servicedirectory/apiv1beta1/servicedirectorypb/registration_service.pb.go index 0bc854c46687..ca37cdbacb9f 100755 --- a/servicedirectory/apiv1beta1/servicedirectorypb/registration_service.pb.go +++ b/servicedirectory/apiv1beta1/servicedirectorypb/registration_service.pb.go @@ -21,8 +21,11 @@ package servicedirectorypb import ( - iampb "cloud.google.com/go/iam/apiv1/iampb" context "context" + reflect "reflect" + sync "sync" + + iampb "cloud.google.com/go/iam/apiv1/iampb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/servicedirectory/apiv1beta1/servicedirectorypb/service.pb.go b/servicedirectory/apiv1beta1/servicedirectorypb/service.pb.go index 143af5696dba..09edae037422 100755 --- a/servicedirectory/apiv1beta1/servicedirectorypb/service.pb.go +++ b/servicedirectory/apiv1beta1/servicedirectorypb/service.pb.go @@ -21,12 +21,13 @@ package servicedirectorypb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/servicemanagement/apiv1/doc.go b/servicemanagement/apiv1/doc.go index f4f017f9ffba..e272f37293e6 100755 --- a/servicemanagement/apiv1/doc.go +++ b/servicemanagement/apiv1/doc.go @@ -21,70 +21,71 @@ // services on Google Cloud Platform so that they can be discovered and used // by service consumers. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := servicemanagement.NewServiceManagerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := servicemanagement.NewServiceManagerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := servicemanagement.NewServiceManagerClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &servicemanagementpb.CreateServiceRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/servicemanagement/apiv1/servicemanagementpb#CreateServiceRequest. -// } -// op, err := c.CreateService(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := servicemanagement.NewServiceManagerClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &servicemanagementpb.CreateServiceRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/servicemanagement/apiv1/servicemanagementpb#CreateServiceRequest. +// } +// op, err := c.CreateService(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewServiceManagerClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/servicemanagement/apiv1/servicemanagementpb/resources.pb.go b/servicemanagement/apiv1/servicemanagementpb/resources.pb.go index d35774cec810..5b3732a37dec 100755 --- a/servicemanagement/apiv1/servicemanagementpb/resources.pb.go +++ b/servicemanagement/apiv1/servicemanagementpb/resources.pb.go @@ -21,13 +21,14 @@ package servicemanagementpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" configchange "google.golang.org/genproto/googleapis/api/configchange" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -951,26 +952,26 @@ func (x *OperationMetadata_Step) GetStatus() OperationMetadata_Status { // strategy: // Day 1 // -// Rollout { -// id: "example.googleapis.com/rollout_20160206" -// traffic_percent_strategy { -// percentages: { -// "example.googleapis.com/20160201": 70.00 -// "example.googleapis.com/20160206": 30.00 -// } -// } -// } +// Rollout { +// id: "example.googleapis.com/rollout_20160206" +// traffic_percent_strategy { +// percentages: { +// "example.googleapis.com/20160201": 70.00 +// "example.googleapis.com/20160206": 30.00 +// } +// } +// } // // Day 2 // -// Rollout { -// id: "example.googleapis.com/rollout_20160207" -// traffic_percent_strategy: { -// percentages: { -// "example.googleapis.com/20160206": 100.00 -// } -// } -// } +// Rollout { +// id: "example.googleapis.com/rollout_20160207" +// traffic_percent_strategy: { +// percentages: { +// "example.googleapis.com/20160206": 100.00 +// } +// } +// } type Rollout_TrafficPercentStrategy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/servicemanagement/apiv1/servicemanagementpb/servicemanager.pb.go b/servicemanagement/apiv1/servicemanagementpb/servicemanager.pb.go index c2a6ac71f98b..8dc37697c4c1 100755 --- a/servicemanagement/apiv1/servicemanagementpb/servicemanager.pb.go +++ b/servicemanagement/apiv1/servicemanagementpb/servicemanager.pb.go @@ -21,8 +21,11 @@ package servicemanagementpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" serviceconfig "google.golang.org/genproto/googleapis/api/serviceconfig" grpc "google.golang.org/grpc" @@ -32,8 +35,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" _ "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" - sync "sync" ) const ( @@ -868,7 +869,6 @@ func (x *SubmitConfigSourceResponse) GetServiceConfig() *serviceconfig.Service { return nil } -// // Request message for 'CreateServiceRollout' type CreateServiceRolloutRequest struct { state protoimpl.MessageState diff --git a/serviceusage/apiv1/doc.go b/serviceusage/apiv1/doc.go index 49f73df1acf3..a16d0be0fd7c 100755 --- a/serviceusage/apiv1/doc.go +++ b/serviceusage/apiv1/doc.go @@ -21,70 +21,71 @@ // Platform, lists the available or enabled services, or disables services // that service consumers no longer use. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := serviceusage.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := serviceusage.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := serviceusage.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &serviceusagepb.BatchEnableServicesRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/serviceusage/apiv1/serviceusagepb#BatchEnableServicesRequest. -// } -// op, err := c.BatchEnableServices(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := serviceusage.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &serviceusagepb.BatchEnableServicesRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/serviceusage/apiv1/serviceusagepb#BatchEnableServicesRequest. +// } +// op, err := c.BatchEnableServices(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/serviceusage/apiv1/serviceusagepb/resources.pb.go b/serviceusage/apiv1/serviceusagepb/resources.pb.go index 9504fe5db4c9..ba7fa15aaa1b 100755 --- a/serviceusage/apiv1/serviceusagepb/resources.pb.go +++ b/serviceusage/apiv1/serviceusagepb/resources.pb.go @@ -21,14 +21,15 @@ package serviceusagepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" serviceconfig "google.golang.org/genproto/googleapis/api/serviceconfig" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" apipb "google.golang.org/protobuf/types/known/apipb" - reflect "reflect" - sync "sync" ) const ( diff --git a/serviceusage/apiv1/serviceusagepb/serviceusage.pb.go b/serviceusage/apiv1/serviceusagepb/serviceusage.pb.go index ff15cd5360fb..d3dddaf0ebdf 100755 --- a/serviceusage/apiv1/serviceusagepb/serviceusage.pb.go +++ b/serviceusage/apiv1/serviceusagepb/serviceusage.pb.go @@ -21,16 +21,17 @@ package serviceusagepb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/shell/apiv1/doc.go b/shell/apiv1/doc.go index d944674e8e41..5d7e3bcac774 100755 --- a/shell/apiv1/doc.go +++ b/shell/apiv1/doc.go @@ -20,70 +20,71 @@ // Allows users to start, configure, and connect to interactive shell // sessions running in the cloud. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := shell.NewCloudShellClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := shell.NewCloudShellClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := shell.NewCloudShellClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &shellpb.AddPublicKeyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/shell/apiv1/shellpb#AddPublicKeyRequest. -// } -// op, err := c.AddPublicKey(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := shell.NewCloudShellClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &shellpb.AddPublicKeyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/shell/apiv1/shellpb#AddPublicKeyRequest. +// } +// op, err := c.AddPublicKey(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewCloudShellClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/shell/apiv1/shellpb/cloudshell.pb.go b/shell/apiv1/shellpb/cloudshell.pb.go index 0e71ca62a61c..0d0257d23953 100755 --- a/shell/apiv1/shellpb/cloudshell.pb.go +++ b/shell/apiv1/shellpb/cloudshell.pb.go @@ -21,8 +21,11 @@ package shellpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/shopping/merchant/inventories/apiv1beta/doc.go b/shopping/merchant/inventories/apiv1beta/doc.go index e840052de7ef..e5ddaf182dfd 100755 --- a/shopping/merchant/inventories/apiv1beta/doc.go +++ b/shopping/merchant/inventories/apiv1beta/doc.go @@ -19,65 +19,66 @@ // // Programmatically manage your Merchant Center accounts. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := inventories.NewLocalInventoryClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := inventories.NewLocalInventoryClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := inventories.NewLocalInventoryClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &inventoriespb.DeleteLocalInventoryRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/shopping/merchant/inventories/apiv1beta/inventoriespb#DeleteLocalInventoryRequest. -// } -// err = c.DeleteLocalInventory(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := inventories.NewLocalInventoryClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &inventoriespb.DeleteLocalInventoryRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/shopping/merchant/inventories/apiv1beta/inventoriespb#DeleteLocalInventoryRequest. +// } +// err = c.DeleteLocalInventory(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// # Use of Context // // The ctx passed to NewLocalInventoryClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/shopping/merchant/inventories/apiv1beta/inventoriespb/localinventory.pb.go b/shopping/merchant/inventories/apiv1beta/inventoriespb/localinventory.pb.go index b7f787bf05dc..c2eeb04363cd 100755 --- a/shopping/merchant/inventories/apiv1beta/inventoriespb/localinventory.pb.go +++ b/shopping/merchant/inventories/apiv1beta/inventoriespb/localinventory.pb.go @@ -21,8 +21,11 @@ package inventoriespb import ( - typepb "cloud.google.com/go/shopping/type/typepb" context "context" + reflect "reflect" + sync "sync" + + typepb "cloud.google.com/go/shopping/type/typepb" _ "google.golang.org/genproto/googleapis/api/annotations" interval "google.golang.org/genproto/googleapis/type/interval" grpc "google.golang.org/grpc" @@ -31,8 +34,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" - sync "sync" ) const ( diff --git a/shopping/merchant/inventories/apiv1beta/inventoriespb/regionalinventory.pb.go b/shopping/merchant/inventories/apiv1beta/inventoriespb/regionalinventory.pb.go index 4bafa8d81999..9c7302f109ed 100755 --- a/shopping/merchant/inventories/apiv1beta/inventoriespb/regionalinventory.pb.go +++ b/shopping/merchant/inventories/apiv1beta/inventoriespb/regionalinventory.pb.go @@ -21,8 +21,11 @@ package inventoriespb import ( - typepb "cloud.google.com/go/shopping/type/typepb" context "context" + reflect "reflect" + sync "sync" + + typepb "cloud.google.com/go/shopping/type/typepb" _ "google.golang.org/genproto/googleapis/api/annotations" interval "google.golang.org/genproto/googleapis/type/interval" grpc "google.golang.org/grpc" @@ -31,8 +34,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" - sync "sync" ) const ( diff --git a/shopping/type/typepb/types.pb.go b/shopping/type/typepb/types.pb.go index 1881eb63e8bd..4d153cf8ef93 100755 --- a/shopping/type/typepb/types.pb.go +++ b/shopping/type/typepb/types.pb.go @@ -21,10 +21,11 @@ package typepb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( @@ -395,7 +396,6 @@ func (x *CustomAttribute) GetGroupValues() []*CustomAttribute { // // Destinations are used in Merchant Center to allow you to control where the // products from your data feed should be displayed. -// type Destination struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -441,7 +441,6 @@ func (*Destination) Descriptor() ([]byte, []int) { // ads](https://support.google.com/merchants/answer/6149970)) or a subset of // formats within a destination (for example, [Discovery // ads](https://support.google.com/merchants/answer/13389785)). -// type ReportingContext struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/spanner/admin/database/apiv1/database_admin_client.go b/spanner/admin/database/apiv1/database_admin_client.go index 738cdd4e8084..4869d589f89d 100755 --- a/spanner/admin/database/apiv1/database_admin_client.go +++ b/spanner/admin/database/apiv1/database_admin_client.go @@ -530,17 +530,17 @@ type internalDatabaseAdminClient interface { // DatabaseAdminClient is a client for interacting with Cloud Spanner API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// Cloud Spanner Database Admin API +// # Cloud Spanner Database Admin API // // The Cloud Spanner Database Admin API can be used to: // -// create, drop, and list databases +// create, drop, and list databases // -// update the schema of pre-existing databases +// update the schema of pre-existing databases // -// create, delete and list backups for a database +// create, delete and list backups for a database // -// restore a database from an existing backup +// restore a database from an existing backup type DatabaseAdminClient struct { // The internal transport-dependent client. internalClient internalDatabaseAdminClient @@ -612,30 +612,30 @@ func (c *DatabaseAdminClient) GetDatabase(ctx context.Context, req *databasepb.G // // While the operation is pending: // -// The database’s -// reconciling -// field is set to true. +// The database’s +// reconciling +// field is set to true. // -// Cancelling the operation is best-effort. If the cancellation succeeds, -// the operation metadata’s -// cancel_time -// is set, the updates are reverted, and the operation terminates with a -// CANCELLED status. +// Cancelling the operation is best-effort. If the cancellation succeeds, +// the operation metadata’s +// cancel_time +// is set, the updates are reverted, and the operation terminates with a +// CANCELLED status. // -// New UpdateDatabase requests will return a FAILED_PRECONDITION error -// until the pending operation is done (returns successfully or with -// error). +// New UpdateDatabase requests will return a FAILED_PRECONDITION error +// until the pending operation is done (returns successfully or with +// error). // -// Reading the database via the API continues to give the pre-request -// values. +// Reading the database via the API continues to give the pre-request +// values. // // Upon completion of the returned operation: // -// The new values are in effect and readable via the API. +// The new values are in effect and readable via the API. // -// The database’s -// reconciling -// field becomes false. +// The database’s +// reconciling +// field becomes false. // // The returned [long-running operation][google.longrunning.Operation] will // have a name of the format @@ -896,17 +896,17 @@ type databaseAdminGRPCClient struct { // NewDatabaseAdminClient creates a new database admin client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// Cloud Spanner Database Admin API +// # Cloud Spanner Database Admin API // // The Cloud Spanner Database Admin API can be used to: // -// create, drop, and list databases +// create, drop, and list databases // -// update the schema of pre-existing databases +// update the schema of pre-existing databases // -// create, delete and list backups for a database +// create, delete and list backups for a database // -// restore a database from an existing backup +// restore a database from an existing backup func NewDatabaseAdminClient(ctx context.Context, opts ...option.ClientOption) (*DatabaseAdminClient, error) { clientOpts := defaultDatabaseAdminGRPCClientOptions() if newDatabaseAdminClientHook != nil { @@ -992,17 +992,17 @@ type databaseAdminRESTClient struct { // NewDatabaseAdminRESTClient creates a new database admin rest client. // -// Cloud Spanner Database Admin API +// # Cloud Spanner Database Admin API // // The Cloud Spanner Database Admin API can be used to: // -// create, drop, and list databases +// create, drop, and list databases // -// update the schema of pre-existing databases +// update the schema of pre-existing databases // -// create, delete and list backups for a database +// create, delete and list backups for a database // -// restore a database from an existing backup +// restore a database from an existing backup func NewDatabaseAdminRESTClient(ctx context.Context, opts ...option.ClientOption) (*DatabaseAdminClient, error) { clientOpts := append(defaultDatabaseAdminRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) @@ -1892,30 +1892,30 @@ func (c *databaseAdminRESTClient) GetDatabase(ctx context.Context, req *database // // While the operation is pending: // -// The database’s -// reconciling -// field is set to true. +// The database’s +// reconciling +// field is set to true. // -// Cancelling the operation is best-effort. If the cancellation succeeds, -// the operation metadata’s -// cancel_time -// is set, the updates are reverted, and the operation terminates with a -// CANCELLED status. +// Cancelling the operation is best-effort. If the cancellation succeeds, +// the operation metadata’s +// cancel_time +// is set, the updates are reverted, and the operation terminates with a +// CANCELLED status. // -// New UpdateDatabase requests will return a FAILED_PRECONDITION error -// until the pending operation is done (returns successfully or with -// error). +// New UpdateDatabase requests will return a FAILED_PRECONDITION error +// until the pending operation is done (returns successfully or with +// error). // -// Reading the database via the API continues to give the pre-request -// values. +// Reading the database via the API continues to give the pre-request +// values. // // Upon completion of the returned operation: // -// The new values are in effect and readable via the API. +// The new values are in effect and readable via the API. // -// The database’s -// reconciling -// field becomes false. +// The database’s +// reconciling +// field becomes false. // // The returned [long-running operation][google.longrunning.Operation] will // have a name of the format diff --git a/spanner/admin/database/apiv1/databasepb/backup.pb.go b/spanner/admin/database/apiv1/databasepb/backup.pb.go index 611a9c5d3231..2636f853a5c0 100755 --- a/spanner/admin/database/apiv1/databasepb/backup.pb.go +++ b/spanner/admin/database/apiv1/databasepb/backup.pb.go @@ -21,14 +21,15 @@ package databasepb import ( + reflect "reflect" + sync "sync" + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/spanner/admin/database/apiv1/databasepb/common.pb.go b/spanner/admin/database/apiv1/databasepb/common.pb.go index 9dbbb07b232d..48ce9a18899e 100755 --- a/spanner/admin/database/apiv1/databasepb/common.pb.go +++ b/spanner/admin/database/apiv1/databasepb/common.pb.go @@ -21,13 +21,14 @@ package databasepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/spanner/admin/database/apiv1/databasepb/spanner_database_admin.pb.go b/spanner/admin/database/apiv1/databasepb/spanner_database_admin.pb.go index 4f2b1d6ffd19..ac588a9a19ae 100755 --- a/spanner/admin/database/apiv1/databasepb/spanner_database_admin.pb.go +++ b/spanner/admin/database/apiv1/databasepb/spanner_database_admin.pb.go @@ -21,9 +21,12 @@ package databasepb import ( + context "context" + reflect "reflect" + sync "sync" + iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" - context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,8 +36,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/spanner/admin/database/apiv1/doc.go b/spanner/admin/database/apiv1/doc.go index b8f5b4974095..ff3fbdbb4b16 100755 --- a/spanner/admin/database/apiv1/doc.go +++ b/spanner/admin/database/apiv1/doc.go @@ -20,70 +20,71 @@ // Cloud Spanner is a managed, mission-critical, globally consistent and // scalable relational database service. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := database.NewDatabaseAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := database.NewDatabaseAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := database.NewDatabaseAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &databasepb.CopyBackupRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/spanner/admin/database/apiv1/databasepb#CopyBackupRequest. -// } -// op, err := c.CopyBackup(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := database.NewDatabaseAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &databasepb.CopyBackupRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/spanner/admin/database/apiv1/databasepb#CopyBackupRequest. +// } +// op, err := c.CopyBackup(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewDatabaseAdminClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/spanner/admin/instance/apiv1/doc.go b/spanner/admin/instance/apiv1/doc.go index faf184960281..7b373f913c6f 100755 --- a/spanner/admin/instance/apiv1/doc.go +++ b/spanner/admin/instance/apiv1/doc.go @@ -17,70 +17,71 @@ // Package instance is an auto-generated package for the // Cloud Spanner Instance Admin API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := instance.NewInstanceAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := instance.NewInstanceAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := instance.NewInstanceAdminClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &instancepb.CreateInstanceRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/spanner/admin/instance/apiv1/instancepb#CreateInstanceRequest. -// } -// op, err := c.CreateInstance(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := instance.NewInstanceAdminClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &instancepb.CreateInstanceRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/spanner/admin/instance/apiv1/instancepb#CreateInstanceRequest. +// } +// op, err := c.CreateInstance(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewInstanceAdminClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/spanner/admin/instance/apiv1/instance_admin_client.go b/spanner/admin/instance/apiv1/instance_admin_client.go index 4bf5c8b9d7e8..2ab8da7d39a5 100755 --- a/spanner/admin/instance/apiv1/instance_admin_client.go +++ b/spanner/admin/instance/apiv1/instance_admin_client.go @@ -296,7 +296,7 @@ type internalInstanceAdminClient interface { // InstanceAdminClient is a client for interacting with Cloud Spanner Instance Admin API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// Cloud Spanner Instance Admin API +// # Cloud Spanner Instance Admin API // // The Cloud Spanner Instance Admin API can be used to create, delete, // modify and list instances. Instances are dedicated Cloud Spanner serving @@ -372,26 +372,26 @@ func (c *InstanceAdminClient) GetInstanceConfig(ctx context.Context, req *instan // // Immediately after the request returns: // -// The instance config is readable via the API, with all requested -// attributes. The instance config’s -// reconciling -// field is set to true. Its state is CREATING. +// The instance config is readable via the API, with all requested +// attributes. The instance config’s +// reconciling +// field is set to true. Its state is CREATING. // // While the operation is pending: // -// Cancelling the operation renders the instance config immediately -// unreadable via the API. +// Cancelling the operation renders the instance config immediately +// unreadable via the API. // -// Except for deleting the creating resource, all other attempts to modify -// the instance config are rejected. +// Except for deleting the creating resource, all other attempts to modify +// the instance config are rejected. // // Upon completion of the returned operation: // -// Instances can be created using the instance configuration. +// Instances can be created using the instance configuration. // -// The instance config’s -// reconciling -// field becomes false. Its state becomes READY. +// The instance config’s +// reconciling +// field becomes false. Its state becomes READY. // // The returned [long-running operation][google.longrunning.Operation] will // have a name of the format @@ -425,32 +425,32 @@ func (c *InstanceAdminClient) CreateInstanceConfigOperation(name string) *Create // // Immediately after the request returns: // -// The instance config’s -// reconciling -// field is set to true. +// The instance config’s +// reconciling +// field is set to true. // // While the operation is pending: // -// Cancelling the operation sets its metadata’s -// cancel_time. -// The operation is guaranteed to succeed at undoing all changes, after -// which point it terminates with a CANCELLED status. +// Cancelling the operation sets its metadata’s +// cancel_time. +// The operation is guaranteed to succeed at undoing all changes, after +// which point it terminates with a CANCELLED status. // -// All other attempts to modify the instance config are rejected. +// All other attempts to modify the instance config are rejected. // -// Reading the instance config via the API continues to give the -// pre-request values. +// Reading the instance config via the API continues to give the +// pre-request values. // // Upon completion of the returned operation: // -// Creating instances using the instance configuration uses the new -// values. +// Creating instances using the instance configuration uses the new +// values. // -// The instance config’s new values are readable via the API. +// The instance config’s new values are readable via the API. // -// The instance config’s -// reconciling -// field becomes false. +// The instance config’s +// reconciling +// field becomes false. // // The returned [long-running operation][google.longrunning.Operation] will // have a name of the format @@ -520,28 +520,28 @@ func (c *InstanceAdminClient) GetInstance(ctx context.Context, req *instancepb.G // // Immediately upon completion of this request: // -// The instance is readable via the API, with all requested attributes -// but no allocated resources. Its state is CREATING. +// The instance is readable via the API, with all requested attributes +// but no allocated resources. Its state is CREATING. // // Until completion of the returned operation: // -// Cancelling the operation renders the instance immediately unreadable -// via the API. +// Cancelling the operation renders the instance immediately unreadable +// via the API. // -// The instance can be deleted. +// The instance can be deleted. // -// All other attempts to modify the instance are rejected. +// All other attempts to modify the instance are rejected. // // Upon completion of the returned operation: // -// Billing for all successfully-allocated resources begins (some types -// may have lower than the requested levels). +// Billing for all successfully-allocated resources begins (some types +// may have lower than the requested levels). // -// Databases can be created in the instance. +// Databases can be created in the instance. // -// The instance’s allocated resource levels are readable via the API. +// The instance’s allocated resource levels are readable via the API. // -// The instance’s state becomes READY. +// The instance’s state becomes READY. // // The returned [long-running operation][google.longrunning.Operation] will // have a name of the format /operations/ and @@ -568,31 +568,31 @@ func (c *InstanceAdminClient) CreateInstanceOperation(name string) *CreateInstan // // Immediately upon completion of this request: // -// For resource types for which a decrease in the instance’s allocation -// has been requested, billing is based on the newly-requested level. +// For resource types for which a decrease in the instance’s allocation +// has been requested, billing is based on the newly-requested level. // // Until completion of the returned operation: // -// Cancelling the operation sets its metadata’s -// cancel_time, -// and begins restoring resources to their pre-request values. The -// operation is guaranteed to succeed at undoing all resource changes, -// after which point it terminates with a CANCELLED status. +// Cancelling the operation sets its metadata’s +// cancel_time, +// and begins restoring resources to their pre-request values. The +// operation is guaranteed to succeed at undoing all resource changes, +// after which point it terminates with a CANCELLED status. // -// All other attempts to modify the instance are rejected. +// All other attempts to modify the instance are rejected. // -// Reading the instance via the API continues to give the pre-request -// resource levels. +// Reading the instance via the API continues to give the pre-request +// resource levels. // // Upon completion of the returned operation: // -// Billing begins for all successfully-allocated resources (some types -// may have lower than the requested levels). +// Billing begins for all successfully-allocated resources (some types +// may have lower than the requested levels). // -// All newly-reserved resources are available for serving the instance’s -// tables. +// All newly-reserved resources are available for serving the instance’s +// tables. // -// The instance’s new resource levels are readable via the API. +// The instance’s new resource levels are readable via the API. // // The returned [long-running operation][google.longrunning.Operation] will // have a name of the format /operations/ and @@ -618,13 +618,13 @@ func (c *InstanceAdminClient) UpdateInstanceOperation(name string) *UpdateInstan // // Immediately upon completion of the request: // -// Billing ceases for all of the instance’s reserved resources. +// Billing ceases for all of the instance’s reserved resources. // // Soon afterward: // -// The instance and all of its databases immediately and -// irrevocably disappear from the API. All data in the databases -// is permanently deleted. +// The instance and all of its databases immediately and +// irrevocably disappear from the API. All data in the databases +// is permanently deleted. func (c *InstanceAdminClient) DeleteInstance(ctx context.Context, req *instancepb.DeleteInstanceRequest, opts ...gax.CallOption) error { return c.internalClient.DeleteInstance(ctx, req, opts...) } @@ -682,7 +682,7 @@ type instanceAdminGRPCClient struct { // NewInstanceAdminClient creates a new instance admin client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// Cloud Spanner Instance Admin API +// # Cloud Spanner Instance Admin API // // The Cloud Spanner Instance Admin API can be used to create, delete, // modify and list instances. Instances are dedicated Cloud Spanner serving @@ -787,7 +787,7 @@ type instanceAdminRESTClient struct { // NewInstanceAdminRESTClient creates a new instance admin rest client. // -// Cloud Spanner Instance Admin API +// # Cloud Spanner Instance Admin API // // The Cloud Spanner Instance Admin API can be used to create, delete, // modify and list instances. Instances are dedicated Cloud Spanner serving @@ -1362,26 +1362,26 @@ func (c *instanceAdminRESTClient) GetInstanceConfig(ctx context.Context, req *in // // Immediately after the request returns: // -// The instance config is readable via the API, with all requested -// attributes. The instance config’s -// reconciling -// field is set to true. Its state is CREATING. +// The instance config is readable via the API, with all requested +// attributes. The instance config’s +// reconciling +// field is set to true. Its state is CREATING. // // While the operation is pending: // -// Cancelling the operation renders the instance config immediately -// unreadable via the API. +// Cancelling the operation renders the instance config immediately +// unreadable via the API. // -// Except for deleting the creating resource, all other attempts to modify -// the instance config are rejected. +// Except for deleting the creating resource, all other attempts to modify +// the instance config are rejected. // // Upon completion of the returned operation: // -// Instances can be created using the instance configuration. +// Instances can be created using the instance configuration. // -// The instance config’s -// reconciling -// field becomes false. Its state becomes READY. +// The instance config’s +// reconciling +// field becomes false. Its state becomes READY. // // The returned [long-running operation][google.longrunning.Operation] will // have a name of the format @@ -1474,32 +1474,32 @@ func (c *instanceAdminRESTClient) CreateInstanceConfig(ctx context.Context, req // // Immediately after the request returns: // -// The instance config’s -// reconciling -// field is set to true. +// The instance config’s +// reconciling +// field is set to true. // // While the operation is pending: // -// Cancelling the operation sets its metadata’s -// cancel_time. -// The operation is guaranteed to succeed at undoing all changes, after -// which point it terminates with a CANCELLED status. +// Cancelling the operation sets its metadata’s +// cancel_time. +// The operation is guaranteed to succeed at undoing all changes, after +// which point it terminates with a CANCELLED status. // -// All other attempts to modify the instance config are rejected. +// All other attempts to modify the instance config are rejected. // -// Reading the instance config via the API continues to give the -// pre-request values. +// Reading the instance config via the API continues to give the +// pre-request values. // // Upon completion of the returned operation: // -// Creating instances using the instance configuration uses the new -// values. +// Creating instances using the instance configuration uses the new +// values. // -// The instance config’s new values are readable via the API. +// The instance config’s new values are readable via the API. // -// The instance config’s -// reconciling -// field becomes false. +// The instance config’s +// reconciling +// field becomes false. // // The returned [long-running operation][google.longrunning.Operation] will // have a name of the format @@ -1907,28 +1907,28 @@ func (c *instanceAdminRESTClient) GetInstance(ctx context.Context, req *instance // // Immediately upon completion of this request: // -// The instance is readable via the API, with all requested attributes -// but no allocated resources. Its state is CREATING. +// The instance is readable via the API, with all requested attributes +// but no allocated resources. Its state is CREATING. // // Until completion of the returned operation: // -// Cancelling the operation renders the instance immediately unreadable -// via the API. +// Cancelling the operation renders the instance immediately unreadable +// via the API. // -// The instance can be deleted. +// The instance can be deleted. // -// All other attempts to modify the instance are rejected. +// All other attempts to modify the instance are rejected. // // Upon completion of the returned operation: // -// Billing for all successfully-allocated resources begins (some types -// may have lower than the requested levels). +// Billing for all successfully-allocated resources begins (some types +// may have lower than the requested levels). // -// Databases can be created in the instance. +// Databases can be created in the instance. // -// The instance’s allocated resource levels are readable via the API. +// The instance’s allocated resource levels are readable via the API. // -// The instance’s state becomes READY. +// The instance’s state becomes READY. // // The returned [long-running operation][google.longrunning.Operation] will // have a name of the format /operations/ and @@ -2014,31 +2014,31 @@ func (c *instanceAdminRESTClient) CreateInstance(ctx context.Context, req *insta // // Immediately upon completion of this request: // -// For resource types for which a decrease in the instance’s allocation -// has been requested, billing is based on the newly-requested level. +// For resource types for which a decrease in the instance’s allocation +// has been requested, billing is based on the newly-requested level. // // Until completion of the returned operation: // -// Cancelling the operation sets its metadata’s -// cancel_time, -// and begins restoring resources to their pre-request values. The -// operation is guaranteed to succeed at undoing all resource changes, -// after which point it terminates with a CANCELLED status. +// Cancelling the operation sets its metadata’s +// cancel_time, +// and begins restoring resources to their pre-request values. The +// operation is guaranteed to succeed at undoing all resource changes, +// after which point it terminates with a CANCELLED status. // -// All other attempts to modify the instance are rejected. +// All other attempts to modify the instance are rejected. // -// Reading the instance via the API continues to give the pre-request -// resource levels. +// Reading the instance via the API continues to give the pre-request +// resource levels. // // Upon completion of the returned operation: // -// Billing begins for all successfully-allocated resources (some types -// may have lower than the requested levels). +// Billing begins for all successfully-allocated resources (some types +// may have lower than the requested levels). // -// All newly-reserved resources are available for serving the instance’s -// tables. +// All newly-reserved resources are available for serving the instance’s +// tables. // -// The instance’s new resource levels are readable via the API. +// The instance’s new resource levels are readable via the API. // // The returned [long-running operation][google.longrunning.Operation] will // have a name of the format /operations/ and @@ -2123,13 +2123,13 @@ func (c *instanceAdminRESTClient) UpdateInstance(ctx context.Context, req *insta // // Immediately upon completion of the request: // -// Billing ceases for all of the instance’s reserved resources. +// Billing ceases for all of the instance’s reserved resources. // // Soon afterward: // -// The instance and all of its databases immediately and -// irrevocably disappear from the API. All data in the databases -// is permanently deleted. +// The instance and all of its databases immediately and +// irrevocably disappear from the API. All data in the databases +// is permanently deleted. func (c *instanceAdminRESTClient) DeleteInstance(ctx context.Context, req *instancepb.DeleteInstanceRequest, opts ...gax.CallOption) error { baseUrl, err := url.Parse(c.endpoint) if err != nil { diff --git a/spanner/admin/instance/apiv1/instancepb/common.pb.go b/spanner/admin/instance/apiv1/instancepb/common.pb.go index 5abee47db2e2..21ca9895d3aa 100755 --- a/spanner/admin/instance/apiv1/instancepb/common.pb.go +++ b/spanner/admin/instance/apiv1/instancepb/common.pb.go @@ -21,11 +21,12 @@ package instancepb 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" - reflect "reflect" - sync "sync" ) const ( diff --git a/spanner/admin/instance/apiv1/instancepb/spanner_instance_admin.pb.go b/spanner/admin/instance/apiv1/instancepb/spanner_instance_admin.pb.go index 7fbbca13732d..a616f1d6d62a 100755 --- a/spanner/admin/instance/apiv1/instancepb/spanner_instance_admin.pb.go +++ b/spanner/admin/instance/apiv1/instancepb/spanner_instance_admin.pb.go @@ -21,9 +21,12 @@ package instancepb import ( + context "context" + reflect "reflect" + sync "sync" + iampb "cloud.google.com/go/iam/apiv1/iampb" longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" - context "context" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,8 +36,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/spanner/apiv1/doc.go b/spanner/apiv1/doc.go index 6f87bfbf6a53..f3e63563dce9 100755 --- a/spanner/apiv1/doc.go +++ b/spanner/apiv1/doc.go @@ -20,65 +20,66 @@ // Cloud Spanner is a managed, mission-critical, globally consistent and // scalable relational database service. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := spanner.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := spanner.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := spanner.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &spannerpb.BatchCreateSessionsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/spanner/apiv1/spannerpb#BatchCreateSessionsRequest. -// } -// resp, err := c.BatchCreateSessions(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := spanner.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &spannerpb.BatchCreateSessionsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/spanner/apiv1/spannerpb#BatchCreateSessionsRequest. +// } +// resp, err := c.BatchCreateSessions(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/spanner/apiv1/spanner_client.go b/spanner/apiv1/spanner_client.go index 7dab52b757ab..9a3baba7b456 100755 --- a/spanner/apiv1/spanner_client.go +++ b/spanner/apiv1/spanner_client.go @@ -422,7 +422,7 @@ type internalClient interface { // Client is a client for interacting with Cloud Spanner API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// Cloud Spanner API +// # Cloud Spanner API // // The Cloud Spanner API can be used to manage sessions and execute // transactions on data stored in Cloud Spanner databases. @@ -689,7 +689,7 @@ type gRPCClient struct { // NewClient creates a new spanner client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// Cloud Spanner API +// # Cloud Spanner API // // The Cloud Spanner API can be used to manage sessions and execute // transactions on data stored in Cloud Spanner databases. @@ -761,7 +761,7 @@ type restClient struct { // NewRESTClient creates a new spanner rest client. // -// Cloud Spanner API +// # Cloud Spanner API // // The Cloud Spanner API can be used to manage sessions and execute // transactions on data stored in Cloud Spanner databases. diff --git a/spanner/apiv1/spannerpb/commit_response.pb.go b/spanner/apiv1/spannerpb/commit_response.pb.go index 12f756c92b06..d24a08242247 100755 --- a/spanner/apiv1/spannerpb/commit_response.pb.go +++ b/spanner/apiv1/spannerpb/commit_response.pb.go @@ -21,11 +21,12 @@ package spannerpb 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" - reflect "reflect" - sync "sync" ) const ( diff --git a/spanner/apiv1/spannerpb/keys.pb.go b/spanner/apiv1/spannerpb/keys.pb.go index 14ccc158207e..606082cb38f4 100755 --- a/spanner/apiv1/spannerpb/keys.pb.go +++ b/spanner/apiv1/spannerpb/keys.pb.go @@ -21,11 +21,12 @@ package spannerpb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( @@ -47,15 +48,15 @@ const ( // // For example, consider the following table definition: // -// CREATE TABLE UserEvents ( -// UserName STRING(MAX), -// EventDate STRING(10) -// ) PRIMARY KEY(UserName, EventDate); +// CREATE TABLE UserEvents ( +// UserName STRING(MAX), +// EventDate STRING(10) +// ) PRIMARY KEY(UserName, EventDate); // // The following keys name rows in this table: // -// ["Bob", "2014-09-23"] -// ["Alfred", "2015-06-12"] +// ["Bob", "2014-09-23"] +// ["Alfred", "2015-06-12"] // // Since the `UserEvents` table's `PRIMARY KEY` clause names two // columns, each `UserEvents` key has two elements; the first is the @@ -66,8 +67,8 @@ const ( // sort order. For example, the following range returns all events for // user `"Bob"` that occurred in the year 2015: // -// "start_closed": ["Bob", "2015-01-01"] -// "end_closed": ["Bob", "2015-12-31"] +// "start_closed": ["Bob", "2015-01-01"] +// "end_closed": ["Bob", "2015-12-31"] // // Start and end keys can omit trailing key components. This affects the // inclusion and exclusion of rows that exactly match the provided key @@ -78,48 +79,48 @@ const ( // For example, the following range includes all events for `"Bob"` that // occurred during and after the year 2000: // -// "start_closed": ["Bob", "2000-01-01"] -// "end_closed": ["Bob"] +// "start_closed": ["Bob", "2000-01-01"] +// "end_closed": ["Bob"] // // The next example retrieves all events for `"Bob"`: // -// "start_closed": ["Bob"] -// "end_closed": ["Bob"] +// "start_closed": ["Bob"] +// "end_closed": ["Bob"] // // To retrieve events before the year 2000: // -// "start_closed": ["Bob"] -// "end_open": ["Bob", "2000-01-01"] +// "start_closed": ["Bob"] +// "end_open": ["Bob", "2000-01-01"] // // The following range includes all rows in the table: // -// "start_closed": [] -// "end_closed": [] +// "start_closed": [] +// "end_closed": [] // // This range returns all users whose `UserName` begins with any // character from A to C: // -// "start_closed": ["A"] -// "end_open": ["D"] +// "start_closed": ["A"] +// "end_open": ["D"] // // This range returns all users whose `UserName` begins with B: // -// "start_closed": ["B"] -// "end_open": ["C"] +// "start_closed": ["B"] +// "end_open": ["C"] // // Key ranges honor column sort order. For example, suppose a table is // defined as follows: // -// CREATE TABLE DescendingSortedTable { -// Key INT64, -// ... -// ) PRIMARY KEY(Key DESC); +// CREATE TABLE DescendingSortedTable { +// Key INT64, +// ... +// ) PRIMARY KEY(Key DESC); // // The following range retrieves all rows with key values between 1 // and 100 inclusive: // -// "start_closed": ["100"] -// "end_closed": ["1"] +// "start_closed": ["100"] +// "end_closed": ["1"] // // Note that 100 is passed as the start, and 1 is passed as the end, // because `Key` is a descending column in the schema. diff --git a/spanner/apiv1/spannerpb/mutation.pb.go b/spanner/apiv1/spannerpb/mutation.pb.go index 000ed8ea85e1..b51672ef7e73 100755 --- a/spanner/apiv1/spannerpb/mutation.pb.go +++ b/spanner/apiv1/spannerpb/mutation.pb.go @@ -21,12 +21,13 @@ package spannerpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/spanner/apiv1/spannerpb/query_plan.pb.go b/spanner/apiv1/spannerpb/query_plan.pb.go index ec6e140a225e..605b5eb79b51 100755 --- a/spanner/apiv1/spannerpb/query_plan.pb.go +++ b/spanner/apiv1/spannerpb/query_plan.pb.go @@ -21,11 +21,12 @@ package spannerpb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/spanner/apiv1/spannerpb/result_set.pb.go b/spanner/apiv1/spannerpb/result_set.pb.go index d63691986ad5..85ea32c2bd22 100755 --- a/spanner/apiv1/spannerpb/result_set.pb.go +++ b/spanner/apiv1/spannerpb/result_set.pb.go @@ -21,11 +21,12 @@ package spannerpb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/spanner/apiv1/spannerpb/spanner.pb.go b/spanner/apiv1/spannerpb/spanner.pb.go index 6125e1f7718c..cfb5f505d51b 100755 --- a/spanner/apiv1/spannerpb/spanner.pb.go +++ b/spanner/apiv1/spannerpb/spanner.pb.go @@ -22,6 +22,9 @@ package spannerpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -49,16 +50,16 @@ const ( // The priority acts as a hint to the Cloud Spanner scheduler and does not // guarantee priority or order of execution. For example: // -// * Some parts of a write operation always execute at `PRIORITY_HIGH`, -// regardless of the specified priority. This may cause you to see an -// increase in high priority workload even when executing a low priority -// request. This can also potentially cause a priority inversion where a -// lower priority request will be fulfilled ahead of a higher priority -// request. -// * If a transaction contains multiple operations with different priorities, -// Cloud Spanner does not guarantee to process the higher priority -// operations first. There may be other constraints to satisfy, such as -// order of operations. +// - Some parts of a write operation always execute at `PRIORITY_HIGH`, +// regardless of the specified priority. This may cause you to see an +// increase in high priority workload even when executing a low priority +// request. This can also potentially cause a priority inversion where a +// lower priority request will be fulfilled ahead of a higher priority +// request. +// - If a transaction contains multiple operations with different priorities, +// Cloud Spanner does not guarantee to process the higher priority +// operations first. There may be other constraints to satisfy, such as +// order of operations. type RequestOptions_Priority int32 const ( @@ -1252,11 +1253,12 @@ func (x *ExecuteBatchDmlRequest) GetRequestOptions() *RequestOptions { // // 1. Check the status in the response message. The // [google.rpc.Code][google.rpc.Code] enum -// value `OK` indicates that all statements were executed successfully. -// 2. If the status was not `OK`, check the number of result sets in the -// response. If the response contains `N` -// [ResultSet][google.spanner.v1.ResultSet] messages, then statement `N+1` in -// the request failed. +// +// value `OK` indicates that all statements were executed successfully. +// 2. If the status was not `OK`, check the number of result sets in the +// response. If the response contains `N` +// [ResultSet][google.spanner.v1.ResultSet] messages, then statement `N+1` in +// the request failed. // // Example 1: // @@ -1269,9 +1271,10 @@ func (x *ExecuteBatchDmlRequest) GetRequestOptions() *RequestOptions { // * Request: 5 DML statements. The third statement has a syntax error. // * Response: 2 [ResultSet][google.spanner.v1.ResultSet] messages, and a syntax // error (`INVALID_ARGUMENT`) -// status. The number of [ResultSet][google.spanner.v1.ResultSet] messages -// indicates that the third statement failed, and the fourth and fifth -// statements were not executed. +// +// status. The number of [ResultSet][google.spanner.v1.ResultSet] messages +// indicates that the third statement failed, and the fourth and fifth +// statements were not executed. type ExecuteBatchDmlResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2351,20 +2354,22 @@ func (x *BatchWriteResponse) GetCommitTimestamp() *timestamppb.Timestamp { // Callers must provide one or more of the following fields for replica // selection: // -// * `location` - The location must be one of the regions within the -// multi-region configuration of your database. -// * `type` - The type of the replica. +// - `location` - The location must be one of the regions within the +// multi-region configuration of your database. +// - `type` - The type of the replica. // // Some examples of using replica_selectors are: // -// * `location:us-east1` --> The "us-east1" replica(s) of any available type -// will be used to process the request. -// * `type:READ_ONLY` --> The "READ_ONLY" type replica(s) in nearest +// - `location:us-east1` --> The "us-east1" replica(s) of any available type +// will be used to process the request. +// - `type:READ_ONLY` --> The "READ_ONLY" type replica(s) in nearest +// // . available location will be used to process the -// request. -// * `location:us-east1 type:READ_ONLY` --> The "READ_ONLY" type replica(s) -// in location "us-east1" will be used to process -// the request. +// +// request. +// * `location:us-east1 type:READ_ONLY` --> The "READ_ONLY" type replica(s) +// in location "us-east1" will be used to process +// the request. type DirectedReadOptions_ReplicaSelection struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/spanner/apiv1/spannerpb/transaction.pb.go b/spanner/apiv1/spannerpb/transaction.pb.go index 872a5055fb76..d9dcfbecb21b 100755 --- a/spanner/apiv1/spannerpb/transaction.pb.go +++ b/spanner/apiv1/spannerpb/transaction.pb.go @@ -21,12 +21,13 @@ package spannerpb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -110,32 +111,32 @@ func (TransactionOptions_ReadWrite_ReadLockMode) EnumDescriptor() ([]byte, []int // // Cloud Spanner supports three transaction modes: // -// 1. Locking read-write. This type of transaction is the only way -// to write data into Cloud Spanner. These transactions rely on -// pessimistic locking and, if necessary, two-phase commit. -// Locking read-write transactions may abort, requiring the -// application to retry. -// -// 2. Snapshot read-only. Snapshot read-only transactions provide guaranteed -// consistency across several reads, but do not allow -// writes. Snapshot read-only transactions can be configured to read at -// timestamps in the past, or configured to perform a strong read -// (where Spanner will select a timestamp such that the read is -// guaranteed to see the effects of all transactions that have committed -// before the start of the read). Snapshot read-only transactions do not -// need to be committed. -// -// Queries on change streams must be performed with the snapshot read-only -// transaction mode, specifying a strong read. Please see -// [TransactionOptions.ReadOnly.strong][google.spanner.v1.TransactionOptions.ReadOnly.strong] -// for more details. -// -// 3. Partitioned DML. This type of transaction is used to execute -// a single Partitioned DML statement. Partitioned DML partitions -// the key space and runs the DML statement over each partition -// in parallel using separate, internal transactions that commit -// independently. Partitioned DML transactions do not need to be -// committed. +// 1. Locking read-write. This type of transaction is the only way +// to write data into Cloud Spanner. These transactions rely on +// pessimistic locking and, if necessary, two-phase commit. +// Locking read-write transactions may abort, requiring the +// application to retry. +// +// 2. Snapshot read-only. Snapshot read-only transactions provide guaranteed +// consistency across several reads, but do not allow +// writes. Snapshot read-only transactions can be configured to read at +// timestamps in the past, or configured to perform a strong read +// (where Spanner will select a timestamp such that the read is +// guaranteed to see the effects of all transactions that have committed +// before the start of the read). Snapshot read-only transactions do not +// need to be committed. +// +// Queries on change streams must be performed with the snapshot read-only +// transaction mode, specifying a strong read. Please see +// [TransactionOptions.ReadOnly.strong][google.spanner.v1.TransactionOptions.ReadOnly.strong] +// for more details. +// +// 3. Partitioned DML. This type of transaction is used to execute +// a single Partitioned DML statement. Partitioned DML partitions +// the key space and runs the DML statement over each partition +// in parallel using separate, internal transactions that commit +// independently. Partitioned DML transactions do not need to be +// committed. // // For transactions that only read, snapshot read-only transactions // provide simpler semantics and are almost always faster. In @@ -386,38 +387,38 @@ func (TransactionOptions_ReadWrite_ReadLockMode) EnumDescriptor() ([]byte, []int // That said, Partitioned DML is not a drop-in replacement for standard DML used // in ReadWrite transactions. // -// - The DML statement must be fully-partitionable. Specifically, the statement -// must be expressible as the union of many statements which each access only -// a single row of the table. -// -// - The statement is not applied atomically to all rows of the table. Rather, -// the statement is applied atomically to partitions of the table, in -// independent transactions. Secondary index rows are updated atomically -// with the base table rows. -// -// - Partitioned DML does not guarantee exactly-once execution semantics -// against a partition. The statement will be applied at least once to each -// partition. It is strongly recommended that the DML statement should be -// idempotent to avoid unexpected results. For instance, it is potentially -// dangerous to run a statement such as -// `UPDATE table SET column = column + 1` as it could be run multiple times -// against some rows. -// -// - The partitions are committed automatically - there is no support for -// Commit or Rollback. If the call returns an error, or if the client issuing -// the ExecuteSql call dies, it is possible that some rows had the statement -// executed on them successfully. It is also possible that statement was -// never executed against other rows. -// -// - Partitioned DML transactions may only contain the execution of a single -// DML statement via ExecuteSql or ExecuteStreamingSql. -// -// - If any error is encountered during the execution of the partitioned DML -// operation (for instance, a UNIQUE INDEX violation, division by zero, or a -// value that cannot be stored due to schema constraints), then the -// operation is stopped at that point and an error is returned. It is -// possible that at this point, some partitions have been committed (or even -// committed multiple times), and other partitions have not been run at all. +// - The DML statement must be fully-partitionable. Specifically, the statement +// must be expressible as the union of many statements which each access only +// a single row of the table. +// +// - The statement is not applied atomically to all rows of the table. Rather, +// the statement is applied atomically to partitions of the table, in +// independent transactions. Secondary index rows are updated atomically +// with the base table rows. +// +// - Partitioned DML does not guarantee exactly-once execution semantics +// against a partition. The statement will be applied at least once to each +// partition. It is strongly recommended that the DML statement should be +// idempotent to avoid unexpected results. For instance, it is potentially +// dangerous to run a statement such as +// `UPDATE table SET column = column + 1` as it could be run multiple times +// against some rows. +// +// - The partitions are committed automatically - there is no support for +// Commit or Rollback. If the call returns an error, or if the client issuing +// the ExecuteSql call dies, it is possible that some rows had the statement +// executed on them successfully. It is also possible that statement was +// never executed against other rows. +// +// - Partitioned DML transactions may only contain the execution of a single +// DML statement via ExecuteSql or ExecuteStreamingSql. +// +// - If any error is encountered during the execution of the partitioned DML +// operation (for instance, a UNIQUE INDEX violation, division by zero, or a +// value that cannot be stored due to schema constraints), then the +// operation is stopped at that point and an error is returned. It is +// possible that at this point, some partitions have been committed (or even +// committed multiple times), and other partitions have not been run at all. // // Given the above, Partitioned DML is good fit for large, database-wide, // operations that are idempotent, such as deleting old rows from a very large diff --git a/spanner/apiv1/spannerpb/type.pb.go b/spanner/apiv1/spannerpb/type.pb.go index 511945d84776..f440244f8c99 100755 --- a/spanner/apiv1/spannerpb/type.pb.go +++ b/spanner/apiv1/spannerpb/type.pb.go @@ -21,11 +21,12 @@ package spannerpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/speech/apiv1/doc.go b/speech/apiv1/doc.go index c00ed17ab2fe..549db888195b 100755 --- a/speech/apiv1/doc.go +++ b/speech/apiv1/doc.go @@ -19,70 +19,71 @@ // // Converts audio to text by applying powerful neural network models. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := speech.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := speech.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := speech.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &speechpb.LongRunningRecognizeRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/speech/apiv1/speechpb#LongRunningRecognizeRequest. -// } -// op, err := c.LongRunningRecognize(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := speech.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &speechpb.LongRunningRecognizeRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/speech/apiv1/speechpb#LongRunningRecognizeRequest. +// } +// op, err := c.LongRunningRecognize(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/speech/apiv1/speechpb/cloud_speech.pb.go b/speech/apiv1/speechpb/cloud_speech.pb.go index be4027d82805..f13bcdaa0070 100755 --- a/speech/apiv1/speechpb/cloud_speech.pb.go +++ b/speech/apiv1/speechpb/cloud_speech.pb.go @@ -21,8 +21,11 @@ package speechpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -33,8 +36,6 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( @@ -1938,39 +1939,39 @@ func (x *LongRunningRecognizeMetadata) GetUri() string { // // 2. results { alternatives { transcript: "to be a" } stability: 0.01 } // -// 3. results { alternatives { transcript: "to be" } stability: 0.9 } -// results { alternatives { transcript: " or not to be" } stability: 0.01 } +// 3. results { alternatives { transcript: "to be" } stability: 0.9 } +// results { alternatives { transcript: " or not to be" } stability: 0.01 } // -// 4. results { alternatives { transcript: "to be or not to be" -// confidence: 0.92 } -// alternatives { transcript: "to bee or not to bee" } -// is_final: true } +// 4. results { alternatives { transcript: "to be or not to be" +// confidence: 0.92 } +// alternatives { transcript: "to bee or not to bee" } +// is_final: true } // // 5. results { alternatives { transcript: " that's" } stability: 0.01 } // -// 6. results { alternatives { transcript: " that is" } stability: 0.9 } -// results { alternatives { transcript: " the question" } stability: 0.01 } +// 6. results { alternatives { transcript: " that is" } stability: 0.9 } +// results { alternatives { transcript: " the question" } stability: 0.01 } // -// 7. results { alternatives { transcript: " that is the question" -// confidence: 0.98 } -// alternatives { transcript: " that was the question" } -// is_final: true } +// 7. results { alternatives { transcript: " that is the question" +// confidence: 0.98 } +// alternatives { transcript: " that was the question" } +// is_final: true } // // Notes: // -// - Only two of the above responses #4 and #7 contain final results; they are -// indicated by `is_final: true`. Concatenating these together generates the -// full transcript: "to be or not to be that is the question". +// - Only two of the above responses #4 and #7 contain final results; they are +// indicated by `is_final: true`. Concatenating these together generates the +// full transcript: "to be or not to be that is the question". // -// - The others contain interim `results`. #3 and #6 contain two interim -// `results`: the first portion has a high stability and is less likely to -// change; the second portion has a low stability and is very likely to -// change. A UI designer might choose to show only high stability `results`. +// - The others contain interim `results`. #3 and #6 contain two interim +// `results`: the first portion has a high stability and is less likely to +// change; the second portion has a low stability and is very likely to +// change. A UI designer might choose to show only high stability `results`. // -// - The specific `stability` and `confidence` values shown above are only for -// illustrative purposes. Actual values may vary. +// - The specific `stability` and `confidence` values shown above are only for +// illustrative purposes. Actual values may vary. // -// - In each response, only one of these fields will be set: +// - In each response, only one of these fields will be set: // `error`, // `speech_event_type`, or // one or more (repeated) `results`. diff --git a/speech/apiv1/speechpb/cloud_speech_adaptation.pb.go b/speech/apiv1/speechpb/cloud_speech_adaptation.pb.go index 8661d1302715..f0be2b12c501 100755 --- a/speech/apiv1/speechpb/cloud_speech_adaptation.pb.go +++ b/speech/apiv1/speechpb/cloud_speech_adaptation.pb.go @@ -22,6 +22,9 @@ package speechpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/speech/apiv1/speechpb/resource.pb.go b/speech/apiv1/speechpb/resource.pb.go index 4d0620071bca..af49d94c353c 100755 --- a/speech/apiv1/speechpb/resource.pb.go +++ b/speech/apiv1/speechpb/resource.pb.go @@ -21,11 +21,12 @@ package speechpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/speech/apiv1p1beta1/doc.go b/speech/apiv1p1beta1/doc.go index 096fadb91d1f..fc6b019fa8ec 100755 --- a/speech/apiv1p1beta1/doc.go +++ b/speech/apiv1p1beta1/doc.go @@ -19,72 +19,73 @@ // // Converts audio to text by applying powerful neural network models. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := speech.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := speech.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := speech.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &speechpb.LongRunningRecognizeRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/speech/apiv1p1beta1/speechpb#LongRunningRecognizeRequest. -// } -// op, err := c.LongRunningRecognize(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := speech.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &speechpb.LongRunningRecognizeRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/speech/apiv1p1beta1/speechpb#LongRunningRecognizeRequest. +// } +// op, err := c.LongRunningRecognize(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/speech/apiv1p1beta1/speechpb/cloud_speech.pb.go b/speech/apiv1p1beta1/speechpb/cloud_speech.pb.go index 33efbabc7fad..23df3be88277 100755 --- a/speech/apiv1p1beta1/speechpb/cloud_speech.pb.go +++ b/speech/apiv1p1beta1/speechpb/cloud_speech.pb.go @@ -21,8 +21,11 @@ package speechpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -33,8 +36,6 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( @@ -1990,39 +1991,39 @@ func (x *LongRunningRecognizeMetadata) GetOutputConfig() *TranscriptOutputConfig // // 2. results { alternatives { transcript: "to be a" } stability: 0.01 } // -// 3. results { alternatives { transcript: "to be" } stability: 0.9 } -// results { alternatives { transcript: " or not to be" } stability: 0.01 } +// 3. results { alternatives { transcript: "to be" } stability: 0.9 } +// results { alternatives { transcript: " or not to be" } stability: 0.01 } // -// 4. results { alternatives { transcript: "to be or not to be" -// confidence: 0.92 } -// alternatives { transcript: "to bee or not to bee" } -// is_final: true } +// 4. results { alternatives { transcript: "to be or not to be" +// confidence: 0.92 } +// alternatives { transcript: "to bee or not to bee" } +// is_final: true } // // 5. results { alternatives { transcript: " that's" } stability: 0.01 } // -// 6. results { alternatives { transcript: " that is" } stability: 0.9 } -// results { alternatives { transcript: " the question" } stability: 0.01 } +// 6. results { alternatives { transcript: " that is" } stability: 0.9 } +// results { alternatives { transcript: " the question" } stability: 0.01 } // -// 7. results { alternatives { transcript: " that is the question" -// confidence: 0.98 } -// alternatives { transcript: " that was the question" } -// is_final: true } +// 7. results { alternatives { transcript: " that is the question" +// confidence: 0.98 } +// alternatives { transcript: " that was the question" } +// is_final: true } // // Notes: // -// - Only two of the above responses #4 and #7 contain final results; they are -// indicated by `is_final: true`. Concatenating these together generates the -// full transcript: "to be or not to be that is the question". +// - Only two of the above responses #4 and #7 contain final results; they are +// indicated by `is_final: true`. Concatenating these together generates the +// full transcript: "to be or not to be that is the question". // -// - The others contain interim `results`. #3 and #6 contain two interim -// `results`: the first portion has a high stability and is less likely to -// change; the second portion has a low stability and is very likely to -// change. A UI designer might choose to show only high stability `results`. +// - The others contain interim `results`. #3 and #6 contain two interim +// `results`: the first portion has a high stability and is less likely to +// change; the second portion has a low stability and is very likely to +// change. A UI designer might choose to show only high stability `results`. // -// - The specific `stability` and `confidence` values shown above are only for -// illustrative purposes. Actual values may vary. +// - The specific `stability` and `confidence` values shown above are only for +// illustrative purposes. Actual values may vary. // -// - In each response, only one of these fields will be set: +// - In each response, only one of these fields will be set: // `error`, // `speech_event_type`, or // one or more (repeated) `results`. diff --git a/speech/apiv1p1beta1/speechpb/cloud_speech_adaptation.pb.go b/speech/apiv1p1beta1/speechpb/cloud_speech_adaptation.pb.go index c7e2decadd70..d43bcdcb4d0a 100755 --- a/speech/apiv1p1beta1/speechpb/cloud_speech_adaptation.pb.go +++ b/speech/apiv1p1beta1/speechpb/cloud_speech_adaptation.pb.go @@ -22,6 +22,9 @@ package speechpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/speech/apiv1p1beta1/speechpb/resource.pb.go b/speech/apiv1p1beta1/speechpb/resource.pb.go index 137053c9f9e7..3ddb7d605b05 100755 --- a/speech/apiv1p1beta1/speechpb/resource.pb.go +++ b/speech/apiv1p1beta1/speechpb/resource.pb.go @@ -21,11 +21,12 @@ package speechpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/speech/apiv2/doc.go b/speech/apiv2/doc.go index 740b045ff7e5..06531277811b 100755 --- a/speech/apiv2/doc.go +++ b/speech/apiv2/doc.go @@ -19,70 +19,71 @@ // // Converts audio to text by applying powerful neural network models. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := speech.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := speech.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := speech.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &speechpb.BatchRecognizeRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/speech/apiv2/speechpb#BatchRecognizeRequest. -// } -// op, err := c.BatchRecognize(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := speech.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &speechpb.BatchRecognizeRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/speech/apiv2/speechpb#BatchRecognizeRequest. +// } +// op, err := c.BatchRecognize(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/speech/apiv2/speechpb/cloud_speech.pb.go b/speech/apiv2/speechpb/cloud_speech.pb.go index 5fe6cf6c7d38..78814ab1eb40 100755 --- a/speech/apiv2/speechpb/cloud_speech.pb.go +++ b/speech/apiv2/speechpb/cloud_speech.pb.go @@ -21,8 +21,11 @@ package speechpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -33,8 +36,6 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -3967,39 +3968,39 @@ func (x *StreamingRecognitionResult) GetLanguageCode() string { // // 2. results { alternatives { transcript: "to be a" } stability: 0.01 } // -// 3. results { alternatives { transcript: "to be" } stability: 0.9 } -// results { alternatives { transcript: " or not to be" } stability: 0.01 } +// 3. results { alternatives { transcript: "to be" } stability: 0.9 } +// results { alternatives { transcript: " or not to be" } stability: 0.01 } // -// 4. results { alternatives { transcript: "to be or not to be" -// confidence: 0.92 } -// alternatives { transcript: "to bee or not to bee" } -// is_final: true } +// 4. results { alternatives { transcript: "to be or not to be" +// confidence: 0.92 } +// alternatives { transcript: "to bee or not to bee" } +// is_final: true } // // 5. results { alternatives { transcript: " that's" } stability: 0.01 } // -// 6. results { alternatives { transcript: " that is" } stability: 0.9 } -// results { alternatives { transcript: " the question" } stability: 0.01 } +// 6. results { alternatives { transcript: " that is" } stability: 0.9 } +// results { alternatives { transcript: " the question" } stability: 0.01 } // -// 7. results { alternatives { transcript: " that is the question" -// confidence: 0.98 } -// alternatives { transcript: " that was the question" } -// is_final: true } +// 7. results { alternatives { transcript: " that is the question" +// confidence: 0.98 } +// alternatives { transcript: " that was the question" } +// is_final: true } // // Notes: // -// - Only two of the above responses #4 and #7 contain final results; they are -// indicated by `is_final: true`. Concatenating these together generates the -// full transcript: "to be or not to be that is the question". +// - Only two of the above responses #4 and #7 contain final results; they are +// indicated by `is_final: true`. Concatenating these together generates the +// full transcript: "to be or not to be that is the question". // -// - The others contain interim `results`. #3 and #6 contain two interim -// `results`: the first portion has a high stability and is less likely to -// change; the second portion has a low stability and is very likely to -// change. A UI designer might choose to show only high stability `results`. +// - The others contain interim `results`. #3 and #6 contain two interim +// `results`: the first portion has a high stability and is less likely to +// change; the second portion has a low stability and is very likely to +// change. A UI designer might choose to show only high stability `results`. // -// - The specific `stability` and `confidence` values shown above are only for -// illustrative purposes. Actual values may vary. +// - The specific `stability` and `confidence` values shown above are only for +// illustrative purposes. Actual values may vary. // -// - In each response, only one of these fields will be set: +// - In each response, only one of these fields will be set: // `error`, // `speech_event_type`, or // one or more (repeated) `results`. diff --git a/storage/internal/apiv2/doc.go b/storage/internal/apiv2/doc.go index 2ddb0e3f8419..8159589ea9be 100755 --- a/storage/internal/apiv2/doc.go +++ b/storage/internal/apiv2/doc.go @@ -29,80 +29,81 @@ // any time for any users who are not registered as a part of a private // preview program. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := storage.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := storage.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := storage.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// stream, err := c.BidiWriteObject(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// go func() { -// reqs := []*storagepb.BidiWriteObjectRequest{ -// // TODO: Create requests. -// } -// for _, req := range reqs { -// if err := stream.Send(req); err != nil { -// // TODO: Handle error. -// } -// } -// stream.CloseSend() -// }() -// for { -// resp, err := stream.Recv() -// if err == io.EOF { -// break -// } -// if err != nil { -// // TODO: handle error. -// } -// // TODO: Use resp. -// _ = resp -// } -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := storage.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// stream, err := c.BidiWriteObject(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// go func() { +// reqs := []*storagepb.BidiWriteObjectRequest{ +// // TODO: Create requests. +// } +// for _, req := range reqs { +// if err := stream.Send(req); err != nil { +// // TODO: Handle error. +// } +// } +// stream.CloseSend() +// }() +// for { +// resp, err := stream.Recv() +// if err == io.EOF { +// break +// } +// if err != nil { +// // TODO: handle error. +// } +// // TODO: Use resp. +// _ = resp +// } +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/storage/internal/apiv2/storage_client.go b/storage/internal/apiv2/storage_client.go index e644d2cc864b..64819950600c 100755 --- a/storage/internal/apiv2/storage_client.go +++ b/storage/internal/apiv2/storage_client.go @@ -553,22 +553,22 @@ type internalClient interface { // // Resources are named as follows: // -// Projects are referred to as they are defined by the Resource Manager API, -// using strings like projects/123456 or projects/my-string-id. +// Projects are referred to as they are defined by the Resource Manager API, +// using strings like projects/123456 or projects/my-string-id. // -// Buckets are named using string names of the form: -// projects/{project}/buckets/{bucket} -// For globally unique buckets, _ may be substituted for the project. +// Buckets are named using string names of the form: +// projects/{project}/buckets/{bucket} +// For globally unique buckets, _ may be substituted for the project. // -// Objects are uniquely identified by their name along with the name of the -// bucket they belong to, as separate strings in this API. For example: +// Objects are uniquely identified by their name along with the name of the +// bucket they belong to, as separate strings in this API. For example: // -// ReadObjectRequest { -// bucket: ‘projects/_/buckets/my-bucket’ -// object: ‘my-object’ -// } -// Note that object names can contain / characters, which are treated as -// any other character (no special directory semantics). +// ReadObjectRequest { +// bucket: ‘projects/_/buckets/my-bucket’ +// object: ‘my-object’ +// } +// Note that object names can contain / characters, which are treated as +// any other character (no special directory semantics). type Client struct { // The internal transport-dependent client. internalClient internalClient @@ -744,37 +744,37 @@ func (c *Client) UpdateObject(ctx context.Context, req *storagepb.UpdateObjectRe // error or an error response from the server), the client should do as // follows: // -// Check the result Status of the stream, to determine if writing can be -// resumed on this stream or must be restarted from scratch (by calling -// StartResumableWrite()). The resumable errors are DEADLINE_EXCEEDED, -// INTERNAL, and UNAVAILABLE. For each case, the client should use binary -// exponential backoff before retrying. Additionally, writes can be -// resumed after RESOURCE_EXHAUSTED errors, but only after taking -// appropriate measures, which may include reducing aggregate send rate -// across clients and/or requesting a quota increase for your project. +// Check the result Status of the stream, to determine if writing can be +// resumed on this stream or must be restarted from scratch (by calling +// StartResumableWrite()). The resumable errors are DEADLINE_EXCEEDED, +// INTERNAL, and UNAVAILABLE. For each case, the client should use binary +// exponential backoff before retrying. Additionally, writes can be +// resumed after RESOURCE_EXHAUSTED errors, but only after taking +// appropriate measures, which may include reducing aggregate send rate +// across clients and/or requesting a quota increase for your project. // -// If the call to WriteObject returns ABORTED, that indicates -// concurrent attempts to update the resumable write, caused either by -// multiple racing clients or by a single client where the previous -// request was timed out on the client side but nonetheless reached the -// server. In this case the client should take steps to prevent further -// concurrent writes (e.g., increase the timeouts, stop using more than -// one process to perform the upload, etc.), and then should follow the -// steps below for resuming the upload. +// If the call to WriteObject returns ABORTED, that indicates +// concurrent attempts to update the resumable write, caused either by +// multiple racing clients or by a single client where the previous +// request was timed out on the client side but nonetheless reached the +// server. In this case the client should take steps to prevent further +// concurrent writes (e.g., increase the timeouts, stop using more than +// one process to perform the upload, etc.), and then should follow the +// steps below for resuming the upload. // -// For resumable errors, the client should call QueryWriteStatus() and -// then continue writing from the returned persisted_size. This may be -// less than the amount of data the client previously sent. Note also that -// it is acceptable to send data starting at an offset earlier than the -// returned persisted_size; in this case, the service will skip data at -// offsets that were already persisted (without checking that it matches -// the previously written data), and write only the data starting from the -// persisted offset. Even though the data isn’t written, it may still -// incur a performance cost over resuming at the correct write offset. -// This behavior can make client-side handling simpler in some cases. +// For resumable errors, the client should call QueryWriteStatus() and +// then continue writing from the returned persisted_size. This may be +// less than the amount of data the client previously sent. Note also that +// it is acceptable to send data starting at an offset earlier than the +// returned persisted_size; in this case, the service will skip data at +// offsets that were already persisted (without checking that it matches +// the previously written data), and write only the data starting from the +// persisted offset. Even though the data isn’t written, it may still +// incur a performance cost over resuming at the correct write offset. +// This behavior can make client-side handling simpler in some cases. // -// Clients must only send data that is a multiple of 256 KiB per message, -// unless the object is being finished with finish_write set to true. +// Clients must only send data that is a multiple of 256 KiB per message, +// unless the object is being finished with finish_write set to true. // // The service will not view the object as complete until the client has // sent a WriteObjectRequest with finish_write set to true. Sending any @@ -904,22 +904,22 @@ type gRPCClient struct { // // Resources are named as follows: // -// Projects are referred to as they are defined by the Resource Manager API, -// using strings like projects/123456 or projects/my-string-id. +// Projects are referred to as they are defined by the Resource Manager API, +// using strings like projects/123456 or projects/my-string-id. // -// Buckets are named using string names of the form: -// projects/{project}/buckets/{bucket} -// For globally unique buckets, _ may be substituted for the project. +// Buckets are named using string names of the form: +// projects/{project}/buckets/{bucket} +// For globally unique buckets, _ may be substituted for the project. // -// Objects are uniquely identified by their name along with the name of the -// bucket they belong to, as separate strings in this API. For example: +// Objects are uniquely identified by their name along with the name of the +// bucket they belong to, as separate strings in this API. For example: // -// ReadObjectRequest { -// bucket: ‘projects/_/buckets/my-bucket’ -// object: ‘my-object’ -// } -// Note that object names can contain / characters, which are treated as -// any other character (no special directory semantics). +// ReadObjectRequest { +// bucket: ‘projects/_/buckets/my-bucket’ +// object: ‘my-object’ +// } +// Note that object names can contain / characters, which are treated as +// any other character (no special directory semantics). func NewClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { clientOpts := defaultGRPCClientOptions() if newClientHook != nil { diff --git a/storage/internal/apiv2/storagepb/storage.pb.go b/storage/internal/apiv2/storagepb/storage.pb.go index 26c0cebcf7d8..3486fd1533ec 100755 --- a/storage/internal/apiv2/storagepb/storage.pb.go +++ b/storage/internal/apiv2/storagepb/storage.pb.go @@ -21,8 +21,11 @@ package storagepb import ( - iampb "cloud.google.com/go/iam/apiv1/iampb" context "context" + reflect "reflect" + sync "sync" + + iampb "cloud.google.com/go/iam/apiv1/iampb" _ "google.golang.org/genproto/googleapis/api/annotations" date "google.golang.org/genproto/googleapis/type/date" grpc "google.golang.org/grpc" @@ -34,8 +37,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/storageinsights/apiv1/doc.go b/storageinsights/apiv1/doc.go index bf2dd8fa5f42..7a621fe3e977 100755 --- a/storageinsights/apiv1/doc.go +++ b/storageinsights/apiv1/doc.go @@ -17,67 +17,68 @@ // Package storageinsights is an auto-generated package for the // Storage Insights API. // -// Provides insights capability on Google Cloud Storage +// # Provides insights capability on Google Cloud Storage // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := storageinsights.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := storageinsights.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := storageinsights.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &storageinsightspb.CreateReportConfigRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/storageinsights/apiv1/storageinsightspb#CreateReportConfigRequest. -// } -// resp, err := c.CreateReportConfig(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := storageinsights.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &storageinsightspb.CreateReportConfigRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/storageinsights/apiv1/storageinsightspb#CreateReportConfigRequest. +// } +// resp, err := c.CreateReportConfig(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/storageinsights/apiv1/storageinsightspb/storageinsights.pb.go b/storageinsights/apiv1/storageinsightspb/storageinsights.pb.go index c5b0f2d35339..26428807e351 100755 --- a/storageinsights/apiv1/storageinsightspb/storageinsights.pb.go +++ b/storageinsights/apiv1/storageinsightspb/storageinsights.pb.go @@ -22,6 +22,9 @@ package storageinsightspb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" date "google.golang.org/genproto/googleapis/type/date" @@ -34,8 +37,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/storagetransfer/apiv1/doc.go b/storagetransfer/apiv1/doc.go index b55afcad4743..f4660ace5b02 100755 --- a/storagetransfer/apiv1/doc.go +++ b/storagetransfer/apiv1/doc.go @@ -20,65 +20,66 @@ // Transfers data from external data sources to a Google Cloud Storage bucket // or between Google Cloud Storage buckets. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := storagetransfer.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := storagetransfer.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := storagetransfer.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &storagetransferpb.CreateAgentPoolRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/storagetransfer/apiv1/storagetransferpb#CreateAgentPoolRequest. -// } -// resp, err := c.CreateAgentPool(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := storagetransfer.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &storagetransferpb.CreateAgentPoolRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/storagetransfer/apiv1/storagetransferpb#CreateAgentPoolRequest. +// } +// resp, err := c.CreateAgentPool(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/storagetransfer/apiv1/storagetransferpb/transfer.pb.go b/storagetransfer/apiv1/storagetransferpb/transfer.pb.go index 2cecb71121fa..0a02eae8d742 100755 --- a/storagetransfer/apiv1/storagetransferpb/transfer.pb.go +++ b/storagetransfer/apiv1/storagetransferpb/transfer.pb.go @@ -21,8 +21,11 @@ package storagetransferpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/storagetransfer/apiv1/storagetransferpb/transfer_types.pb.go b/storagetransfer/apiv1/storagetransferpb/transfer_types.pb.go index 208a45f2e66e..ca1096f9c443 100755 --- a/storagetransfer/apiv1/storagetransferpb/transfer_types.pb.go +++ b/storagetransfer/apiv1/storagetransferpb/transfer_types.pb.go @@ -21,6 +21,9 @@ package storagetransferpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" code "google.golang.org/genproto/googleapis/rpc/code" date "google.golang.org/genproto/googleapis/type/date" @@ -29,8 +32,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/support/apiv2/doc.go b/support/apiv2/doc.go index 5fccec9ca9ee..7e72b6b70eb4 100755 --- a/support/apiv2/doc.go +++ b/support/apiv2/doc.go @@ -20,71 +20,72 @@ // Manages Google Cloud technical support cases for Customer Care support // offerings. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := support.NewCaseAttachmentClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := support.NewCaseAttachmentClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := support.NewCaseAttachmentClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &supportpb.ListAttachmentsRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/support/apiv2/supportpb#ListAttachmentsRequest. -// } -// it := c.ListAttachments(ctx, req) -// for { -// resp, err := it.Next() -// if err == iterator.Done { -// break -// } -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// } -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := support.NewCaseAttachmentClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &supportpb.ListAttachmentsRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/support/apiv2/supportpb#ListAttachmentsRequest. +// } +// it := c.ListAttachments(ctx, req) +// for { +// resp, err := it.Next() +// if err == iterator.Done { +// break +// } +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// } +// +// # Use of Context // // The ctx passed to NewCaseAttachmentClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/support/apiv2/supportpb/actor.pb.go b/support/apiv2/supportpb/actor.pb.go index 640952b47a9c..82fcf19222a9 100755 --- a/support/apiv2/supportpb/actor.pb.go +++ b/support/apiv2/supportpb/actor.pb.go @@ -21,11 +21,12 @@ package supportpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/support/apiv2/supportpb/attachment.pb.go b/support/apiv2/supportpb/attachment.pb.go index 4e005fbbc474..d50f903126e2 100755 --- a/support/apiv2/supportpb/attachment.pb.go +++ b/support/apiv2/supportpb/attachment.pb.go @@ -21,12 +21,13 @@ package supportpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/support/apiv2/supportpb/attachment_service.pb.go b/support/apiv2/supportpb/attachment_service.pb.go index 1973378ee5d4..3572313a495e 100755 --- a/support/apiv2/supportpb/attachment_service.pb.go +++ b/support/apiv2/supportpb/attachment_service.pb.go @@ -22,14 +22,15 @@ package supportpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/support/apiv2/supportpb/case.pb.go b/support/apiv2/supportpb/case.pb.go index a9cece8a2daa..2ece446b821d 100755 --- a/support/apiv2/supportpb/case.pb.go +++ b/support/apiv2/supportpb/case.pb.go @@ -21,12 +21,13 @@ package supportpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/support/apiv2/supportpb/case_service.pb.go b/support/apiv2/supportpb/case_service.pb.go index e295ed894784..7b2506762508 100755 --- a/support/apiv2/supportpb/case_service.pb.go +++ b/support/apiv2/supportpb/case_service.pb.go @@ -22,6 +22,9 @@ package supportpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/support/apiv2/supportpb/comment.pb.go b/support/apiv2/supportpb/comment.pb.go index 54834e7dc36b..67b581683177 100755 --- a/support/apiv2/supportpb/comment.pb.go +++ b/support/apiv2/supportpb/comment.pb.go @@ -21,12 +21,13 @@ package supportpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/support/apiv2/supportpb/comment_service.pb.go b/support/apiv2/supportpb/comment_service.pb.go index 2068a8b531c9..97b86a0845a6 100755 --- a/support/apiv2/supportpb/comment_service.pb.go +++ b/support/apiv2/supportpb/comment_service.pb.go @@ -22,14 +22,15 @@ package supportpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/support/apiv2/supportpb/escalation.pb.go b/support/apiv2/supportpb/escalation.pb.go index ff6537b699ce..d39b232ae352 100755 --- a/support/apiv2/supportpb/escalation.pb.go +++ b/support/apiv2/supportpb/escalation.pb.go @@ -21,11 +21,12 @@ package supportpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/talent/apiv4/doc.go b/talent/apiv4/doc.go index 9ea6984aecb3..80397b1f1d7d 100755 --- a/talent/apiv4/doc.go +++ b/talent/apiv4/doc.go @@ -20,65 +20,66 @@ // Cloud Talent Solution provides the capability to create, read, update, and // delete job postings, as well as search jobs based on keywords and filters. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := talent.NewCompanyClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := talent.NewCompanyClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := talent.NewCompanyClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &talentpb.CreateCompanyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/talent/apiv4/talentpb#CreateCompanyRequest. -// } -// resp, err := c.CreateCompany(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := talent.NewCompanyClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &talentpb.CreateCompanyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/talent/apiv4/talentpb#CreateCompanyRequest. +// } +// resp, err := c.CreateCompany(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewCompanyClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/talent/apiv4/talentpb/common.pb.go b/talent/apiv4/talentpb/common.pb.go index 8631d8f7cde1..f25a5811219d 100755 --- a/talent/apiv4/talentpb/common.pb.go +++ b/talent/apiv4/talentpb/common.pb.go @@ -21,6 +21,9 @@ package talentpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" money "google.golang.org/genproto/googleapis/type/money" @@ -29,8 +32,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/company.pb.go b/talent/apiv4/talentpb/company.pb.go index a60ebba7c04d..c0790f7abb86 100755 --- a/talent/apiv4/talentpb/company.pb.go +++ b/talent/apiv4/talentpb/company.pb.go @@ -21,11 +21,12 @@ package talentpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/company_service.pb.go b/talent/apiv4/talentpb/company_service.pb.go index 7760c6d15c7a..bd5af391c85c 100755 --- a/talent/apiv4/talentpb/company_service.pb.go +++ b/talent/apiv4/talentpb/company_service.pb.go @@ -22,6 +22,9 @@ package talentpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/completion_service.pb.go b/talent/apiv4/talentpb/completion_service.pb.go index d0ca8345623a..a0d24432a8cb 100755 --- a/talent/apiv4/talentpb/completion_service.pb.go +++ b/talent/apiv4/talentpb/completion_service.pb.go @@ -22,14 +22,15 @@ package talentpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/event.pb.go b/talent/apiv4/talentpb/event.pb.go index 074c7c6655cd..8252c407fd51 100755 --- a/talent/apiv4/talentpb/event.pb.go +++ b/talent/apiv4/talentpb/event.pb.go @@ -21,12 +21,13 @@ package talentpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/event_service.pb.go b/talent/apiv4/talentpb/event_service.pb.go index ad9782a71346..5ea306183484 100755 --- a/talent/apiv4/talentpb/event_service.pb.go +++ b/talent/apiv4/talentpb/event_service.pb.go @@ -22,14 +22,15 @@ package talentpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/filters.pb.go b/talent/apiv4/talentpb/filters.pb.go index db1001327858..5711f4f6efb9 100755 --- a/talent/apiv4/talentpb/filters.pb.go +++ b/talent/apiv4/talentpb/filters.pb.go @@ -21,14 +21,15 @@ package talentpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" timeofday "google.golang.org/genproto/googleapis/type/timeofday" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/histogram.pb.go b/talent/apiv4/talentpb/histogram.pb.go index a3fa249b0f9b..f5ac1941244d 100755 --- a/talent/apiv4/talentpb/histogram.pb.go +++ b/talent/apiv4/talentpb/histogram.pb.go @@ -21,10 +21,11 @@ package talentpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/talent/apiv4/talentpb/job.pb.go b/talent/apiv4/talentpb/job.pb.go index 05256188076b..43bad9685176 100755 --- a/talent/apiv4/talentpb/job.pb.go +++ b/talent/apiv4/talentpb/job.pb.go @@ -21,12 +21,13 @@ package talentpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/job_service.pb.go b/talent/apiv4/talentpb/job_service.pb.go index 7d0b00180733..e22175e02407 100755 --- a/talent/apiv4/talentpb/job_service.pb.go +++ b/talent/apiv4/talentpb/job_service.pb.go @@ -21,8 +21,11 @@ package talentpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -33,8 +36,6 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/tenant.pb.go b/talent/apiv4/talentpb/tenant.pb.go index d1e6d51bf45b..1368a73f1df4 100755 --- a/talent/apiv4/talentpb/tenant.pb.go +++ b/talent/apiv4/talentpb/tenant.pb.go @@ -21,11 +21,12 @@ package talentpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/talent/apiv4/talentpb/tenant_service.pb.go b/talent/apiv4/talentpb/tenant_service.pb.go index 612d4534e70f..ae15ae44081d 100755 --- a/talent/apiv4/talentpb/tenant_service.pb.go +++ b/talent/apiv4/talentpb/tenant_service.pb.go @@ -22,6 +22,9 @@ package talentpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/talent/apiv4beta1/doc.go b/talent/apiv4beta1/doc.go index 8bccb66bf0ad..06f87f3a7947 100755 --- a/talent/apiv4beta1/doc.go +++ b/talent/apiv4beta1/doc.go @@ -20,67 +20,68 @@ // Cloud Talent Solution provides the capability to create, read, update, and // delete job postings, as well as search jobs based on keywords and filters. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := talent.NewCompanyClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := talent.NewCompanyClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := talent.NewCompanyClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &talentpb.CreateCompanyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/talent/apiv4beta1/talentpb#CreateCompanyRequest. -// } -// resp, err := c.CreateCompany(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := talent.NewCompanyClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &talentpb.CreateCompanyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/talent/apiv4beta1/talentpb#CreateCompanyRequest. +// } +// resp, err := c.CreateCompany(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewCompanyClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/talent/apiv4beta1/talentpb/batch.pb.go b/talent/apiv4beta1/talentpb/batch.pb.go index c260c54a10bd..292fcf3c0406 100755 --- a/talent/apiv4beta1/talentpb/batch.pb.go +++ b/talent/apiv4beta1/talentpb/batch.pb.go @@ -21,9 +21,10 @@ package talentpb import ( + reflect "reflect" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" ) const ( diff --git a/talent/apiv4beta1/talentpb/common.pb.go b/talent/apiv4beta1/talentpb/common.pb.go index 8ca9a6bc91c9..1f2b5677248f 100755 --- a/talent/apiv4beta1/talentpb/common.pb.go +++ b/talent/apiv4beta1/talentpb/common.pb.go @@ -21,6 +21,9 @@ package talentpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" money "google.golang.org/genproto/googleapis/type/money" @@ -29,8 +32,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/company.pb.go b/talent/apiv4beta1/talentpb/company.pb.go index 14ff35af8fc3..77cb5ded6bfd 100755 --- a/talent/apiv4beta1/talentpb/company.pb.go +++ b/talent/apiv4beta1/talentpb/company.pb.go @@ -21,11 +21,12 @@ package talentpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/company_service.pb.go b/talent/apiv4beta1/talentpb/company_service.pb.go index 3e498c49a2d0..fe790da9d8c6 100755 --- a/talent/apiv4beta1/talentpb/company_service.pb.go +++ b/talent/apiv4beta1/talentpb/company_service.pb.go @@ -22,6 +22,9 @@ package talentpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/completion_service.pb.go b/talent/apiv4beta1/talentpb/completion_service.pb.go index b073f20f791b..6be1ea82892c 100755 --- a/talent/apiv4beta1/talentpb/completion_service.pb.go +++ b/talent/apiv4beta1/talentpb/completion_service.pb.go @@ -22,14 +22,15 @@ package talentpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/event.pb.go b/talent/apiv4beta1/talentpb/event.pb.go index 4ad3349161c0..105276656c06 100755 --- a/talent/apiv4beta1/talentpb/event.pb.go +++ b/talent/apiv4beta1/talentpb/event.pb.go @@ -21,12 +21,13 @@ package talentpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/event_service.pb.go b/talent/apiv4beta1/talentpb/event_service.pb.go index 8c137aa33730..85620ee83b35 100755 --- a/talent/apiv4beta1/talentpb/event_service.pb.go +++ b/talent/apiv4beta1/talentpb/event_service.pb.go @@ -22,14 +22,15 @@ package talentpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/filters.pb.go b/talent/apiv4beta1/talentpb/filters.pb.go index fcfc1c669a2f..697e11d63911 100755 --- a/talent/apiv4beta1/talentpb/filters.pb.go +++ b/talent/apiv4beta1/talentpb/filters.pb.go @@ -21,14 +21,15 @@ package talentpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" latlng "google.golang.org/genproto/googleapis/type/latlng" timeofday "google.golang.org/genproto/googleapis/type/timeofday" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/histogram.pb.go b/talent/apiv4beta1/talentpb/histogram.pb.go index e21647446f35..62969be662d0 100755 --- a/talent/apiv4beta1/talentpb/histogram.pb.go +++ b/talent/apiv4beta1/talentpb/histogram.pb.go @@ -21,10 +21,11 @@ package talentpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/talent/apiv4beta1/talentpb/job.pb.go b/talent/apiv4beta1/talentpb/job.pb.go index 7a2744f07963..efa9271b5111 100755 --- a/talent/apiv4beta1/talentpb/job.pb.go +++ b/talent/apiv4beta1/talentpb/job.pb.go @@ -21,12 +21,13 @@ package talentpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/job_service.pb.go b/talent/apiv4beta1/talentpb/job_service.pb.go index 1e33236329de..7d96d7d72adc 100755 --- a/talent/apiv4beta1/talentpb/job_service.pb.go +++ b/talent/apiv4beta1/talentpb/job_service.pb.go @@ -21,8 +21,11 @@ package talentpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -33,8 +36,6 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/tenant.pb.go b/talent/apiv4beta1/talentpb/tenant.pb.go index 381b91370ade..47fb5c609adf 100755 --- a/talent/apiv4beta1/talentpb/tenant.pb.go +++ b/talent/apiv4beta1/talentpb/tenant.pb.go @@ -21,11 +21,12 @@ package talentpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/talent/apiv4beta1/talentpb/tenant_service.pb.go b/talent/apiv4beta1/talentpb/tenant_service.pb.go index 6a107635947a..131b5ccf9d33 100755 --- a/talent/apiv4beta1/talentpb/tenant_service.pb.go +++ b/talent/apiv4beta1/talentpb/tenant_service.pb.go @@ -22,6 +22,9 @@ package talentpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/telcoautomation/apiv1/doc.go b/telcoautomation/apiv1/doc.go index 2dde93c39b19..319a9643c0fc 100755 --- a/telcoautomation/apiv1/doc.go +++ b/telcoautomation/apiv1/doc.go @@ -20,67 +20,68 @@ // APIs to automate 5G deployment and management of cloud infrastructure and // network functions. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := telcoautomation.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := telcoautomation.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := telcoautomation.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &telcoautomationpb.ApplyDeploymentRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#ApplyDeploymentRequest. -// } -// resp, err := c.ApplyDeployment(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := telcoautomation.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &telcoautomationpb.ApplyDeploymentRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#ApplyDeploymentRequest. +// } +// resp, err := c.ApplyDeployment(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/telcoautomation/apiv1/telcoautomationpb/telcoautomation.pb.go b/telcoautomation/apiv1/telcoautomationpb/telcoautomation.pb.go index b2f22f158415..2408d5325646 100755 --- a/telcoautomation/apiv1/telcoautomationpb/telcoautomation.pb.go +++ b/telcoautomation/apiv1/telcoautomationpb/telcoautomation.pb.go @@ -21,8 +21,11 @@ package telcoautomationpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/texttospeech/apiv1/doc.go b/texttospeech/apiv1/doc.go index 16a2a6582aa1..b35cf0b67591 100755 --- a/texttospeech/apiv1/doc.go +++ b/texttospeech/apiv1/doc.go @@ -20,65 +20,66 @@ // Synthesizes natural-sounding speech by applying powerful neural network // models. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := texttospeech.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := texttospeech.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := texttospeech.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &texttospeechpb.ListVoicesRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/texttospeech/apiv1/texttospeechpb#ListVoicesRequest. -// } -// resp, err := c.ListVoices(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := texttospeech.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &texttospeechpb.ListVoicesRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/texttospeech/apiv1/texttospeechpb#ListVoicesRequest. +// } +// resp, err := c.ListVoices(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/texttospeech/apiv1/texttospeechpb/cloud_tts.pb.go b/texttospeech/apiv1/texttospeechpb/cloud_tts.pb.go index 70ed40899f8d..f9d7cb06087b 100755 --- a/texttospeech/apiv1/texttospeechpb/cloud_tts.pb.go +++ b/texttospeech/apiv1/texttospeechpb/cloud_tts.pb.go @@ -22,14 +22,15 @@ package texttospeechpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/texttospeech/apiv1/texttospeechpb/cloud_tts_lrs.pb.go b/texttospeech/apiv1/texttospeechpb/cloud_tts_lrs.pb.go index 80917d307810..14e7705eafab 100755 --- a/texttospeech/apiv1/texttospeechpb/cloud_tts_lrs.pb.go +++ b/texttospeech/apiv1/texttospeechpb/cloud_tts_lrs.pb.go @@ -21,8 +21,11 @@ package texttospeechpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/tpu/apiv1/doc.go b/tpu/apiv1/doc.go index abb888b9daa3..0fc1e673ec12 100755 --- a/tpu/apiv1/doc.go +++ b/tpu/apiv1/doc.go @@ -19,70 +19,71 @@ // // TPU API provides customers with access to Google TPU technology. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := tpu.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := tpu.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := tpu.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &tpupb.CreateNodeRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/tpu/apiv1/tpupb#CreateNodeRequest. -// } -// op, err := c.CreateNode(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := tpu.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &tpupb.CreateNodeRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/tpu/apiv1/tpupb#CreateNodeRequest. +// } +// op, err := c.CreateNode(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/tpu/apiv1/tpu_client.go b/tpu/apiv1/tpu_client.go index 9d3635e762ff..dd10083ad303 100755 --- a/tpu/apiv1/tpu_client.go +++ b/tpu/apiv1/tpu_client.go @@ -148,7 +148,7 @@ type internalClient interface { // Client is a client for interacting with Cloud TPU API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// Manages TPU nodes and other resources +// # Manages TPU nodes and other resources // // TPU API v1 type Client struct { @@ -331,7 +331,7 @@ type gRPCClient struct { // NewClient creates a new tpu client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// Manages TPU nodes and other resources +// # Manages TPU nodes and other resources // // TPU API v1 func NewClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) { diff --git a/tpu/apiv1/tpupb/cloud_tpu.pb.go b/tpu/apiv1/tpupb/cloud_tpu.pb.go index 118de6cbb380..dc3aa31678a6 100755 --- a/tpu/apiv1/tpupb/cloud_tpu.pb.go +++ b/tpu/apiv1/tpupb/cloud_tpu.pb.go @@ -21,8 +21,11 @@ package tpupb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/trace/apiv1/doc.go b/trace/apiv1/doc.go index 660fdea44bb2..d828614388e6 100755 --- a/trace/apiv1/doc.go +++ b/trace/apiv1/doc.go @@ -23,65 +23,66 @@ // interact with the Trace API directly. If you are looking to instrument // your application for Stackdriver Trace, we recommend using OpenTelemetry. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := trace.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := trace.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := trace.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &tracepb.GetTraceRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/trace/apiv1/tracepb#GetTraceRequest. -// } -// resp, err := c.GetTrace(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := trace.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &tracepb.GetTraceRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/trace/apiv1/tracepb#GetTraceRequest. +// } +// resp, err := c.GetTrace(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/trace/apiv1/tracepb/trace.pb.go b/trace/apiv1/tracepb/trace.pb.go index 18a71496f28c..0a2b86c3623b 100755 --- a/trace/apiv1/tracepb/trace.pb.go +++ b/trace/apiv1/tracepb/trace.pb.go @@ -22,6 +22,9 @@ package tracepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/trace/apiv2/auxiliary.go b/trace/apiv2/auxiliary.go index e828ffc1d792..7fa8fa561361 100755 --- a/trace/apiv2/auxiliary.go +++ b/trace/apiv2/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package trace - -import () diff --git a/trace/apiv2/doc.go b/trace/apiv2/doc.go index c797cf9a5cb0..254e6b60b430 100755 --- a/trace/apiv2/doc.go +++ b/trace/apiv2/doc.go @@ -23,65 +23,66 @@ // interact with the Trace API directly. If you are looking to instrument // your application for Stackdriver Trace, we recommend using OpenTelemetry. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := trace.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := trace.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := trace.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &tracepb.BatchWriteSpansRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/trace/apiv2/tracepb#BatchWriteSpansRequest. -// } -// err = c.BatchWriteSpans(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := trace.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &tracepb.BatchWriteSpansRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/trace/apiv2/tracepb#BatchWriteSpansRequest. +// } +// err = c.BatchWriteSpans(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/trace/apiv2/tracepb/trace.pb.go b/trace/apiv2/tracepb/trace.pb.go index 3f13acc7d3df..c72e41ea2866 100755 --- a/trace/apiv2/tracepb/trace.pb.go +++ b/trace/apiv2/tracepb/trace.pb.go @@ -21,14 +21,15 @@ package tracepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - reflect "reflect" - sync "sync" ) const ( diff --git a/trace/apiv2/tracepb/tracing.pb.go b/trace/apiv2/tracepb/tracing.pb.go index 5009712e6496..04fceab3708b 100755 --- a/trace/apiv2/tracepb/tracing.pb.go +++ b/trace/apiv2/tracepb/tracing.pb.go @@ -22,6 +22,9 @@ package tracepb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" - sync "sync" ) const ( diff --git a/translate/apiv3/doc.go b/translate/apiv3/doc.go index 79c1a5dff134..13e1c431d794 100755 --- a/translate/apiv3/doc.go +++ b/translate/apiv3/doc.go @@ -19,70 +19,71 @@ // // Integrates text translation into your website or application. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := translate.NewTranslationClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := translate.NewTranslationClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := translate.NewTranslationClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &translatepb.BatchTranslateDocumentRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/translate/apiv3/translatepb#BatchTranslateDocumentRequest. -// } -// op, err := c.BatchTranslateDocument(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := translate.NewTranslationClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &translatepb.BatchTranslateDocumentRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/translate/apiv3/translatepb#BatchTranslateDocumentRequest. +// } +// op, err := c.BatchTranslateDocument(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewTranslationClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/translate/apiv3/translatepb/translation_service.pb.go b/translate/apiv3/translatepb/translation_service.pb.go index 14cf0189eecf..04a6be4019a1 100755 --- a/translate/apiv3/translatepb/translation_service.pb.go +++ b/translate/apiv3/translatepb/translation_service.pb.go @@ -21,8 +21,11 @@ package translatepb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/video/livestream/apiv1/doc.go b/video/livestream/apiv1/doc.go index b5e0159cbd47..6f47f7f59ff0 100755 --- a/video/livestream/apiv1/doc.go +++ b/video/livestream/apiv1/doc.go @@ -17,70 +17,71 @@ // Package livestream is an auto-generated package for the // Live Stream API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := livestream.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := livestream.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := livestream.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &livestreampb.CreateAssetRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/video/livestream/apiv1/livestreampb#CreateAssetRequest. -// } -// op, err := c.CreateAsset(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := livestream.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &livestreampb.CreateAssetRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/video/livestream/apiv1/livestreampb#CreateAssetRequest. +// } +// op, err := c.CreateAsset(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/video/livestream/apiv1/livestreampb/outputs.pb.go b/video/livestream/apiv1/livestreampb/outputs.pb.go index 4cdacfa570b8..3d779298b570 100755 --- a/video/livestream/apiv1/livestreampb/outputs.pb.go +++ b/video/livestream/apiv1/livestreampb/outputs.pb.go @@ -21,13 +21,14 @@ package livestreampb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" datetime "google.golang.org/genproto/googleapis/type/datetime" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/video/livestream/apiv1/livestreampb/resources.pb.go b/video/livestream/apiv1/livestreampb/resources.pb.go index 773cfb431841..4f5a0702dab1 100755 --- a/video/livestream/apiv1/livestreampb/resources.pb.go +++ b/video/livestream/apiv1/livestreampb/resources.pb.go @@ -21,14 +21,15 @@ package livestreampb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/video/livestream/apiv1/livestreampb/service.pb.go b/video/livestream/apiv1/livestreampb/service.pb.go index 1bce44337a29..870bf860a470 100755 --- a/video/livestream/apiv1/livestreampb/service.pb.go +++ b/video/livestream/apiv1/livestreampb/service.pb.go @@ -21,8 +21,11 @@ package livestreampb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/video/stitcher/apiv1/doc.go b/video/stitcher/apiv1/doc.go index 457464b65329..419f9636a833 100755 --- a/video/stitcher/apiv1/doc.go +++ b/video/stitcher/apiv1/doc.go @@ -17,70 +17,71 @@ // Package stitcher is an auto-generated package for the // Video Stitcher API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := stitcher.NewVideoStitcherClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := stitcher.NewVideoStitcherClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := stitcher.NewVideoStitcherClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &stitcherpb.CreateCdnKeyRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/video/stitcher/apiv1/stitcherpb#CreateCdnKeyRequest. -// } -// op, err := c.CreateCdnKey(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := stitcher.NewVideoStitcherClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &stitcherpb.CreateCdnKeyRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/video/stitcher/apiv1/stitcherpb#CreateCdnKeyRequest. +// } +// op, err := c.CreateCdnKey(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewVideoStitcherClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/video/stitcher/apiv1/stitcherpb/ad_tag_details.pb.go b/video/stitcher/apiv1/stitcherpb/ad_tag_details.pb.go index 8bf3fcf805fc..f3569f0e9c9c 100755 --- a/video/stitcher/apiv1/stitcherpb/ad_tag_details.pb.go +++ b/video/stitcher/apiv1/stitcherpb/ad_tag_details.pb.go @@ -21,13 +21,14 @@ package stitcherpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/video/stitcher/apiv1/stitcherpb/cdn_keys.pb.go b/video/stitcher/apiv1/stitcherpb/cdn_keys.pb.go index 56af1a39bdb4..acdd4998a45f 100755 --- a/video/stitcher/apiv1/stitcherpb/cdn_keys.pb.go +++ b/video/stitcher/apiv1/stitcherpb/cdn_keys.pb.go @@ -21,11 +21,12 @@ package stitcherpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/video/stitcher/apiv1/stitcherpb/companions.pb.go b/video/stitcher/apiv1/stitcherpb/companions.pb.go index 3dbcc0c0b231..1f63a1e5dc89 100755 --- a/video/stitcher/apiv1/stitcherpb/companions.pb.go +++ b/video/stitcher/apiv1/stitcherpb/companions.pb.go @@ -21,10 +21,11 @@ package stitcherpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/video/stitcher/apiv1/stitcherpb/events.pb.go b/video/stitcher/apiv1/stitcherpb/events.pb.go index cbef0414df6c..6cc3a44f78d1 100755 --- a/video/stitcher/apiv1/stitcherpb/events.pb.go +++ b/video/stitcher/apiv1/stitcherpb/events.pb.go @@ -21,11 +21,12 @@ package stitcherpb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/video/stitcher/apiv1/stitcherpb/live_configs.pb.go b/video/stitcher/apiv1/stitcherpb/live_configs.pb.go index e30e9b78f59a..3a6488a0ff6b 100755 --- a/video/stitcher/apiv1/stitcherpb/live_configs.pb.go +++ b/video/stitcher/apiv1/stitcherpb/live_configs.pb.go @@ -21,12 +21,13 @@ package stitcherpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/video/stitcher/apiv1/stitcherpb/sessions.pb.go b/video/stitcher/apiv1/stitcherpb/sessions.pb.go index 837fb1e75a0e..70bee92bd451 100755 --- a/video/stitcher/apiv1/stitcherpb/sessions.pb.go +++ b/video/stitcher/apiv1/stitcherpb/sessions.pb.go @@ -21,12 +21,13 @@ package stitcherpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/video/stitcher/apiv1/stitcherpb/slates.pb.go b/video/stitcher/apiv1/stitcherpb/slates.pb.go index 9d2195456114..c4cc5c8a5d73 100755 --- a/video/stitcher/apiv1/stitcherpb/slates.pb.go +++ b/video/stitcher/apiv1/stitcherpb/slates.pb.go @@ -21,11 +21,12 @@ package stitcherpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/video/stitcher/apiv1/stitcherpb/stitch_details.pb.go b/video/stitcher/apiv1/stitcherpb/stitch_details.pb.go index 8a9e32d660e5..2e901072d5b0 100755 --- a/video/stitcher/apiv1/stitcherpb/stitch_details.pb.go +++ b/video/stitcher/apiv1/stitcherpb/stitch_details.pb.go @@ -21,13 +21,14 @@ package stitcherpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/video/stitcher/apiv1/stitcherpb/video_stitcher_service.pb.go b/video/stitcher/apiv1/stitcherpb/video_stitcher_service.pb.go index 3b0c3f6e841b..12c9d99e40df 100755 --- a/video/stitcher/apiv1/stitcherpb/video_stitcher_service.pb.go +++ b/video/stitcher/apiv1/stitcherpb/video_stitcher_service.pb.go @@ -21,8 +21,11 @@ package stitcherpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/video/transcoder/apiv1/doc.go b/video/transcoder/apiv1/doc.go index 326e1dc11df4..20779dc5b581 100755 --- a/video/transcoder/apiv1/doc.go +++ b/video/transcoder/apiv1/doc.go @@ -21,65 +21,66 @@ // distribution. For more information, see the TranscoderAPI overview (at // https://cloud.google.com/transcoder/docs/concepts/overview). // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := transcoder.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := transcoder.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := transcoder.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &transcoderpb.CreateJobRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/video/transcoder/apiv1/transcoderpb#CreateJobRequest. -// } -// resp, err := c.CreateJob(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := transcoder.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &transcoderpb.CreateJobRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/video/transcoder/apiv1/transcoderpb#CreateJobRequest. +// } +// resp, err := c.CreateJob(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/video/transcoder/apiv1/transcoderpb/resources.pb.go b/video/transcoder/apiv1/transcoderpb/resources.pb.go index 83eb1566ee21..71b23cf390d3 100755 --- a/video/transcoder/apiv1/transcoderpb/resources.pb.go +++ b/video/transcoder/apiv1/transcoderpb/resources.pb.go @@ -21,14 +21,15 @@ package transcoderpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/video/transcoder/apiv1/transcoderpb/services.pb.go b/video/transcoder/apiv1/transcoderpb/services.pb.go index a6c3a64579d5..080393425645 100755 --- a/video/transcoder/apiv1/transcoderpb/services.pb.go +++ b/video/transcoder/apiv1/transcoderpb/services.pb.go @@ -22,6 +22,9 @@ package transcoderpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" - sync "sync" ) const ( diff --git a/videointelligence/apiv1/doc.go b/videointelligence/apiv1/doc.go index e4b287c5fa76..2199fd37def8 100755 --- a/videointelligence/apiv1/doc.go +++ b/videointelligence/apiv1/doc.go @@ -21,70 +21,71 @@ // specifies the region for annotation and transcribes speech to text. // Supports both asynchronous API and streaming API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := videointelligence.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := videointelligence.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := videointelligence.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &videointelligencepb.AnnotateVideoRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/videointelligence/apiv1/videointelligencepb#AnnotateVideoRequest. -// } -// op, err := c.AnnotateVideo(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := videointelligence.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &videointelligencepb.AnnotateVideoRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/videointelligence/apiv1/videointelligencepb#AnnotateVideoRequest. +// } +// op, err := c.AnnotateVideo(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/videointelligence/apiv1/videointelligencepb/video_intelligence.pb.go b/videointelligence/apiv1/videointelligencepb/video_intelligence.pb.go index 57a6a730941d..4ae7510640f6 100755 --- a/videointelligence/apiv1/videointelligencepb/video_intelligence.pb.go +++ b/videointelligence/apiv1/videointelligencepb/video_intelligence.pb.go @@ -21,8 +21,11 @@ package videointelligencepb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -32,8 +35,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -2991,15 +2992,17 @@ func (x *NormalizedVertex) GetY() float32 { // Contains list of the corner points in clockwise order starting from // top-left corner. For example, for a rectangular bounding box: // When the text is horizontal it might look like: -// 0----1 -// | | -// 3----2 +// +// 0----1 +// | | +// 3----2 // // When it's clockwise rotated 180 degrees around the top-left corner it // becomes: -// 2----3 -// | | -// 1----0 +// +// 2----3 +// | | +// 1----0 // // and the vertex order will still be (0, 1, 2, 3). Note that values can be less // than 0, or greater than 1 due to trignometric calculations for location of diff --git a/videointelligence/apiv1beta2/doc.go b/videointelligence/apiv1beta2/doc.go index ad24d9bf094b..35813f2d5375 100755 --- a/videointelligence/apiv1beta2/doc.go +++ b/videointelligence/apiv1beta2/doc.go @@ -21,72 +21,73 @@ // specifies the region for annotation and transcribes speech to text. // Supports both asynchronous API and streaming API. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := videointelligence.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := videointelligence.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := videointelligence.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &videointelligencepb.AnnotateVideoRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb#AnnotateVideoRequest. -// } -// op, err := c.AnnotateVideo(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := videointelligence.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &videointelligencepb.AnnotateVideoRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb#AnnotateVideoRequest. +// } +// op, err := c.AnnotateVideo(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/videointelligence/apiv1beta2/videointelligencepb/video_intelligence.pb.go b/videointelligence/apiv1beta2/videointelligencepb/video_intelligence.pb.go index fb6f819661ed..d8ca9f2641c9 100755 --- a/videointelligence/apiv1beta2/videointelligencepb/video_intelligence.pb.go +++ b/videointelligence/apiv1beta2/videointelligencepb/video_intelligence.pb.go @@ -22,8 +22,11 @@ package videointelligencepb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -33,8 +36,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/videointelligence/apiv1p3beta1/doc.go b/videointelligence/apiv1p3beta1/doc.go index 642067a55c7d..e712effb8ba0 100755 --- a/videointelligence/apiv1p3beta1/doc.go +++ b/videointelligence/apiv1p3beta1/doc.go @@ -21,72 +21,73 @@ // specifies the region for annotation and transcribes speech to text. // Supports both asynchronous API and streaming API. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := videointelligence.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := videointelligence.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := videointelligence.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &videointelligencepb.AnnotateVideoRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb#AnnotateVideoRequest. -// } -// op, err := c.AnnotateVideo(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := videointelligence.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &videointelligencepb.AnnotateVideoRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb#AnnotateVideoRequest. +// } +// op, err := c.AnnotateVideo(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/videointelligence/apiv1p3beta1/videointelligencepb/video_intelligence.pb.go b/videointelligence/apiv1p3beta1/videointelligencepb/video_intelligence.pb.go index 505b0e1005ad..4aef9367e82b 100755 --- a/videointelligence/apiv1p3beta1/videointelligencepb/video_intelligence.pb.go +++ b/videointelligence/apiv1p3beta1/videointelligencepb/video_intelligence.pb.go @@ -21,8 +21,11 @@ package videointelligencepb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -32,8 +35,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( @@ -3028,15 +3029,17 @@ func (x *NormalizedVertex) GetY() float32 { // Contains list of the corner points in clockwise order starting from // top-left corner. For example, for a rectangular bounding box: // When the text is horizontal it might look like: -// 0----1 -// | | -// 3----2 +// +// 0----1 +// | | +// 3----2 // // When it's clockwise rotated 180 degrees around the top-left corner it // becomes: -// 2----3 -// | | -// 1----0 +// +// 2----3 +// | | +// 1----0 // // and the vertex order will still be (0, 1, 2, 3). Note that values can be less // than 0, or greater than 1 due to trignometric calculations for location of diff --git a/vision/apiv1/doc.go b/vision/apiv1/doc.go index 6c0bb8214bbb..f543d9e5a7bc 100755 --- a/vision/apiv1/doc.go +++ b/vision/apiv1/doc.go @@ -21,63 +21,64 @@ // and landmark detection, optical character recognition (OCR), and detection // of explicit content, into applications. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := vision.NewProductSearchClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := vision.NewProductSearchClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := vision.NewProductSearchClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &visionpb.AddProductToProductSetRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/vision/v2/apiv1/visionpb#AddProductToProductSetRequest. -// } -// err = c.AddProductToProductSet(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := vision.NewProductSearchClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &visionpb.AddProductToProductSetRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/vision/v2/apiv1/visionpb#AddProductToProductSetRequest. +// } +// err = c.AddProductToProductSet(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// # Use of Context // // The ctx passed to NewProductSearchClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/vision/apiv1/product_search_client.go b/vision/apiv1/product_search_client.go index 3b8c36c7163f..87ad7b2c68d6 100755 --- a/vision/apiv1/product_search_client.go +++ b/vision/apiv1/product_search_client.go @@ -539,17 +539,17 @@ type internalProductSearchClient interface { // Manages Products and ProductSets of reference images for use in product // search. It uses the following resource model: // -// The API has a collection of ProductSet resources, named -// projects/*/locations/*/productSets/*, which acts as a way to put different -// products into groups to limit identification. +// The API has a collection of ProductSet resources, named +// projects/*/locations/*/productSets/*, which acts as a way to put different +// products into groups to limit identification. // // In parallel, // -// The API has a collection of Product resources, named -// projects/*/locations/*/products/* +// The API has a collection of Product resources, named +// projects/*/locations/*/products/* // -// Each Product has a collection of ReferenceImage resources, named -// projects/*/locations/*/products/*/referenceImages/* +// Each Product has a collection of ReferenceImage resources, named +// projects/*/locations/*/products/*/referenceImages/* type ProductSearchClient struct { // The internal transport-dependent client. internalClient internalProductSearchClient @@ -590,8 +590,8 @@ func (c *ProductSearchClient) Connection() *grpc.ClientConn { // // Possible errors: // -// Returns INVALID_ARGUMENT if display_name is missing, or is longer than -// 4096 characters. +// Returns INVALID_ARGUMENT if display_name is missing, or is longer than +// 4096 characters. func (c *ProductSearchClient) CreateProductSet(ctx context.Context, req *visionpb.CreateProductSetRequest, opts ...gax.CallOption) (*visionpb.ProductSet, error) { return c.internalClient.CreateProductSet(ctx, req, opts...) } @@ -600,8 +600,8 @@ func (c *ProductSearchClient) CreateProductSet(ctx context.Context, req *visionp // // Possible errors: // -// Returns INVALID_ARGUMENT if page_size is greater than 100, or less -// than 1. +// Returns INVALID_ARGUMENT if page_size is greater than 100, or less +// than 1. func (c *ProductSearchClient) ListProductSets(ctx context.Context, req *visionpb.ListProductSetsRequest, opts ...gax.CallOption) *ProductSetIterator { return c.internalClient.ListProductSets(ctx, req, opts...) } @@ -610,7 +610,7 @@ func (c *ProductSearchClient) ListProductSets(ctx context.Context, req *visionpb // // Possible errors: // -// Returns NOT_FOUND if the ProductSet does not exist. +// Returns NOT_FOUND if the ProductSet does not exist. func (c *ProductSearchClient) GetProductSet(ctx context.Context, req *visionpb.GetProductSetRequest, opts ...gax.CallOption) (*visionpb.ProductSet, error) { return c.internalClient.GetProductSet(ctx, req, opts...) } @@ -620,10 +620,10 @@ func (c *ProductSearchClient) GetProductSet(ctx context.Context, req *visionpb.G // // Possible errors: // -// Returns NOT_FOUND if the ProductSet does not exist. +// Returns NOT_FOUND if the ProductSet does not exist. // -// Returns INVALID_ARGUMENT if display_name is present in update_mask but -// missing from the request or longer than 4096 characters. +// Returns INVALID_ARGUMENT if display_name is present in update_mask but +// missing from the request or longer than 4096 characters. func (c *ProductSearchClient) UpdateProductSet(ctx context.Context, req *visionpb.UpdateProductSetRequest, opts ...gax.CallOption) (*visionpb.ProductSet, error) { return c.internalClient.UpdateProductSet(ctx, req, opts...) } @@ -640,12 +640,12 @@ func (c *ProductSearchClient) DeleteProductSet(ctx context.Context, req *visionp // // Possible errors: // -// Returns INVALID_ARGUMENT if display_name is missing or longer than 4096 -// characters. +// Returns INVALID_ARGUMENT if display_name is missing or longer than 4096 +// characters. // -// Returns INVALID_ARGUMENT if description is longer than 4096 characters. +// Returns INVALID_ARGUMENT if description is longer than 4096 characters. // -// Returns INVALID_ARGUMENT if product_category is missing or invalid. +// Returns INVALID_ARGUMENT if product_category is missing or invalid. func (c *ProductSearchClient) CreateProduct(ctx context.Context, req *visionpb.CreateProductRequest, opts ...gax.CallOption) (*visionpb.Product, error) { return c.internalClient.CreateProduct(ctx, req, opts...) } @@ -654,7 +654,7 @@ func (c *ProductSearchClient) CreateProduct(ctx context.Context, req *visionpb.C // // Possible errors: // -// Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1. +// Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1. func (c *ProductSearchClient) ListProducts(ctx context.Context, req *visionpb.ListProductsRequest, opts ...gax.CallOption) *ProductIterator { return c.internalClient.ListProducts(ctx, req, opts...) } @@ -663,7 +663,7 @@ func (c *ProductSearchClient) ListProducts(ctx context.Context, req *visionpb.Li // // Possible errors: // -// Returns NOT_FOUND if the Product does not exist. +// Returns NOT_FOUND if the Product does not exist. func (c *ProductSearchClient) GetProduct(ctx context.Context, req *visionpb.GetProductRequest, opts ...gax.CallOption) (*visionpb.Product, error) { return c.internalClient.GetProduct(ctx, req, opts...) } @@ -677,15 +677,15 @@ func (c *ProductSearchClient) GetProduct(ctx context.Context, req *visionpb.GetP // // Possible errors: // -// Returns NOT_FOUND if the Product does not exist. +// Returns NOT_FOUND if the Product does not exist. // -// Returns INVALID_ARGUMENT if display_name is present in update_mask but is -// missing from the request or longer than 4096 characters. +// Returns INVALID_ARGUMENT if display_name is present in update_mask but is +// missing from the request or longer than 4096 characters. // -// Returns INVALID_ARGUMENT if description is present in update_mask but is -// longer than 4096 characters. +// Returns INVALID_ARGUMENT if description is present in update_mask but is +// longer than 4096 characters. // -// Returns INVALID_ARGUMENT if product_category is present in update_mask. +// Returns INVALID_ARGUMENT if product_category is present in update_mask. func (c *ProductSearchClient) UpdateProduct(ctx context.Context, req *visionpb.UpdateProductRequest, opts ...gax.CallOption) (*visionpb.Product, error) { return c.internalClient.UpdateProduct(ctx, req, opts...) } @@ -712,15 +712,15 @@ func (c *ProductSearchClient) DeleteProduct(ctx context.Context, req *visionpb.D // // Possible errors: // -// Returns INVALID_ARGUMENT if the image_uri is missing or longer than 4096 -// characters. +// Returns INVALID_ARGUMENT if the image_uri is missing or longer than 4096 +// characters. // -// Returns INVALID_ARGUMENT if the product does not exist. +// Returns INVALID_ARGUMENT if the product does not exist. // -// Returns INVALID_ARGUMENT if bounding_poly is not provided, and nothing -// compatible with the parent product’s product_category is detected. +// Returns INVALID_ARGUMENT if bounding_poly is not provided, and nothing +// compatible with the parent product’s product_category is detected. // -// Returns INVALID_ARGUMENT if bounding_poly contains more than 10 polygons. +// Returns INVALID_ARGUMENT if bounding_poly contains more than 10 polygons. func (c *ProductSearchClient) CreateReferenceImage(ctx context.Context, req *visionpb.CreateReferenceImageRequest, opts ...gax.CallOption) (*visionpb.ReferenceImage, error) { return c.internalClient.CreateReferenceImage(ctx, req, opts...) } @@ -740,10 +740,10 @@ func (c *ProductSearchClient) DeleteReferenceImage(ctx context.Context, req *vis // // Possible errors: // -// Returns NOT_FOUND if the parent product does not exist. +// Returns NOT_FOUND if the parent product does not exist. // -// Returns INVALID_ARGUMENT if the page_size is greater than 100, or less -// than 1. +// Returns INVALID_ARGUMENT if the page_size is greater than 100, or less +// than 1. func (c *ProductSearchClient) ListReferenceImages(ctx context.Context, req *visionpb.ListReferenceImagesRequest, opts ...gax.CallOption) *ReferenceImageIterator { return c.internalClient.ListReferenceImages(ctx, req, opts...) } @@ -752,7 +752,7 @@ func (c *ProductSearchClient) ListReferenceImages(ctx context.Context, req *visi // // Possible errors: // -// Returns NOT_FOUND if the specified image does not exist. +// Returns NOT_FOUND if the specified image does not exist. func (c *ProductSearchClient) GetReferenceImage(ctx context.Context, req *visionpb.GetReferenceImageRequest, opts ...gax.CallOption) (*visionpb.ReferenceImage, error) { return c.internalClient.GetReferenceImage(ctx, req, opts...) } @@ -764,7 +764,7 @@ func (c *ProductSearchClient) GetReferenceImage(ctx context.Context, req *vision // // Possible errors: // -// Returns NOT_FOUND if the Product or the ProductSet doesn’t exist. +// Returns NOT_FOUND if the Product or the ProductSet doesn’t exist. func (c *ProductSearchClient) AddProductToProductSet(ctx context.Context, req *visionpb.AddProductToProductSetRequest, opts ...gax.CallOption) error { return c.internalClient.AddProductToProductSet(ctx, req, opts...) } @@ -780,7 +780,7 @@ func (c *ProductSearchClient) RemoveProductFromProductSet(ctx context.Context, r // // Possible errors: // -// Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1. +// Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1. func (c *ProductSearchClient) ListProductsInProductSet(ctx context.Context, req *visionpb.ListProductsInProductSetRequest, opts ...gax.CallOption) *ProductIterator { return c.internalClient.ListProductsInProductSet(ctx, req, opts...) } @@ -868,17 +868,17 @@ type productSearchGRPCClient struct { // Manages Products and ProductSets of reference images for use in product // search. It uses the following resource model: // -// The API has a collection of ProductSet resources, named -// projects/*/locations/*/productSets/*, which acts as a way to put different -// products into groups to limit identification. +// The API has a collection of ProductSet resources, named +// projects/*/locations/*/productSets/*, which acts as a way to put different +// products into groups to limit identification. // // In parallel, // -// The API has a collection of Product resources, named -// projects/*/locations/*/products/* +// The API has a collection of Product resources, named +// projects/*/locations/*/products/* // -// Each Product has a collection of ReferenceImage resources, named -// projects/*/locations/*/products/*/referenceImages/* +// Each Product has a collection of ReferenceImage resources, named +// projects/*/locations/*/products/*/referenceImages/* func NewProductSearchClient(ctx context.Context, opts ...option.ClientOption) (*ProductSearchClient, error) { clientOpts := defaultProductSearchGRPCClientOptions() if newProductSearchClientHook != nil { @@ -966,17 +966,17 @@ type productSearchRESTClient struct { // Manages Products and ProductSets of reference images for use in product // search. It uses the following resource model: // -// The API has a collection of ProductSet resources, named -// projects/*/locations/*/productSets/*, which acts as a way to put different -// products into groups to limit identification. +// The API has a collection of ProductSet resources, named +// projects/*/locations/*/productSets/*, which acts as a way to put different +// products into groups to limit identification. // // In parallel, // -// The API has a collection of Product resources, named -// projects/*/locations/*/products/* +// The API has a collection of Product resources, named +// projects/*/locations/*/products/* // -// Each Product has a collection of ReferenceImage resources, named -// projects/*/locations/*/products/*/referenceImages/* +// Each Product has a collection of ReferenceImage resources, named +// projects/*/locations/*/products/*/referenceImages/* func NewProductSearchRESTClient(ctx context.Context, opts ...option.ClientOption) (*ProductSearchClient, error) { clientOpts := append(defaultProductSearchRESTClientOptions(), opts...) httpClient, endpoint, err := httptransport.NewClient(ctx, clientOpts...) @@ -1479,8 +1479,8 @@ func (c *productSearchGRPCClient) PurgeProducts(ctx context.Context, req *vision // // Possible errors: // -// Returns INVALID_ARGUMENT if display_name is missing, or is longer than -// 4096 characters. +// Returns INVALID_ARGUMENT if display_name is missing, or is longer than +// 4096 characters. func (c *productSearchRESTClient) CreateProductSet(ctx context.Context, req *visionpb.CreateProductSetRequest, opts ...gax.CallOption) (*visionpb.ProductSet, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetProductSet() @@ -1554,8 +1554,8 @@ func (c *productSearchRESTClient) CreateProductSet(ctx context.Context, req *vis // // Possible errors: // -// Returns INVALID_ARGUMENT if page_size is greater than 100, or less -// than 1. +// Returns INVALID_ARGUMENT if page_size is greater than 100, or less +// than 1. func (c *productSearchRESTClient) ListProductSets(ctx context.Context, req *visionpb.ListProductSetsRequest, opts ...gax.CallOption) *ProductSetIterator { it := &ProductSetIterator{} req = proto.Clone(req).(*visionpb.ListProductSetsRequest) @@ -1648,7 +1648,7 @@ func (c *productSearchRESTClient) ListProductSets(ctx context.Context, req *visi // // Possible errors: // -// Returns NOT_FOUND if the ProductSet does not exist. +// Returns NOT_FOUND if the ProductSet does not exist. func (c *productSearchRESTClient) GetProductSet(ctx context.Context, req *visionpb.GetProductSetRequest, opts ...gax.CallOption) (*visionpb.ProductSet, error) { baseUrl, err := url.Parse(c.endpoint) if err != nil { @@ -1713,10 +1713,10 @@ func (c *productSearchRESTClient) GetProductSet(ctx context.Context, req *vision // // Possible errors: // -// Returns NOT_FOUND if the ProductSet does not exist. +// Returns NOT_FOUND if the ProductSet does not exist. // -// Returns INVALID_ARGUMENT if display_name is present in update_mask but -// missing from the request or longer than 4096 characters. +// Returns INVALID_ARGUMENT if display_name is present in update_mask but +// missing from the request or longer than 4096 characters. func (c *productSearchRESTClient) UpdateProductSet(ctx context.Context, req *visionpb.UpdateProductSetRequest, opts ...gax.CallOption) (*visionpb.ProductSet, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetProductSet() @@ -1839,12 +1839,12 @@ func (c *productSearchRESTClient) DeleteProductSet(ctx context.Context, req *vis // // Possible errors: // -// Returns INVALID_ARGUMENT if display_name is missing or longer than 4096 -// characters. +// Returns INVALID_ARGUMENT if display_name is missing or longer than 4096 +// characters. // -// Returns INVALID_ARGUMENT if description is longer than 4096 characters. +// Returns INVALID_ARGUMENT if description is longer than 4096 characters. // -// Returns INVALID_ARGUMENT if product_category is missing or invalid. +// Returns INVALID_ARGUMENT if product_category is missing or invalid. func (c *productSearchRESTClient) CreateProduct(ctx context.Context, req *visionpb.CreateProductRequest, opts ...gax.CallOption) (*visionpb.Product, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetProduct() @@ -1918,7 +1918,7 @@ func (c *productSearchRESTClient) CreateProduct(ctx context.Context, req *vision // // Possible errors: // -// Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1. +// Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1. func (c *productSearchRESTClient) ListProducts(ctx context.Context, req *visionpb.ListProductsRequest, opts ...gax.CallOption) *ProductIterator { it := &ProductIterator{} req = proto.Clone(req).(*visionpb.ListProductsRequest) @@ -2011,7 +2011,7 @@ func (c *productSearchRESTClient) ListProducts(ctx context.Context, req *visionp // // Possible errors: // -// Returns NOT_FOUND if the Product does not exist. +// Returns NOT_FOUND if the Product does not exist. func (c *productSearchRESTClient) GetProduct(ctx context.Context, req *visionpb.GetProductRequest, opts ...gax.CallOption) (*visionpb.Product, error) { baseUrl, err := url.Parse(c.endpoint) if err != nil { @@ -2080,15 +2080,15 @@ func (c *productSearchRESTClient) GetProduct(ctx context.Context, req *visionpb. // // Possible errors: // -// Returns NOT_FOUND if the Product does not exist. +// Returns NOT_FOUND if the Product does not exist. // -// Returns INVALID_ARGUMENT if display_name is present in update_mask but is -// missing from the request or longer than 4096 characters. +// Returns INVALID_ARGUMENT if display_name is present in update_mask but is +// missing from the request or longer than 4096 characters. // -// Returns INVALID_ARGUMENT if description is present in update_mask but is -// longer than 4096 characters. +// Returns INVALID_ARGUMENT if description is present in update_mask but is +// longer than 4096 characters. // -// Returns INVALID_ARGUMENT if product_category is present in update_mask. +// Returns INVALID_ARGUMENT if product_category is present in update_mask. func (c *productSearchRESTClient) UpdateProduct(ctx context.Context, req *visionpb.UpdateProductRequest, opts ...gax.CallOption) (*visionpb.Product, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetProduct() @@ -2221,15 +2221,15 @@ func (c *productSearchRESTClient) DeleteProduct(ctx context.Context, req *vision // // Possible errors: // -// Returns INVALID_ARGUMENT if the image_uri is missing or longer than 4096 -// characters. +// Returns INVALID_ARGUMENT if the image_uri is missing or longer than 4096 +// characters. // -// Returns INVALID_ARGUMENT if the product does not exist. +// Returns INVALID_ARGUMENT if the product does not exist. // -// Returns INVALID_ARGUMENT if bounding_poly is not provided, and nothing -// compatible with the parent product’s product_category is detected. +// Returns INVALID_ARGUMENT if bounding_poly is not provided, and nothing +// compatible with the parent product’s product_category is detected. // -// Returns INVALID_ARGUMENT if bounding_poly contains more than 10 polygons. +// Returns INVALID_ARGUMENT if bounding_poly contains more than 10 polygons. func (c *productSearchRESTClient) CreateReferenceImage(ctx context.Context, req *visionpb.CreateReferenceImageRequest, opts ...gax.CallOption) (*visionpb.ReferenceImage, error) { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} body := req.GetReferenceImage() @@ -2351,10 +2351,10 @@ func (c *productSearchRESTClient) DeleteReferenceImage(ctx context.Context, req // // Possible errors: // -// Returns NOT_FOUND if the parent product does not exist. +// Returns NOT_FOUND if the parent product does not exist. // -// Returns INVALID_ARGUMENT if the page_size is greater than 100, or less -// than 1. +// Returns INVALID_ARGUMENT if the page_size is greater than 100, or less +// than 1. func (c *productSearchRESTClient) ListReferenceImages(ctx context.Context, req *visionpb.ListReferenceImagesRequest, opts ...gax.CallOption) *ReferenceImageIterator { it := &ReferenceImageIterator{} req = proto.Clone(req).(*visionpb.ListReferenceImagesRequest) @@ -2447,7 +2447,7 @@ func (c *productSearchRESTClient) ListReferenceImages(ctx context.Context, req * // // Possible errors: // -// Returns NOT_FOUND if the specified image does not exist. +// Returns NOT_FOUND if the specified image does not exist. func (c *productSearchRESTClient) GetReferenceImage(ctx context.Context, req *visionpb.GetReferenceImageRequest, opts ...gax.CallOption) (*visionpb.ReferenceImage, error) { baseUrl, err := url.Parse(c.endpoint) if err != nil { @@ -2514,7 +2514,7 @@ func (c *productSearchRESTClient) GetReferenceImage(ctx context.Context, req *vi // // Possible errors: // -// Returns NOT_FOUND if the Product or the ProductSet doesn’t exist. +// Returns NOT_FOUND if the Product or the ProductSet doesn’t exist. func (c *productSearchRESTClient) AddProductToProductSet(ctx context.Context, req *visionpb.AddProductToProductSetRequest, opts ...gax.CallOption) error { m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true} jsonReq, err := m.Marshal(req) @@ -2616,7 +2616,7 @@ func (c *productSearchRESTClient) RemoveProductFromProductSet(ctx context.Contex // // Possible errors: // -// Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1. +// Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1. func (c *productSearchRESTClient) ListProductsInProductSet(ctx context.Context, req *visionpb.ListProductsInProductSetRequest, opts ...gax.CallOption) *ProductIterator { it := &ProductIterator{} req = proto.Clone(req).(*visionpb.ListProductsInProductSetRequest) diff --git a/vision/apiv1/visionpb/geometry.pb.go b/vision/apiv1/visionpb/geometry.pb.go index 3c462b8a0ec2..209378e8ed9b 100755 --- a/vision/apiv1/visionpb/geometry.pb.go +++ b/vision/apiv1/visionpb/geometry.pb.go @@ -21,10 +21,11 @@ package visionpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/vision/apiv1/visionpb/image_annotator.pb.go b/vision/apiv1/visionpb/image_annotator.pb.go index 0ed30e0810a5..8b52d8ddda37 100755 --- a/vision/apiv1/visionpb/image_annotator.pb.go +++ b/vision/apiv1/visionpb/image_annotator.pb.go @@ -21,8 +21,11 @@ package visionpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" color "google.golang.org/genproto/googleapis/type/color" @@ -33,8 +36,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/vision/apiv1/visionpb/product_search.pb.go b/vision/apiv1/visionpb/product_search.pb.go index c04f30a747ea..6ccf0ab23643 100755 --- a/vision/apiv1/visionpb/product_search.pb.go +++ b/vision/apiv1/visionpb/product_search.pb.go @@ -21,12 +21,13 @@ package visionpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/vision/apiv1/visionpb/product_search_service.pb.go b/vision/apiv1/visionpb/product_search_service.pb.go index 089a9b7cb909..897595326b4a 100755 --- a/vision/apiv1/visionpb/product_search_service.pb.go +++ b/vision/apiv1/visionpb/product_search_service.pb.go @@ -21,8 +21,11 @@ package visionpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -33,8 +36,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/vision/apiv1/visionpb/text_annotation.pb.go b/vision/apiv1/visionpb/text_annotation.pb.go index a8b2c7c7cc88..7c42a64021fe 100755 --- a/vision/apiv1/visionpb/text_annotation.pb.go +++ b/vision/apiv1/visionpb/text_annotation.pb.go @@ -21,10 +21,11 @@ package visionpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( @@ -167,7 +168,9 @@ func (Block_BlockType) EnumDescriptor() ([]byte, []int) { // TextAnnotation contains a structured representation of OCR extracted text. // The hierarchy of an OCR extracted text structure is like this: -// TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol +// +// TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol +// // Each structural component, starting from Page, may further have their own // properties. Properties describe detected languages, breaks etc.. Please refer // to the [TextAnnotation.TextProperty][google.cloud.vision.v1.TextAnnotation.TextProperty] message definition below for more diff --git a/vision/apiv1/visionpb/web_detection.pb.go b/vision/apiv1/visionpb/web_detection.pb.go index cf50d21c8d83..05a56ed46b64 100755 --- a/vision/apiv1/visionpb/web_detection.pb.go +++ b/vision/apiv1/visionpb/web_detection.pb.go @@ -21,10 +21,11 @@ package visionpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/vision/apiv1p1beta1/auxiliary.go b/vision/apiv1p1beta1/auxiliary.go index a7cc726dd48b..317f27d3f447 100755 --- a/vision/apiv1p1beta1/auxiliary.go +++ b/vision/apiv1p1beta1/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package vision - -import () diff --git a/vision/apiv1p1beta1/doc.go b/vision/apiv1p1beta1/doc.go index df62c749fb24..0197e490e43e 100755 --- a/vision/apiv1p1beta1/doc.go +++ b/vision/apiv1p1beta1/doc.go @@ -21,67 +21,68 @@ // and landmark detection, optical character recognition (OCR), and detection // of explicit content, into applications. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := vision.NewImageAnnotatorClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := vision.NewImageAnnotatorClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := vision.NewImageAnnotatorClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &visionpb.BatchAnnotateImagesRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/vision/v2/apiv1p1beta1/visionpb#BatchAnnotateImagesRequest. -// } -// resp, err := c.BatchAnnotateImages(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := vision.NewImageAnnotatorClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &visionpb.BatchAnnotateImagesRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/vision/v2/apiv1p1beta1/visionpb#BatchAnnotateImagesRequest. +// } +// resp, err := c.BatchAnnotateImages(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewImageAnnotatorClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/vision/apiv1p1beta1/visionpb/geometry.pb.go b/vision/apiv1p1beta1/visionpb/geometry.pb.go index 48245cc6564b..2b27fd985a07 100755 --- a/vision/apiv1p1beta1/visionpb/geometry.pb.go +++ b/vision/apiv1p1beta1/visionpb/geometry.pb.go @@ -21,10 +21,11 @@ package visionpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/vision/apiv1p1beta1/visionpb/image_annotator.pb.go b/vision/apiv1p1beta1/visionpb/image_annotator.pb.go index 369106c512e1..7a519de71752 100755 --- a/vision/apiv1p1beta1/visionpb/image_annotator.pb.go +++ b/vision/apiv1p1beta1/visionpb/image_annotator.pb.go @@ -23,6 +23,9 @@ package visionpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" color "google.golang.org/genproto/googleapis/type/color" @@ -32,8 +35,6 @@ import ( status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/vision/apiv1p1beta1/visionpb/text_annotation.pb.go b/vision/apiv1p1beta1/visionpb/text_annotation.pb.go index fc65d17fbd1e..361157d85826 100755 --- a/vision/apiv1p1beta1/visionpb/text_annotation.pb.go +++ b/vision/apiv1p1beta1/visionpb/text_annotation.pb.go @@ -21,10 +21,11 @@ package visionpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( @@ -167,7 +168,9 @@ func (Block_BlockType) EnumDescriptor() ([]byte, []int) { // TextAnnotation contains a structured representation of OCR extracted text. // The hierarchy of an OCR extracted text structure is like this: -// TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol +// +// TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol +// // Each structural component, starting from Page, may further have their own // properties. Properties describe detected languages, breaks etc.. Please refer // to the diff --git a/vision/apiv1p1beta1/visionpb/web_detection.pb.go b/vision/apiv1p1beta1/visionpb/web_detection.pb.go index cedc4499bd19..49df6efc33b1 100755 --- a/vision/apiv1p1beta1/visionpb/web_detection.pb.go +++ b/vision/apiv1p1beta1/visionpb/web_detection.pb.go @@ -21,10 +21,11 @@ package visionpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/vmmigration/apiv1/doc.go b/vmmigration/apiv1/doc.go index 05496942a3fc..dd495197f1a0 100755 --- a/vmmigration/apiv1/doc.go +++ b/vmmigration/apiv1/doc.go @@ -20,70 +20,71 @@ // Use the Migrate to Virtual Machines API to programmatically migrate // workloads. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := vmmigration.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := vmmigration.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := vmmigration.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &vmmigrationpb.AddGroupMigrationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/vmmigration/apiv1/vmmigrationpb#AddGroupMigrationRequest. -// } -// op, err := c.AddGroupMigration(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := vmmigration.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &vmmigrationpb.AddGroupMigrationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/vmmigration/apiv1/vmmigrationpb#AddGroupMigrationRequest. +// } +// op, err := c.AddGroupMigration(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/vmmigration/apiv1/vmmigrationpb/vmmigration.pb.go b/vmmigration/apiv1/vmmigrationpb/vmmigration.pb.go index 9e4cfa86b4da..a949cb2181ba 100755 --- a/vmmigration/apiv1/vmmigrationpb/vmmigration.pb.go +++ b/vmmigration/apiv1/vmmigrationpb/vmmigration.pb.go @@ -21,8 +21,11 @@ package vmmigrationpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" errdetails "google.golang.org/genproto/googleapis/rpc/errdetails" status "google.golang.org/genproto/googleapis/rpc/status" @@ -34,8 +37,6 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/vmwareengine/apiv1/doc.go b/vmwareengine/apiv1/doc.go index 95021b073597..d2d9590a3c72 100755 --- a/vmwareengine/apiv1/doc.go +++ b/vmwareengine/apiv1/doc.go @@ -20,70 +20,71 @@ // The Google VMware Engine API lets you programmatically manage VMware // environments. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := vmwareengine.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := vmwareengine.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := vmwareengine.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &vmwareenginepb.CreateClusterRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#CreateClusterRequest. -// } -// op, err := c.CreateCluster(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := vmwareengine.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &vmwareenginepb.CreateClusterRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#CreateClusterRequest. +// } +// op, err := c.CreateCluster(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/vmwareengine/apiv1/vmwareenginepb/vmwareengine.pb.go b/vmwareengine/apiv1/vmwareenginepb/vmwareengine.pb.go index 6b4ef4dc3274..96ee3a999be0 100755 --- a/vmwareengine/apiv1/vmwareenginepb/vmwareengine.pb.go +++ b/vmwareengine/apiv1/vmwareenginepb/vmwareengine.pb.go @@ -21,8 +21,11 @@ package vmwareenginepb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/vmwareengine/apiv1/vmwareenginepb/vmwareengine_resources.pb.go b/vmwareengine/apiv1/vmwareenginepb/vmwareengine_resources.pb.go index d5a8c61bc47e..702e451031e8 100755 --- a/vmwareengine/apiv1/vmwareenginepb/vmwareengine_resources.pb.go +++ b/vmwareengine/apiv1/vmwareenginepb/vmwareengine_resources.pb.go @@ -21,12 +21,13 @@ package vmwareenginepb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/vpcaccess/apiv1/doc.go b/vpcaccess/apiv1/doc.go index b7a96e4b0713..b0f9aa13f75e 100755 --- a/vpcaccess/apiv1/doc.go +++ b/vpcaccess/apiv1/doc.go @@ -19,70 +19,71 @@ // // API for managing VPC access connectors. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := vpcaccess.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := vpcaccess.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := vpcaccess.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &vpcaccesspb.CreateConnectorRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/vpcaccess/apiv1/vpcaccesspb#CreateConnectorRequest. -// } -// op, err := c.CreateConnector(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := vpcaccess.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &vpcaccesspb.CreateConnectorRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/vpcaccess/apiv1/vpcaccesspb#CreateConnectorRequest. +// } +// op, err := c.CreateConnector(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/vpcaccess/apiv1/vpcaccesspb/vpc_access.pb.go b/vpcaccess/apiv1/vpcaccesspb/vpc_access.pb.go index 0c58b0f8c33a..8dc22b90ee75 100755 --- a/vpcaccess/apiv1/vpcaccesspb/vpc_access.pb.go +++ b/vpcaccess/apiv1/vpcaccesspb/vpc_access.pb.go @@ -21,8 +21,11 @@ package vpcaccesspb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/webrisk/apiv1/doc.go b/webrisk/apiv1/doc.go index 15e9a1f7bea7..d25ff2dad3b7 100755 --- a/webrisk/apiv1/doc.go +++ b/webrisk/apiv1/doc.go @@ -17,65 +17,66 @@ // Package webrisk is an auto-generated package for the // Web Risk API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := webrisk.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := webrisk.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := webrisk.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &webriskpb.ComputeThreatListDiffRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/webrisk/apiv1/webriskpb#ComputeThreatListDiffRequest. -// } -// resp, err := c.ComputeThreatListDiff(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := webrisk.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &webriskpb.ComputeThreatListDiffRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/webrisk/apiv1/webriskpb#ComputeThreatListDiffRequest. +// } +// resp, err := c.ComputeThreatListDiff(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/webrisk/apiv1/webriskpb/webrisk.pb.go b/webrisk/apiv1/webriskpb/webrisk.pb.go index 195928d1ce71..6e876e6fa02b 100755 --- a/webrisk/apiv1/webriskpb/webrisk.pb.go +++ b/webrisk/apiv1/webriskpb/webrisk.pb.go @@ -21,8 +21,11 @@ package webriskpb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/webrisk/apiv1beta1/auxiliary.go b/webrisk/apiv1beta1/auxiliary.go index 18812b8fc55e..95f0fc0ed7a6 100755 --- a/webrisk/apiv1beta1/auxiliary.go +++ b/webrisk/apiv1beta1/auxiliary.go @@ -15,5 +15,3 @@ // Code generated by protoc-gen-go_gapic. DO NOT EDIT. package webrisk - -import () diff --git a/webrisk/apiv1beta1/doc.go b/webrisk/apiv1beta1/doc.go index 241c2ce92f63..49489ac589fc 100755 --- a/webrisk/apiv1beta1/doc.go +++ b/webrisk/apiv1beta1/doc.go @@ -17,67 +17,68 @@ // Package webrisk is an auto-generated package for the // Web Risk API. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := webrisk.NewWebRiskServiceV1Beta1Client(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := webrisk.NewWebRiskServiceV1Beta1Client(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := webrisk.NewWebRiskServiceV1Beta1Client(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &webriskpb.ComputeThreatListDiffRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/webrisk/apiv1beta1/webriskpb#ComputeThreatListDiffRequest. -// } -// resp, err := c.ComputeThreatListDiff(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := webrisk.NewWebRiskServiceV1Beta1Client(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &webriskpb.ComputeThreatListDiffRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/webrisk/apiv1beta1/webriskpb#ComputeThreatListDiffRequest. +// } +// resp, err := c.ComputeThreatListDiff(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewWebRiskServiceV1Beta1Client is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/webrisk/apiv1beta1/webriskpb/webrisk.pb.go b/webrisk/apiv1beta1/webriskpb/webrisk.pb.go index 9b0c7571fe61..f6937f90db0c 100755 --- a/webrisk/apiv1beta1/webriskpb/webrisk.pb.go +++ b/webrisk/apiv1beta1/webriskpb/webrisk.pb.go @@ -23,6 +23,9 @@ package webriskpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/websecurityscanner/apiv1/doc.go b/websecurityscanner/apiv1/doc.go index e666fe320a54..abf7df499f8d 100755 --- a/websecurityscanner/apiv1/doc.go +++ b/websecurityscanner/apiv1/doc.go @@ -19,65 +19,66 @@ // // Scans your Compute and App Engine apps for common web vulnerabilities. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := websecurityscanner.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := websecurityscanner.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := websecurityscanner.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &websecurityscannerpb.CreateScanConfigRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb#CreateScanConfigRequest. -// } -// resp, err := c.CreateScanConfig(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := websecurityscanner.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &websecurityscannerpb.CreateScanConfigRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb#CreateScanConfigRequest. +// } +// resp, err := c.CreateScanConfig(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/websecurityscanner/apiv1/websecurityscannerpb/crawled_url.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/crawled_url.pb.go index 5e7fe7d6bb65..98cb24e60d06 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/crawled_url.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/crawled_url.pb.go @@ -21,10 +21,11 @@ package websecurityscannerpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/finding.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/finding.pb.go index 7a0810d2481c..2425afdaec2c 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/finding.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/finding.pb.go @@ -21,11 +21,12 @@ package websecurityscannerpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/finding_addon.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/finding_addon.pb.go index 6c1cc6e1f900..5d6bea87b4d6 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/finding_addon.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/finding_addon.pb.go @@ -21,10 +21,11 @@ package websecurityscannerpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/finding_type_stats.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/finding_type_stats.pb.go index 742b08c1ef44..b5bb8df2d453 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/finding_type_stats.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/finding_type_stats.pb.go @@ -21,10 +21,11 @@ package websecurityscannerpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/scan_config.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/scan_config.pb.go index 4cb54cf60608..961d6a9af65a 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/scan_config.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/scan_config.pb.go @@ -21,12 +21,13 @@ package websecurityscannerpb import ( + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/scan_config_error.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/scan_config_error.pb.go index d7c79733d484..e065faf9622a 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/scan_config_error.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/scan_config_error.pb.go @@ -21,10 +21,11 @@ package websecurityscannerpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/scan_run.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/scan_run.pb.go index 1e41e17743f7..66a52f4241e5 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/scan_run.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/scan_run.pb.go @@ -21,11 +21,12 @@ package websecurityscannerpb 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" - reflect "reflect" - sync "sync" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/scan_run_error_trace.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/scan_run_error_trace.pb.go index 4ad4a7bd0f29..79b225a8caf7 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/scan_run_error_trace.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/scan_run_error_trace.pb.go @@ -21,10 +21,11 @@ package websecurityscannerpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/scan_run_log.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/scan_run_log.pb.go index 1007383ff03f..4333f73200e5 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/scan_run_log.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/scan_run_log.pb.go @@ -21,10 +21,11 @@ package websecurityscannerpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/scan_run_warning_trace.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/scan_run_warning_trace.pb.go index 33d8d2d93354..7d139d599051 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/scan_run_warning_trace.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/scan_run_warning_trace.pb.go @@ -21,10 +21,11 @@ package websecurityscannerpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( diff --git a/websecurityscanner/apiv1/websecurityscannerpb/web_security_scanner.pb.go b/websecurityscanner/apiv1/websecurityscannerpb/web_security_scanner.pb.go index 082ac3344313..60b837328a69 100755 --- a/websecurityscanner/apiv1/websecurityscannerpb/web_security_scanner.pb.go +++ b/websecurityscanner/apiv1/websecurityscannerpb/web_security_scanner.pb.go @@ -22,6 +22,9 @@ package websecurityscannerpb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" - reflect "reflect" - sync "sync" ) const ( diff --git a/workflows/apiv1/doc.go b/workflows/apiv1/doc.go index 6cb084e1d9ff..08d33752fe4f 100755 --- a/workflows/apiv1/doc.go +++ b/workflows/apiv1/doc.go @@ -20,70 +20,71 @@ // Manage workflow definitions. To execute workflows and manage executions, // see the Workflows Executions API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := workflows.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := workflows.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := workflows.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &workflowspb.CreateWorkflowRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/workflows/apiv1/workflowspb#CreateWorkflowRequest. -// } -// op, err := c.CreateWorkflow(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := workflows.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &workflowspb.CreateWorkflowRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/workflows/apiv1/workflowspb#CreateWorkflowRequest. +// } +// op, err := c.CreateWorkflow(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/workflows/apiv1/workflowspb/workflows.pb.go b/workflows/apiv1/workflowspb/workflows.pb.go index 8441b7c47b4f..2841cbb9e219 100755 --- a/workflows/apiv1/workflowspb/workflows.pb.go +++ b/workflows/apiv1/workflowspb/workflows.pb.go @@ -21,8 +21,11 @@ package workflowspb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -32,8 +35,6 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/workflows/apiv1beta/doc.go b/workflows/apiv1beta/doc.go index c6ec97e6205d..7154b737a4bb 100755 --- a/workflows/apiv1beta/doc.go +++ b/workflows/apiv1beta/doc.go @@ -20,72 +20,73 @@ // Manage workflow definitions. To execute workflows and manage executions, // see the Workflows Executions API. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := workflows.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := workflows.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := workflows.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &workflowspb.CreateWorkflowRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/workflows/apiv1beta/workflowspb#CreateWorkflowRequest. -// } -// op, err := c.CreateWorkflow(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := workflows.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &workflowspb.CreateWorkflowRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/workflows/apiv1beta/workflowspb#CreateWorkflowRequest. +// } +// op, err := c.CreateWorkflow(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/workflows/apiv1beta/workflowspb/workflows.pb.go b/workflows/apiv1beta/workflowspb/workflows.pb.go index 0cb1e3a3868d..928577417763 100755 --- a/workflows/apiv1beta/workflowspb/workflows.pb.go +++ b/workflows/apiv1beta/workflowspb/workflows.pb.go @@ -21,8 +21,11 @@ package workflowspb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -31,8 +34,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/workflows/executions/apiv1/doc.go b/workflows/executions/apiv1/doc.go index 600c77cf02ac..82b1fc075551 100755 --- a/workflows/executions/apiv1/doc.go +++ b/workflows/executions/apiv1/doc.go @@ -19,65 +19,66 @@ // // Execute workflows created with Workflows API. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := executions.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := executions.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := executions.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &executionspb.CancelExecutionRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/workflows/executions/apiv1/executionspb#CancelExecutionRequest. -// } -// resp, err := c.CancelExecution(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := executions.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &executionspb.CancelExecutionRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/workflows/executions/apiv1/executionspb#CancelExecutionRequest. +// } +// resp, err := c.CancelExecution(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/workflows/executions/apiv1/executionspb/executions.pb.go b/workflows/executions/apiv1/executionspb/executions.pb.go index 9fd58e2a18f5..45826ce69af4 100755 --- a/workflows/executions/apiv1/executionspb/executions.pb.go +++ b/workflows/executions/apiv1/executionspb/executions.pb.go @@ -22,6 +22,9 @@ package executionspb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -30,8 +33,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/workflows/executions/apiv1beta/doc.go b/workflows/executions/apiv1beta/doc.go index e2f1be7222e9..98d43a2f4d16 100755 --- a/workflows/executions/apiv1beta/doc.go +++ b/workflows/executions/apiv1beta/doc.go @@ -19,67 +19,68 @@ // // Manages user-provided workflows. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := executions.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := executions.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := executions.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &executionspb.CancelExecutionRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/workflows/executions/apiv1beta/executionspb#CancelExecutionRequest. -// } -// resp, err := c.CancelExecution(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := executions.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &executionspb.CancelExecutionRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/workflows/executions/apiv1beta/executionspb#CancelExecutionRequest. +// } +// resp, err := c.CancelExecution(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/workflows/executions/apiv1beta/executionspb/executions.pb.go b/workflows/executions/apiv1beta/executionspb/executions.pb.go index 7af6f3b519e1..648bdcbf01f8 100755 --- a/workflows/executions/apiv1beta/executionspb/executions.pb.go +++ b/workflows/executions/apiv1beta/executionspb/executions.pb.go @@ -22,6 +22,9 @@ package executionspb import ( context "context" + reflect "reflect" + sync "sync" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -29,8 +32,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/workstations/apiv1/doc.go b/workstations/apiv1/doc.go index 9ab86c5bfbfa..fab617186bbd 100755 --- a/workstations/apiv1/doc.go +++ b/workstations/apiv1/doc.go @@ -20,72 +20,73 @@ // Allows administrators to create managed developer environments in the // cloud. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := workstations.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := workstations.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := workstations.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &workstationspb.CreateWorkstationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/workstations/apiv1/workstationspb#CreateWorkstationRequest. -// } -// op, err := c.CreateWorkstation(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := workstations.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &workstationspb.CreateWorkstationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/workstations/apiv1/workstationspb#CreateWorkstationRequest. +// } +// op, err := c.CreateWorkstation(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/workstations/apiv1/workstationspb/workstations.pb.go b/workstations/apiv1/workstationspb/workstations.pb.go index 898a8ec8795f..9005c4c974a0 100755 --- a/workstations/apiv1/workstationspb/workstations.pb.go +++ b/workstations/apiv1/workstationspb/workstations.pb.go @@ -21,8 +21,11 @@ package workstationspb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -33,8 +36,6 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/workstations/apiv1beta/doc.go b/workstations/apiv1beta/doc.go index 281a8a5504f7..a00e28502024 100755 --- a/workstations/apiv1beta/doc.go +++ b/workstations/apiv1beta/doc.go @@ -20,72 +20,73 @@ // Allows administrators to create managed developer environments in the // cloud. // -// NOTE: This package is in beta. It is not stable, and may be subject to changes. +// NOTE: This package is in beta. It is not stable, and may be subject to changes. // -// General documentation +// # General documentation // // For information that is relevant for all client libraries please reference // https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this // page includes: // -// - [Authentication and Authorization] -// - [Timeouts and Cancellation] -// - [Testing against Client Libraries] -// - [Debugging Client Libraries] -// - [Inspecting errors] +// - [Authentication and Authorization] +// - [Timeouts and Cancellation] +// - [Testing against Client Libraries] +// - [Debugging Client Libraries] +// - [Inspecting errors] // -// Example usage +// # Example usage // // To get started with this package, create a client. -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := workstations.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() +// +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := workstations.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() // // The client will use your default application credentials. Clients should be reused instead of created as needed. // The methods of Client are safe for concurrent use by multiple goroutines. // The returned client must be Closed when it is done being used. // -// Using the Client +// # Using the Client // // The following is an example of making an API call with the newly created client. // -// ctx := context.Background() -// // This snippet has been automatically generated and should be regarded as a code template only. -// // It will require modifications to work: -// // - It may require correct/in-range values for request initialization. -// // - It may require specifying regional endpoints when creating the service client as shown in: -// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options -// c, err := workstations.NewClient(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// defer c.Close() -// -// req := &workstationspb.CreateWorkstationRequest{ -// // TODO: Fill request struct fields. -// // See https://pkg.go.dev/cloud.google.com/go/workstations/apiv1beta/workstationspb#CreateWorkstationRequest. -// } -// op, err := c.CreateWorkstation(ctx, req) -// if err != nil { -// // TODO: Handle error. -// } -// -// resp, err := op.Wait(ctx) -// if err != nil { -// // TODO: Handle error. -// } -// // TODO: Use resp. -// _ = resp -// -// Use of Context +// ctx := context.Background() +// // This snippet has been automatically generated and should be regarded as a code template only. +// // It will require modifications to work: +// // - It may require correct/in-range values for request initialization. +// // - It may require specifying regional endpoints when creating the service client as shown in: +// // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options +// c, err := workstations.NewClient(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// defer c.Close() +// +// req := &workstationspb.CreateWorkstationRequest{ +// // TODO: Fill request struct fields. +// // See https://pkg.go.dev/cloud.google.com/go/workstations/apiv1beta/workstationspb#CreateWorkstationRequest. +// } +// op, err := c.CreateWorkstation(ctx, req) +// if err != nil { +// // TODO: Handle error. +// } +// +// resp, err := op.Wait(ctx) +// if err != nil { +// // TODO: Handle error. +// } +// // TODO: Use resp. +// _ = resp +// +// # Use of Context // // The ctx passed to NewClient is used for authentication requests and // for creating the underlying connection, but is not used for subsequent calls. diff --git a/workstations/apiv1beta/workstationspb/workstations.pb.go b/workstations/apiv1beta/workstationspb/workstations.pb.go index c97313cb8929..104add6ee8be 100755 --- a/workstations/apiv1beta/workstationspb/workstations.pb.go +++ b/workstations/apiv1beta/workstationspb/workstations.pb.go @@ -21,8 +21,11 @@ package workstationspb import ( - longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" context "context" + reflect "reflect" + sync "sync" + + longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" _ "google.golang.org/genproto/googleapis/api/annotations" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" @@ -33,8 +36,6 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const (